12-2
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 routing policy
policy1
: remove the community attributes
specified in community list 1 from the BGP routing information that matches 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
Default Level
2: System level
Parameters
none
: Removes the community attributes of BGP routes.
community-number
: Community sequence number, in the range 1 to 4294967295.
aa:nn
: Community number; both aa and nn are in the range 0 to 65535.
&<1-16>
: Indicates the argument before it can be entered up to 16 times.