host-aging-time (MLD-snooping view)
Use host-aging-time to set the aging timer for dynamic member ports globally.
Use undo host-aging-time to restore the default.
Syntax
host-aging-time seconds
undo host-aging-time
Default
The aging timer for dynamic member ports is 260 seconds.
Views
MLD-snooping view
Predefined user roles
network-admin
Parameters
seconds: Specifies an aging timer for dynamic member ports, in the range of 1 to 8097894 seconds.
Usage guidelines
You can set the timer globally for all VLANs and VSIs in MLD-snooping view, for a VSI in VSI view, or for a VLAN in VLAN view. For a VSI, the VSI-specific configuration takes priority over the global configuration. For a VLAN, the VLAN-specific configuration takes priority over the global configuration.
To avoid mistakenly deleting IPv6 multicast group members, set the aging timer for dynamic member ports to be greater than the value calculated by using the following formula:
[ MLD general query interval ] + [ maximum response time for MLD general queries ]
As a best practice, set the aging timer of dynamic member ports to the value calculated by using the following formula:
[ MLD general query interval ] × 2 + [ maximum response time for MLD general queries ]
Examples
# Set the global aging timer for dynamic member ports to 300 seconds.
<Sysname> system-view [Sysname] mld-snooping [Sysname-mld-snooping] host-aging-time 300
Related commands
mld-snooping host-aging-time