30
Step
Command
Remarks
6.
Configure the source IP
address for IGMP leave
messages.
igmp-snooping
leave
source-ip
ip-address
By default, the source IP address of
IGMP leave messages is the IP
address of the gateway interface for a
VSI. If the gateway interface does not
have an IP address, the source IP
address is 0.0.0.0.
Setting the 802.1p priority for IGMP messages
When congestion occurs on outgoing ports of the Layer 2 device, it forwards IGMP messages in their
802.1p priority order, from highest to lowest. You can assign a higher 802.1p priority to IGMP
messages that are created or forwarded by the device.
You can set the 802.1p priority globally for all VLANs and VSIs in IGMP-snooping view or for a VLAN
in VLAN view. For a VLAN, the VLAN-specific configuration takes priority over the global
configuration.
Setting the 802.1p priority for IGMP messages globally
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IGMP-snooping view.
igmp-snooping
N/A
3.
Set the 802.1p priority for
IGMP messages.
dot1p-priority priority
By 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.
Setting the 802.1p priority for IGMP messages in a VLAN
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan vlan-id
N/A
3.
Set the 802.1p priority for
IGMP messages in the
VLAN.
igmp-snooping dot1p-priority
priority
By 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.
Configuring IGMP snooping policies
Before you configure IGMP snooping policies, complete the following tasks:
•
Enable IGMP snooping for the VLAN or VSI.
•
Determine the ACL used by the multicast group policy.
•
Determine the maximum number of multicast groups that a port can join.