Cisco CRS Configuration Manual page 63

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

Advertisement

Implementing MPLS VPNs over IP Tunnels
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 }
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# route-policy pass-all out
Applies a routing policy to updates that are sent from a BGP neighbor.
Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
Configuring Inter-AS over IP Tunnels
49

Advertisement

Table of Contents
loading

Table of Contents