180
Configuring the backup VLAN
After you specify a VLAN as a backup VLAN, the interfaces added to the VLAN can serve as stateful
failover interfaces to transmit stateful failover packets.
Follow these steps to configure a backup VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a VLAN and assign
interfaces to the VLAN
See the
Layer 2—LAN Switching
Configuration Guide
.
Required
Return to system view
quit
—
Specify the VLAN as a backup
VLAN
dhbk vlan
vlan-id
Required
Not specified by default.
NOTE:
•
The device identifies stateful failover packets by the VLAN tag and private protocol number, and
broadcasts them in the backup VLAN to the peer. Do not configure other services for the backup VLAN
(such as MAC VLAN or Voice VLAN); otherwise, the operation of stateful failover may be affected.
•
The interfaces assigned to a backup VLAN can forward other packets besides stateful failover packets.
Displaying and maintaining stateful failover
To do…
Use the command…
Remarks
Display the running status and
related information of stateful
failover
display
dhbk status
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Stateful failover configuration example
Network requirements
, Device B and Device C serve as the internal gateways of an enterprise network. Device A
and Device D, respectively attached to Device B and Device C, provide portal access authentication for
internal users. Configure stateful failover between Device A and Device D. When one device fails, the
other device takes over the services to ensure service continuity.