multicast

Sets IGMP for a VLAN, and sets the IGMP mode as active or passive.
Syntax
multicast active
multicast passive
no multicast active
no multicast passive
Command Default

The global IGMP setting is applied.

Parameters
active
Configures IGMP active mode so that the VLAN actively sends out IGMP queries to identify multicast groups on the network, and makes entries in the IGMP table based on the group membership reports it receives.
passive
Configures IGMP passive mode so that the VLAN does not send queries but forwards reports to the router ports that receive queries. When passive mode is configured on a VLAN, queries are forwarded to the entire VLAN.
Modes

VLAN configuration mode

Usage Guidelines

The IGMP mode configured on a VLAN overrides the mode configured globally.

The no form of the command restores the default.

Examples

The following example enables IGMP active mode for VLAN 10.

device# configure terminal
device(config)# vlan 10
device (config-vlan-10)# multicast active

The following example enables IGMP passive mode for VLAN 20.

device# configure terminal
device(config)# config vlan 10
device(config-vlan-10)# multicast passive