Administrator Guide
DHCP
DHCP requests are not forwarded across VRF instances. The DHCP client and server must be on the same VRF instance.
VRF Configuration
The VRF configuration tasks are:
1. Enabling VRF in Configuration Mode
2. Creating a Non-Default VRF
3. Assign an Interface to a VRF
You can also:
● View VRF Instance Information
● Connect an OSPF Process to a VRF Instance
● Configure VRRP on a VRF
Loading VRF CAM
● Load CAM memory for the VRF feature.
CONFIGURATION
feature vrf
After you load VRF CAM, CLI parameters that allow you to configure non-default VRFs are made available on the system.
Creating a Non-Default VRF Instance
VRF is enabled by default on the switch and supports up to 512 VRF instances: 1 to 511 and the default VRF (0).
● Create a non-default VRF instance by specifying a name and VRF ID number, and enter VRF configuration mode.
CONFIGURATION
ip vrf vrf-name vrf-id
The VRF ID range is from 1 to 511. 0 is the default VRF ID.
Assigning an Interface to a VRF
You must enter the ip vrf forwarding command before you configure the IP address or any other setting on an interface.
NOTE:
You can configure an IP address or subnet on a physical or VLAN interface that overlaps the same IP address or
subnet configured on another interface only if the interfaces are assigned to different VRFs. If two interfaces are assigned
to the same VRF, you cannot configure 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
992
Virtual Routing and Forwarding (VRF)