Specifications

Table Of Contents
vrf definition
MP-889
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
vrf definition
To configure a Virtual Private Network (VPN) routing and forwarding (VRF) routing table instance and
enter VRF configuration mode, use the vrf definition command in global configuration mode. To
remove a VRF routing table, use the no form of this command.
vrf definition vr
f-name
no vrf definition vr
f-name
Syntax Description
Command Default No VRFs are defined.
No import or export lists are associated with a VRF.
No route maps are associated with a VRF.
Command Modes Global configuration (config)
Command History
Usage Guidelines Use the vrf
definition command to give a VRF a name and to enter VRF configuration mode. Once the
router is in VRF configuration mode, use the rd command to give the VRF a route distinguisher (RD).
The rd command creates the routing and forwarding tables and associates the RD with the VRF instance
named in the vrf-name argument.
Users can configure shared route targets (import and export) between IPv4 and IPv6. This feature is
use
ful in a migration scenario, where IPv4 policies already are configured and IPv6 policies should be
the same as the IPv4 policies. You can configure separate route-target policies for IPv4 and IPv6 VPNs
in address family configuration mode. Enter address family configuration mode from VRF configuration
mode.
In VRF configuration mode, you can also associate a Simple Network Management Protocol (SNMP)
co
ntext with the named VRF and configure or update a VPN ID.
The vrf
definition default command can be used to configure a VRF name that is a NULL value until
a default VRF name can be configured. This is typically before any VRF related AAA commands are
configured.
vrf-name Name assigned to a VRF.
Release Modification
12.2(33)SRB This command was introduced.
12.2(33)SXH This command was integrated into Cisco IOS Release 12.2(33)SXH.
12.2(33)SB This command was integrated into Cisco IOS Release 12.2(33)SB.
12.4(20)T This command was integrated into Cisco IOS Release 12.4(20)T.
12.2(33)SXI This command was integrated into Cisco IOS Release 12.2(33)SXI.