The bridge-domain command creates a BD and accesses the BD view. If the BD already exists, running this command directly accesses the BD view.
The undo bridge-domain command deletes a BD.
| Parameter | Description | Value |
|---|---|---|
| bd-id | Specifies the ID of a BD. | The value is a decimal integer |
Application Scenarios
On VXLANs, VNIs of virtual networks are mapped to BDs in 1:1 mode. BDs become the entities of VXLANs and are responsible for forwarding traffic.
Follow-up Procedure
Based on a BD, you can run the interface vbdif command to create a Layer-3 logical interface (BDIF interface). The functions of BDs are similar to those of VLANs. BDIF interfaces are similar to VLANIF interfaces, which can terminate Layer-2 services and access Layer-3 services.
Precautions
If a BDIF interface is associated with a BD, the BD cannot be deleted.