24
View
VLAN view
Default level
2: System level
Parameters
interval
: Specifies an interval in seconds for sending IGMP general queries. The value ranges from 2 to
300.
Description
Use
igmp-snooping query-interval
to configure the interval for sending IGMP general queries.
Use
undo igmp-snooping query-interval
to restore the default.
By default, the IGMP general query interval is 60 seconds.
This command takes effect only if IGMP snooping is enabled in the VLAN.
Related commands:
igmp-snooping enable
,
igmp-snooping max-response-time
,
igmp-snooping
querier
, and
max-response-time
.
Examples
# Enable IGMP snooping and set the interval for sending IGMP general queries to 20 seconds in VLAN
2.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping query-interval 20
igmp-snooping report source-ip
Syntax
igmp-snooping report source-ip
{
ip-address
|
current-interface
}
undo igmp-snooping report source-ip
View
VLAN view
Default level
2: System level
Parameters
ip-address
: Specifies a source address for the IGMP reports that the IGMP snooping proxy sends. The
address can be any legal IP address.
current-interface
: Specifies the IP address of the current VLAN interface as the source address of IGMP
reports that the IGMP snooping proxy sends. If no IP address has been assigned to the current VLAN
interface, the default IP address 0.0.0.0 is used.