The hub-mode enable command changes the VSI attribute on an interface from spoke to hub.
The undo hub-mode enable command changes the VSI attribute on an interface from hub to spoke.
By default, the VSI attributes on the AC and PW sides are spoke and hub, respectively.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, XGE sub-interface view, XGE interface view
Usage Scenario
To change the attribute of an AC interface of a VSI from spoke to hub, run the hub-mode enable command on a PE. In this way, traffic can be isolated between AC interfaces working in hub mode.
After the isolate spoken command is run, all AC interfaces in a VSI are isolated from each other. If some AC interfaces in the same VSI need to communicate, run the hub-mode enable command to isolate traffic on demand.Prerequisites
A VSI has been created and bound to an interface.
Precautions
If the hub-mode enable command is run on two local AC interfaces, the two local AC interfaces cannot communicate and can communicate with other ACs where the hub-mode enable command is not run.
<HUAWEI> system-view [~HUAWEI] interface Eth-Trunk 1 [*HUAWEI-Eth-Trunk1] quit [*HUAWEI] interface Eth-Trunk 1.1 [*HUAWEI-Eth-Trunk1.1] vlan-type dot1q 1 [*HUAWEI-Eth-Trunk1.1] l2 binding vsi vsia [*HUAWEI-Eth-Trunk1.1] hub-mode enable