H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
6-4
undo apply cost-type
View
Route policy view
Parameters
internal: In BGP, specifies to use IGP cost as BGP MED when BGP peer entity
advertises routes to EBGP peer entity; in IS-IS, specifies to use only for IS-IS as an
internal cost.
External: Specifies to use only for IS-IS as an external cost.
Description
Use the apply cost-type command to set the cost type for a route.
Use the undo apply cost-type command to cancel the apply clause.
By default, cost is not set.
Examples
# Set IGP cost as BGP MED.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] route-policy 10 permit node 10
[H3C-route-policy] apply cost-type internal
6.1.5 apply ip next-hop
Syntax
apply ip next-hop ip-address
undo apply ip next-hop
View
Route policy view
Parameters
ip-address: IP address of next hop.
Description
Use the apply ip next-hop command to set the next hop for a route .
Use the undo apply ip next-hop command to cancel the apply clause.
By default, no next hop is defined.