The reset igmp group command deletes all IGMP group records that the interfaces dynamically join.
reset igmp [ vpn-instance vpn-instance-name | all-instance ] group { all | interface interface-type interface-number { all | group-address [ mask { group-mask | group-mask-length } ] [ source-address [ mask { source-mask | source-mask-length } ] ] } }
| Parameter | Description | Value |
|---|---|---|
vpn-instance vpn-instance-name |
Specifies a VPN instance. vpn-instance-name specifies the name of the VPN instance. |
The name is a string of 1 to 31 characters. |
all-instance |
Indicates all the instances. |
- |
all |
Indicates all the IGMP groups. |
- |
interface interface-type interface-number |
Indicates the interface type and interface number. It is used to specify an interface. |
- |
group-address |
Specifies a multicast group address. After you specify this parameter, the records to which a specific multicast group corresponds are deleted. |
The address is in dotted decimal notation and ranges from 224.0.0.0 to 239.255.255.255. |
mask |
Indicates the mask of a multicast group or source address. |
- |
group-mask |
Indicates the mask of a multicast group address in dotted decimal notation. |
The address is in dotted decimal notation. |
group-mask-length |
Indicates the mask length of the specific group address. |
The value is an integer that ranges from 4 to 32. |
source-address |
Specifies a multicast source address. After you specify this parameter, the records to which a specific multicast source corresponds are deleted. |
The address is in dotted decimal notation. |
source-mask |
Indicates the mask of the source address in dotted decimal notation. |
The address is in dotted decimal notation. |
source-mask-length |
Indicates the mask length of the source address. |
The value is an integer that ranges from 0 to 32 |
This command is valid for dynamically joined IGMP groups rather than static IGMP groups.
When the reset igmp group command is used, only the IGMP group records that are dynamically joined in the public network instance are deleted if vpn-instance or all-instance is not specified.
If the reset igmp group all command is used, all IGMP group records that all interfaces of a FW dynamically join are deleted.
If the reset igmp group interface interface-type interface-number all command is used, all IGMP group records that a specific interface dynamically joins are deleted.
If group-address is specified, records about the IGMP groups of specified group addresses are deleted.
If source-address is specified, records about the IGMP groups of specified source addresses are deleted.
The deletion of the group record does not affect its joining again.
# Delete all the IGMP group records on all interfaces.
<sysname> reset igmp group all
# Delete all the IGMP group records on GigabitEthernet 0/0/1.
<sysname> reset igmp group interface GigabitEthernet 0/0/1 all
# Delete records about the IGMP group with the group address being 225.0.0.1 from GigabitEthernet 0/0/1.
<sysname> reset igmp group interface GigabitEthernet 0/0/1 225.0.0.1
# Delete records about the IGMP groups with the group addresses being within 225.1.1.0 and 225.1.1.255 from GigabitEthernet 0/0/1.
<sysname> reset igmp group interface GigabitEthernet 0/0/1 225.1.1.0 mask 255.255.255.0