PurposeCommand or Action
(Optional) Saves your entries in the configuration
file.
copy running-config startup-config
Example:
Device# copy running-config
Step 6
startup-config
Configuring BGP Community Filtering
By default, no COMMUNITIES attribute is sent to a neighbor. You can specify that the COMMUNITIES
attribute be sent to the neighbor at an IP address by using the neighbor send-community router configuration
command.
Procedure
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Device# configure terminal
Step 1
Creates a community list, and assigns it a number.
ip community-list community-list-number
{permit | deny} community-number
Step 2
•
The community-list-number is an integer from
1 to 99 that identifies one or more permit or
deny groups of communities.
Example:
Device(config)# ip community-list 1
permit 50000:10
•
The community-number is the number
configured by a set community route-map
configuration command.
Enters BGP router configuration mode.
router bgp autonomous-system
Example:
Device(config)# router bgp 108
Step 3
Specifies that the COMMUNITIES attribute be sent
to the neighbor at this IP address.
neighbor {ip-address | peer-group name}
send-community
Example:
Device(config-router)# neighbor
172.16.70.23 send-community
Step 4
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
136
Configuring IP Unicast Routing
Configuring BGP Community Filtering