Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches
Chapter 5 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
5-1
Chapter 5 IP Routing Policy Configuration
Commands
Note:
When an Ethernet switch runs a routing protocol, it can perform the router functions.
Router that is referred to in the following and its icon represent a generalized router or
an Ethernet switch running routing protocols. To improve readability, this will not be
described in the other parts of the manual.
5.1 IP Routing Policy Configuration Commands
The above describes the configuration commands in the routing policy, which are
independent of any specific routing protocol.
5.1.1 apply as-path
Syntax
apply as-path as-number-1
[
as-number-2
[
as-number-3
... ] ]
undo apply as-path
View
Route policy view
Parameter
as-number-1
...
as-number-n
: AS number to be added.
Description
Using
apply as-path
command, you can configure AS number to be added in front of
the original AS path in Route-policy. Using
undo apply as-path
command, you can
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 matched, the AS attribute of the transmitting
route will be changed.