Task Command Syntax Command Mode
Assign an interface to a VRF
instance.
ip vrf forwarding vrf-
name
INTERFACE
Assigning a Front-end Port to a Management VRF
Starting in 9.7(0.0) release, you can assign a front-end port to a management VRF and make the port to
act as a host interface.
NOTE: You cannot assign loop-back and port-channel interfaces to a management port.
To assign a front-end port to a management VRF, perform the following steps:
Task Command Syntax Command Mode
Enter the front-end interface that
you want to assign to a
management interface.
interface
tengigabitethernet 1/1
CONFIGURATION
Assign the interface to
management VRF.
NOTE: Before assigning a
front-end port to a
management VRF, ensure
that no IP address is
configured on the interface.
ip vrf forwarding
management
INTERFACE CONFIGURATION
Assign an IPv4 address to the
interface.
NOTE: You can assign either
an IPv4 or an IPv6 address
but not both.
ip address 10.1.1.1/24 INTERFACE CONFIGURATION
Assign an IPv6 address to the
interface.
NOTE: You can also auto
configure an IPv6 address
using the ipv6 address
autoconfig command.
ipv6 address 1::1 INTERFACE CONFIGURATION
View VRF Instance Information
To display information about VRF configuration, enter the show ip vrf command.
Task Command Syntax Command Mode
Display the interfaces assigned to
a VRF instance. To display
information on all VRF instances
(including the default VRF 0), do
not enter a value for vrf-name.
show ip vrf [vrf-name]EXEC
926 Virtual Routing and Forwarding (VRF)