3Com Switch 8800 Configuration Guide
Chapter 22 IP Routing Policy Configuration
22-6
Operation
Command
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
Import the route to IS-IS level-1, level-2 or
level-1-2
apply isis
[
level-1
|
level-2 |
level-1-2
]
Remove the function of importing the
route to IS-IS
undo apply isis
Set the local preference of the BGP
routing information
apply local-preference
local
-
preference
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
By default, perform no settings.
Note that if the routing information meets the match conditions specified in the
route-policy and also notifies the MED value configured with the
apply cost-type
internal
when notifying the IGP route to the EBGP peers, then this value will be
regarded as the MED value of the IGP route. The preference configured with the
apply
cost-type internal
command is lower than that configured with the
apply cost
command, but higher than that configured with the
default med
command.