Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-2
Description
Use the apply as-path command to configure AS number to be added in front of the
original AS path in Route-policy.
Use the undo apply as-path command to cancel the AS sequence number added in
front of the original AS path.
By default, no AS number is set.
If the match condition of Route-policy is met, the AS attribute of the transmitting route
will be changed. You can add up to 10 AS numbers.
Example
# Configure AS 200 to be added in front of the original AS path in Route-policy.
[Quidway-route-policy] apply as-path 200
6.1.2 apply community
Syntax
apply community [ [ aa:nn | no-export-subconfed | no-export | no-advertise ] *
[ additive ] | additive | none ]
undo apply community
View
Route policy view
Parameter
none: Deltes the community attribute of the route.
aa:nn: Community number.
no-export-subconfed: Does not send matched route outside the sub-AS.
no-advertise: Does not send matched route to any peer.
no-export: Does not advertise the route to outside the AS or the confederation, but can
advertises to other sub-Ass in the confederation.
additive: Community attribute of the additive route.
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.