13
Use undo igmp-snooping dot1p-priority to restore the default.
The default 802.1p precedence for the IGMP messages in a VLAN is 0.
Before you configure this command in a VLAN, enable IGMP snooping in the VLAN.
Related commands: igmp-snooping enable.
Examples
# Enable IGMP snooping in VLAN 2 and set the 802.1p precedence for the IGMP messages in the VLAN
to 3.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping dot1p-priority 3
igmp-snooping drop-unknown
Syntax
igmp-snooping drop-unknown
undo igmp-snooping drop-unknown
View
VLAN view
Default level
2: System level
Parameters
None
Description
Use igmp-snooping drop-unknown to enable dropping unknown multicast data for a VLAN.
Use undo igmp-snooping drop-unknown to disable dropping unknown multicast data for a VLAN.
By default, this function is disabled. That is, unknown multicast data is flooded.
This command takes effect only if IGMP snooping is enabled in the VLAN.
Related commands: igmp-snooping enable.
Examples
# In VLAN 2, enable IGMP snooping and the function of dropping unknown multicast data.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping drop-unknown