mld-snooping router-aging-time
Syntax
mld-snooping router-aging-time interval
undo mld-snooping router-aging-time
View
VLAN view
Default level
2: System level
Parameters
interval: Specifies an aging time for dynamic router ports, in seconds. The value range is 1 to 1000.
Description
Use the mld-snooping router-aging-time command to configure the aging time for the dynamic router
ports in the current VLAN.
Use the undo mld-snooping router-aging-time command to restore the default.
By default, the dynamic router port aging time is 260 seconds.
This command takes effect only if MLD snooping is enabled for the VLAN.
Related commands: mld-snooping enable and router-aging-time.
Examples
# Enable MLD snooping and set the aging time for the dynamic router ports to 100 seconds in VLAN 2.
<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
mld-snooping router-port-deny
Syntax
mld-snooping router-port-deny [ vlan vlan-list ]
undo mld-snooping router-port-deny [ vlan vlan-list ]
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default level
2: System level
Parameters
vlan vlan-list: Specifies one or multiple VLANs. You can provide up to 10 VLAN lists. For each list, you
can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end-
60