-
Access global configuration
mode.
device# configure terminal
-
Create a community ACL that
permits traffic.
device(config)# ip community-list standard 1 permit 123:2
This example creates a standard community ACL named "1" that permits traffic
for network 2 in autonomous system 123.
-
Create a route map instance and
allow a matching pattern.
device(config)# route-map mycommroutemap1 permit 10
This example creates a route map instance called mycommroutemap1 and allows a
matching pattern of 5.
-
Match the community ACL in the
configured route-map instance.
device(config-route-map-mycommroutemap1/permit/10)# match community 1
This example matches the ACL named 1 in the route map instance.
This example summarizes the commands in this
procedure.
device# configure terminal
device(config)# ip community-list standard 1 permit 123:2
device(config)# route-map mycommroutemap1 permit 10
device(config-route-map-mycommroutemap1/permit/10)# match community 1