Cisco Systems MPC-273 manual MPC-286, Detailed Steps, Command or Action, Purpose, Example

Models: MPC-273

1 24
Download 24 pages 46.76 Kb
Page 14
Image 14
MPC-286

Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software

How to Configure MPLS VPNs over IP Tunnels

DETAILED STEPS

 

 

Command or Action

Purpose

 

Step 1

 

 

 

configure

Enters global configuration mode.

 

 

Example:

 

 

 

 

RP/0/0/CPU0:router# configure

 

 

 

Step 2

 

 

 

router bgp autonomous-system-number

Enters Border Gateway Protocol (BGP) configuration mode

 

 

 

 

 

allowing you to configure the BGP routing process.

 

 

Example:

 

 

 

 

RP/0/0/CPU0:router(config)# router bgp 120

 

 

 

 

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

 

 

 

Step 3

 

 

 

address-family {ipv4 tunnel}

Configures IPv4 tunnel address family.

 

 

Example:

 

 

 

 

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

 

 

 

 

address-family ipv4 tunnel

 

 

 

 

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

 

 

 

Step 4

 

 

 

address-family {vpnv4 unicast}

Configures VPNv4 address family.

 

 

Example:

 

 

 

 

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

 

 

 

 

address-family vpnv4 unicast

 

 

 

Step 5

 

 

 

neighbor ip-address

Places the router in neighbor configuration mode for BGP

 

 

 

 

 

routing and configures the neighbor IP address

 

 

Example:

172.168.40.24 as an ASBR eBGP peer.

 

 

 

 

 

 

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

 

 

 

 

172.168.40.24

 

 

 

 

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

 

 

 

Step 6

 

 

 

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 7

 

 

 

address-family {vpnv4 unicast}

Configures VPNv4 address family.

 

 

Example:

 

 

 

 

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

 

 

 

 

address-family vpnv4 unicast

 

 

 

 

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

 

 

 

Step 8

 

 

 

route-policyroute-policy-name {in}

Applies a routing policy to updates that are received 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 in

policy name is defined as pass-all.

 

 

 

 

 

Use the in keyword to define the policy for inbound

 

 

 

 

 

routes.

 

 

 

 

 

 

 

 

 

 

 

Cisco IOS XR MPLS Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MPC-286

 

 

OL-12284-01

 

 

 

 

 

Page 14
Image 14
Cisco Systems MPC-273 manual MPC-286, Detailed Steps, Command or Action, Purpose, Example