- Table of Contents
-
- H3C S9500 Command Manual-Release2132[V2.03]-04 IP Multicast Volume
- 00-1Cover
- 01-Multicast Routing and Forwarding Commands
- 02-IGMP Snooping Commands
- 03-IGMP Commands
- 04-PIM Commands
- 05-MSDP Commands
- 06-IPv6 Multicast Routing and Forwarding Commands
- 07-MLD Snooping Commands
- 08-MLD Commands
- 09-IPv6 PIM Commands
- 10-Multicast VLAN Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-MLD Commands | 115.06 KB |
Table of Contents
Chapter 1 MLD Configuration Commands
1.1 MLD Configuration Commands
1.1.3 display mld group port-info
1.1.5 display mld routing-table
1.1.6 last-listener-query-interval
1.1.10 mld last-listener-query-interval
1.1.12 mld require-router-alert
1.1.15 mld timer other-querier-present
1.1.22 timer other-querier-present
Chapter 1 MLD Configuration Commands
& Note:
The term “router” in this document refers to a router in a generic sense or an S9500 series routing switch running MLD.
1.1 MLD Configuration Commands
1.1.1 debugging mld
Syntax
debugging mld { all | done [ basic-acl6-number ] | event | query [ advanced-acl6-number ] [ receive | send ] | report [ advanced-acl6-number ] | timer }
undo debugging mld { all | done | event | query [ receive | send ] | report | timer }
View
User view
Default Level
1: Monitor level
Parameters
all: Turns on/off all types of debugging for MLD.
done: Turns on/off MLD done message debugging.
basic-acl6-number: Specifies the number of the basic IPv6 access control list.
event: Turns on/off MLD event debugging.
query: Turns on/off MLD query message debugging.
advanced-acl6-number: Specifies the number of the advanced IPv6 access control list.
receive: Turns on/off debugging for received MLD query messages.
send: Turns on/off debugging for sent MLD query messages.
report: Turns on/off debugging for MLD report messages.
timer: Turns on/off debugging for MLD timers.
Description
Use the debugging mld command to enable MLD debugging.
Use the undo debugging mld command to disable MLD debugging.
By default, MLD debugging is disabled.
Table 1-1 debugging mld event command output description
Field |
Description |
Creating/creation/created aux join/aux prune adding interface/deleting downstream deleteing/unregister/deleted Enqueue/Dequeuing Elected/Un-elected |
Event types, including: Creating/creation/created Join/prune Adding outgoing interface/removing outgoing interface Deleting/unregistered/deleted Enqueuing/dequeuing Elected/Lost the election |
Interface interfacename(ifadd) |
Interface that responded the event (interface address) |
(sadd, gadd) |
(S, G) entry |
(*, gadd) |
(*, G) entry |
Table 1-2 debugging mld done command output description
Field |
Description |
DONE |
Message type: MLD done message |
Interfacename(ifadd) |
Interface on which the message was received (interface address) |
group gadd |
IPv6 group address in the done message |
Ignoring |
Ignoring this MLD done message |
Table 1-3 debugging mld query send command output description
Field |
Description |
version |
The version of the MLD query message |
Interfacename(ifadd) |
Interface on which the message was received/sent (interface address) |
Ignoring |
Ignoring this MLD query message |
Send |
Sent MLD query message |
With/without s-bit |
With/without the S-bit set |
General/group specific query |
MLD general query/MLD multicast-address-specific query |
Group gadd |
The queried IPv6 group address |
Table 1-4 debugging mld query receive command output description
Field |
Description |
version |
The version of the MLD query message |
Interfacename(ifadd) |
Interface on which the message was received/sent (interface address) |
Ignoring |
Ignoring this MLD query message |
Received |
Received MLD query message |
General/group specific query |
MLD general query/MLD multicast-address-specific query |
Group gadd |
The queried IPv6 group address |
Table 1-5 debugging mld report command output description
Field |
Description |
Ignoring |
Ignoring this MLD membership report message |
IS_IN/IS_EX/TO_IN/TO_EX/ALLOW/BLOCK |
Record type of the membership report message |
Group gadd |
IPv6 group address in the MLD membership report message |
(sadd, gadd) |
(S, G) entry |
v1/v2 |
Version of the MLD membership report message |
Interfacename(ifadd) |
Interface on which the message was received/sent (interface address) |
Table 1-6 debugging mld timer command output description
Field |
Description |
Lmqi timeout for group |
LMQI timer timed out |
Other querier present interval |
Other querier present timer timed out |
Interfacename(ifadd) |
Interface on which the message was received/sent (interface address) |
Deleting v1 host timer |
MLDv1 host aging timer timed out |
Setting v1 host timer |
Setting MLDv1 host aging timer |
Examples
# Enabling MLD event debugging
<Sysname> debugging mld event
* Mar 26 14:20:10:635 2007 Sysname MLD/7/EVENT:Elected querier on interface
Vlan-interface11(FE80::200:5EFF:FE01:6C00) (G10297)
// The interface is elected as the MLD querier
* Mar 26 14:20:12:635 2007 Sysname MLD/7/EVENT:Un-elected querier on interface Vlan-interface11(FE80::200:5EFF:FE01:6C00) (G10456)
// The interface becomes a non-querier
* Mar 26 14:20:14:635 2007 Sysname MLD/7/EVENT:MLDV2 (*, FF0E::101:101) aux join received on interface Vlan-interface11(FE80::200:5EFF:FE01:6C00) (G01600)
// The interface receives a join message
* Mar 26 14:20:15:635 2007 Sysname MLD/7/EVENT:(*, FF0E::101:101) entry created in global MRT (G01609)
* Mar 26 14:20:15:635 2007 Sysname MLD/7/EVENT:Adding interface Vlan-interface11(FE80::200:5EFF:FE01:6C00) to downstream IN tree for (*, FF0E::101:101) (G01629)
* Mar 26 14:20:16:635 2007 Sysname MLD/7/EVENT:Creating group(FF0E::101:101) for interface Vlan-interface11(FE80::200:5EFF:FE01:6C00) (G013082)
// Group FF0E::101:101 is added in an entry, with VLAN-interface 11 as the outgoing interface
* Mar 26 14:20:19:635 2007 Sysname MLD/7/EVENT:Enqueue group(FF0E::101:101) on interface Vlan-interface11(FE80::200:5EFF:FE01:6C00) in group_calq. (G014076)
// An aging timer is set for the group
* Mar 26 14:20:20:635 2007 Sysname MLD/7/EVENT:Dequeing group(FF0E::101:101) on interface Vlan-interface11(FE80::200:5EFF:FE01:6C00) from group_calq. (G014028)
* Mar 26 14:20:22:635 2007 Sysname MLD/7/EVENT:Enqueue group(FF0E::101:101) on interface Vlan-interface11(FE80::200:5EFF:FE01:6C00) in group_calq. (G014076)
// The aging timer is reset when an MLD done message is received on the interface
* Mar 26 14:20:40:635 2007 Sysname MLD/7/EVENT:Lmqi timeout for group(FF0E::101:101), sending last listener query on interface Vlan-interface11(FE80::200:5EFF:FE01:6C00). (G013428)
* Mar 26 14:20:48:635 2007 Sysname MLD/7/EVENT:Enqueue group(FF0E::101:101) on interface Vlan-interface11(FE80::200:5EFF:FE01:6C00) in group_calq. (G014076)
// An MLD multicast-address-specific query is sent out when LMQI timer times out
* Mar 26 14:20:55:635 2007 Sysname MLD/7/EVENT:Group(FF0E::101:101) expired and sources empty. Deleting this group on interface Vlan-interface11(FE80::200:5EFF:FE01:6C00). (G013318)
* Mar 26 14:20:58:635 2007 Sysname MLD/7/EVENT:Deleting group(FF0E::101:101) on interface Vlan-interface11(FE80::200:5EFF:FE01:6C00) (G014170)
* Mar 26 14:20:58:635 2007 Sysname MLD/7/EVENT:Group(FF0E::101:101) deleted (G01805)
// As no MLD membership report is received, the group is removed from the table entry
1.1.2 display mld group
Syntax
display mld group [ ipv6-group-address | interface interface-type interface-number ] [ static | verbose ]
View
Any view
Default Level
1: Monitor level
Parameters
ipv6-group-address: Specifies an IPv6 multicast group.
interface-type interface-number: Specifies an interface by its type and number. At present, only VLAN interfaces are supported for the S9500 series switches.
static: Displays the MLD multicast group information of static joins
verbose: Displays detailed MLD multicast group information.
Description
Use the display mld group command to view MLD multicast group information.
Note that:
l If you specify neither an interface nor an IPv6 group address, this command will display the information of all MLD multicast groups on all interfaces.
l If you specify an IPv6 multicast group address without specifying an interface, this command will display the information of the specified IPv6 multicast group on all interfaces
l If you specify an interface without specifying an IPv6 multicast group address, this command will display the information of all the MLD multicast groups on this interface.
l If you do not specify the static keyword, the MLD multicast group information of only dynamic joins will be displayed.
Examples
# View the detailed MLD multicast group information of dynamic joins on all interfaces.
<Sysname> display mld group verbose
Interface group report information
Vlan-interface21(FE80::20F:E2FF:FE45:8345):
Total 1 MLD Group reported
Group: FF1E::101:101
Uptime: 00:01:23
Expires: 00:01:32
Last reporter: FE80::20F:E2FF:FE45:8345
Last-listener-query-counter: 0
Last-listener-query-timer-expiry: off
Group mode: exclude
Version1-host-present-timer-expiry: 00:01:32
Table 1-7 display mld group command output description
Field |
Description |
Group |
IPv6 multicast group address |
Uptime |
Amount of time since the IPV6 multicast group was added in the table entry |
Expires |
Remaining time of the IPv6 multicast group |
Last reporter |
IPv6 address of the last host that has reported group membership |
Last-listener-query-counter |
Number of multicast-address-specific queries sent |
Last-listener-query-timer-expiry |
Remaining time of the last-listener query response delay timer |
Group mode |
Filtering mode for multicast groups |
Version1-host-present-timer-expiry |
MLDv1 host timeout time |
1.1.3 display mld group port-info
Syntax
display mld group port-info [ vlan vlan-id ] [ slot slot-id ] [ verbose ]
View
Any view
Default Level
1: Monitor level
Parameters
vlan-id: Displays the information about Layer 2 ports of MLD multicast groups in the specified VLAN. If you do not specify a VLAN ID, the information of Layer 2 ports of MLD multicast groups in all VLANs will be displayed.
slot slot-id: Displays the information about Layer 2 ports of MLD multicast groups on the specified board. If you do not specify a slot number, only the information about Layer 2 ports of MLD multicast groups on the SRPU will be displayed.
verbose: Displays the detailed information about Layer 2 ports of MLD multicast groups.
Description
Use the display mld group port-info command to view the Layer 2 port information of MLD multicast groups.
Examples
# View the detailed information about Layer 2 ports of multicast groups on the specified board.
<Sysname> display mld group port-info slot 7 verbose
Total 1 IP Group(s).
Total 1 IP Source(s).
Total 1 MAC Group(s).
Port flags: D-Dynamic port, S-Static port, A-Aggregation port, C-Copy port
Subvlan flags: R-Real VLAN, C-Copy VLAN
Vlan(id):21.
Total 1 IP Group(s).
Total 1 IP Source(s).
Total 1 MAC Group(s).
Router port unit board: Mask(0x0)
Router port(s):total 0 port.
IP group(s):the following ip group(s) match to one mac group.
IP group address:FF1E::101:25F
(::, FF1E::101:25F):
Attribute: Host Port
Host port unit board: Mask(0x0)
Host port(s):total 1 port.
Eth7/1/10 (D) ( 00:02:32 )
MAC group(s):
MAC group address:3333-0101-025f
Host port unit board: Mask(0x0)
Host port(s):total 1 port.
Eth7/1/10
Table 1-8 display mld group port-info command output description
Field |
Description |
Total 1 IP Group(s) |
Total number of IPv6 multicast groups |
Total 1 IP Source(s) |
Total number of IPv6 multicast sources |
Total 1 MAC Group(s) |
Total number of MAC multicast groups |
Port flags: D-Dynamic port, S-Static port, A-Aggregation port, C-Copy port |
Port flag: D stands for dynamic port, S for static port, A for aggregated port, and C for port copied from a (*, G) entry to an (S, G) entry. |
Subvlan flags: R-Real VLAN, C-Copy VLAN |
Sub-VLAN flag: R stands for real egress sub-VLAN under the current entry, and C for sub-VLAN copied from a (*, G) entry to an (S, G) entry. |
Vlan(id) |
VLAN ID |
Mask(0x0) |
Board mask (0x0 indicates that the ports on the current board have joined the multicast group, while no ports on other boards join the multicast group) |
Router port(s) |
Information about router ports |
IP group(s):the following ip group(s) match to one mac group. |
Information about the IPv6 multicast group |
IP group address |
Address of an IPv6 multicast group |
(::, FF1E::101:25F) |
(*, G) entry |
Attribute |
Attribute of an IPv6 multicast group |
Host port(s) |
Information about host member ports |
( 00:02:32 ) |
Remaining time of a dynamic member port or router port aging timer |
MAC group(s) |
Information about MAC multicast groups |
MAC group address |
Address of the MAC multicast group |
1.1.4 display mld interface
Syntax
display mld interface [ interface-type interface-number ] [ verbose ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Specifies a interface by its type and number. If you do not specify an interface, the information of all interfaces running MLD will be displayed. At present, only VLAN interfaces are supported by the S9500 series switches.
verbose: Displays detailed MLD configuration and running information.
Description
Use the display mld interface command to view MLD configuration and running information on the specified interface or all MLD-enabled interfaces.
Examples
# View the detailed MLD configuration and running information on VLAN-interface 2.
<Sysname> display mld interface vlan-interface2 verbose
Vlan-interface2 (FE80:: 20F:E2FF:FE45:7995):
MLD is enabled
Current MLD version is 1
Value of query interval for MLD(in seconds): 125
Value of other querier present interval for MLD(in seconds): 255
Value of maximum query response time for MLD(in seconds): 10
Value of last listener query interval(in seconds): 1
Value of startup query interval(in seconds): 31
Value of startup query count: 2
General query timer expiry (hours:minutes:seconds): 00:00:05
Querier for MLD: FE80::20F:E2FF:FE45:7995 (this router)
MLD activity: 1671 joins, 1159 leaves
Multicast ipv6 routing on this interface: enabled
Robustness: 2
Require-router-alert: disabled
Startup-query-timer-expiry: off
Other-querier-present-timer-expiry: off
Total 512 MLD Groups reported
Table 1-9 display mld group port-info command output description
Field |
Description |
Vlan-interface2 (FE80:: 20F:E2FF:FE45:7995): |
Interface name (IPv6 link-local address) |
Current MLD version is 2 |
Version number of the MLD run on the interface |
MLD group policy |
MLD group policy |
Value of query interval for MLD (in seconds) |
Interval between general query messages (in seconds) |
Value of other querier present interval for MLD (in seconds) |
MLD other querier present interval (in seconds) |
Value of maximum query response time for MLD (in seconds) |
Maximum response delay of general query messages (in seconds) |
Value of last listener query interval (in seconds) |
Interval for sending multicast-address-specific messages (in seconds) |
Value of startup query interval(in seconds) |
Interval between MLD general queries on startup |
Value of startup query count |
Number of MLD general queries sent on startup |
General query timer expiry |
Remaining time of the MLD general query timeout timer |
Querier for MLD |
IPv6 link-local address of the MLD querier |
MLD activity |
Statistics of MLD activity statistics (number of join and done messages) |
Robustness |
Robustness variable of an MLD querier |
Require-router-alert |
Indicates whether MLD messages without the Router-Alert option is discarded |
Startup-query-timer-expiry |
Remaining time of the startup query timer |
Other-querier-present-timer-expiry |
Remaining time of the MLD other querier present timer |
Total 512 MLD Groups reported |
Total number of MLD multicast groups recorded on the interface |
1.1.5 display mld routing-table
Syntax
display mld routing-table [ ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] ] *
View
Any view
Default Level
1: Monitor level
Parameters
ipv6-source-address: Specifies an IPv6 multicast source.
prefix-length: Prefix length of the specified IPv6 multicast source or IPv6 multicast group address. For an IPv6 multicast source address, this argument has an effective value range of 0 to 128; for an IPv6 multicast group address, it has an effective value range of 8 to 128. The system default is 128 in both cases.
Ipv6-group-address: Specifies an IPv6 multicast group.
Description
Use the display mld routing-table command to view the information of the MLD routing table.
Examples
# View the information of the MLD routing table.
<Sysname> display mld routing-table
Routing table
Total 1 entry
00001. (*, FF1E::101:101)
List of 1 downstream interface
Vlan-interface2 (FE80::200:5EFF:FE71:3800),
Protocol: MLD
Table 1-10 display mld routing-table command output description
Field |
Description |
00001 |
Sequence number of the (*, G) entry |
(*, FF1E::101:101) |
An (*, G) entry in the MLD routing table |
List of 1 downstream interface |
List of downstream interfaces, namely the interfaces to which the multicast data for this group be forwarded |
Protocol |
Protocol type |
1.1.6 last-listener-query-interval
Syntax
last-listener-query-interval interval
undo last-listener-query-interval
View
MLD view
Default Level
2: System level
Parameters
interval: MLD last listener query interval, in seconds.
Description
Use the last-listener-query-interval command to configure the MLD last listener query interval globally.
Use the undo last-listener-query-interval command to restore the system default.
By default, the last listener query interval is 1 second.
Related commands: mld last-listener-query-interval, robust-count, display mld interface.
Examples
# Set the MLD last listener query interval to 3 seconds globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] lastlistener-queryinterval 3
1.1.7 max-response-time
Syntax
max-response-time interval
undo max-response-time
View
MLD view
Default Level
2: System level
Parameters
interval: Maximum response delay for MLD general query messages, in seconds.
Description
Use the max-response-time command to configure the maximum response delay for general queries globally.
Use the undo max-response-time command to restore the system default.
By default, the maximum response delay for general queries is 10 seconds.
Related commands: mld max-response-time, timer other-querier-present, display mld interface.
Examples
# Set the maximum response delay for MLD general queries to 8 seconds globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] max-response-time 8
1.1.8 mld
Syntax
mld
undo mld
View
System view
Default Level
2: System level
Parameters
None
Description
Use the mld command to enter MLD view.
Use the undo mld command to remove the configurations made in MLD view.
This command can take effect only after IPv6 multicast routing is enabled on the device.
Related commands: multicast ipv6 routing-enable.
Examples
# Enter MLD view.
<Sysname> system-view
[Sysname] multicast ipv6 routing-enable
[Sysname] mld
[Sysname-mld]
1.1.9 mld enable
Syntax
undo mld enable
View
VLAN interface view
Default Level
2: System level
Parameters
None
Description
Use the mld enable command to enable MLD on the current interface.
Use the undo mld enable command to disable MLD on the current interface.
By default, MLD is disabled on the interface.
Note that:
l This command can take effect only after IPv6 multicast routing is enabled on the device.
l Other MLD configurations performed on the interface can take effect only after MLD is enabled on the interface.
l After MLD is enabled on a VLAN interface, it is not allowed to enable MLD Snooping in the corresponding VLAN, and vice versa.
Related commands: mld.
Examples
# Enable MLD on VLAN-interface 100.
<Sysname> system-view
[Sysname] multicast ipv6 routing-enable
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld enable
1.1.10 mld last-listener-query-interval
Syntax
mld last-listener-query-interval interval
undo mld last-listener-query-interval
View
VLAN interface view
Default Level
2: System level
Parameters
interval: MLD last listener query interval, in seconds.
Description
Use the mld last-listener-query-interval command to configure the MLD last listener query interval.
Use the undo mld last-listener-query-interval command to restore the system default.
By default, the MLD last listener query interval is 1 second.
Related commands: last-listener-query-interval, mld robust-count, display mld interface.
Examples
# Set the MLD last listener query interval to 3 on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld last-listener-query-interval 3
1.1.11 mld max-response-time
Syntax
mld max-response-time interval
undo mld max-response-time
View
VLAN interface view
Default Level
2: System level
Parameters
interval: Maximum response delay for MLD general query messages, in seconds.
Description
Use the mld max-response-time command to configure the maximum response delay for MLD general query messages on the current interface.
Use the undo mld max-response-time command to restore the system default.
By default, the maximum response delay for MLD general query messages is 10 seconds.
The maximum query response delay determines how long it takes the device to find whether any group member exists on the local subnet.
Related commands: max-response-time, mld timer other-querier-present, display mld interface
Examples
# Set the maximum response delay for MLD general query messages to 8 seconds on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld max-response-time 8
1.1.12 mld require-router-alert
Syntax
mld require-router-alert
undo mld require-router-alert
View
VLAN interface view
Default Level
2: System level
Parameters
None
Description
Use the mld require-router-alert command to configure the interface to discard MLD messages without the Router-Alert option.
Use the undo mld require-router-alert command to restore the default configuration.
By default, the device does not check the Router-Alert option, that is, it sends all the received MLD messages to the upper-layer protocol for processing no matter whether they have the Router-Alert option.
Related commands: require-router-alert, mld send-router-alert.
Examples
# Configure VLAN-interface 100 to discard MLD messages without the Router-Alert option.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld require-router-alert
1.1.13 mld robust-count
Syntax
mld robust-count robust-value
undo mld robust-count
View
VLAN interface view
Default Level
2: System level
Parameters
robust-value: MLD querier robustness variable.
Description
Use the mld robust-count command to configure the MLD querier robustness variable.
Use the undo mld robust-count command to restore the system default.
By default, the MLD querier robustness variable is 2.
Related commands: robust-count, mld timer query, mld last-listener-query-interval, mld timer other-querier-present, display mld interface.
Examples
# Set the MLD querier robustness variable to 3 on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld robust-count 3
1.1.14 mld send-router-alert
Syntax
mld send-router-alert
undo mld send-router-alert
View
VLAN interface view
Default Level
2: System level
Parameters
None
Description
Use the mld send-router-alert command to enable insertion of the Router-Alert option into MLD messages to be sent from the current interface.
Use the undo mld send-router-alert command to disable insertion of the Router-Alert option into MLD messages to be sent from the current interface.
By default, MLD messages carry the Router-Alert option.
Related commands: send-router-alert, mld require-router-alert.
Examples
# Configure VLAN-interface 100 to sent MLD messages without the Router-Alert option .
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] undo mld send-router-alert
1.1.15 mld timer other-querier-present
Syntax
mld timer other-querier-present interval
undo mld timer other-querier-present
View
VLAN interface view
Default Level
2: System level
Parameters
interval: Other querier present interval in seconds.
Description
Use the mld timer other-querier-present command to configure the other querier present interval on the current interface.
Use the undo mld timer other-querier-present command to restore the default configuration.
By default, the other querier present interval is determined by the following formula:
MLD other querier present interval = [ MLD query interval ] times [ MLD querier robustness variable ] plus [ maximum response delay for MLD general queries ] divided by two.
& Note:
By default, the values of the three parameters in the above-mentioned formula are 125, 2, and 10, respectively, so the other querier present interval is 125 × 2 + 10 / 2 = 255 (seconds).
Related commands: timer other-querier-present, mld timer query, mld robust-count, mld max-response-time, display mld interface.
Examples
# Set the other querier present interval to 200 seconds on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface100
[Sysname-Vlan-interface100] mld timer other-querier-present 200
1.1.16 mld timer query
Syntax
mld timer query interval
undo mld timer query
View
VLAN interface view
Default Level
2: System level
Parameters
interval: MLD query interval, namely the amount of time in seconds between MLD general queries.
Description
Use the mld timer query command to configure the MLD query interval on the current interface.
Use the undo mld timer query command to restore the system default.
By default, the query interval is 125 seconds.
The device sends MLD general queries at a configurable interval so as to determine whether any IPv6 multicast group member exist on the local subnet. The administrator can modify this query interval as required based on the actual networking situation.
Related commands: timer query, mld timer other-querier-present, display mld interface.
Examples
# Set the query interval to 200 seconds on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld timer query 200
1.1.17 mld version
Syntax
mld version version-number
undo mld version
View
VLAN interface view
Default Level
2: System level
Parameters
version-number: MLD version.
Description
Use the mld version command to configure the MLD version on the current interface.
Use the undo mld version command to restore the default MLD version.
By default, the MLD version is MLDv1.
Related commands: version.
Examples
# Set the MLD version to version 2 on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld version 2
1.1.18 require-router-alert
Syntax
require-router-alert
undo require-router-alert
View
MLD view
Default Level
2: System level
Parameters
None
Description
Use the require-router-alert command to globally configure the device to discard MLD messages without the Router-Alert option.
Use the undo require-router-alert command to restore the default configuration.
By default, the device does not check the Router-Alert option, that is, it forwards all received MLD messages to the upper layer protocol for processing.
Related commands: mld require-router-alert, send-router-alert.
Examples
# Globally configure the device to discard MLD messages without the Router-Alert option.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] require-router-alert
1.1.19 reset mld group
Syntax
reset mld group { all | interface interface-type interface-number { all | ipv6-group-address [ prefix-length ] [ ipv6-source-address [ prefix-length ] ] } }
View
User view
Default Level
2: System level
Parameters
all: The first all specifies to clear MLD multicast group information on all interfaces, while the second all specifies to clear the information of all MLD multicast groups.
interface interface-type interface-number: Specifies an interface by its type and number. At present, only VLAN interfaces are supported for the S9500 series switches.
ipv6-group-address: Specifies an IPv6 multicast group.
ipv6-source-address: Specifies an IPv6 multicast source.
prefix-length: Prefix length of the specified IPv6 multicast source or IPv6 multicast group. For a multicast source address, this argument has an effective value range of 0 to 128; for an IPv6 multicast group address, it has an effective value range of 8 to 128. The system default is 128 in both cases.
Description
Use the reset mld group command to clear MLD multicast group information.
Note that:
l This command cannot clear the information about MLD multicast groups of static joins.
l Using the reset mld group command may cause currently active receivers to stop receiving multicast information.
Related commands: display mld group.
Examples
# Clear all MLD multicast group information.
<Sysname> reset mld group all
# Clear all MLD multicast group information on VLAN-interface 100.
<Sysname> reset mld group interface vlan-interface 100 all
# Clear MLD multicast group information for IPv6 multicast group FF1E::101:101 on VLAN-interface 100.
<Sysname> reset mld group interface vlan-interface ff1e::101:101
1.1.20 robust-count
Syntax
robust-count robust-value
undo robust-count
View
MLD view
Default Level
2: System level
Parameters
robust-value: MLD querier robustness variable.
Description
Use the robust-count command to configure the MLD querier robustness variable globally.
Use the undo robust-count command to restore the system default.
By default, the MLD querier robustness variable is 2.
Related commands: mld robust-count, last-listener-query-interval, timer query, timer other-querier-present, display mld interface.
Examples
# Set the MLD querier robustness variable to 3 globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] robust-count 3
1.1.21 send-router-alert
Syntax
send-router-alert
undo send-router-alert
View
MLD view
Default Level
2: System level
Parameters
None
Description
Use the send-router-alert command to globally enable the insertion of the Router-Alert option into MLD messages to be sent.
Use the undo send-router-alert command to globally disable the insertion of the Router-Alert option into MLD messages to be sent.
By default, MLD messages carry the Router-Alert option.
Related commands: mld send-router-alert, require-router-alert.
Examples
# Globally disable insertion of the Router-Alert option into MLD messages to be sent.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] undo send-router-alert
1.1.22 timer other-querier-present
Syntax
timer other-querier-present interval
undo timer other-querier-present
View
MLD view
Default Level
2: System level
Parameters
interval: Other querier present interval in seconds.
Description
Use the timer other-querier-present command to configure the other querier present interval globally.
Use the undo timer other-querier-present command to restore the system default.
By default, the other querier present interval is determined by the following formula:
MLD other querier present interval = [ MLD query interval ] times [ MLD querier robustness variable ] plus [ maximum response delay for MLD general queries ] divided by two.
& Note:
By default, the values of the three parameters in the above-mentioned formula are 125, 2, and 10, respectively, so the timeout time for non-queriers is 125 × 2 + 10 / 2 = 255 (seconds).
Related commands: mld timer other-querier-present, timer query, robust-count, max-response-time, display mld interface.
Examples
# Globally set the timeout time for non-queriers to 200 seconds.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] timer other-querier-present 200
1.1.23 timer query
Syntax
timer query interval
undo timer query
View
MLD view
Default Level
2: System level
Parameters
interval: Query interval, namely, amount of time in seconds between MLD general query messages.
Description
Use the timer query command to configure the query interval globally.
Use the undo timer query command to restore the system default.
By default, the query interval is 125 seconds.
Related commands: mld timer query, timer other-querier-present, display mld interface.
Examples
# Set the query interval to 200 seconds globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] timer query 200
1.1.24 version
Syntax
version version-number
undo version
View
MLD view
Default Level
2: System level
Parameters
version-number: MLD version number.
Description
Use the version command to configure the MLD version globally.
Use the undo version command to restore the default MLD version.
By default, the MLD version is version 1.
Related commands: mld version.
Examples
# Set the MLD version to MLDv2 globally .
<Sysname> system-view
[Sysname] mld
[Sysname-mld] version 2