![Cisco Nexus 3548 series Command Reference Manual Download Page 419](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162419.webp)
399
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
vrf
vrf
To create a virtual routing and forwarding (VRF) instance or enter the VRF configuration mode and
configure submode commands, use the
vrf
command. To remove a VRF instance or disable the VRF
configuration mode, use the
no
form of this command.
vrf
{
name
|
management
}
no vrf
{
name
|
management
}
Syntax Description
Command Default
None
Command Modes
Address-family configuration mode
Router configuration mode
VRF configuration mode
Command History
Usage Guidelines
The VRF does not become active until you create an identically named VRF in global configuration
mode.
This command requires the LAN Enterprise Services license.
Examples
This example shows how to enter VRF configuration mode in a BGP environment:
switch#
configure terminal
switch(config)#
router bgp 100
switch(config-router)#
vrf management
switch(config-router-vrf)#
This example shows how to enter VRF configuration mode in an OSPF environment:
switch#
configure terminal
switch(config)#
vrf context RemoteOfficeVRF
switch(config-vrf)#
router ospf 201
switch(config-router)#
vrf RemoteOfficeVRF
switch(config-router-vrf)#
name
Name of the VRF. The
name
can be any case-sensitive, alphanumeric string
up to 32 characters.
management
Specifies the management VRF.
Release
Modification
5.0(3)A1(1)
This command was introduced.