Implementing MPLS Layer 3 VPNs
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
retain route-target { all | route-policy route-policy-name }
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# retain route-target route-policy policy1
Retrieves VPNv4 table from PE routers.
The retain route-target command is required on an Inter-AS option B ASBR. You can use this command with either
all or route-policy keyword
Step 6
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 7
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 8
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 9
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 10
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
VPN-IPv4 Addresses
229
Need help?
Do you have a question about the CRS and is the answer not in the manual?
Questions and answers