igmp static-group
Use igmp static-group to configure an interface as a static group member of a multicast group.
Use undo igmp static-group to restore the default.
Syntax
igmp static-group group-address [ source source-address ]
undo igmp static-group { all | group-address [ source source-address ] }
Default
An interface is not a static group member of multicast groups.
Views
Interface view
Predefined user roles
network-admin
Parameters
group-address: Specifies a multicast group by its IP address in the range of 224.0.1.0 to
239.255.255.255.
source-address: Specifies a multicast source by its IP address. If you do not specify a multicast source, the
command configures an interface as a static group member of the multicast groups with all multicast
source addresses.
all: Specifies all multicast groups that the interface has statically joined.
Usage guidelines
If the specified multicast address is in the SSM multicast address range, you must specify a multicast
source address at the same time. Otherwise, IGMP routing entries cannot be established. No such a
restriction exists if the specified multicast group address is not in the SSM multicast address range.
Examples
# Configure VLAN-interface 100 as a static group member of the multicast group 224.1.1.1.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] igmp static-group 224.1.1.1
# Configure VLAN-interface 100 as a static group member of the multicast source and group (192.168.1.1,
232.1.1.1).
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] igmp static-group 232.1.1.1 source 192.168.1.1
igmp version
Use igmp version to specify an IGMP version for an interface.
Use undo igmp version to restore the default.
102