Specifications

Table Of Contents
set extcomm-list delete
MP-411
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
set extcomm-list delete
To allow the deletion of extended community attributes based on an extended community list, use the
set extcomm-list delete command in route-map configuration mode. To negate a previous set
extcomm-list detect command, use the no form of this command.
set extcomm-list e
xtended-community-list-number delete
no s
et extcomm-list extended-community-list-number delete
Syntax Description
Command Default Extended community attributes based on an extended community list cannot be deleted.
Command Modes Route-map configuration (config-route-map)
Command History
Usage Guidelines This command removes extended community attributes of an inbound or outbound Border Gateway
Pr
otocol (BGP) update using a route map to filter and determine the extended community attribute to be
deleted and replaced. Depending upon whether the route map is applied to the inbound or outbound
update for a neighbor, each extended community that passes the route map permit clause and matches
the given extended community list will be removed and replaced from the extended community attribute
being received from or sent to the BGP neighbor.
Examples The following example shows how to replace a route target 100:3 on an incoming update with a route
t
arget of 100:4 using an inbound route map extmap:
.
.
.
Router(config-af)# neighbor 10.10.10.10 route-map extmap in
.
.
.
Router(config)# ip extcommunity-list 1 permit rt 100:3
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 100:4 additive
extended-community-list-number An extended community list number.
Release Modification
12.0(26)S This command was introduced.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SXH This command was integrated into Cisco IOS Release 12.2(33)SXH.
12.4(20)T This command was integrated into Cisco IOS Release 12.4(20)T.