< Home

display vxlan encapsulation

Function

The display vxlan encapsulation command displays VXLAN encapsulation information about Layer 2 sub-interfaces of a main interface.

Format

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 ]

Parameters

Parameter Description Value

interface interface-type interface-number

Displays VXLAN encapsulation information about a specified Layer 2 sub-interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

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.

  • vlan-vid specifies the outer VLAN ID.
  • ce-vid specifies the inner VLAN ID.

The VLAN ID must exist.

untag

Displays VXLAN encapsulation information about Layer 2 sub-interfaces for the flow encapsulation mode untag.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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.        
Table 1 Description of the display vxlan encapsulation command output

Item

Description

Interface

Name of the Layer 2 sub-interface.

EncapType

Flow encapsulation type of the Layer 2 sub-interface.

  • qinq
  • dot1q
  • default
  • untag

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:
  • pop default: Indicate the default operation of removing VLAN tags in packets.
  • pop single: Remove one VLAN tag.
  • pop double: Remove double VLAN tags.
  • pop none: Do not remove any VLAN tag.

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >