BGP community and extended-community filtering cannot be configured for iBGP neighbors. Communities
and extended-communities are always sent to iBGP neighbors under VPNv4, MDT, IPv4, and IPv6 address
families.
Note
SUMMARY STEPS
1.
configure
2.
router bgp as-number
3.
neighbor ip-address
4.
remote-as as-number
5.
address-family{ipv4 {labeled-unicast | unicast | mdt | multicast | mvpn | tunnel} | ipv6
{labeled-unicast | mvpn | unicast}}
6.
Use one of these commands:
•
send-community-ebgp
•
send-extended-community-ebgp
7.
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
Places the router in neighbor configuration mode for BGP routing
and configures the neighbor IP address as a BGP peer.
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 3
Creates a neighbor and assigns a remote autonomous system number
to it.
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 2002
Step 4
Enters neighbor address family configuration mode for the specified
address family. Use either ipv4 or ipv6 address family keyword
with one of the specified address family sub mode identifiers.
address-family{ipv4 {labeled-unicast | unicast |
mdt | multicast | mvpn | tunnel} | ipv6
{labeled-unicast | mvpn | unicast}}
Step 5
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
address-family ipv6 unicast
IPv6 address family mode supports these sub modes:
•
labeled-unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
106 OL-30423-03
Implementing BGP
Configuring BGP Community and Extended-Community Advertisements