H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
6-1
Chapter 6 IP Routing Policy Configuration
Commands
Note:
The term “router” in this document refers to a router in a generic sense or an Ethernet
switch running routing protocols.
6.1 IP Routing Policy Configuration Commands
6.1.1 apply as-path
Syntax
apply as-path as-number-list
undo apply as-path
View
Route policy view
Parameters
as-number-list: AS number list, in the form of as-number&<1-10>. Here, as-number is
an AS number, which ranges from 1 to 65535, and &<1-10> means you can input 1 to
10 AS numbers in one command.
Description
Use the apply as-path command to add an AS number before the original AS path in a
route-policy.
Use the undo apply as-path command to remove the added AS number.
By default, AS number is not set.
If the route-policy matching conditions are met, AS attributes of the routes to be
advertised will be changed by the apply as-path command. A maximum of ten AS
numbers can be added.
Examples
# Add AS number 200 before the original AS path