Configuring Bgp Community And Extended-Community Advertisements - Cisco NCS 6000 Series Configuration Manual

Ios xr release 6.4.x
Hide thumbs Also See for NCS 6000 Series:
Table of Contents

Advertisement

Configuring BGP Community and Extended-Community Advertisements

Command or Action
Step 3
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 4
remote-as as-number
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# remote-as
206
Step 5
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)#
address-family ipv4 unicast
Step 6
next-hop-self
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)#
next-hop-self
Step 7
commit
Configuring BGP Community and Extended-Community Advertisements
Perform this task to specify that community/extended-community attributes should be sent to an eBGP
neighbor. These attributes are not sent to an eBGP neighbor by default. By contrast, they are always sent to
iBGP neighbors. This section provides examples on how to enable sending community attributes. The
send-community-ebgp keyword can be replaced by the send-extended-community-ebgp keyword to
enable sending extended-communities.
If the send-community-ebgp command is configured for a neighbor group or address family group, all
neighbors using the group inherit the configuration. Configuring the command specifically for a neighbor
overrides inherited values.
Note
BGP community and extended-community filtering cannot be configured for iBGP neighbors. Communities
and extended-communities are always sent to iBGP neighbors under IPv4, and IPv6 address families.
SUMMARY STEPS
1. configure
2. router bgp as-number
3. neighbor ip-address
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
70
Purpose
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP
peer.
Creates a neighbor and assigns a remote autonomous system
number to it.
Specifies either an IPv4 or IPv6 address family unicast and
enters address family configuration submode.
To see a list of all the possible keywords and arguments for
this command, use the CLI help (?).
Sets the next-hop attribute for all routes advertised to the
specified neighbor to the address of the local router.
Disabling the calculation of the best next hop to use when
advertising a route causes all routes to be advertised with
the local network device as the next hop.
Implementing BGP

Advertisement

Table of Contents
loading

Table of Contents