< Home

Controlling VLAN Status Using VGMP Group

After the hot standby function is enabled, the FWs can enable or disable VLAN based on the VGMP group status. The detailed procedure is as follows:

The networking diagram in Figure 1 is an example to describe how the FWs adjust the VLAN status based on the VGMP group status. Table 1 describes the key configurations of FW_A and FW_B in Figure 1.

Figure 1 Hot standby networking where FWs working in transparent mode and being connected to switches in the upstream and downstream
Table 1 Key configurations of FW_A and FW_B

FW_A

FW_B

#
hrp enable                               /*Enable hot standby.*/
hrp interface eth-trunk0 remote 10.0.1.2 /*Configure the heartbeat interface.*/
hrp track vlan 10                        /*Configure VGMP to monitor VLAN status.*/
#
interface GigabitEthernet 0/0/1
 portswitch
 port link-type trunk
 port trunk allow-pass vlan 10           /*Configure the interface to permit the VLAN.*/
 undo port trunk allow-pass vlan 1
#
interface GigabitEthernet 0/0/3
 portswitch
 port link-type trunk
 port trunk allow-pass vlan 10           /*Configure the interface to permit the VLAN.*/
 undo port trunk allow-pass vlan 1
#
hrp enable                               /*Enable hot standby.*/
hrp interface eth-trunk0 remote 10.0.1.1 /*Configure the heartbeat interface.*/
hrp track vlan 10                        /*Configure VGMP to monitor VLAN status.*/
hrp standby-device                       /*Configure the device as a standby device.*/
#
interface GigabitEthernet 0/0/1
 portswitch
 port link-type trunk
 port trunk allow-pass vlan 10           /*Configure the interface to permit the VLAN.*/
 undo port trunk allow-pass vlan 1
#
interface GigabitEthernet 0/0/3
 portswitch
 port link-type trunk
 port trunk allow-pass vlan 10           /*Configure the interface to permit the VLAN.*/
 undo port trunk allow-pass vlan 1

As shown in Figure 2, neither FW_A nor FW_B is faulty, the VGMP groups have the same priority, and the VGMP groups are in the load-balance state. VLAN 10 is enabled on FW_A. VLAN 10 is disabled on FW-B because the hrp standby-device command is configured on the device.

Figure 2 VLAN status when the VGMP group is in the load-balance state

As shown in Figure 3, the upstream service interface of FW_A is faulty, and FW_B is normal. The VGMP group priority of FW_A is lower than that of FW_B. The VGMP group of FW_A becomes standby, and that of FW_B becomes active. VLAN 10 is disabled on FW_A. VLAN 10 is enabled on FW_B.

Figure 3 VLAN status when the VGMP group is in the active or standby state
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >