System information

Configuring BGP
12-67
Figure 12-21 Using a Community List
Example
This example uses a community list to filter routes based on the local preference. The
following commands, executed in Global Configuration mode, define a community
list. Specify community list 1 to permit routes from AS 100 and community list 2 to
permit routes from AS 200, as shown in Illustration 12-21.
MOT(config)#ip community-list 1 permit 100
MOT(config)#ip community-list 2 permit 200
3.3.3.2
AS 100
160.20.0
2.2.2.2
Miami
Boston
NY
AS 200
160.30.0
AS 300
160.40.0
3.3.3.1
2.2.2.1