Step 1 |
show ip vrf [brief | detail | interfaces | id] [vrf-name] Use this command to display information about all of the VRFs configured on the router, including the downstream VRF for each associated VAI.
Example:
Router# show ip vrf
Name Default RD Interface
D 2:0 Loopback2
Virtual-Access3 [D]
Virtual-Access4 [D]
U 2:1 Virtual-Access3
Virtual-Access4
show ip vrf detail vrf-name Use this command to display detailed information about the VRF you specify, including all of the VAIs associated with the VRF. If you do not specify a value for vrf-name, detailed information about all of the VRFs configured on the router appears, including all of the VAIs associated with each VRF. The following example shows how to display detailed information for the VRF called vrf1.
Example:
Router# show ip vrf detail vrf1
VRF D; default RD 2:0; default VPNID <not set>
Interfaces:
Loopback2 Virtual-Access3 [D] Virtual-Access4 [D]
Connected addresses are not in global routing table
Export VPN route-target communities
RT:2:0
Import VPN route-target communities
RT:2:1
No import route-map
No export route-map
VRF U; default RD 2:1; default VPNID <not set>
Interfaces:
Virtual-Access3 Virtual-Access4
Connected addresses are not in global routing table
No Export VPN route-target communities
Import VPN route-target communities
RT:2:1
No import route-map
No export route-map
|
Step 2 |
show ip route vrf vrf-name Use this command to display the IP routing table for the VRF you specify, and information about the per-user static routes installed in the downstream VRF. The following example shows how to display the routing table for the downstream VRF named D.
Example:
Router# show ip route vrf D
Routing Table: D
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, 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
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
2.0.0.0/8 is variably subnetted, 5 subnets, 2 masks
U 2.0.0.2/32 [1/0] via 2.8.1.1
S 2.0.0.0/8 is directly connected, Null0
U 2.0.0.5/32 [1/0] via 2.8.1.2
C 2.8.1.2/32 is directly connected, Virtual-Access4
C 2.8.1.1/32 is directly connected, Virtual-Access3
The following example shows how to display the routing table for the upstream VRF named U.
Example:
Router# show ip route vrf U
Routing Table: U
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, 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
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS interarea
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 100.0.0.20 to network 0.0.0.0
2.0.0.0/32 is subnetted, 1 subnets
C 2.0.0.8 is directly connected, Loopback2
B* 0.0.0.0/0 [200/0] via 100.0.0.20, 1w5d
|
Step 3 |
show running-config [ interface type number] Use this command to display information about the virtual access interface you specify, including information about the upstream and downstream VRFs. The following example shows how to display information about the interface named virtual-access 3.
Example:
Router# show running-config interface virtual-access 3
Building configuration...
Current configuration : 92 bytes
!
interface Virtual-Access3
ip vrf forwarding U downstream D
ip unnumbered Loopback2
end
The following example shows how to display information about the interface named virtual-access 4.
Example:
Router# show running-config interface virtual-access 4
Building configuration...
Current configuration : 92 bytes
!
interface Virtual-Access4
ip vrf forwarding U downstream D
ip unnumbered Loopback2
end
|