Command Reference Guide

3Com Router 5000 Family and Router 6000 Family apply community 11
Command Reference
apply community
Purpose Use the apply community command to set BGP community attributes in
route-policy.
Use the undo apply community command to cancel the configured BGP
community attributes.
Syntax apply community { { {aa:nn | no-export-sunconfed | no-export |
no-advertise} … [ additive ] } | additive | none }
undo apply community
Parameters aa:nn
Community number.
no-export-subconfed
Indicates not to advertise matched routes outside the
AS.
no-advertise
Indicates not to advertise matched routes to any peer.
no-export
Indicates not to advertise routes outside the AS but to
other sub ASs.
additive
Community attributes of additional routes.
none
Community attributes of the deleted routes.
Default By default, no BGP community attributes are set.
Example Display how to configure one route-policy named setcommunity, whose node serial
number is 16 and match mode is permit, and enter route policy view to set match
conditions and attribute modification actions to be executed.
[3Com ] route-policy setcommunity permit node 16
[3Com -route-policy] if-match as-path 8
[3Com -route-policy] apply community no-export
View This command can be used in the following views:
Routing Policy view
Description Configure BGP community attributes after matching the route-policy conditions.
Related Commands ip community-list
if-match community-list
route-policy
display bgp routing community