policy route route-map <map-name> rule <rule-num> set add-extcommunity rt <community>
Adds a BGP extended community to an existing extended community.
- map-name
- The name of a defined route map.
- rule-num
- The number of a defined extended community list rule.
- AA:NN
- An extended community in 4-octet, AS-value format.
- IPAddr-NN
- An extended community in IP address-NN format.
Configuration mode
policy {
route {
route-map map-name {
rule rule-num {
set {
add-extcommunity {
rt {
AA:NN
IPAddr-NN
}
}
}
}
}
}
}
Use the set form of this command to add a BGP extended community to an existing extended community.
Use the delete form of this command to delete the newly added BGP extended community from an existing extended community.
Use the show form of this command to display the configuration for route maps.