Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-1
Chapter 6 IP Routing Policy Configuration
Commands
 Note:
In this chapter, a router refers to a general router or an Ethernet switch. To improve
readability, such a description of a router will not be given in the other parts of the
manual.
6.1 IP Routing Policy Configuration Commands
In some situations, it may be required that only some routing information meeting a
certain condition be received. In this case, you can define a Filter-policy to filter
advertised routing information so that only the routing information having passed the
filtration can be received.
 Note:
For the details about the apply mpls-label, if-match mpls-label and if-match
vpn-target commands, refer to the 08-MPLS command module in the Quidway S8500
Series Routing Switches Command Manual.
6.1.1 apply as-path
Syntax
apply as-path as-number [ as-number [ as-number ... ] ]
undo apply as-path
View
Route policy view
Parameter
as-number-1... as-number-n: AS number to be added.