Defining IPv4 Static Routing
When the switch is in Layer 3 mode, this page enables configuring and viewing IPv4 static routes on the switch. When routing traffic, the next hop is decided based on the longest prefix match (LPM algorithm). A destination IPv4 address may match multiple routes in the IPv4 Static Route Table. The switch uses the matched route with the highest subnet mask, that is, the longest prefix match.
To define an IP static route:
- Click IP Configuration > IPv4 Static Routes (Layer 3).
The IPv4 Static Routes (Layer 3) page opens.
- Click Add. The Add IP Static Route page opens.
- Enter values for the following fields:
NOTE You cannot configure a static route through a directly-connected IP subnet where the switch gets its IP address from a DHCP server.
- Click Apply. The IP Static route is added, and Running Configuration file is updated.