You are on page 1of 24

Command Manual IGMP Snooping Configuration

Quidway S8500 Series Routing Switches Table of Contents



Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
i

Table of Contents
Chapter 1 IGMP Snooping Configuration Commands............................................................... 1-1
1.1 IGMP Snooping Configuration Commands ....................................................................... 1-1
1.1.1 debugging igmp-snooping....................................................................................... 1-1
1.1.2 display igmp-snooping configuration....................................................................... 1-2
1.1.3 display igmp-snooping group .................................................................................. 1-2
1.1.4 display igmp-snooping statistics.............................................................................. 1-2
1.1.5 igmp-snooping......................................................................................................... 1-2
1.1.6 igmp-snooping 10ge-non-flooding enable slot ........................................................ 1-2
1.1.7 igmp-snooping fast-leave........................................................................................ 1-2
1.1.8 igmp-snooping group-policy.................................................................................... 1-2
1.1.9 igmp-snooping host-aging-time............................................................................... 1-2
1.1.10 igmp-snooping host-port vlan................................................................................ 1-2
1.1.11 igmp-snooping max-response-time....................................................................... 1-2
1.1.12 igmp-snooping nonflooding-enable....................................................................... 1-2
1.1.13 igmp-snooping router-aging-time.......................................................................... 1-2
1.1.14 reset igmp-snooping statistics............................................................................... 1-2
1.2 Multicast Static Routing Port Configuration Commands ................................................... 1-2
1.2.1 multicast static-router-port....................................................................................... 1-2
1.3 IGMP Snooping Load Balancing Configuration Commands ............................................. 1-2
1.3.1 display igmp-snooping configuration....................................................................... 1-2
1.3.2 Igmp-snooping non-flooding entry-age-time ........................................................... 1-2
1.4 IGMP Snooping Querier Configuration Commands .......................................................... 1-2
1.4.1 display igmp-snooping configuration vlan............................................................... 1-2
1.4.2 igmp-snooping general-query source-ip ................................................................. 1-2
1.4.3 igmp-snooping leave-aggregation........................................................................... 1-2
1.4.4 igmp-snooping max-response-time......................................................................... 1-2
1.4.5 igmp-snooping querier ............................................................................................ 1-2
1.4.6 igmp-snooping query-interval.................................................................................. 1-2
1.4.7 igmp-snooping report-aggregation.......................................................................... 1-2
1.5 Multicast Forwarding on Demand Configuration Commands............................................ 1-2
1.5.1 multicast forward according-to-need....................................................................... 1-2

Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-1

Chapter 1 IGMP Snooping Configuration
Commands
Note:
The term "router" in this document refers to a router in a generic sense or a Layer 3
switch running an IP routing protocol.

1.1 IGMP Snooping Configuration Commands
1.1.1 debugging igmp-snooping
Syntax
debugging igmp-snooping { abnormal | all | events | forward | groups | packets |
timers }
undo debugging igmp-snooping { abnormal | all | events | forward | groups |
packets | timers }
View
User view
Parameters
abnormal: Enables IGMP Snooping abnormal debugging
all: Turns on all IGMP Snooping debugging switches
events: Enables IGMP Snooping events debugging
forward: Enables IGMP Snooping forwarding debugging
groups: Enables IGMP Snooping multicast groups debugging
packets: Enables IGMP Snooping packets debugging
timers: Enables IGMP Snooping timers debugging
Description
Use the debugging igmp-snooping command to enable IGMP Snooping debugging.
Use the undo debugging igmp-snooping to disable IGMP Snooping debugging.
By default, IGMP Snooping debugging is disabled.
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-2 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

Examples
# Enable IGMP Snooping timers debugging.
<Quidway> debugging igmp-snooping timers
IGMP snooping timers debugging switch is on.
1.1.2 display igmp-snooping configuration
Syntax
display igmp-snooping configuration
View
Any view
Parameters
None
Description
Use the display igmp-snooping configuration command to view the IGMP Snooping
configuration information.
Related commands: igmp-snooping.
Examples
# Display the IGMP Snooping configuration information of the switch.
<Quidway> display igmp-snooping configuration
Enable IGMP-Snooping.
Enable IGMP-Snooping.
The router port timeout is 260 second(s).
The max response timeout is 1 second(s).
The host port timeout is 260 second(s).
Enable IGMP-Snooping Non-Flooding.
Table 1-1 display igmp-snooping configuration command output description
Field Description
Enable IGMP-Snooping IGMP Snooping is enabled
The router port timeout Aging time of the router port
The max response timeout Maximum response time
The host port timeout Aging time of the multicast group member
Enable IGMP-Snooping
Non-Flooding
IGMP Snooping non-flooding is enabled.

Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-3

