SUMMARY STEPS
1.
configure
2.
router bgp as-number
3.
vrf vrf-name
4.
bgp router-id ip-address
5.
label mode per-ce
6.
address-family { ipv4 | ipv6 } unicast
7.
network { ip-address / prefix-length | ip-address mask }
8.
aggregate-address address / mask-length
9.
exit
10.
neighbor ip-address
11.
remote-as as-number
12.
password { clear | encrypted } password
13.
ebgp-multihop [ ttl-value ]
14.
Do one of the following:
•
address-family { ipv4 | ipv6 } unicast
•
address-family {ipv4 {unicast | labeled-unicast} | ipv6 unicast}
15.
site-of-origin [ as-number : nn | ip-address : nn ]
16.
as-override
17.
allowas-in [ as-occurrence-number ]
18.
route-policy route-policy-name in
19.
route-policy route-policy-name out
20.
commit
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
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
Enables BGP routing for a particular VRF on the PE router.
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-bgp)# vrf
vrf_pe_2
Step 3
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
145
Implementing BGP
Configuring a VPN Routing and Forwarding Instance in BGP