Examples
To display all routes:
Gxxx-001(super)# show ip route
Showing 10 rows
Network Mask Interface Next-Hop Cost TTL Source
------- ---- ----------- -------- ----- ----- --- ------
0.0.0.0 0 FastEth 10.0.0.1 1 n/a DHCP
1.0.0.0 8 Vlan 1.0 1.0.0.1 1 n/a LOCAL
2.2.0.0 16 Dialer 1 9.9.9.50 1 n/a STAT-LO-P
3.3.0.0 16 Dialer 1 9.9.9.50 1 n/a STAT-HI-P
7.0.0.0 8 FastEth 10.0.0.1 DHCP 1 n/a STAT-LO
8.0.0.0 8 Vlan 1.2 8.0.0.1 1 n/a LOCAL
9.0.0.0 8 FastEth 10.0.0.1 DHCP 1 n/a STAT-LO
10.0.0.0 8 Vlan 1.0 1.0.0.2 20 n/a OSPF-E2
10.0.0.0 24 FastEth 10.0.0.2 1 n/a LOCAL
11.0.0.0 8 Vlan 1.0 1.0.0.2 20 n/a OSPF-E2
Note:
If DHCP address negotiation is enabled on the FastEthernet interface, the Source column displays DHCP.
If the ip route was statically established via the FastEthernet interface on which DHCP address negotiation was configured, the Next-Hop column displays DHCP in addition to the address.
To display route 137.32.50.13:
Gxxx-001(super)# show ip route 137.32.50.13
To display a range from route 137.44.50.13 to 255.255.255.0:
Gxxx-001(super)# show ip route 137.44.50.13 255.255.255.0