1.1.3 display igmp-snooping group
Syntax
display igmp-snooping group [ vlan vlan-id [ group-address] ]
View
Any view
Parameters
vlan vlan-id: Specifies the VLAN where the multicast group to be viewed is located.
When the parameter is not provided, the command will display the information about all
the multicast groups on the VLAN.
group-address: Address of the multicast group, the information of which is to be
displayed. If this argument is not provided, the command displays information of all the
multicast groups in the specified VLAN.
Description
Use the display igmp-snooping group command to view the IP multicast group and
MAC multicast group information of a VLAN or all the VLANs on the Ethernet switch.
Examples
# Display the multicast group information of VLAN 10.
<Quidway> display igmp-snooping group vlan 10
Total 1 IP Group(s).
Total 1 MAC Group(s).

Vlan(id):10.
Total 1 IP Group(s).
Total 1 MAC Group(s).
Router port(s):
IP group(s):the following ip group(s) match to one mac group.
IP group address:230.45.45.1
Host port(s):Ethernet4/1/1
MAC group(s):
MAC group address:0100-5e2d-2d01
Host port(s):Ethernet4/1/1
Table 1-2 display igmp-snooping group command output description
Field Description
Vlan(id) Specified VLAN ID
Router port(s) Router port
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-4 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

Field Description
IP group(s) IP multicast group
IP group address IP address of the IP multicast group
Host port(s) Host port of the IP multicast group
MAC group(s) MAC multicast group
MAC group address MAC address of the MAC multicast group
Host port(s) Host port of the MAC multicast group

1.1.4 display igmp-snooping statistics
Syntax
display igmp-snooping statistics
View
Any view
Parameters
None
Description
Use the display igmp-snooping statistics command to view the statistics information
on IGMP Snooping.
Related commands: igmp-snooping.
Examples
# Display statistics information about IGMP Snooping.
<Quidway> display igmp-snooping statistics
Received IGMP general query packet(s) number:1.
Received IGMP specific query packet(s) number:2.
Received IGMP V1 report packet(s) number:2.
Received IGMP V2 report packet(s) number:0.
Received IGMP leave packet(s) number:3.
Received error IGMP packet(s) number:0.
Sent IGMP specific query packet(s) number:5.
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-5

Table 1-3 display igmp-snooping statistics command output description
Field Description
Received IGMP general query packet(s)
number
Number of received IGMP general
queries
Received IGMP specific query packet(s)
number
Number of received IGMP
group-specific queries
Received IGMP V1 report packet(s)
number
Number of received IGMPv1 reports
Received IGMP V2 report packet(s)
number
Number of received IGMPv2 reports
Received IGMP leave packet(s) number
Number of received IGMP leave
messages
Received error IGMP packet(s) number
Number of received error IGMP
messages
Sent IGMP specific query packet(s)
number
Number of sent IGMP group-specific
queries

1.1.5 igmp-snooping
Syntax
igmp-snooping { enable | disable }
View
System view, VLAN view
Parameters
enable: Enables IGMP Snooping.
disable: Disables IGMP Snooping;
Description
Use the igmp-snooping enable command to enable IGMP Snooping globally or in a
VLAN.
Use the igmp-snooping disable command to disable IGMP Snooping.
By default, the switch disables IGMP Snooping.

Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-6 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

