C613-50100-01 REV C Command Reference for x930 Series 1566
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
VRF LITE COMMANDS
SHOW
IP ROUTE
Example (VRF
lite)
To display all routing entries in the FIB associated with a VRF instance red, use the
command:
awplus# show ip route vrf red
Output Each entry in the output from this command has a code preceding it, indicating the
source of the routing entry. For example, O indicates OSPF as the origin of the
route.The first few lines of the output list the possible codes that may be seen with
the route entries.
Typically, route entries are composed of the following elements:
•code
• a second label indicating the sub-type of the route
• network or host ip address
• administrative distance and metric
• next hop ip address
• outgoing interface name
• time since route entry was added
Figure 30-13: Example output from the show ip route command
Connected Route The connected route entry consists of:
This route entry denotes:
• Route entries for network 10.10.31.0/24 are derived from the IP address
of local interface vlan2.
• These routes are marked as Connected routes (C) and always preferred
over routes for the same network learned from other routing protocols.
OSPF Route The OSPF route entry consists of:
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, 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
* - candidate default
O 10.10.37.0/24 [110/11] via 10.10.31.16, vlan2, 00:20:54
C 3.3.3.0/24 is directly connected, vlan1
C 10.10.31.0/24 is directly connected, vlan2
C 10.70.0.0/24 is directly connected, vlan4
O E2 14.5.1.0/24 [110/20] via 10.10.31.16, vlan2, 00:18:56
C 33.33.33.33/32 is directly connected, lo
C 10.10.31.0/24 is directly connected, vlan2
O 10.10.37.0/24 [110/11] via 10.10.31.16, vlan2, 00:20:54