R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

485
apply comm-list delete
Use apply comm-list delete to delete the community attributes specified by a community list from BGP
routes.
Use undo apply comm-list to remove the clause configuration.
Syntax
apply comm-list comm-list-number delete
undo apply comm-list
Default
No community attributes are removed from BGP routes.
Views
Routing policy view
Default command level
2: System level
Parameters
comm-list-number: Specifies a basic community list by its number in the range of 1 to 99 or an advanced
community list by its number in the range of 100 to 199.
Examples
# Configure node 10 in permit mode of routing policy policy1. Remove the community attributes
specified in community list 1 from BGP routes matching AS path list 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply comm-list 1 delete
apply community
Use apply community to set the specified community attribute for BGP routes.
Use undo apply community to remove the apply clause.
Syntax
apply community { none | additive | { community-number&<1-16> | aa:nn&<1-16> | internet |
no-advertise | no-export | no-export-subconfed } * [ additive ] }
undo apply community
Default
No community attribute is set for BGP routes.
Views
Routing policy view
Default command level
2: System level