Cisco Systems MPC-273 Network Router User Manual


 
Implementing MPLS VPNs over IP Tunnels on Cisco IOS XR Software
How to Configure MPLS VPNs over IP Tunnels
MPC-286
Cisco IOS XR MPLS Configuration Guide
OL-12284-01
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/0/CPU0:router# configure
Enters global configuration mode.
Step 2
router bgp autonomous-system-number
Example:
RP/0/0/CPU0:router(config)# router bgp 120
RP/0/0/CPU0:router(config-bgp)#
Enters Border Gateway Protocol (BGP) configuration mode
allowing you to configure the BGP routing process.
Step 3
address-family {ipv4 tunnel}
Example:
RP/0/RP0/CPU0:router(config-bgp)#
address-family ipv4 tunnel
RP/0/0/CPU0:router(config-bgp-af)#
Configures IPv4 tunnel address family.
Step 4
address-family {vpnv4 unicast}
Example:
RP/0/0/CPU0:router(cconfig-bgp-af)#
address-family vpnv4 unicast
Configures VPNv4 address family.
Step 5
neighbor ip-address
Example:
RP/0/0/CPU0:router(config-bgp-af)# neighbor
172.168.40.24
RP/0/0/CPU0:router(config-bgp-nbr)#
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address
172.168.40.24 as an ASBR eBGP peer.
Step 6
remote-as autonomous-system-number
Example:
RP/0/0/CPU0:router(config-bgp-nbr)# remote-as
2002
Creates a neighbor and assigns it a remote autonomous
system number.
Step 7
address-family {vpnv4 unicast}
Example:
RP/0/0/CPU0:router(config-bgp-nbr)#
address-family vpnv4 unicast
RP/0/0/CPU0:router(config-bgp-nbr-af)#
Configures VPNv4 address family.
Step 8
route-policy route-policy-name {in}
Example:
RP/0/0/CPU0:router(config-bgp-nbr-af)#
route-policy pass-all in
Applies a routing policy to updates that are received from a
BGP neighbor.
Use the route-policy-name argument to define the name
of the of route policy. The example shows that the route
policy name is defined as pass-all.
Use the in keyword to define the policy for inbound
routes.