The following examples illustrate the use of a variety of show commands that are useful in verifying Multi-VRF configurations.
To verify all configured VRFs in summary mode, enter the show vrf command, as in the following example.
device# show vrf Total number of VRFs configured: 4 VrfName VrfId V4-Ucast V6-Ucast corporate 3 Enabled Disabled default-vrf 1 Enabled Enabled mgmt-vrf 0 Enabled Enabled test1 2 Enabled Enabled
To verify a specific VRF, enter the show vrf vrf-name command, as in the following example.
device# show vrf corporate VRF-Name: corporate, VRF-Id: 3 IP Router-Id: 1.1.1.1 Interfaces: Lo 10 Address-family IPV4 unicast Max routes:- Route count:0 No import route-maps No export route-maps Address-family IPV6 unicast Max routes:- Route count:2 No import route-maps No Export route-maps
Use the show vrf detail command to display information about all VRFs.
The following commands display additional information about a specific application, protocol configuration, or protocol state for both the default VRF and user-defined VRFs.
Default VRF | User-defined VRF |
---|---|
show ip route | show arp vrf |
show ip ospf neighbor | show ip route vrf vrf-name |
show ip bgp summary | show ip ospf neighbor vrf vrf-name |
show ip bgp summary vrf vrf-name |