Command Reference Guide
The following example shows how to display IPv4 routes learned in VRF RED. The values in brackets after
a route entry represent the entry's administrative distance and metric:
>enable
#show ip route vrf RED
Codes: C - connected, S - static, R - RIP, O - OSPF, B - BGP
IA - OSPF inter area, N1 - OSPF NSSA external type 1
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1
E2 - OSPF external type 2
Gateway of last resort is 192.168.1.1 to network 0.0.0.0
S
0.0.0.0/0 [1/0] via 192.168.1.1, eth 0/2.301
C
192.168.1.0/24 is directly connected, eth 0/2.301
C
192.168.50.0/30 is directly connected, fr 1.16
C
192.168.50.1/32 is directly connected, fr 1.16
C
192.168.51.0/30 is directly connected, fr 2.16
C
192.168.54.0/30 is directly connected, ppp 1
C
192.168.55.0/30 is directly connected, hdlc 1
C
192.168.56.0/30 is directly connected, fr 11.16
S
192.168.101.0/24 [1/0] via 192.168.50.1, fr 1.16
S
192.168.102.0/24 [1/0] via 192.168.51.1, fr 2.16
S
192.168.106.0/24 [1/0] via 192.168.55.1, hdlc 1
S
192.168.107.0/24 [1/0] via 192.168.56.1, fr 11.16
S
192.168.109.0/24 [1/0] via 192.168.1.253, eth 0/2.301
The following example shows output for the show ip route command. The values in brackets after a route
entry represent the entry's administrative distance and metric:
>enable
#show ip route
Codes: C - connected, S - static, R - RIP, O - OSPF, B - BGP
E1 - OSPF external type 1, E2 - OSPF external type 2
IA - OSPF inter area
Gateway of last resort is 10.22.18.254 to network 0.0.0.0
S
0.0.0.0/0 [1/0] via 10.22.18.254, eth 0/1
S
10.22.16.0/24 [1/0] via 10.22.18.254, eth 0/1
S
10.22.17.0/24 [1/0] via 10.22.18.254, eth 0/1
C
10.22.18.0/24 is directly connected, eth 0/1
C
192.168.25.0/31 is directly connected, loop 1
C
192.168.26.1/32 is directly connected, loop 2
C
192.168.27.0/24 is directly connected, loop 3
C
192.168.249.0/24 is directly connected, eth 0/2
60000CRG0-35E
Copyright © 2012 ADTRAN, Inc.
Enable Mode Command Set
593
Need help?
Do you have a question about the AOS Version R10.1.0 and is the answer not in the manual?
Questions and answers