25
Description
Use
igmp-snooping report source-ip
to configure the source IP address of the IGMP reports that the
IGMP snooping proxy sends.
Use
undo igmp-snooping report source-ip
to restore the default.
By default, the source IP address of the IGMP reports that the IGMP snooping proxy sends is 0.0.0.0.
Before you configure this command in a VLAN, enable IGMP snooping in the VLAN.
The source IP address configured in the
igmp-snooping report source-ip
command also applies when the
simulated host sends IGMP reports.
Related commands:
igmp-snooping enable
.
Examples
# Enable IGMP snooping in VLAN 2 and configure the source IP address of IGMP reports that the IGMP
snooping proxy sends in VLAN 2 to 10.1.1.1.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping report source-ip 10.1.1.1
igmp-snooping router-aging-time
Syntax
igmp-snooping router-aging-time
interval
undo igmp-snooping router-aging-time
View
VLAN view
Default level
2: System level
Parameters
interval
: Specifies an aging timer for dynamic router ports in seconds. The value ranges from 1 to 1000.
Description
Use
igmp-snooping router-aging-time
to configure the aging timer for dynamic router ports for a VLAN.
Use
undo igmp-snooping router-aging-time
to restore the default.
By default, the aging timer of a dynamic router port is 105 seconds.
This command takes effect only if IGMP snooping is enabled in the VLAN.
Related commands:
igmp-snooping enable
and
router-aging-time
.
Examples
# Enable IGMP snooping and set the aging timer for dynamic router ports to 100 seconds in VLAN 2.
<Sysname> system-view
[Sysname] igmp-snooping