Caution:
When configuring IGMP Snooping, first enable global IGMP Snooping in system
view, and then enable IGMP Snooping in VLAN view. Otherwise the IGMP
Snooping function will not take effect.
If the VLAN VPN is enabled on a port, the IGMP Snooping feature cannot be
enabled on the VLAN for the port or the IGMP feature cannot be enabled on the
corresponding VLAN interface.
If IGMP Snooping feature is enabled in a VLAN, or IGMP is enabled on the VLAN
interface, you cannot add the member port on which VLAN VPN is enabled into the
VLAN.
Isolate-user-VLAN supports the IGMP-Snooping function. After IGMP-Snooping is
enabled under isolate-user-VLAN, all secondary VLANs are IGMP-Snooping
enabled.
In a secondary VLAN, IGMP packets will be directly converted and processed in
isolate-user-VLAN, namely all the multicast services are implemented within
isolate-user-VLAN.
Ports in secondary VLANs cannot be used as source addresses of multicast.
If the undo igmp-snooping command is executed in system view, all IGMP
Snooping configurations previously made are removed.

Examples
# Enable IGMP Snooping in system view.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping enable
# Enable IGMP Snooping on VLAN 10
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] vlan 10
[Quidway-vlan10] igmp-snooping enable
1.1.6 igmp-snooping 10ge-non-flooding enable slot
Syntax
igmp-snooping 10ge-non-flooding enable slot slot-num
undo igmp-snooping 10ge-non-flooding enable slot slot-num
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-7

View
System view
Parameters
slot-num: Slot number of the interface board.
Description
Use the igmp-snooping 10ge-non-flooding enable slot command to suppress the
ports on the specified interface board from flooding unknown multicast packets at Layer
2.
Use the undo igmp-snooping 10ge-non-flooding enable slot command to remove
the configuration.
By default, a port floods unknown multicast traffic at Layer 2.

Note:
Currently, this command is not supported.

Examples
# Suppress the interface board at Slot 5 from flooding unknown multicast traffic at Layer
2.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping 10ge-non-flooding enable slot 5
1.1.7 igmp-snooping fast-leave
Syntax
igmp-snooping fast-leave [ vlan { vlan-id [ to vlan-id ] }&<1-10> ]
undo igmp-snooping fast-leave [ vlan { vlan-id [ to vlan-id ] } &<1-10> ]
View
System view, Ethernet port view
Parameters
vlan { vlan-id [ to vlan-id ] }&<1-10>: Specifies any VLAN or VLAN scope for port you
want to enable/disable the IGMP Snooping fast leave feature on. The vlan-id argument
ranges from 1 to 4094.
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-8 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

Description
Use the igmp-snooping fast-leave command to enable IGMP Snooping fast leave.
Use the undo igmp-snooping fast-leave command to disable IGMP Snooping fast
leave.
You can optionally specify multiple VLANs in the igmp-snooping fast-leave command,
through which you can enable IGMP Snooping fast leave in the corresponding VLANs.
If you do not specify any VLAN, IGMP Snooping fast leave is enabled in all VLANs.

Note:
Fast leaves that are configured in system view and Ethernet port view operate
separately.
Fast leave works on all ports of the specified VLANs if you configure it in system
view. However, it only works on the current port (e.g., a port operates as a trunk of
multiple VLANs) in the specified VLANs if you configure it in Ethernet port view.

Caution:
Fast leave configured for a port takes effect only when the VLAN it belongs to is
IGMP Snooping-enabled.
Fast leave does not work if the corresponding specified VLANs do not exist, the port
does not belongs to any of the specified VLANs, or the VLANs do not have IGMP
Snooping enabled.
A newly configured IGMP Snooping clears all existing fast leave configurations.
The igmp-snooping fast-leave command is useless if you do not enable IGMP
Snooping globally. (You can enable IGMP Snooping globally by executing the
igmp-snooping enable command in system view.)
When you configure IGMP Snooping fast leave on aggregation ports, the
configuration takes effect only on primary aggregation ports.
If you add an IGMP V1 host of the same multicast group to the port, the switch does
not remove the port when the port receives an IGMP Leave packet of the multicast
group even you enable IGMP Snooping fast leave for the port.

Fast leave is disabled by default.
Related commands: igmp-snooping.
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-9

