beautypg.com

2 command examples – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 109

background image

Chapter 23 IGMP Snooping Commands

Ethernet Switch CLI Reference Guide

109

23.2 Command Examples

This example enables IGMP snooping on the Switch, sets the

host-timeout

value to 30

seconds, and sets the Switch to drop packets from unknown multicast groups.

This example limits the number of multicast groups on port 1 to 5.

This example shows the current multicast groups on the Switch.

no igmp-immediate-leave

Disables the immediate leave function for IGMP snooping.

C

13

igmp-querier-mode

Specifies whether or not and under what conditions the

port(s) is (are) IGMP query port(s). The Switch forwards

IGMP join or leave packets to an IGMP query port, treating

the port as being connected to an IGMP multicast router (or

server). You must enable IGMP snooping as well.
fixed: The Switch always treats the port(s) as IGMP query

port(s). Select this when you connect an IGMP multicast

server to the port(s).
auto: The Switch uses the port as an IGMP query port if the

port receives IGMP query packets.
edge: The Switch does not use the port as an IGMP query

port. The Switch does not keep any record of an IGMP router

being connected to this port. The Switch does not forward

IGMP join or leave packets to this port.

C

13

Table 63 interface igmp Command Summary (continued)

COMMAND

DESCRIPTION

M

P

sysname(config)# igmp-snooping
sysname(config)# igmp-snooping host-timeout 30
sysname(config)# igmp-snooping unknown-multicast-frame drop

sysname# configure
sysname(config)# igmp-snooping
sysname(config)# interface port-channel 1
sysname(config-interface)# igmp-snooping group-limited
sysname(config-interface)# igmp-snooping group-limited number 5
sysname(config-interface)# exit
sysname(config)# exit
sysname# show interfaces config 1 igmp-snooping group-limited
Port Enable Max Multicast Group
1 YES 5

sysname# show multicast
Multicast Status

Index VID Port Multicast Group Timeout
----- ---- ---- ---------------- -------