< Home

hub-mode enable (VXLAN)

Function

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.

Format

hub-mode enable

undo hub-mode enable

Parameters

None

Views

VLAN view, Layer 2 sub-interface view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the access side mode of VLAN 10 to hub.
<HUAWEI> system-view
[HUAWEI] vlan 10
[HUAWEI-vlan10] hub-mode enable
# Set the access-side mode of Layer 2 sub-interface GE0/0/1.1 to hub.
<HUAWEI> system-view
[HUAWEI] interface GigabitEthernet 0/0/1.1 
[HUAWEI-GigabitEthernet0/0/1.1] hub-mode enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >