3Com Switch 8800 Family Configuration Guide
Configuring IP Routing Policy 397
Defining apply clauses for a route-policy
The apply clauses specify actions, which are the configuration commands
executed after a route satisfies the filtering conditions specified by the if-match
clauses. Thereby, some attributes of the route can be modified.
Perform the following configuration in route policy view.
n
For the details about the apply mpls-label command, refer to the 08-MPLS
command module in the 3Com Switch 8800 Family Series Routing Switches
Command Manual.
Tab le 395 Define apply clauses
Operation Command
Add the specified AS number
before the AS-path series of the
BGP routing information
apply as-path as-number-1 [ as-number-2 [ as-number-3
... ] ]
Cancel the specified AS number
added before the AS-path series
of the BGP routing information
undo apply as-path
Set the community attribute in
the BGP routing information
apply community [ aa:nn ]* [ [ no-export-subconfed |
no-export | no-advertise ] * [ additive ] | additive |
none ]
Cancel the set community
attribute in the BGP routing
information
undo apply community
Set the next-hop address of the
routing information
apply ip next-hop ip-address
Cancel the next-hop address of
the routing information
undo apply ip next-hop
Specifies to import routes to IS-IS
Level-1, Level-2 or Level-1-2
apply isis [ level-1 | level-2 | level-1-2 ]
Cancel the IS-IS level setting for
route import
undo apply isis
Set the local preference of the
BGP routing information
apply local-preference local-preference-value
Cancel the local preference of the
BGP routing information
undo apply local-preference
Set the routing cost of the
routing information
apply cost value
Cancel the routing cost of the
routing information
undo apply cost
Set the cost type of the routing
information
apply cost-type [ internal | external ]
Remove the setting of the cost
type
undo apply cost-type
Set the route origin of the BGP
routing information
apply origin { igp | egp as-number | incomplete }
Cancel the route origin of the
BGP routing information
undo apply origin
Set the tag domain of the OSPF
routing information
apply tag value
Cancel the tag domain of the
OSPF routing information
undo apply tag