Administrator Guide

Connect an OSPF Process to a VRF Instance
Configure VRRP on a VRF
Load VRF CAM
VRF is enabled by default on the switch. To load the VRF CAM profile, enter the feature vrf command in global configuration mode.
Table 129. Load VRF CAM
Step Task Command Syntax Command Mode
1 Load CAM memory for the VRF
feature.
feature vrf
CONFIGURATION
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 512 and the default VRF (0).
Table 130. Creating a Non-Default VRF Instance
Task Command Syntax Command Mode
Create a non-default VRF instance by
specifying a name and VRF ID number, and
enter VRF configuration mode.
ip vrf vrf-name vrf-id VRF ID
range: 1 to 512 and 0 (default VRF)
CONFIGURATION
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.
Table 131. Assigning an Interface to a VRF
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:
Table 132. Assigning a Front-end port to a Management VRF
Task Command Syntax Command Mode
Enter the front-end interface that you want
to assign to a management interface.
interface tengigabitethernet
1/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.
ip address 10.1.1.1/24
INTERFACE CONFIGURATION
956 Virtual Routing and Forwarding (VRF)