30
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.
Configuring a multicast group policy
This feature enables the device to filter IGMP reports by using an ACL that specifies the multicast
groups and the optional sources. It is used to control the multicast groups that hosts can join.
Configuration restrictions and guidelines
When you configure a multicast group policy, follow these restrictions and guidelines:
•
This configuration takes effect only on the multicast groups that ports join dynamically.
•
You can configure a multicast group policy globally for all ports in IGMP-snooping view or for a
port in interface view. For a port, the port-specific configuration takes priority over the global
configuration.
Configuring a multicast group policy globally
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IGMP-snooping view.
igmp-snooping
N/A
3.
Configure a multicast group
policy globally.
group-policy
ipv4-acl-number
[
vlan vlan-list
]
By default, no multicast group
policies exist, and hosts can join
any multicast groups.