Concept Guide

Assigning an Interface to a VRF
You must enter the ip vrf forwarding command before you congure the IP address or any other setting on an interface.
NOTE: You can congure an IP address or subnet on a physical or VLAN interface that overlaps the same IP address or subnet
congured on another interface only if the interfaces are assigned to dierent VRFs. If two interfaces are assigned to the same
VRF, you cannot congure overlapping IP subnets or the same IP address on them.
Assign an interface to a VRF instance.
INTERFACE
ip vrf forwarding vrf-name
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:
1 Enter the front-end interface that you want to assign to a management interface.
CONFIGURATION
interface tengigabitethernet 1/1
2 Assign the interface to management VRF.
INTERFACE CONFIGURATION
ip vrf forwarding management
Before assigning a front-end port to a management VRF, ensure that no IP address is congured on the interface.
3 Assign an IPv4 address to the interface.
INTERFACE CONFIGURATION
ip address 10.1.1.1/24
Before assigning a front-end port to a management VRF, ensure that no IP address is congured on the interface.
4 Assign an IPv6 address to the interface.
INTERFACE CONFIGURATION
ipv6 address 1::1
You can also auto congure an IPv6 address using the ipv6 address autoconfig command.
View VRF Instance Information
To display information about VRF conguration, enter the show ip vrf command. To display information on all VRF instances (including
the default VRF 0), do not enter a value for vrf-name.
Display the interfaces assigned to a VRF instance.
EXEC
1184
Virtual Routing and Forwarding (VRF)