IP R
OUTING
3-271
Web - Click IP, Routing, 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.
IP Address – IP address of the destination network, subnetwork, or
host. Note that the address 0.0.0.0 indicates the default gateway for
this router.
Console(config)#ip route 192.168.1.0 255.255.255.0 192.168.5.2543-128
Console(config)#