3Com S7902E Command Reference Manual - page 1072
1-2
[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] 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
& |
aa:nn
&
|
internet
|
no-export-subconfed
|
no-export | no-advertise
}
*
[
additive
] }
undo apply community
View
Route policy view