Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software

How to Configure MPLS VPNs over IP Tunnels

 

Command or Action

Purpose

Step 13

 

 

allocate-label all

Allocate labels for all local prefixes and prefixes received

 

 

with labels.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-bgp-vrf-af)#

 

 

allocate-label all

 

Step 14

 

 

neighbor A.B.C.D

Configures the IP address for the BGP neighbor.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-bgp-vrf-af)#

 

 

neighbor 10.10.10.0

 

 

RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#

 

Step 15

 

 

remote-as as-number

Enables the exchange of information with a neighboring

 

 

BGP router.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#

 

 

remote-as 888

 

Step 16

 

 

address-family {ipv4 labeled-unicast}

Configures IPv4 labeled-unicast address family.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-bgp-vrf-nbr)#

 

 

address-family ipv4 labeled-unicast

 

 

RP/0/RP0/CPU0:router(config-bgp-vrf-nbr-af)#

 

Step 17

 

 

route-policyroute-policy-name in

Applies the pass-all policy to all inbound routes.

 

Example:

 

 

RP/0/RP0/CPU0:router(config-bgp-vrf-nbr-af)#

 

 

route-policy pass-all in

 

 

 

 

 

 

Cisco IOS XR MPLS Configuration Guide

 

 

 

 

 

 

 

OL-12284-01

 

 

MPC-291

 

 

 

 

 

Page 19
Image 19
Cisco Systems MPC-273 manual MPC-291