SMC Networks SMC6724L3 manual Displaying the Routing Table, 173

Models: SMC6724L3

1 618
Download 618 pages 36.53 Kb
Page 221
Image 221

IP ROUTING

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.

Console(config)#ip route 192.168.1.0 255.255.255.0

 

192.168.5.254

4-227

Console(config)#

 

 

 

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.

3-173

Page 221
Image 221
SMC Networks SMC6724L3 manual Displaying the Routing Table, 173