mld-snooping dot1p-priority

Use mld-snooping dot1p-priority to set the 802.1p priority for MLD messages in a VLAN.

Use undo mld-snooping dot1p-priority to restore the default.

Syntax

mld-snooping dot1p-priority priority

undo mld-snooping dot1p-priority

Default

The 802.1p priority for IGMP packets is not configured. For IGMP packets created by the device, the 802.1p priority is 0. For IGMP packets to be forwarded, the device does not change the 802.1p priority.

Views

VLAN view

Predefined user roles

network-admin

Parameters

priority: Specifies an 802.1p priority for MLD messages, in the range of 0 to 7. The greater the value, the higher the priority.

Usage guidelines

You must enable MLD snooping for a VLAN before you execute this command.

You can set the 802.1p priority for a VLAN in VLAN view or globally for all VLANs and VSIs in MLD-snooping view. For a VLAN, the VLAN-specific configuration takes priority over the global configuration.

Examples

# In VLAN 2, enable MLD snooping, and set the 802.1p priority for MLD messages to 3.

<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] mld-snooping enable
[Sysname-vlan2] mld-snooping dot1p-priority 3

Related commands

dot1p-priority (MLD-snooping view)

enable (MLD-snooping view)

mld-snooping enable