beautypg.com

Configuration prerequisites, Configuration procedure, Configuring track-interface backup collaboration – H3C Technologies H3C SecPath F1000-E User Manual

Page 292: Configuring track-interface backup, Collaboration

background image

9

If the status of the track entry is Invalid, the operations such as setting the outgoing interface and
next hop, and setting the default outgoing interface and next hop take effect, and can be used to
for packet forwarding.

Configuration prerequisites

Before configuring track-policy routing, create a policy or a policy node and configure the match rules
as well.

Configuration procedure

Follow these steps to configure the track-policy routing collaboration:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a policy or policy node
and enter the policy view

policy-based-route policy-name
{ deny | permit } node node-number

Required

Set the packet length match rule

if-match packet-length min-len
max-len

Match an ACL

if-match acl acl-number

Required
Use either command.

Specify the packet outgoing
interface and associate it with a

track entry

apply output-interface interface-type
interface-number
[ track

track-entry-number ] [ interface-type
interface-number
[ track

track-entry-number ] ]

Specify the next hop of packets
and associate it with a track entry

apply ip-address next-hop
ip-address [ track track-entry-number ]
[ ip-address [ track track-entry-number ] ]

Specify the default outgoing
interface of packets and associate

it with a track entry

apply default output-interface
interface-type interface-number
[ track

track-entry-number ] [ interface-type
interface-number [ track

track-entry-number ] ]

Specify the default next hop of
packets and associate it with a

track entry

apply ip-address default next-hop
ip-address [ track track-entry-number]
[ ip-address [ track track-entry-number] ]

Use at least one of the four
commands.

NOTE:

The track entry to be associated with the policy routing can be a nonexistent one. After you use the track
command to create the track entry, the association takes effect.

For more information about policy routing configuration, see

IP Unicast Policy Routing Configuration in

the

IP Routing Volume.

Configuring Track-Interface Backup Collaboration

Interface backup allows interfaces on a device to back up each other, with the main interface
transmitting data, and the backup interfaces staying in the backup state. When the main interface or the