Command Reference Guide
10 ● apply as-path 3Com Router 5000 Family and Router 6000 Family
Command Reference
apply as-path
Purpose Use the apply as-path command to specify the AS numbers 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 numbers
added in front of the original AS path.
Syntax apply as-path as-number-1 [ as-number-2 [ as-number-3 ... ] ]
undo apply as-path
Parameters as-number-1... as-number-n
AS numbers to be added.
Default By default, no AS number is set.
Example Add AS 200 in front of the original AS path in route-policy.
[3Com -route-policy] apply as-path 200
View This command can be used in the following views:
■ Routing Policy view
Description If the match condition of route-policy is satisfied, the AS attribute of the transmitting
route will be changed. Up to 10 AS numbers can be added.
The as-path number is primarily used to prevent routing loops. By setting as-path, you
can change the BGP route selection behavior.