Enabling snmp notifications for vrrp, Disabling an ipv4 vrrp group, Automatically shutting down unidirectional links – H3C Technologies H3C S12500-X Series Switches User Manual

Page 54

Advertising
background image

46

Step Command

Remarks

4.

Configure the interval at

which the master in an IPv4
VRRP group sends VRRP

advertisements.

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

The default setting is 100
centiseconds.
To maintain system stability, H3C
recommends setting the VRRP

advertisement interval to be

greater than 100 centiseconds.

5.

Specify the source interface
for receiving and sending

VRRP packets.

vrrp vrid virtual-router-id
source-interface interface-type

interface-number

By default, the source interface for
receiving and sending VRRP
packets is not specified. The

interface where the VRRP group

resides sends and receives VRRP

packets.

6.

Enable TTL check for IPv4
VRRP packets.

vrrp check-ttl enable

By default, TTL check for IPv4 VRRP
packets is enabled.

7.

Return to system view.

quit

N/A

8.

Configure a DCSP value for
VRRP packets.

vrrp dscp dscp-value

The DSCP value identifies the
packet priority during

transmission.
By default, the DCSP value for
VRRP packets is 48.

Enabling SNMP notifications for VRRP

Perform this task to enable VRRP to report important events through notifications to the SNMP module.
The SNMP module determines how to output the notifications according to the configured output rules.

For more information about notifications, see Network Management and Monitoring Configuration

Guide.
To enable SNMP notifications for VRRP:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable SNMP notifications for
VRRP.

snmp-agent trap enable vrrp
[ auth-failure | new-master ]

By default, SNMP notifications for
VRRP are enabled.

Disabling an IPv4 VRRP group

You can temporarily disable an IPv4 VRRP group. After being disabled, the VRRP group stays in

initialized state, and its configurations remain unchanged. You can change the configuration of a VRRP
group when the VRRP group is disabled. Your changes take effect when you enable the VRRP group

again.
To disable an IPv4 VRRP group:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

Advertising