Examples
# Enable IGMP Snooping fast leave on Ethernet2/1/1 for VLAN 5, VLAN 7, VLAN 8,
VLAN 30 through VLAN 40, and VLAN 50.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet2/1/1
[Quidway-Ethernet2/1/1] igmp-snooping fast-leave vlan 5 7 to 8 30 to 40 50
# Enable IGMP Snooping fast leave for all Ethernet ports except those in VLAN 5.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping fast-leave
[Quidway] undo igmp-snooping fast-leave vlan 5
1.1.8 igmp-snooping group-policy
Syntax
igmp-snooping group-policy acl-number
undo igmp-snooping group-policy
View
VLAN view
Parameters
acl-number: Number of basic ACL, in the range of 2,000 to 2,999.
Description
Use the igmp-snooping group-policy command to configure the filtering rule of
multicast groups on a specified VLAN so as to control the access to IP multicast groups.
You can configure only one ACL rule for each VLAN, and the new configured rule will
replace the old one.
Use the undo igmp-snooping group-policy command to remove the configuration.
By default, no filtering rule is set in a VLAN. In this case, a host can join any multicast
group.
If an ACL is configured in a VLAN to filter multicast groups, hosts can join only those
multicast groups that are permitted to join.
Examples
# Create ACL2001 and configure the rule for basic ACL, using the source IP address as
the destination multicast address.
<Quidway> system-view
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-10 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

System View: return to User View with Ctrl+Z.
[Quidway]acl number 2001
[Quidway-acl-basic-2001]rule 0 permit source 224.1.1.1 0
[Quidway-acl-basic-2001]quit
# Create VLAN 2.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] vlan 2
# Configure the filtering rule of multicast groups in VLAN 2.
[Quidway-vlan2] igmp-snooping group-policy 2001
1.1.9 igmp-snooping host-aging-time
Syntax
igmp-snooping host-aging-time seconds
undo igmp-snooping host-aging-time
View
System view
Parameters
seconds: Port aging time for the multicast group member, ranging from 200 to 1000
seconds. By default, it is 260 seconds.
Description
Use the igmp-snooping host-aging-time command to configure the port aging time of
the multicast group members.
Use the undo igmp-snooping host-aging-time command to restore the default value.
This command is used to set the aging time of the multicast group member so that the
refresh frequency can be controlled. When the group members change frequently, the
aging time should be comparatively short, and vice versa.
Related commands: igmp-snooping.
Examples
# Set the aging time to 300 seconds.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping host-aging-time 300
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-11

1.1.10 igmp-snooping host-port vlan
Syntax
igmp-snooping host-port vlan { all | vlan-id }
undo igmp-snooping host-port vlan { all | vlan-id }
View
Ethernet port view
Parameters
all: Specifies all VLANs.
vlan-id: Specifies the ID of a VLAN in the range of 1 to 4094.
Description
Use the igmp-snooping host-port vlan command to enable the host port function on
the port.
Use the undo igmp-snooping host-port vlan command to disable the function on the
port.
By default, the host port function is disabled.
Examples
# Enable the host port function on Ethernet 5/1/1 for all VLANs.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet 5/1/1
[Quidway-Ethernet5/1/1] igmp-snooping host-port vlan all
1.1.11 igmp-snooping max-response-time
Syntax
igmp-snooping max-response-time seconds
undo igmp-snooping max-response-time
View
System view
Parameters
seconds: Maximum response time for a query, ranging from 1 to 25 seconds. By default,
it is 1 second.
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-12 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

Description
Use the igmp-snooping max-response-time command to configure the maximum
response time for a query.
Use the undo igmp-snooping max-response-time command to restore the default
value.
The set maximum response time decides the time limit for the switch to respond to
IGMP Snooping query packets.
Related commands: igmp-snooping, igmp-snooping router-aging-time.
Examples
# Set the maximum response time for the IGMP Snooping packet to 15s.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping max-response-time 15
1.1.12 igmp-snooping nonflooding-enable
Syntax
igmp-snooping nonflooding-enable
undo igmp-snooping nonflooding-enable
View
System view
Parameters
None
Description
Use the igmp-snooping nonflooding-enable command to suppress flooding of
unknown multicast data packets within their respective VLANs.
Use the undo igmp-snooping nonflooding-enable command to restore the default.
Note that if IGMP Snooping is not enabled on the VLAN (nor Layer 3 multicast),
unknown multicast packets are flooded within their respective VLANs no matter
whether this function is enabled or not. To suppress flooding of unknown multicast data
packets within their respective VLANs, you need to enable IGMP Snooping in the
VLANs and enable igmp-snooping nonflooding-enable globally.
By default, unknown multicast data packets are flooded within their respective VLANs.
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-13

