Use this command to specify an action for an extended community AS route target when all match clauses match for this route map.
as-route-target set-value | Specifies an AS route-target extended community with a set value in the format: valid AS number followed by a colon (:) followed by a number in the range 0 - 4294967295 as defined in RFC 4360. |
remove-all | Specifies that the action is to remove all extended communities from the route for this match |
remove-specific | Remove all matching extended communities from the route |
set-specific | Append the specified extended community to the route |
remove-all-and-set | Replace any existing extended communities in the route with the specified extended community |
None.
BGP route map configuration.
The default value for the set extended-community as-route-target command is no AS route target specified.
The no set extended-community as-route-target command removes the specified AS route target clause from the route map.
This example shows how remove all matching extended communities from the AS route target 100:100 when all match clauses match for route map bgprm1:
System(su)->configure System(su-config)->route-map bgp bgprm1 permit System(su-config-route-map-bgp)->set extended-community as-route-target 100:100 remove-specific System(su-config-route-map-bgp)->