3com 8807 Reference Guide
IP Routing Policy Configuration Commands
547
28
IP R
OUTING
P
OLICY
C
ONFIGURATION
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.
improve readability, such a description of a router will not be given in the other
parts of the manual.
IP Routing Policy
Configuration
Commands
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.
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.
vpn-target commands, refer to the 08-MPLS command module in the 3Com
Switch 8800 Family Series Routing Switches Command Manual.
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.
Description
Use the apply as-path command to configure AS number to be added in front of
the original AS path in Route-policy.
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.
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.
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.