C
ONFIGURING
THE
S
WITCH
3-290
Web - Click IP, Routing, Static Routes.
Figure 3-127 IP Static Routes
CLI - This example forwards all traffic for subnet 192.168.1.0 to the
router 192.168.5.254, using the default metric of 1.
Displaying the Routing Table
You can display all the routes that can be accessed via the local network
interfaces, via static routes, or via a dynamically learned route. If route
information is available through more than one of these methods, the
priority for route selection is local, static, and then dynamic. Also note that
the route for a local interface is not enabled (i.e., listed in the routing table)
unless there is at least one active link connected to that interface.
Command Attributes
• Interface – Index number of the IP interface.
Console(config)#ip route 192.168.1.0 255.255.255.0
192.168.5.254 4-319
Console(config)#