policy route route-map <map-name> rule <rule-num> set delete-community <list-id-or-name>
Deletes a BGP community list from a route.
- map-name
- The name of a defined route map.
- rule-num
- The number of a defined route map rule.
- list-id
- A community-list identifier, a number that ranges from 1 through 199.
- name
- The name of a community list.
Configuration mode
policy {
route {
route-map map-name {
rule rule-num {
set {
delete-community list-id
delete-community name
}
}
}
}
}
This command deletes a BGP community list from a route. The community list must already be defined.
Use the set form of this command to delete a BGP community list from a route.
Use the delete form of this command to undelete a BGP community list from a route.
Use the show form of this command to display the deleted community lists.