3Com Router Command Reference Guide — V1.00
5.1.2 apply community
Syntax
apply community { { [aa:nn ] [ no-export-subconfed ] [ no-advertise ]
[ no-export ] } [ additive ] | none | additive }
undo apply community
View
Routing policy view
Parameter
aa:nn : Format for the community number.
no-export-subconfed: Do not advertise any peer about the matched route.
no-advertise: Do not advertise the matched route to any peer..
no-export: Do not advertise routes to outside the AS, but to other peers.
additive: known community property added
Description
Using the apply community command, you can set the community attributes of the
the if-match sub-statement of the advertisement routes matching . Using the undo
apply community command, you can cancel the set BGP community attributes.
By default, not to set the BGP community attributes.
If the match conditions in the routing policy are matched, then set the BGP attribute.
For related commands, see ip community-list, if-match community, route-policy,
display bgp routing-table community.
Example
# Set the attributes of the community of the route which matches the AS path list 1, so
as to advertise the route to other sub-AS, rather than the outside of the AS.
[3Com-route-policy] route-policy apply community permit 10
[3Com-route-policy] if-match as-path 1
[3Com-route-policy] apply community no-export
114
Need help?
Do you have a question about the 3C13618 and is the answer not in the manual?