host-tracking (MLD-snooping view)

Use host-tracking to enable host tracking globally.

Use undo host-tracking to disable host tracking globally.

Syntax

host-tracking

undo host-tracking

Default

Host tracking is disabled.

Views

MLD-snooping view

Predefined user roles

network-admin

Usage guidelines

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

Examples

# Enable host tracking globally.

<Sysname> system-view
[Sysname] mld-snooping
[Sysname-mld-snooping] host-tracking

Related commands

display mld-snooping host-tracking

mld-snooping host-tracking