3com S7906E Guide De Référence
1-2
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply as-path 200
apply comm-list delete
Syntax
apply comm-list comm-list-number delete
undo apply comm-list
View
Route 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.
Description
Use the apply comm-list delete command to remove the community attributes specified by the
community list from BGP routing information.
Use the undo apply comm-list command to remove the clause configuration.
No community attributes are removed from BGP routing information by default.
Examples
# Configure node 10 in permit mode of route 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-export-subconfed | no-export | no-advertise } * [ additive ] }
undo apply community
View
Route policy view