1
Route Policy Configuration Commands
The term "router" in this document refers to a router in a generic sense or a Layer 3 switch.
The common configuration commands of route policy are applicable to both IPv4 and IPv6.
EA boards (such as LSQ1GP12EA and LSQ1TGX1EA) do not support IPv6 features.
Common Route Policy Configuration Commands
apply as-path
Syntax
apply as-path as-number&<1-10> [ replace ]
undo apply as-path
View
Route policy view
Default Level
2: System level
Parameters
as-number: Autonomous system number, in the range of 1 to 65535.
&<1-10>: Indicates you can enter up to 10 AS numbers.
replace: Replaces the original AS numbers.
Description
Use the apply as-path command to apply the specified AS numbers to BGP routes.
Use the undo apply as-path command to remove the clause configuration.
No AS_PATH attribute is set by default.
With the replace keyword included, the apply as-path command replaces the original AS_PATH
attribute with the specified AS numbers. Without the replace keyword, this command adds the specified
AS numbers before the original AS_PATH attribute.
Examples
# Configure node 10 in permit mode of route policy policy1: add AS number 200 before the original
AS_PATH attribute of BGP routing information matching AS-PATH list 1.
1-1
Need help?
Do you have a question about the S7906E and is the answer not in the manual?