Parameter |
Description |
Value |
---|---|---|
vlan [ vlan-id ] |
Specifies the ID of a user VLAN. If vlan-id is specified, information about the specified user VLAN is displayed. If vlan-id is not specified, information about all user VLANs is displayed. |
The value is an integer that ranges from 1 to 4094. |
After binding a user VLAN to a multicast VLAN, you can run the display user-vlan command to verify the configuration and check whether IGMP snooping or MLD Snooping is enabled. This command can be used to locate faults when the multicast service fails.
# Display information about all user VLANs.
<HUAWEI> display user-vlan vlan
Total user vlan 3
user-vlan snooping-state multicast-vlan snooping-state
-----------------------------------------------------------------------------
8 IGMP Disable/MLD Disable 7 IGMP Enable /MLD Disable
9 IGMP Disable/MLD Disable 7 IGMP Enable /MLD Disable
11 IGMP Disable/MLD Disable 7 IGMP Enable /MLD Disable
# Display information about user VLAN 8.
<HUAWEI> display user-vlan vlan 8
user-vlan snooping-state multicast-vlan
---------------------------------------------------
8 IGMP Disable/MLD Disable 7
Item |
Description |
---|---|
Total user vlan |
Number of user VLANs. |
user-vlan |
ID of a user VLAN. |
multicast-vlan |
ID of the multicast VLAN that a user VLAN belongs to. |
snooping-state |
Whether IGMP snooping and MLD snooping are enabled in a multicast VLAN or a user VLAN. |