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
mdc-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 source-address: Specifies a multicast source by its IP address. If you do not specify a multicast source, this command configures an interface as a static member of the multicast groups with all multicast source addresses.
all: Specifies all multicast groups that the interface has statically joined.
Usage guidelines
For multicast routing entries to be created, you must specify a multicast source if the specified multicast group is in the SSM group range.
Examples
# Configure VLAN-interface 100 as a static group member of 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 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