34
•
After receiving an IGMP leave message from a host, the access switch matches the multicast
group address and source address with the policies. If a match is found, the host is allowed to
leave the group. Otherwise, the leave message is dropped by the access switch.
To configure a multicast user control policy:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a user profile and
enter its view.
user-profile
profile-name
For more information about this
command, see
Security
Command Reference.
3.
Configure a multicast user
control policy.
igmp-snooping access-policy
acl-number
No policy is configured by default.
A host can join or leave a valid
multicast group at any time.
4.
Return to system view.
quit
N/A
5.
Enable the created user
profile.
user-profile
profile-name
enable
Disabled by default.
For more information about this
command, see
Security
Command Reference.
Enabling the IGMP snooping host tracking function
With the IGMP snooping host tracking function, the switch can record the information of the member
hosts that are receiving multicast traffic. The information includes the host IP address, running
duration, and timeout time. You can monitor and manage the member hosts according to the
recorded information.
Enabling the IGMP snooping host tracking function globally
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IGMP-snooping view.
igmp-snooping
N/A
3.
Enable the IGMP snooping
host tracking function
globally.
host-tracking
Disabled by default.
Enabling the IGMP snooping host tracking function in a VLAN
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Enable the IGMP snooping
host tracking function in the
VLAN.
igmp-snooping host-tracking
Disabled by default.
Setting the DSCP value for IGMP messages
T
his configuration applies to only the IGMP messages that the local switch generates
when the switch
or its port acts as a member host,
rather than those forwarded ones.