show vrf interface

To display the virtual routing and forwarding (VRF) information for interfaces, use the show vrf interface command.

show vrf interface [ mgmt mgmt-number | vlan vlan-ID ]

Syntax Description

mgmt mgmt-number
(Optional) Displays the management interfaces that are added to a VRF. The management interface number is 0.
vlan vlan-ID
(Optional) Displays the VLAN interfaces that are added to a VRF. The VLAN interface range is from 1 to 4094.

Command Default

All interfaces

Command Modes

EXEC mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to display the VRF information for all configured interfaces:

switch# show vrf interface
Interface VRF-Name VRF-ID
Vlan1 default 1
Vlan5 default 1
loopback1 default 1
mgmt0 management 2
switch#
 

This example shows how to display the VRF information for management interfaces:

switch# show vrf interface mgmt 0
Interface VRF-Name VRF-ID
mgmt0 management 2
switch#
 

This example shows how to display the VRF information for VLAN interfaces:

switch# show vrf interface vlan 1
Interface VRF-Name VRF-ID
Vlan1 default 1
switch#
 

Related Commands

Command
Description
vrf member
Adds an interface to a VRF.