Configuring vrrp packet attributes, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 143

Advertising
background image

134

To do…

Use the command…

Remarks

Configure the interface to be
tracked

vrrp vrid virtual-router-id track
interface interface-type
interface-number
[ reduced

priority-reduced ]

Optional
No interface is being tracked by

default.

Configure VRRP to track a
specified track entry

vrrp vrid virtual-router-id track
track-entry-number [ reduced
priority-reduced
| switchover ]

Optional
Not configured by default.

NOTE:

The running priority of an IP address owner is always 255 and you do not need to configure it. An IP
address owner always works in preemptive mode.

If you configure an interface to be tracked or a track entry to be monitored on a router that is the IP
address owner in a VRRP group, the configuration does not take effect. If the router is not the IP address
owner in the VRRP group later, the configuration takes effect.

If the state of a tracked interface changes from down or removed to up, the priority of the router where
the interface resides is automatically restored.

If the state of a track entry changes from negative or invalid to positive, the priority of the router where
the track entry is configured is automatically restored.

Configuring VRRP packet attributes

Configuration prerequisites

Before you configure the relevant attributes of VRRP packets, create a VRRP group and configure a virtual

IP address for it.

Configuration procedure

Follow these steps to configure VRRP packet attributes:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter the specified interface view

interface interface-type
interface-number

Configure the authentication mode
and authentication key when the

VRRP groups send and receive

VRRP packets

vrrp vrid virtual-router-id
authentication-mode { md5 |

simple } key

Optional
Authentication is not performed by
default

Configure the time interval for the
master in the VRRP group to send

VRRP advertisements

vrrp vrid virtual-router-id timer
advertise adver-interval

Optional
1 second by default

Disable TTL check on VRRP packets vrrp un-check ttl

Optional
Enabled by default
You do not need to create a VRRP
group before executing this

command.

Advertising