Specifications

Table Of Contents
set extcomm-list delete
MP-412
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
The following example shows how to configure more than one replacement rule using the route-map
configuration continue command. Prefixes with RT 100:2 are rewritten to RT 200:3 and prefixes with
RT 100:4 are rewritten to RT 200:4. With the continue command, route-map evaluation proceeds even
if a match is found in a previous sequence.
Router(config)# ip extcommunity-list 1 permit rt 100:3
Router(config)# ip extcommunity-list 2 permit rt 100:4
Router(config)# route-map extmap permit 10
Router(config-route-map)# match extcommunity 1
Router(config-route-map)# set extcomm-list 1 delete
Router(config-route-map)# set extcommunity rt 200:3 additive
Router(config-route-map)# continue 20
Router(config)# route-map extmap permit 20
Router(config-route-map)# match extcommunity 2
Router(config-route-map)# set extcomm-list 2 delete
Router(config-route-map)# set extcommunity rt 200:4 additive
Router(config-route-map)# exit
Router(config)# route-map extmap permit 30
Related Commands Command Description
ip community-list Creates an extended community access list and controls access to it.
match extcommunity Matches BGP extended community list attributes.
route-map (IP) Defines the conditions for redistributing routes from one routing protocol
in
to another, or enables policy routing.
set extcommunity Sets BGP extended community attributes.