igmp-snooping

Use igmp-snooping to enable the IGMP snooping feature and enter IGMP-snooping view.

Use undo igmp-snooping to disable the IGMP snooping feature.

Syntax

igmp-snooping

undo igmp-snooping

Default

The IGMP snooping feature is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

If you disable the IGMP snooping feature, IGMP snooping is disabled in all VLANs and VSIs.

Examples

# Enable the IGMP snooping feature and enter IGMP-snooping view.

<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping]

Related commands

enable (IGMP-snooping view)

igmp-snooping enable

igmp-snooping disable