Cisco Cisco ASR 5000

Page of 9109
Context Configuration Mode Commands I-M   
▀  ip vrf 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
2586 
   
ip vrf 
Creates a Virtual Routing and Forwarding (VRF) context instance, assigns a VRF identifier, and configures the VRF 
parameters for BGP/MPLS VPN, GRE tunnel, and IPSec interface configuration. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration 
configure > context context_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-ctx)# 
Syntax
 
ip vrf vrf_name 
no ip vrf 
no
 
Disables IP Virtual Routing and Forwarding (VRF) parameters. 
vrf_name
 
Specifies the name of the virtual routing and forwarding interface as an alphanumeric string of 1 through 63 
characters. 
Usage 
Use this command to create a VRF context and assign a VRF identifier for BGP/MPLS VPN, IPSec, GRE 
tunnel configuration in this context instance. This command is used when the system works as a BGP router 
with MPLS VPN and binds an MPLS VPN to the system or to facilitate GRE or IPSec tunnelling. The 
addresses assigned to this interface are visible in the VRF routing table. 
This command switches the command mode to IP VRF Context Configuration Mode: 
[context_name>]host_name(config-context-vrf)# 
If required, this command creates an IP VRF Context Configuration Mode instance. 
When using this command please note of the following: 
 
A VRF context instance must be created and configured before referring, associating, or binding the 
same with any command or mode. 
 
If the interface binding to a VRF context instance is changed or any IP address assigned to the interface 
is deleted, a warning is displayed. 
 
All interfaces bound with a VRF context instance will be deleted when that VRF is removed/deleted. 
 
An interface can be bound to only one VRF context instance.