HP VPN Firewall Appliances Network Management Command Reference
1057
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 | comm-list-name } 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.
comm-list-name: Specifies a community list by its name, a string of 1 to 31 characters, which can contain
letters, numbers, and signs.
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