Implementing MPLS Layer 3 VPNs
Example:
RP/0/RP0/CPU0:router(config-bgp)# 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 a BGP peer.
Step 4
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 5
ebgp-multihop [ttl-value]
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# ebgp-multihop
Enables multihop peerings with external BGP neighbors.
Step 6
update-source type interface-path-id
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# update-source loopback0
Allows BGP sessions to use the primary IP address from a particular interface as the local address.
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.
Step 9
route-policy route-policy-name out
Providing VPN Connectivity Across Multiple Autonomous Systems with MPLS VPN Inter-AS with ASBRs Exchanging
Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
IPv4 Routes and MPLS Labels
223