4. remote-as as-number
5. address-family{ipv4 {labeled-unicast | unicast | ipv6 {labeled-unicast | 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/RP0/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/RP0/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:
Step 4
RP/0/RP0/CPU0:router(config-bgp-nbr)# remote-as
2002
Enters neighbor address family configuration mode for the
specified address family. Use either ipv4 or ipv6 address
address-family{ipv4 {labeled-unicast | unicast | ipv6
{labeled-unicast | unicast}}
Step 5
family keyword with one of the specified address family
sub mode identifiers.
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)#
address-family ipv6 unicast
IPv6 address family mode supports these sub modes:
• labeled-unicast
• unicast
IPv4 address family mode supports these sub modes:
• labeled-unicast
• unicast
Refer the address-family (BGP) command in BGP
Commands module of Routing Command Reference for
Cisco NCS 6000 Series Routers for more information on
the Address Family Submode support.
Specifies that the router send community attributes or
extended community attributes (which are disabled by
default for eBGP neighbors) to a specified eBGP neighbor.
Use one of these commands:
Step 6
• send-community-ebgp
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
71
Implementing BGP
Configuring BGP Community and Extended-Community Advertisements