R3102-R3103-HP 6600/HSR6600 Routers IP Multicast Command Reference

26
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping router-aging-time 100
Related commands
igmp-snooping enable
router-aging-time
igmp-snooping router-port-deny
Use igmp-snooping router-port-deny to disable a port from becoming a dynamic router port.
Use undo igmp-snooping router-port-deny to restore the default.
Syntax
igmp-snooping router-port-deny [ vlan vlan-list ]
undo igmp-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 router that supports both IGMP snooping and IGMP and is installed with the SAP module, this
command takes effect in IGMP snooping VLANs and VLANs with IGMP-enabled 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 for all VLANs that the interface belongs to. If you
specify one or more VLANs, the command takes effect for 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 more VLANs, the command takes effect only on those
ports in this group that belong to the specified VLANs.
Examples
# Disable GigabitEthernet 2/0/1 from becoming a dynamic router port in VLAN 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0//1
[Sysname-GigabitEthernet2/0/1] igmp-snooping router-port-deny vlan 2