display supervlan

Use display supervlan to display information about super VLANs and their associated sub-VLANs.

Syntax

display supervlan [ supervlan-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

supervlan-id: Specifies a super VLAN ID in the range of 1 to 4094. If you do not specify a super VLAN ID, this command displays information about all super VLANs and their associated sub-VLANs.

Examples

# Display information about super VLAN 2 and its associated sub-VLANs.

<Sysname> display supervlan 2
 Super VLAN ID: 2
 Sub-VLAN ID: 3-5

 VLAN ID: 2
 VLAN type: Static
 It is a super VLAN.
 Route interface: Configured
 IPv4 address: 10.153.17.41
 IPv4 subnet mask: 255.255.252.0
 IPv6 global unicast addresses:
   2001::1, subnet is 2001::/64 [TENTATIVE]
 Description: VLAN 0002
 Name: VLAN 0002
 Tagged ports:   None
 Untagged ports: None

 VLAN ID: 3
 VLAN type: Static
 It is a sub VLAN.
 Route interface: Configured
 IPv4 address: 10.153.17.41
 IPv4 subnet mask: 255.255.252.0
 IPv6 global unicast addresses:
   2001::1, subnet is 2001::/64 [TENTATIVE]
 Description: VLAN 0003
 Name: VLAN 0003
 Tagged ports:   None
 Untagged ports:
    Ten-GigabitEthernet1/0/3

 VLAN ID: 4
 VLAN type: Static
 It is a sub VLAN.
 Route interface: Configured
 IPv4 address: 10.153.17.41
 IPv4 subnet mask: 255.255.252.0
 IPv6 global unicast addresses:
   2001::1, subnet is 2001::/64 [TENTATIVE]
 Description: VLAN 0004
 Name: VLAN 0004
 Tagged ports:   None
 Untagged ports:
    Ten-GigabitEthernet1/0/4

Table 23: Command output

Field

Description

VLAN type

VLAN type, dynamic or static.

Route interface

Whether a VLAN interface is configured for the VLAN.

IPv4 address

Primary IPv4 address of the VLAN interface. This field is displayed only when an IPv4 address is configured for the VLAN interface.

When the VLAN interface is also configured with secondary IPv4 addresses, you can view them by using one of the following commands:

  • display interface vlan-interface.

  • display this (VLAN interface view).

IPv4 subnet mask

Subnet mask for the primary IPv4 address of the VLAN interface. This field is displayed only when an IPv4 address is configured for the VLAN interface.

IPv6 global unicast addresses

Global unicast IPv6 address of the VLAN interface. This field is not displayed when no IPv6 address is configured for the VLAN interface.

The IPv6 address states are as follows:

  • TENTATIVE—Initial state. DAD is being performed or is to be performed on the address. An address in this state cannot be used as the source address or destination address of packets.

  • DUPLICATE—DAD has been completed for the address. The address is not unique on the link and cannot be used.

  • PREFERRED—The address is preferred and can be used as the source or destination address of a packet. If an address is in this state, the command does not display the address state.

  • DEPRECATED—The address is beyond the preferred lifetime but within the valid lifetime. It is valid, but it cannot be used as the source address for a new connection. Packets destined to the address are processed correctly.

Description

VLAN description.

Name

VLAN name.

Tagged ports

Tagged members of the VLAN.

Untagged ports

Untagged members of the VLAN.

Related commands

subvlan

supervlan