Specifications

Table Of Contents
ip vrf receive
MP-121
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
ip vrf receive
To insert the IP address of an interface as a connected route entry in a Virtual Private Network (VPN)
routing and forwarding instance (VRF) routing table, use the ip vrf receive command in interface
configuration mode. To remove the connected entry from the VRF routing table, use the no form of this
command.
ip vrf receive vrf
-name
no ip vrf receive vr
f-name
Syntax Description
Command Default No IP address of an interface is inserted as connected route entry in a VRF routing table.
Command Modes Interface configuration
Command History
Usage Guidelines The ip v
rf receive command supports VRF route selection for the following features:
MPLS VPN: VRF Selection Based on Source IP Address
MPLS VPN: VRF Selection Using Policy-Based Routing
This command is used to install a primary or secondary IP address of an interface as a connected route
e
ntry in the VRF routing table. These entries appear as “receive” entries in the Cisco Express Forwarding
table. MPLS VPNs require Cisco Express Forwarding switching to make IP destination prefix-based
switching decisions. This command can be used to selectively install the interface IP address in the VRF
that is specified with the vrf-name argument. Only the local interface IP address is added to the VRF
routing table. This command is used on a per-VRF basis. In other words, you must enter this command
for each VRF in which you need to insert the IP address of the interface. This command does not remove
the interface IP address from the global routing table.
Note This command cannot be used with the ip vrf forward command for the same interface.
vrf-name Name assigned to a VRF into which you want to add the IP address
o
f the interface.
Release Modification
12.0(22)S This command was introduced.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S
12.2(27)SBC This command was integrated into Cisco IOS Release 12.2(27)SBC.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
i
n a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.