Examples
# Enable the device to suppress flooding of unknown multicast packets within their
respective VLANs.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping nonflooding-enable
1.1.13 igmp-snooping router-aging-time
Syntax
igmp-snooping router-aging-time seconds
undo igmp-snooping router-aging-time
View
System view
Parameters
seconds: Router port aging time, ranging from 1 to 1000 measured in seconds; By
default, it is 260.
Description
Use the igmp-snooping router-aging-time command to configure the router port
aging time of IGMP Snooping.
Use the undo igmp-snooping router-aging-time command to restore the default
value.
The port here refers to the Ethernet switch port connected to the multicast router. The
Layer-2 Ethernet switch receives general query packets from the router via this port.
The timer should be set to about 3.5 times of the general query period of the router.
Related commands: igmp-snooping, igmp-snooping max-response-time.
Examples
# Set the aging time of the IGMP Snooping router port to 500 seconds.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping router-aging-time 500
1.1.14 reset igmp-snooping statistics
Syntax
reset igmp-snooping statistics
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-14 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

View
User view
Parameters
None
Description
Use the reset igmp-snooping statistics command to reset the IGMP Snooping
statistic information.
Related commands: igmp-snooping.
Examples
# Clear IGMP Snooping statistic information.
<Quidway> reset igmp-snooping statistics
1.2 Multicast Static Routing Port Configuration Commands
1.2.1 multicast static-router-port
Syntax
In VLAN view:
multicast static-router-port port-number
undo multicast static-router-port port-number
In Ethernet port view:
multicast static-router-port vlan vlan-id
undo multicast static-router-port vlan vlan-id
View
VLAN view, Ethernet port view
Parameters
port-number: Port number of the port to be configured as a static routing port. Provide
this argument in the format of interface-type interface-number, where the interface-type
argument can only be Ethernet port type.
vlan-id: ID of the VLAN where the port belongs.
Description
Use the multicast static-router-port command to configure a port in a VLAN as a
static routing port, through which IGMP packets can be transparently transmitted, so as
to meet the requirements of specific networks.
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-15

Use the undo multicast static-router-port command to remove static routing port
configuration.
By default, no static routing port is configured.
Examples
# Configure GigabitEthernet 5/1/1 in VLAN 10 to be a static routing port.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] vlan 10
[Quidway-vlan10] multicast static-router-port GigabitEthernet 5/1/1
1.3 IGMP Snooping Load Balancing Configuration
Commands
1.3.1 display igmp-snooping configuration
Syntax
display igmp-snooping configuration
View
Any view
Parameters
None
Description
Use the display igmp-snooping configuration command to view the configuration
information related to IGMP Snooping.
Examples
# Display the IGMP Snooping configuration information.
<Quidway> display igmp-snooping configuration
Enable IGMP-Snooping.
The router port timeout is 260 second(s).
The max response timeout is 1 second(s).
The host port timeout is 260 second(s).
Enable IGMP-Snooping Non-Flooding.
The IGMP-Snooping Non-Flooding entry age time is 16:36:59.
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-16 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

Table 1-4 display igmp-snooping configuration command output description
Field Description
Enable IGMP-Snooping IGMP Snooping is enabled.
The router port timeout Aging time of the router port
max response timeout
Maximum response time in query
messages
host port timeout Aging time of member ports
Enable IGMP-Snooping Non-Flooding
Unknown-multicast flooding suppression
is enabled.
IGMP-Snooping Non-Flooding entry age
time
Aging time of IGMP Snooping
non-flooding entries

1.3.2 Igmp-snooping non-flooding entry-age-time
Syntax
igmp-snooping non-flooding entry-age-time hh:mm:ss
undo igmp-snooping non-flooding entry-age-time
View
System view
Parameters
hh:mm:ss: Point of time at which IGMP Snooping non-flooding entries age out every
day.
Description
Use the igmp-snooping non-flooding entry-age-time command to configure the
aging time of IGMP Snooping non-flooding entries.
Use the undo igmp-snooping non-flooding entry-age-time command to restore the
default.
By default, the aging time is 3:00:00.
Related commands: display igmp-snooping configuration.
Examples
# Set the aging time of IGMP Snooping non-flooding entries to 16:36:59.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping non-flooding entry-age-time 16:36:59
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-17

