The apply clauses specify actions to set certain route attributes.
The system view is displayed.
The route-policy view is displayed.
To set a cost for matched routes, run the apply cost { [ + | - ] cost | inherit | none } command.
To set a cost type for matched routes, run the apply cost-type { external | internal | type-1 | type-2 | internal-inc-ibgp | med-plus-igp | med-inherit-aigp } command.
To set dampening parameters for EBGP routes, run the apply dampening half-life-reach reuse suppress ceiling command.
To set a next-hop IPv4 address for IPv4 routes, run the apply ip-address next-hop { ipv4-address | peer-address | blackhole } command.
To set a next-hop IPv6 address for IPv6 routes, run the apply ipv6 next-hop { ipv6-address | peer-address | blackhole } command.
To set a level for IS-IS routes, run the apply isis { level-1 | level-1-2 | level-2 } command.
To set the preference of protocol routes, run the apply preference preference command.
To set a tag value for matched routes, run the apply tag tag command.
To set an IP gateway address for matched routes, run the apply gateway-ip { origin-nexthop | ip-address | none } command.
To set an IPv6 gateway address for matched routes, run the apply ipv6 gateway-ip { origin-nexthop | ipv6-address | none } command.
The commands in Step 3 can be run in any required order. A node can have multiple or no apply clauses.
The configuration is committed.