display user-vlan vlan

Function

The display user-vlan vlan command displays information about user VLANs.

Format

display user-vlan vlan [ vlanId ]

Parameters

Parameter Description Value
vlanId

Displays information about a specified user VLAN.

If vlanId is not specified, information about all user VLANs will be displayed.

The value is an integer ranging from 1 to 4094.

user-vlan

Displays information about user VLANs.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l2mc read

Usage Guidelines

Usage Scenario

After the multicast VLAN function is configured, the display user-vlan vlan command can be used to display information about user VLANs.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about user VLAN 100.
<HUAWEI> display user-vlan vlan 100
 user-vlan  snooping-state  q-flag   q-addr            multicast-vlan
 --------------------------------------------------------------------
 100        IGMP Disable    --       ----              10
# Display information about all user VLANs.
<HUAWEI> display user-vlan vlan
 Total user vlan   6
 user-vlan  snooping-state  multicast-vlan  snooping-state
 ---------------------------------------------------------
 3          IGMP Enable     2               IGMP Enable
 223        IGMP Enable     222             IGMP Enable
 232        IGMP Enable     231             IGMP Enable
 601        IGMP Enable     600             IGMP Enable
 2001       IGMP Enable     2000            IGMP Enable
 2002       IGMP Enable     2000            IGMP Enable
Table 1 Description of the display user-vlan vlan command output
Item Description
user-vlan

User VLAN ID.

snooping-state

IGMP snooping status in the user VLAN:

  • IGMP Enable: indicates that IGMP snooping has been enabled.
  • IGMP Disable: indicates that IGMP snooping has not been enabled.
q-flag

Whether the device is elected as a querier.

q-addr

Querier's address.

multicast-vlan

ID of the multicast VLAN to which the user VLAN belongs.

Total user vlan

Number of user VLANs.

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