
Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software
How to Configure MPLS VPNs over IP Tunnels
Configuring a CFI VRF Interface
Perform this task to associate a VPN routing and forwarding (VRF) instance with an interface or a subinterface on the PE routers.
SUMMARY STEPS
1.configure
2.interface type 
3.vrf 
4.ipv4 address 
5.ipv6 address 
6.dot1q vlan 
7.end or commit
DETAILED STEPS
| 
 | Command or Action | Purpose | 
| Step 1 | 
 | 
 | 
| configure | Enters global configuration mode. | |
| 
 | Example: | 
 | 
| 
 | RP/0/RP0/CPU0:router# configure | 
 | 
| Step 2 | 
 | 
 | 
| interface type  | Enters interface configuration mode and enables a | |
| 
 | 
 | GigabitEthernet interface. | 
| 
 | Example: | 
 | 
| 
 | RP/0/RP0/CPU0:router(config)# interface | 
 | 
| 
 | GigabitEthernet0/0/0/1.1 | 
 | 
| Step 3 | 
 | 
 | 
| vrf  | Specifies a VRF name. | |
| 
 | Example: | 
 | 
| 
 | 
 | |
| Step 4 | 
 | 
 | 
| ipv4 address  | Enters an IPv4 address and mask for the associated IP | |
| 
 | 
 | subnet. The network mask can be specified in either of two | 
| 
 | Example: | ways: | 
| 
 | 
 | |
| 
 | • The network mask can be a  | |
| 
 | 100.1.10.2 255.255.255.0 | address. For example, 255.0.0.0 indicates that each bit | 
| 
 | 
 | equal to 1 means that the corresponding address bit | 
| 
 | 
 | belongs to the network address. | 
| 
 | 
 | • The network mask can be indicated as a slash (/) and | 
| 
 | 
 | number. For example, /8 indicates that the first 8 bits of | 
| 
 | 
 | the mask are ones, and the corresponding bits of the | 
| 
 | 
 | address are network address. | 
| 
 | 
 | 
 | 
| 
 | 
 | Cisco IOS XR MPLS Configuration Guide | 
 | 
 | 
 | 
| 
 | 
 | 
 | |||
| 
 | 
 | 
 | 
 | 
 | |
| 
 | 
 | 
 | 
 | 
