show vrf

Displays Virtual Routing and Forwarding (VRF) configuration information for the management VRF, the default VRF, or a user-defined VRF.

Syntax

show vrf { mgmt-vrf | default-vrf |vrf-name }[detail | interface interface ]

Parameters

mgmt-vrf
Specifies the management VRF.
default-vrf
Specifies the default-vrf.
vrf-name
Specifies a named VRF.
detail
Displays detailed information for all VRFs configured.
interface interface
Displays VRF information for the specified interface.

Modes

Privileged EXEC mode

Examples

This example displays basic information for the default VRF.

device# show vrf default-vrf
VRF-Name: default-vrf, VRF-Id: 1
IP Router-Id: 50.50.50.1
Interfaces:
                Ve 40, Ve 84, Ve 85, Ve 150, Ve 211, 
                Ve 501, Ve 503, Ve 504, Ve 505, Ve 1025, 
                Ve 1059, Ve 2000, Lo 50
Address-family IPV4 unicast
                Max routes: -   Route count:134
   No import route-maps
   No export route-maps

Address-family IPV6 unicast
                Max routes: -   Route count:51
   No import route-maps
   No Export route-maps

This example displays basic information for all VRFs.

device# show vrf
Total number of VRFs configured: 4
VrfName                          VrfId  V4-Ucast  V6-Ucast  
blue                             3      Enabled     -      
default-vrf                      1      Enabled   Enabled  
mgmt-vrf                         0      Enabled   Enabled  
red                              2        -       Enabled  

This example displays detailed information for all VRFs.

device# show vrf detail
Total number of VRFs configured: 4

VRF-Name: blue, VRF-Id: 3
IP Router-Id: 10.1.1.10
Interfaces:
	Ve 200
Address-family IPV4 unicast
	Max routes:-   Route count:134
   No import route-maps
   No export route-maps

VRF-Name: default-vrf, VRF-Id: 1
IP Router-Id: 30.1.1.1
Interfaces:
	Ve 300
Address-family IPV4 unicast
	Max routes:-   Route count:51
   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

VRF-Name: mgmt-vrf, VRF-Id: 0
IP Router-Id: 0.0.0.0
Interfaces:
	mgmt 1, Null0
Address-family IPV4 unicast
	Max routes:-   Route count:3
   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

VRF-Name: red, VRF-Id: 2
IP Router-Id: 0.0.0.0
Interfaces:
        Ve 100
Address-family IPV6 unicast
	Max routes:-   Route count:2
   No import route-maps
   No Export route-maps

This example indicates which VRFs are available on which interfaces.

device# show vrf interface 
VrfName                          Interfaces                              
blue                             Ve 200
default-vrf                      Ve 300
mgmt-vrf                         mgmt 1, Null0
red                              Ve 100

Example

This example displays name of length upto 64 characters for all VRFs.

device# show vrf
  <WORD:1-64>   Name of VRF: mgmt-vrf, default-vrf(default), <user VRF>
  detail        detail
  interface     interface
  |             Output modifiers
  <cr>