1.4 IGMP Snooping Querier Configuration Commands
1.4.1 display igmp-snooping configuration vlan
Syntax
display igmp-snooping configuration [ vlan vlan-id ]
View
Any view
Parameters
vlan vlan-id: Displays the IGMP Snooping configuration information in the specified
VLAN.
Description
Use the display igmp-snooping configuration command to view IGMP Snooping
configuration information.
Related commands: igmp-snooping.
Examples
# Display the global IGMP Snooping configuration information on the switch.
<Quidway> display igmp-snooping configuration
Enable IGMP-Snooping.
The router port timeout is 260 second(s).
The max response timeout is 1 second(s).
The host port timeout is 260 second(s).
Enable IGMP-Snooping Non-Flooding.
The IGMP-Snooping Non-Flooding entry age time is 03:00:00.
Enable IGMP-Snooping report-aggregation
The output information shows that IGMP Snooping is enabled; the aging time of router
ports is 260 seconds; the max response time of group-specific query messages is 1
second; the aging time of member ports is 260 seconds; IGMP Snooping non-flooding
is enabled; and IGMP report transparent transmission suppression is enabled.
# Display the IGMP Snooping configuration information in VLAN 66.
<Quidway> display igmp-snooping configuration vlan 66
Enable IGMP-Snooping.
IGMP-snooping querier is enabled.
IGMP-snooping general query interval is 60 second(s).
IGMP-snooping max-response-time in general query is 10 second(s).
IGMP-snooping source address in general query is 0.0.0.0.
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-18 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

1.4.2 igmp-snooping general-query source-ip
Syntax
igmp-snooping general-query source-ip { current-interface | ip-address }
undo igmp-snooping general-query source-ip
View
VLAN view
Parameters
current-interface: Configures the source IP address to be carried in the IGMP queries
sent by the device to be the primary IP address of the current VLAN interface.
ip-address: Specified an IP address as the source IP address to be carried in the IGMP
queries sent by the device.
Description
Use the igmp-snooping general-query source-ip current-interface command to
configure the querier to use the primary IP address of the current VLAN interface as the
source IP address. If no VLAN interface is available or the VLAN interface has no
primary IP address, 0.0.0.0 will be used.
Use the igmp-snooping general-query source-ip ip-address command to specify an
IP address as the source IP address of IGMP queries..
Use the undo igmp-snooping general-query source-ip command to restore the
source IP address of IGMP queries to the default.
By default, the source IP address is 0.0.0.0.
Examples
# Enable IGMP Snooping globally.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping enable
Enable IGMP-Snooping ok.
# Create VLAN 2.
[Quidway] vlan 2
# Enable IGMP Snooping in VLAN 2.
[Quidway-vlan2] igmp-snooping enable
# Set the source IP address of IGMP queries to 100.100.100.100 in VLAN 2.
[Quidway-vlan2] igmp-snooping general-query source-ip 100.100.100.100
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-19

1.4.3 igmp-snooping leave-aggregation
Syntax
igmp-snooping leave-aggregation
undo igmp-snooping leave-aggregation
View
System view
Parameters
None
Description
Use the igmp-snooping leave-aggregation command to enable the function of
suppressing transparent relaying of IGMP leave messages.
Use the undo igmp-snooping leave-aggregation command to disable the function of
suppressing transparent relaying of IGMP leave messages.
By default, this function is disabled.
Before enabling the function of suppressing transparent relaying of IGMP leave
messages, you must enable IGMP Snooping globally.
Related commands: igmp-snooping.
Examples
# Enable the function of suppressing transparent relaying of IGMP leave messages.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping enable
Enable IGMP-Snooping ok.
[Quidway] igmp-snooping leave-aggregation
1.4.4 igmp-snooping max-response-time
Syntax
igmp-snooping max-response-time max-response-time
undo igmp-snooping max-response-time
View
VLAN view
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-20 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

