Use this command to match a packet against the specified community name.
name | Specifies the name of the community to match a packet against. |
None.
BGP route map configuration.
Regular expressions can be used to match routes with multiple community attributes. See the usage section of match as-path for a listing of supported regular expressions.
The no match community command removes the match clause for the specified community.
This example shows how to match a packet community to community 100 in AS 121:
System(su)->configure System(su-config)->route-map bgp bgprm1 permit System(su-config-route-map-bgp)->match community 121:100 System(su-config-route-map-bgp)->show route-map bgprm1 route-map bgp bgprm1 permit 10 match afi ipv6 match safi unicast match as-path "^20313_$13" match community "100"