set igmp static

Use this command to create a new static IGMP entry or to add one or more new include or exclude ports to an existing entry.

Syntax

set igmp static group vlan-list [modify] [include-ports include-ports] [exclude-ports exclude-ports]

Parameters

group Specifies a group IP address for the entry.
vlan-list Specifies the VLAN or range of VLANs for which to configure the entry.
modify (Optional) Adds new ports to an existing entry.
include-ports include-ports (Optional) Port or range of ports to include for this static entry.
exclude-ports exclude-ports (Optional) Port or range of ports to exclude from both this static entry and dynamic IGMP.

Defaults

If the modify option is not specified, any previous configuration for this group and vlan is overwritten.

If the include-ports option is not specified, all ports that are not specifically excluded using the exclude-ports option are included in this entry.

If the exclude-ports option is not specified, no ports are excluded for this entry.

Mode

All command modes.

Usage

If the receiving system is not IGMP capable, a static IGMP entry configured with the receiving device‘s IP address (group address) and VLAN will force the sending of IGMP messages to the device.

If include-ports is specified, only ports in the include list will be members of this static IGMP entry.

If exclude-ports is specified, both static and dynamic IGMP messages will be blocked for the excluded ports.

Example

This example shows how to create a static IGMP entry for group 10.10.50.1 on VLAN 100 including ports tg.1.1-5 and excluding ports tg.1.6-10:

System(rw)->set igmp static 10.10.50.1 100 include-ports tg.1.1-5 exclude-ports tg.1.6-10
System(rw)->show igmp static group 10.10.50.1 vlan-list 100
--------------------------------------------------------------------------------
Multicast Group Address = 10.10.50.1
Vlan Id                 = 100
Source IP Address       = Any
Include List            = tg.1.1-5
Exclude List            = tg.1.6-10
System(rw)->