igmp-snooping host-tracking

Use igmp-snooping host-tracking to enable host tracking for a VLAN.

Use undo igmp-snooping host-tracking to disable host tracking for a VLAN.

Syntax

igmp-snooping host-tracking

undo igmp-snooping host-tracking

Default

Host tracking is disabled.

Views

VLAN view

Predefined user roles

network-admin

Usage guidelines

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

You can enable host tracking for a VLAN in VLAN view or globally for all VLANs in IGMP-snooping view. For a VLAN, the VLAN-specific configuration has the same priority as the global configuration.

Examples

# In VLAN 2, enable IGMP snooping, and then enable host tracking.

<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping host-tracking

Related commands

display igmp-snooping host-tracking

host-tracking (IGMP-snooping view)

igmp-snooping enable