604
Parameter: vlan-id
: is ID number of the VLAN, ranging between <1-4094>
Command Mode:
Global mode
Default:
vlan is not as the IGMP Snooping layer 2 general querier
Usage Guide:
It is recommended to configure a layer 2 general querier on a segment.
IGMP Snooping function will be enabled by this command if not enabled on this vlan
before configuring this command, IGMP Snooping function will not be disabled when
disabling the layer 2 general querier function. This command is mainly for sending
general queries regularly to help switches within this segment learn mrouter ports.
Comment:
There are three paths igmp snooping learn mrouter
1 Port receives the IGMP query messages
2 Port receives multicast protocol packets, and supports DVMRP, PIM.
3 Static configured port
15.3.4 ip igmp snooping vlan limit
Command: ip igmp snooping vlan <vlan-id>
no ip igmp snooping vlan <vlan-id>
Function:
Enable the IGMP Snooping function for the specified VLAN: the “
no ip igmp
snooping vlan <vlan-id>
“
command disables the IGMP Snooping function for the
specified VLAN.
Parameter: <vlan-id>
is the VLAN number.
Command mode:
Global Mode
Default:
IGMP Snooping is disabled by default.
Usage Guide:
IGMP Snooping for the switch must be enabled first to enable IGMP
Snooping for the specified VLAN. This command cannot be used with
ip igmp snooping
vlan <vlan-id> query
command, i.e. either snooping or query can be enabled for one
VLAN, but not both.
Example:
Enable IGMP Snooping for VLAN 100 in Global Mode.
Switch(C
onfig)#ip igmp snooping vlan 100
15.3.5 ip igmp snooping vlan mrouter-port interface
Command:ip igmp snooping vlan <vlan-id> mrouter-port interface
(<ehternet>|<ifname>|<port-channel>)
no ip igmp snooping vlan <vlan-id> mrouter-port interface
(<ehternet>|<ifname>|<port-channel>)
Function:
Configure static mrouter port of vlan. The “
no ip igmp snooping vlan
<vlan-id> mrouter-port interface (<ehternet>|<ifname>|<port-channel>)
” command
cancels this configuration