Cisco CRS Configuration Manual page 235

Ios xr virtual private network
Hide thumbs Also See for CRS:
Table of Contents

Advertisement

Implementing MPLS Layer 3 VPNs
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 a BGP 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 ipv4 labeled-unicast
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# address-family ipv4 labeled-unicast
RP/0/RP0/CPU0:router(config-bgp-nbr-af)
Enters neighbor address family configuration mode for the IPv4 labeled-unicast 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
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# route-policy pass-all out
Applies a routing policy to updates that are sent to 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 out keyword to define the policy for outbound routes.
Step 10
Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
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
221

Advertisement

Table of Contents
loading

Table of Contents