NEXPEED NBG440 User’s Manual
NexComm Systems, Inc. 49 PAGE
Viewing the Routing Table
To display the information for the routing table, use the following command. Displays
only routes is current available
COMMAND
(conf)# show ip route [-a]
Parameters
-a options is displayed all routes in the routing table.
Displays only available routes on the routing table :
(conf)# show ip route -a
destination netmask gateway met ifname type
-------------------------------------------------------------------------
default *
168.126.188.254 1 lan
static
210.10.10.0 255.255.255.0 0.0.0.0
1 s0
static
168.126.188.0 255.255.255.0 168.126.188.130 0 lan connected
(conf)#
=> NBG440
dynamically adds a directly connected route. The type column value is
“connected”.
Displays all routes on the routing table :
(conf)# show ip route -a
destination netmask gateway met ifname type
-------------------------------------------------------------------------
default *
168.126.188.254 1 lan
static
127.0.0.1 255.255.255.255 127.0.0.1 0 local local
210.10.10.0 255.255.255.0 0.0.0.0
1 s0
static
224.0.0.9 255.255.255.255 127.0.0.1 0 local local
168.126.255.255 255.255.255.255 127.0.0.1 0 local local
168.126.188.255 255.255.255.255 168.126.188.130 0 local local
168.126.188.130 255.255.255.255 168.126.188.130 0 local local
168.126.188.0 255.255.255.0 168.126.188.130 0 lan connected
192.168.10.255 255.255.255.255 127.0.0.1 0 local local
192.168.10.3 255.255.255.255 192.168.10.1 0 local local
192.168.10.1 255.255.255.255 192.168.10.1 0 local local
255.255.255.255 255.255.255.255 127.0.0.1 0 local local
(conf)#
=>
Routes pointing to local machines are labeled local, with a single route for each local
IP address.