display l2vpn interface

Use display l2vpn interface to display L2VPN information for Layer 3 interfaces that are mapped to VSIs.

Syntax

display l2vpn interface [ vsi vsi-name | interface-type interface-number ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vsi vsi-name: Specifies a VSI name, a case-sensitive string of 1 to 31 characters.

interface-type interface-number: Specifies an interface by its type and number.

verbose: Displays detailed information about Layer 3 interfaces. If you do not specify this keyword, the command displays brief information about Layer 3 interfaces.

Usage guidelines

If you do not specify any parameters, this command displays brief L2VPN information for all Layer 3 interfaces that are mapped to VSIs.

Examples

# Display brief L2VPN information for all Layer 3 interfaces that are mapped to VSIs.

<Sysname> display l2vpn interface 
Total number of interfaces: 2, 1 up, 1 down

Interface                Owner                           Link ID   State    Type
GE1/1/1                  vxlan3                          1         Up       VSI
GE1/1/2                  vxlan4                          2         Down     VSI

Table 2: Command output

Field

Description

Interface

Layer 3 interface name.

Owner

VSI name.

Link ID

The interface's link ID on the VSI.

State

Physical state of the interface:

  • Up—The interface is physically up.

  • Down—The interface is physically down.

Type

L2VPN type of the interface. This field displays VSI for the VXLAN feature.

# Display detailed L2VPN information for all Layer 3 interfaces that are mapped to VSIs.

Interface: GE1/1/1
    Owner         : vpna
    Link ID       : 0
    State         : Down
    Type          : VSI 

Table 3: Command output

Field

Description

Interface

Layer 3 interface name.

Owner

VSI name.

Link ID

The interface's link ID on the VSI.

State

Physical state of the interface:

  • Up—The interface is physically up.

  • Down—The interface is physically down.

Type

L2VPN type of the interface. This field displays VSI for the VXLAN feature.