Switch 7700 Command reference Guide, v2.0

Table Of Contents
228 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
no-export-subconfed: Not sending matched route outside AS.
no-advertise: Not sending matched route to any peer.
no-export: Not passing route through AS but advertise to other sub Ass.
additive: Additional known community attribute.
none: Deleted route community attribute.
Description
Use the apply community command to configure the set BGP community
attribute of Route-policy.
Use the undo apply community command to cancel the set BGP community
attribute.
By default, BGP community attribute is not set.
Related command: ip community-list, if-match community-list,
route-policy, display bgp routing-table community.
Example
Configure one Route-policy applycommunity, 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.
[SW7700]route-policy applycommunity permit node 16
[SW7700-route-policy]if-match as-path 8
[SW7700-route-policy]apply community no-export
apply cost Syntax
apply cost value
undo apply cost
View
Route policy view
Parameter
value: Specify the route cost value of route information.
Description
Use the apply cost command to configure the route cost value of route
information. This command is one attribute apply sub-statements of
Route-policy.
Use the undo apply cost command to cancel the apply sub-statement.
Related command: if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match cost, if-match tag, route-policy, apply
ip next-hop
, apply local-preference, apply origin and apply tag.