CLI Guide

Table Of Contents
Layer 3 Routing Commands 1448
Example
console# config
console(config)#route-map ppAsPath
console(route-map)#set as-path prepend “2 2 2”
console(route-map)#exit
console(config)#router bgp 1
console(config-rtr)#neighbor 172.20.1.2 remote-as 2
console(config-rtr)#neighbor 172.20.1.2 route-map ppAsPath in
set comm-list delete
To remove BGP communities from an inbound or outbound UPDATE
message, use the set comm-list delete command. To delete the set command
from a route map, use the no form of this command.
Syntax
set comm-list community-list-name delete
no set comm-list
community-list-name—A standard community list name.
Default Configuration
No communities are removed from UPDATE messages by default.
Command Mode
Route Map Configuration
User Guidelines
A route map with this set command can be used to remove selected
communities from inbound and outbound routes. When a community list is
applied to a route for this purpose, each of the route’s communities is
submitted to the community list one at a time. Communities permitted by
the list are removed from the route. Since communities are processed
individually, a community list used to remove communities should not
include the exact-match option on statements with multiple communities.
Such statements can never match an individual community.