The hub-mode enable command sets the access side mode to hub.
The undo hub-mode enable command cancels the hub mode on the access side.
By default, the access side mode is not set to hub.
Only the S6730-S, S6730S-S, S5732-H, S5731-S, S5731S-S, S5731S-H, S6730-H, S6730S-H, S5731-H, S5720-HI, S5730-HI, and S6720-HI switches support this command.
On a VXLAN, users connected to the same BD can directly communicate with each other. If the isolate enable command is run in the BD to isolate users on the access side. To enable users connected to a BD through a VLAN or a Layer 2 sub-interface to communicate with other users in the BD, you can run the hub-mode enable command in the VLAN or Layer 2 sub-interface view to set the access side mode to hub.
<HUAWEI> system-view [HUAWEI] vlan 10 [HUAWEI-vlan10] hub-mode enable
<HUAWEI> system-view [HUAWEI] interface GigabitEthernet 0/0/1.1 [HUAWEI-GigabitEthernet0/0/1.1] hub-mode enable