
14
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.
Description
Use
igmp-snooping fast-leave
to enable fast-leave processing on the current port or group of ports. With
this function enabled, when the switch receives an IGMP leave message on a port, it directly removes that
port from the multicast forwarding entry of the specific group.
Use
undo igmp-snooping fast-leave
to disable fast-leave processing on the current port or group of ports.
By default, fast-leave processing is disabled.
This command works in both IGMP snooping–enabled VLANs and VLANs with IGMP 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 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.
Related commands:
fast-leave
.
Examples
# Enable fast-leave processing on GigabitEthernet 1/0/1 in VLAN 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] igmp-snooping fast-leave vlan 2
igmp-snooping general-query source-ip
Syntax
igmp-snooping general-query source-ip
{
ip-address
|
current-interface
}
undo igmp-snooping general-query source-ip
View
VLAN view
Default level
2: System level
Parameters
ip-address
: Specifies the source address of IGMP general queries, which can be any legal IP address.
current-interface
: Sets the source address of IGMP general queries to the address of the current VLAN
interface. If the current VLAN interface does not have an IP address, the default IP address 0.0.0.0 is
used as the source IP address of IGMP general queries.
Description
Use
igmp-snooping general-query source-ip
to configure the source address of IGMP general queries.
Use
undo igmp-snooping general-query source-ip
to restore the default.