Configuring the ASBRs to Exchange VPN-IPv4 Addresses for IP Tunnels
RP/0/RP0/CPU0:router(config)# router bgp 120
RP/0/RP0/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/RP0/CPU0:router(config-bgp-af)#
Configures IPv4 tunnel address family.
Step 4
address-family { vpnv4 unicast }
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# address-family vpnv4 unicast
Configures VPNv4 address family.
Step 5
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# neighbor 172.168.40.24
RP/0/RP0/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/RP0/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/RP0/CPU0:router(config-bgp-nbr)# address-family vpnv4 unicast
RP/0/RP0/CPU0:router(config-bgp-nbr-af)#
Configures VPNv4 address family.
Step 8
route-policy route-policy-name { in }
Example:
RP/0/RP0/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.
L3VPN Configuration Guide for Cisco NCS 540 Series Routers, IOS XR Release 6.3.x
36
MPLS L3VPN Overview