Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 5 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
5-4
Description
Using apply cost-type command, you can configure the route cost type of route
information. This command is one attribute apply sub-statements of Route-policy.
Using undo apply cost-type command, you can cancel the apply sub-statement.
By default, route cost type is not set.
Example
# Set the cost type of IGP as MED value of BGP to advertise route to EBGP peer.
[Quidway-route-policy] apply cost-type internal
5.1.5 apply ip next-hop
Syntax
apply ip next-hop ip-address
undo apply ip next-hop
View
Route policy view
Parameter
ip-address: The next-hop address.
Description
Using apply ip next-hop command, you can configure the next hop address of route
information. This command is one attribute apply sub-statements of Route-policy.
Using undo apply ip next-hop command, you can cancel the apply sub-statement.
By default, no apply sub-statement is defined.
When it is used for setting route information attribute, it sets the next hop address area
of route information passing filtration.
For the related commands, see if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match cost, if-match tag, route-policy, apply
local-preference, apply cost, apply origin and apply tag.
Example
# Set the next hop address of route information as 193.1.1.8 when it is used for setting
route information attribute.
[Quidway-route-policy] apply ip next-hop 193.1.1.8