IP Routing Policy
Configuration
Commands
apply as-path
IP R
OUTING
C
OMMANDS
n
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.
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.
n
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 3Com
Switch 8800 Family Series Routing Switches Command Manual.
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.
Description
Use the apply as-path command to configure AS number 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 number added
in front of the original AS path.
By default, no AS number is set.
If the match condition of Route-policy is met, the AS attribute of the transmitting
route will be changed. You can add up to 10 AS numbers.
Example
# Configure AS 200 to be added in front of the original AS path in Route-policy.
IP Routing Policy Configuration Commands
28
P
OLICY
C
ONFIGURATION
547
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers