PurposeCommand or Action
Specifies the autonomous system number and enters the BGP
configuration mode, allowing you to configure the BGP routing
process.
router bgp as-number
Example:
RP/0/RSP0/CPU0:router(config)# router bgp
120
Step 2
Enters VPN address family configuration mode.address-family vpnv4 unicast
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
address-family vpvn4 unicast
Step 3
Configures a reflector to retain routes tagged with particular
RTs. Use the route-policy-name argument for the policy name
retain route-target { all | route-policy
route-policy-name }
Step 4
that lists the extended communities that a path should have in
order for the RR to retain that path.
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# retain
route-target route-policy rr_ext-comm
The all keyword is not required, because this is the
default behavior of a route reflector.
Note
commit
Step 5
Configuring BGP as a PE-CE Protocol
Perform this task to configure BGP on the PE and establish PE-CE communication using BGP. This task can
be performed in both VRF and non-VRF configuration.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 119
Implementing BGP
Configuring a VPN Routing and Forwarding Instance in BGP