
Context
CAUTION
Debugging affects the performance of the system. After debugging, run the
undo debugging
all
command to disable it immediately.
When a VRRP fault occurs, run the following
debugging
commands in the user view to debug
VRRP and locate the fault.
Procedure
l
Run the
debugging vrrp packet
command in the user view to enable the debugging of
VRRP packets.
l
Run the
debugging vrrp state
command in the user view to enable the debugging of VRRP
status.
l
Run the
debugging vrrp timer
command in the user view to enable the debugging of VRRP
timer.
----End
7.11 Configuration Examples
This section provides several configuration examples of VRRP.
7.11.1 Example for Configuring VRRP in Master/Backup Mode
Networking Requirements
, Host A communicates with Host B through the default gateway.
The requirements are as follows:
l
The VRRP group that consists of SwitchA and SwitchB functions as the default gateway
of Host A.
l
SwitchA functions as the gateway. When SwitchA fails, SwitchB becomes the gateway.
l
After SwitchA recovers, it preempts to be the master router within 20 seconds.
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
7 VRRP and VRRP6 Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
348