Displaying IP route information for a VRF

Display IP route information for a specified VRF by entering the following command.

Note

Note

When BGP and static routes use an MPLS tunnel as the outgoing interface, the Gateway field displays DIRECT in the output of the show ip route vrf vrf-name command. This is only applicable when displaying IPv4 routes.
        device# show ip route vrf yellow
Total number of IP routes: 2
 Type Codes - B:BGP  D:Connected  S:Static  R:RIP  O:OSPF;   Cost - Dist/Metric
        Destination        Gateway         Port        Cost       Type
1       10.8.8.8/32 	 	 	 	 	 	 	 DIRECT          loopback 1  0/0        D
2       10.9.9.8/32 	 	 	 	 	 	 	 DIRECT          lsp to1     200/0      B

Syntax: show ip route vrf vrf-name [ num | ip-addr | bgp | connected | isis | ospf | rip | static | tags ]

The vrf-name parameter specifies the VRF that the user wants to display IP route information for.