The display vxlan encapsulation command displays VXLAN encapsulation information about Layer 2 sub-interfaces of a main interface.
display vxlan encapsulation interface interface-type interface-number [ bridge-domain bd-id | default | dot1q [ vid pe-vid ] | qinq [ vid vlan-vid [ ce-vid ce-vid ] ] | untag ]
Parameter | Description | Value |
---|---|---|
interface interface-type interface-number |
Displays VXLAN encapsulation information about a specified Layer 2 sub-interface.
|
- |
bridge-domain bd-id |
Displays VXLAN encapsulation information about Layer 2 sub-interfaces by BD ID. |
The BD ID must exist. |
default |
Displays VXLAN encapsulation information about Layer 2 sub-interfaces for the flow encapsulation mode default. |
- |
dot1q |
Displays VXLAN encapsulation information about Layer 2 sub-interfaces for the flow encapsulation mode Dot1q. |
- |
vid pe-vid |
Displays VXLAN encapsulation information about Layer 2 sub-interfaces by VLAN ID in packets with the flow encapsulation mode Dot1q. |
The VLAN ID must exist. |
qinq |
Displays VXLAN encapsulation information about Layer 2 sub-interfaces for the flow encapsulation mode QinQ. |
- |
vid vlan-vid [ ce-vid ce-vid ] |
Displays VXLAN encapsulation information about Layer 2 sub-interfaces by VLAN ID in packets with the flow encapsulation mode QinQ.
|
The VLAN ID must exist. |
untag |
Displays VXLAN encapsulation information about Layer 2 sub-interfaces for the flow encapsulation mode untag. |
- |
You can run the display vxlan encapsulation command to view VXLAN encapsulation information about Layer 2 sub-interfaces of a main interface as well as the bindings between the sub-interface and BD.
# Display VXLAN encapsulation information about Layer 2 sub-interfaces of a main interface.
<HUAWEI> display vxlan encapsulation interface gigabitethernet 0/0/1 ---------------------------------------------------------------------------------------------------- Interface EncapType PeVid CeVid BD-ID RewriteType ---------------------------------------------------------------------------------------------------- GigabitEthernet0/0/1.1 qinq 4093 4093 16000 pop default ---------------------------------------------------------------------------------------------------- Total number to display is 1.
Item |
Description |
---|---|
Interface |
Name of the Layer 2 sub-interface. |
EncapType |
Flow encapsulation type of the Layer 2 sub-interface.
To configure the flow encapsulation type, run the encapsulation command. |
PeVid |
VLAN ID of packets with the flow encapsulation type Dot1q or outer VLAN ID of packets with the flow encapsulation type QinQ. To configure the VLAN ID, run the encapsulation command. |
CeVid |
Inner VLAN ID of packets with the flow encapsulation type QinQ. To configure the VLAN ID, run the encapsulation command. |
BD-ID |
BD. To configure the BD, run the bridge-domain command. |
RewriteType |
Type of the operation of removing VLAN tags in packets:
To configure the operation type, run the rewrite pop command. |
Total number to display is |
Total number of encapsulation data records about Layer 2 sub-interfaces of a main interface. |