Configuring actions for a node

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter policy node view.

policy-based-route policy-name [ deny | permit ] node node-number

N/A

3. Set an IP precedence.

apply precedence { type | value }

By default, no IP precedence is specified.

4. Set next hops.

apply next-hop [ vpn-instance vpn-instance-name ] { ip-address [ direct ] [ track track-entry-number ] }&<1-2>

By default, no next hop is specified.

You can specify two next hops for backup in one command line or by executing this command twice.

You can specify a maximum of two next hops for a node.

5. Set output interfaces.

apply output-interface { interface-type interface-number [ track track-entry-number ] }

By default, no output interface is specified.

6. Set default next hops.

apply default-next-hop [ vpn-instance vpn-instance-name ] { ip-address [ direct ] [ track track-entry-number ] }&<1-2>

By default, no default next hop is specified.

You can specify two default next hops for backup in one command line or by executing this command twice.

You can specify a maximum of two default next hops for a node.

The vpn-instance vpn-instance-name option does not take effect.

This command is not supported on the following modules:

  • EA interface modules.

  • EB interface modules.

  • SE interface modules:

    • LSU1GP24TXSE0 (JC617A, JG376A).

    • LSU1GT48SE0 (JC618A, JG377A).

    • LSU1GP48SE0 (JC619A, JG378A).

    • LSU1TGX4SE0 (JC620A, JG379A).

    • LSU1TGS8SE0 (JC631A, JG389A).

    • LSU1GP24TSE0 (JC763A, JG347A).

  • SC interface module: LSU1TGS16SC0 (JC628A).

7. Set the service chain information.

apply service-chain path-id service-path-id [ path-index service-patch-index ]

By default, no service chain information is set.

A policy that contains this clause is not supported on Layer 3 Ethernet subinterfaces.

This clause does not apply to software forwarded packets.