Reference Guide

Border Gateway Protocol | 203
To view the configuration, use the show config command in the CONFIGURATION
COMMUNITY-LIST or CONFIGURATION EXTCOMMUNITY LIST mode or the
show ip
{community-lists | extcommunity-list} command
in EXEC Privilege mode (Figure 8-28).
Figure 8-28. Command example: show ip community-lists
Use these commands in the following sequence, starting in the CONFIGURATION mode, To use an IP
Community list or Extended Community List to filter routes, you must apply a
match community filter to
a route map and then apply that route map to a BGP neighbor or peer group.
Step Command Syntax Command Mode Purpose
1
route-map map-name [permit |
deny] [sequence-number]
CONFIGURATION Enter the ROUTE-MAP mode and assign a
name to a route map.
2
match {community
community-list-name [exact] |
extcommunity
extcommunity-list-name [exact]}
CONFIG-ROUTE-MAP Configure a match filter for all routes
meeting the criteria in the IP Community or
Extended Community list.
3
exit
CONFIG-ROUTE-MAP Return to the CONFIGURATION mode.
4
router bgp as-number CONFIGURATION Enter the ROUTER BGP mode.
AS-number: 0-65535 (2-Byte) or
1-4294967295 (4-Byte) or
0.1-65535.65535 (Dotted format)
FTOS#show ip community-lists
ip community-list standard 1
deny 701:20
deny 702:20
deny 703:20
deny 704:20
deny 705:20
deny 14551:20
deny 701:112
deny 702:112
deny 703:112
deny 704:112
deny 705:112
deny 14551:112
deny 701:667
deny 702:667
deny 703:667
deny 704:666
deny 705:666
deny 14551:666
FTOS#