Parameters
max-response-time: Maximum response time of query messages, ranging from 1 to 25,
in seconds.
Description
Use the igmp-snooping max-response-time command to configure the maximum
response time of IGMP queries in the VLAN.
Use the undo igmp-snooping max-response-time command to restore the
maximum response time of IGMP queries to the default value.
By default, the maximum response time of IGMP queries is 10 seconds.
Examples
# Enable IGMP Snooping globally.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping enable
Enable IGMP-Snooping ok.
# Create VLAN 2.
[Quidway] vlan 2
# Enable IGMP Snooping in VLAN 2.
[Quidway-vlan2] igmp-snooping enable
# Set the maximum response time of IGMP queries to 20 seconds in VLAN 2.
[Quidway-vlan2] igmp-snooping max-response-time 20
1.4.5 igmp-snooping querier
Syntax
igmp-snooping querier
undo igmp-snooping querier
View
VLAN view
Parameters
None
Description
Use the igmp-snooping querier command to enable the IGMP Snooping querier in
the current VLAN.
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-21

Use the undo igmp-snooping querier command to disable the IGMP Snooping
querier in the current VLAN.
By default, the IGMP Snooping querier is not enabled in a VLAN.
Examples
# Enable IGMP Snooping globally.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping enable
Enable IGMP-Snooping ok.
# Create VLAN 2.
[Quidway] vlan 2
# Enable IGMP Snooping in VLAN 2.
[Quidway-vlan2] igmp-snooping enable
# Enable the IGMP Snooping querier in VLAN 2.
[Quidway-vlan2] igmp-snooping querier
1.4.6 igmp-snooping query-interval
Syntax
igmp-snooping query-interval time-interval
undo igmp-snooping query-interval
View
VLAN view
Parameters
time-interval: Interval between IGMP general queries, ranging from 1 to 300, in
seconds.
Description
Use the igmp-snooping query-interval command to configure the interval at which
the IGMP Snooping querier sends queries in a VLAN.
Use the undo igmp-snooping query-interval command to restore the interval
between IGMP general queries to the default value.
By default, the interval between IGMP general queries is 60 seconds.
Examples
# Enable IGMP Snooping globally.
Chapter 1 IGMP Snooping Configuration
Commands
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches

1-22 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping enable
Enable IGMP-Snooping ok.
# Create VLAN 2.
[Quidway] vlan 2
# Enable IGMP Snooping in VLAN 2.
[Quidway-vlan2] igmp-snooping enable
# Set the interval between IGMP general queries to 28 seconds in VLAN 2.
[Quidway-vlan2] igmp-snooping query-interval 28
1.4.7 igmp-snooping report-aggregation
Syntax
igmp-snooping report-aggregation
undo igmp-snooping report-aggregation
View
System view
Parameters
None
Description
Use the igmp-snooping report-aggregation command to enable the function of
suppressing transparent relaying of IGMP report messages.
Use the undo igmp-snooping report-aggregation command to disable the function
of suppressing transparent relaying of IGMP report messages.
By default, this function is disabled.
Examples
# Enable the function of suppressing transparent relaying of IGMP report messages
globally.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] igmp-snooping report-aggregation
Command Manual IGMP Snooping Configuration
Quidway S8500 Series Routing Switches
Chapter 1 IGMP Snooping Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-23

1.5 Multicast Forwarding on Demand Configuration
Commands
1.5.1 multicast forward according-to-need
Syntax
multicast forward according-to-need
undo multicast forward according-to-need
View
VLAN view
Parameters
None
Description
Use the multicast forward according-to-need command to enable the multicast
forwarding on demand function in a VLAN.
Use the undo multicast forward according-to-need command to disable the
multicast forwarding on demand function in a VLAN.
By default, this function is disabled.
Note that:
Globally enable IGMP Snooping before configuring this function.
After configuring this function, you need to use the reset command to clear all
IGMP and Layer 3 multicast group entries to bring the configuration into effect.
Examples
# Enable the multicast forwarding on demand function in VLAN 2.
<sysname> system-view
System View: return to User View with Ctrl+Z.
[sysname] igmp-snooping enable
[sysname] igmp-snooping non-flooding
[sysname] vlan 2
[sysname-vlan2] multicast forward according-to-need

You might also like