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

Page 15

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

 

 

 

 

 

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