The l2 binding vlan command associates a specified VLAN with a BD.
The undo l2 binding vlan command restores the default settings.
By default, a VLAN is not associated with a BD.
Parameter | Description | Value |
---|---|---|
vlan-id |
Specifies a VLAN ID. |
The value is an integer that ranges from 1 to 4094. Currently, VLAN 1 cannot be associated with a BD. |
Usage Scenario
VXLAN needs to be deployed on a downlink interface to provide access services and an uplink interface to establish a VXLAN tunnel.
After you run this command to associate specified VLANs with a BD, different VLANs associated with the same BD form a large Layer 2 network. Users belong to these VLANs can communicate at Layer 2 through VXLAN tunnels.
Prerequisites
The VLAN to be bound to the BD has been created using the vlan command.
Precautions
One VLAN can be associated with only one BD, but one BD can be associated with multiple VLANs.
After a global VLAN is associated with a BD, you need to add corresponding interfaces to the VLAN.
If a VLAN is configured as a voice VLAN on the S6720-EI and S6720S-EI, the VLAN cannot be associated with a BD.