To display the IP routes for a specified VRF, enter the following command at any CLI level.
device# show ip route vrf green
Total number of IP routes: 99
Type Codes - B:BGP D:Connected S:Static R:RIP O:OSPF; Cost - Dist/Metric
Destination Gateway Port Cost Type
1 10.5.1.0/24 192.168.201.2 eth 6/3 110/2 O
2 10.6.1.0/24 10.4.4.4 lsp toR4 200/0 B
3 10.8.1.0/24 10.2.2.2 lsp toR2 200/0 B
4 10.30.1.1/32 192.168.201.2 eth 6/3 110/3 O1
5 10.30.1.2/32 192.168.201.2 eth 6/3 110/3 O1
6 10.30.1.3/32 192.168.201.2 eth 6/3 110/3 O1
7 10.30.1.4/32 192.168.201.2 eth 6/3 110/3 O1
8 10.30.1.5/32 192.168.201.2 eth 6/3 110/3 O1
9 10.30.1.6/32 192.168.201.2 eth 6/3 110/3 O1
10 10.30.1.7/32 192.168.201.2 eth 6/3 110/3 O1
11 10.30.1.8/32 192.168.201.2 eth 6/3 110/3 O1
Syntax: show ip route vrf vrf-name
The vrf-name parameter specifies the VRF that the user wants to display IP routes for.
The following table lists the information displayed by the show ip route vrf command.
This field... |
Displays... |
---|---|
Total number of IP routes |
The total number of IP routes that are in the specified VRP routing table. |
Destination |
The destination network of the route. |
NetMask |
The network mask of the destination address. |
Gateway |
The next-hop router. |
Port |
The port through which this Extreme device sends packets to reach the route's destination. |
Cost |
The route's cost. |
Type |
The route type, which can be one of the following:
|