Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software

How to Configure MPLS VPNs over IP Tunnels

 

Command or Action

Purpose

Step 9

 

 

route-policyroute-policy-name {out}

Applies a routing policy to updates that are sent from a BGP

 

 

neighbor.

 

Example:

Use the route-policy-nameargument to define the name

 

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

of the of route policy. The example shows that the route

 

route-policy pass-all out

policy name is defined as pass-all.

 

 

Use the out keyword to define the policy for outbound

 

 

routes.

Step 10

 

 

neighbor ip-address

Places the router in neighbor configuration mode for BGP

 

 

routing and configures the neighbor IP address 175.40.25.2

 

Example:

as an VPNv4 iBGP peer.

 

 

 

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

 

 

175.40.25.2

 

 

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

 

Step 11

 

 

remote-asautonomous-system-number

Creates a neighbor and assigns it a remote autonomous

 

 

system number.

 

Example:

 

 

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

 

 

2002

 

Step 12

 

 

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/0/CPU0:router(config-bgp-nbr)#

 

 

update-source loopback0

 

Step 13

 

 

address-family {ipv4 tunnel}

Configures IPv4 tunnel address family.

 

Example:

 

 

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

 

 

address-family ipv4 tunnel

 

 

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

 

 

 

 

 

 

Cisco IOS XR MPLS Configuration Guide

 

 

 

 

 

 

 

OL-12284-01

 

 

MPC-287

 

 

 

 

 

Page 15
Image 15
Cisco Systems MPC-273 manual Command or Action Purpose, MPC-287