cisco — Configuring BGP Community Filtering

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. To configure BGP community filter, perform this procedure: Procedure Configuring BGP Configuring BGP Community Filtering Command or Action Purpose • (Optional) ge and le values specify the range of the prefix length to be matched. The specified ge-value and le-value must satisfy this condition: len Step 4 ip prefix-list list-name seq seq-value deny | permit network/len [ge ge-value] [le le-value] Example:

Device(config)# ip prefix-list BLUE seq 10 permit 172.24.1.0/24 (Optional) Adds an entry to a prefix list, and assign a sequence number to the entry. Step 5 end Example: Device(config)# end Returns to privileged EXEC mode. Step 6 show ip prefix list [detail | summary] name [network/len] [seq seq-num] [longer] [first-match] Example: Device# show ip prefix list summary test Verifies the configuration by displaying information about a prefix list or prefix list entries. Step 7 copy running-config startup-config Example: Device# copy running-config startup-config (Optional) Saves your entries in the configuration file. Command or Action Purpose Step 1 enable Example:

Enables privileged EXEC mode. Enter your password if prompted. Configuring BGP 26