R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
967
apply comm-list delete
Syntax
apply comm-list { comm-list-number | comm-list-name } delete
undo apply comm-list
View
Routing policy view
Default level
2: System level
Parameters
comm-list-number: Community list number. A basic community list number ranges from 1 to 99. A
advanced community list number ranges from 100 to 199.
comm-list-name: Community list name, a string of 1 to 31 characters, which can contain letters, numbers,
and signs.
Description
Use apply comm-list delete to remove the community attributes specified by the community list from BGP
routing information.
Use undo apply comm-list to remove the clause configuration.
No community attributes are removed from BGP routing information by default.
Examples
# Configure node 10 in permit mode of routing policy policy1: remove the community attributes
specified in community list 1 from the BGP routing information 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
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
View
Routing policy view
Default level
2: System level
Parameters
none: Removes the community attributes of BGP routes.
community-number: Community sequence number, in the range of 1 to 4294967295.