Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software

How to Configure MPLS VPNs over IP Tunnels

 

Command or Action

Purpose

Step 5

 

 

neighbor A.B.C.D

Configures the IP address for the BGP neighbor.

 

Example:

 

 

 

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

 

 

 

10.10.10.0

 

 

 

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

 

 

Step 6

 

 

remote-as as-number

Configures the AS number for the BGP neighbor.

 

Example:

 

 

 

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

 

 

 

888

 

 

Step 7

 

 

update-sourceinterface-type interface-number

Allows BGP sessions to use the primary IP address from a

 

 

particular interface as the local address.

 

Example:

 

 

 

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

 

 

 

update-source loopback0

 

 

Step 8

 

 

address-family {vpnv4 unicast}

Configures VPNv4 unicast address family.

 

Example:

 

 

 

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

 

 

 

address-family vpnv4 unicast

 

 

 

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

 

 

Step 9

 

 

address-family {ipv4 tunnel}

Configures IPv4 tunnel address family.

 

Example:

 

 

 

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

 

 

 

address-family ipv4 tunnel

 

 

Step 10

 

 

vrf vrf-name

Configures a VRF instance.

 

Example:

 

 

 

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

 

 

 

9999

 

 

 

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

 

 

Step 11

 

 

rd {as-number:nn ip-address:nn auto}

Configures a route distinguisher.

 

 

Note

Use the auto keyword to automatically assign a

 

Example:

 

unique route distinguisher.

 

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

 

 

Step 12

 

 

address-family {ipv4 unicast}

Configures IPv4 unicast address family.

 

Example:

 

 

 

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

 

 

 

address-family ipv4 unicast

 

 

 

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

 

 

 

 

 

 

 

Cisco IOS XR MPLS Configuration Guide

MPC-290

OL-12284-01

Page 18
Image 18
Cisco Systems MPC-273 manual MPC-290