Cisco Systems MPC-273 manual As an Asbr eBGP peer, MPC-286

Page 14

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

 

 

 

 

 

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