Enabling the trap function for vrrp, Displaying and maintaining vrrp for ipv4 – H3C Technologies H3C S10500 Series Switches User Manual

Page 144

Advertising
background image

135

NOTE:

You might configure different authentication modes and authentication keys for the VRRP groups on an
interface. However, the members of the same VRRP group must use the same authentication mode and

authentication key.

Excessive traffic might cause a backup to trigger a change of its status because the backup does not
receive any VRRP advertisements for a specified period of time. To solve this problem, prolong the time

interval to send VRRP advertisements.

Configuring different intervals for sending VRRP advertisements on the routers in a VRRP group might
cause a backup to trigger a change of its status because the backup does not receive any VRRP
advertisements for a specified period of time. To solve this problem, configure the same interval for

sending VRRP advertisements on each router in the VRRP group.

Enabling the trap function for VRRP

When the trap function is enabled for VRRP, VRRP generates traps with severity level errors to report its

key events. The traps are sent to the information center of the device, where you can configure whether

to output the trap information and the output destination. For how to configure the information center, see

Network Management and Monitoring Configuration Guide.
Follow these steps to enable the trap function for VRRP:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the trap function for VRRP

snmp-agent trap enable vrrp
[ authfailure | newmaster ]

Optional
Enabled by default.

NOTE:

For more information about the snmp-agent trap enable vrrp command, see the snmp-agent trap enable
command in

Network Management and Monitoring Command Reference.

Displaying and maintaining VRRP for IPv4

To do…

Use the command…

Remarks

Display VRRP group status

display vrrp [ verbose ] [ interface
interface-type interface-number [ vrid

virtual-router-id ] ] [ | { begin | exclude |
include } regular-expression ]

Available in any view

Display VRRP group statistics

display vrrp statistics [ interface interface-type
interface-number
[ vrid virtual-router-id ] ] [ |

{ begin | exclude | include }
regular-expression ]

Available in any view

Clear VRRP group statistics

reset vrrp statistics [ interface interface-type
interface-number
[ vrid virtual-router-id ] ]

Available in user view

Advertising