39
Enabling the IGMP snooping host tracking function in a VLAN
Ste
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
IPv4 uses an eight-bit ToS field to identify type of service for IP packets. As defined in RFC 2474, the first
six bits contains the DSCP priority for prioritizing traffic in the network and the last two bits are reserved.
This 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.
To set the DSCP value for IGMP messages:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter IGMP-snooping view.
igmp-snooping N/A
3. Set the DSCP value for IGMP
messages.
dscp dscp-value
By default, the DSCP value in IGMP
messages is 48.
Displaying and maintaining IGMP snooping
Task Command
Remarks
Display IGMP snooping group
information.
display igmp-snooping group
[ vlan vlan-id ] [ slot slot-number ]
[ verbose ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display information about the hosts
tracked by IGMP snooping.
display igmp-snooping host vlan
vlan-id group group-address
[ source source-address ] [ slot
slot-number ] [ | { begin | exclude
| include } regular-expression ]
Available in any view.
Display static multicast MAC
address entries.
display mac-address
[ mac-address [ vlan vlan-id ] |
[ multicast ] [ vlan vlan-id ]
[ count ] ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display statistics for the IGMP
messages learned by IGMP
snooping.
display igmp-snooping statistics [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.