mld-snooping router-aging-time
Use mld-snooping router-aging-time to set the aging timer for dynamic router ports in a VLAN.
Use undo mld-snooping router-aging-time to restore the default.
Syntax
mld-snooping router-aging-time seconds
undo mld-snooping router-aging-time
Default
The aging timer for dynamic router ports is 260 seconds.
Views
VLAN view
Predefined user roles
network-admin
mdc-admin
Parameters
seconds: Specifies an aging timer for dynamic router ports, in the range of 1 to 8097894 seconds.
Usage guidelines
You must enable MLD snooping for a VLAN before you execute this command.
You can set the timer for a VLAN in VLAN view or globally for all VLANs in MLD-snooping view. For a VLAN, the VLAN-specific configuration takes priority over the global configuration.
Examples
# In VLAN 2, enable MLD snooping, and set the aging timer for dynamic router ports in the VLAN to 100 seconds.
<Sysname> system-view [Sysname] mld-snooping [Sysname-mld-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] mld-snooping enable [Sysname-vlan2] mld-snooping router-aging-time 100
Related commands
enable (MLD-snooping view)
mld-snooping enable
router-aging-time (MLD-snooping view)