R2511-HP MSR Router Series IP Multicast Command Reference(V5)
403
Examples
# Enable MLD snooping and set the aging timer for the dynamic router ports in VLAN 2 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
• mld-snooping enable
• router-aging-time
mld-snooping router-port-deny
Use mld-snooping router-port-deny to disable a port from becoming a dynamic router port.
Use undo mld-snooping router-port-deny to restore the default.
Syntax
mld-snooping router-port-deny [ vlan vlan-list ]
undo mld-snooping router-port-deny [ vlan vlan-list ]
Default
A port can become a dynamic router port.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default command 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-vlan-id, where the end VLAN ID must be greater than the start VLAN ID. The value range of a VLAN
ID is 1 to 4094.
Usage guidelines
For a device that supports both MLD snooping and MLD, this command also takes effect on VLANs with
MLD enabled on their VLAN interfaces.
If you do not specify any VLAN when using this command in Layer 2 Ethernet interface view or Layer 2
aggregate interface view, the command takes effect on all VLANs that the interface belongs to. If you
specify one or multiple VLANs, the command takes effect on the specified VLANs that the interface
belongs to.
If you do not specify any VLAN when using this command in port group view, the command takes effect
on all the ports in this group. If you specify one or multiple VLANs, the command takes effect only on
those ports in this group that belong to the specified VLANs.
Examples
# Disable Ethernet 1/1 from becoming a dynamic router port in VLAN 2.










