17
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 225.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] igmp-snooping group-policy 2000 vlan 2
igmp-snooping host-aging-time
Syntax
igmp-snooping host-aging-time
interval
undo igmp-snooping host-aging-time
View
VLAN view
Default level
2: System level
Parameters
interval
: Specifies an aging timer in seconds for dynamic member ports. The value ranges from 200 to
1000.
Description
Use
igmp-snooping host-aging-time
to set the aging timer for dynamic member ports for a VLAN.
Use
undo igmp-snooping host-aging-time
to restore the default.
By default, the aging time of a dynamic member port is 260 seconds.
This command takes effect only if IGMP snooping is enabled in the VLAN.
Related commands:
host-aging-time
and
igmp-snooping enable
.
Examples
# Enable IGMP snooping and set the aging timer for dynamic member ports in VLAN 2 to 300 seconds.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping host-aging-time 300
igmp-snooping host-join
Syntax
igmp-snooping host-join
group-address
[
source-ip
source-address
]
vlan
vlan-id
undo igmp-snooping host-join
group-address
[
source-ip
source-address
]
vlan
vlan-id
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view