Cisco Systems MPC-273 manual Configuring a CFI VRF Interface, MPC-283

Page 11

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 interface-id

3.vrf vrf-name

4.ipv4 address ipv4-address

5.ipv6 address ipv6-address

6.dot1q vlan vlan-id

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 interface-id

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 vrf-name

Specifies a VRF name.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-if)# vrf v1

 

Step 4

 

 

ipv4 address 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:

 

 

 

RP/0/RP0/CPU0:router(config-if)# ipv4 address

The network mask can be a four-part dotted decimal

 

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

 

 

 

 

 

 

 

OL-12284-01

 

 

MPC-283

 

 

 

 

 

Image 11
Contents Contents MPC-274 Restrictions for Configuring Mpls VPNs over IP TunnelsInformation About Mpls VPNs over IP Tunnels Overview Mpls VPNs over IP TunnelsMPC-275 PE Routers and Address SpaceMPC-276 Quality of Service Using the Modular QoS CLIPacket Validation Mechanism BGP Multipath Load Sharing for Mpls VPNs over IP TunnelsMPC-277 How to Configure Mpls VPNs over IP TunnelsConfiguring the Global VRF Definition Inter-AS and CSC Support over IP TunnelsMPC-278 Detailed StepsMPC-279 Configuring a Route-Policy DefinitionMPC-280 Configuring a Static RouteMPC-281 Configuring an IPv4 Loopback InterfaceMPC-282 MPC-283 Configuring a CFI VRF InterfaceMPC-284 Configuring the Core NetworkMPC-285 Configuring Inter-AS and CSC support over IP TunnelsMPC-286 As an Asbr eBGP peerMPC-287 Command or Action PurposeMPC-288 Configuring the Backbone Carrier Core for IP TunnelsMPC-289 MPC-290 MPC-291 MPC-292 Verifying Mpls VPN over IPMPC-293 Configuring an L2TPv3 Tunnel ExampleConfiguring the Global VRF Definition Example Configuring a Route-Policy Definition ExampleAdditional References Configuring a Static Route ExampleConfiguring an IPv4 Loopback Interface Example Configuring a CFI VRF Interface ExampleMPC-295 StandardsMIBs RFCsMPC-296 Technical Assistance