Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 6 IP Routing Policy Configuration
Commands
3Com Corporation
6-1
Chapter 6 IP Routing Policy Configuration
Commands
6.1 IP Routing Policy Configuration Commands
6.1.1 apply as-path
Syntax
apply as-path as-number-1 [ as-number-2 [ as-number-3 ... ] ]
undo apply as-path
View
Routing policy view
Parameter
as-number-1... as-number-n: AS numbers to be added.
Description
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.
By default, no AS number is set.
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.
Example
# Add AS 200 in front of the original AS path in route-policy.
[3Com -route-policy] apply as-path 200
6.1.2 apply community
Syntax
apply community { { {aa:nn | no-export-sunconfed | no-export | no-advertise} …
[ additive ] } | additive | none }










