Web -
Click IP, Routing, Static Routes.
Figure 19-12 IP Static Routes
CLI -
This example forwards all traffic for subnet 192.168.1.0 to the route r
192.168.5.254, using the default metric of 1.
Console(config)#ip route 192.168.1.0 255.255.255.0 192.168.5.254
Console(config)#
Displaying the Routing Table
4
2
-
2
You can display all the routes that can be accessed via the local network int erfaces,
through static routes, or through a dynamically learned route. If route infor mation is
available through more than one of these methods, the pri ority for ro ute select ion is
local, static, and then dynamic. Also note that the route f or a local interf ace is no t
enabled (i.e., listed in the routing table) unless there is at least one act ive lin k
connected to that interface.
Command Attributes
Interface – Index number of the IP interface.
IP Address – IP address of the destination netw ork, subnet work, or hos t.
Note that the address 0.0.0.0 indicates the default gateway for this router.
Netmask – Network mask for the associated IP subnet. This mas k identifies the
host address bits used for routing to specific subnets.
Next Hop – The IP address of the next hop (or gateway) in thi s route.
Protocol – The protocol which generated th is route info rmati on.
(Options: Local, Static, RIP, OSPF)
Metric – Cost for this interface.
Entry Count – The number of table entries.

19-22

IP Routing

19