- Table of Contents
-
- 08-IP Multicast Command Reference
- 00-Preface
- 01-IGMP Snooping Commands
- 02-PIM Snooping Commands
- 03-Multicast VLAN Commands
- 04-Multicast Routing and Forwarding Commands
- 05-IGMP Commands
- 06-PIM Commands
- 07-MSDP Commands
- 08-MBGP Commands
- 09-Multicast VPN Commands
- 10-MLD Snooping Commands
- 11-IPv6 PIM Snooping Commands
- 12-IPv6 Multicast VLAN Commands
- 13-IPv6 Multicast Routing and Forwarding Commands
- 14-MLD Commands
- 15-IPv6 PIM Commands
- 16-IPv6 MBGP Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
14-MLD Commands | 245.37 KB |
Contents
display mld ssm-mapping host interface
last-listener-query-interval (MLD view)
mld last-listener-query-interval
mld timer other-querier-present
require-router-alert (MLD view)
startup-query-count (MLD view)
startup-query-interval (MLD view)
timer other-querier-present (MLD view)
The term "router" in this document refers to both routers and Layer 3 switches.
display mld group
Syntax
display mld group [ ipv6-group-address | interface interface-type interface-number ] [ static | verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ipv6-group-address: Specifies an MLD group address in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal numbers from 0 to F. If no IPv6 multicast group address is specified, this command displays the information of all MLD groups.
interface interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, the command displays the MLD group information on all the interfaces.
static: Specifies MLD groups that the interfaces statically joined. If this keyword is not specified, the command displays the dynamic MLD group entries.
verbose: Displays detailed information of MLD groups.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld group to display information of MLD groups.
Examples
# Display detailed information about dynamically added MLD groups on all interfaces.
<Sysname> display mld group verbose
Interface group report information
Vlan-interface100(FE80::101)
Total 1 MLD Groups reported
Group: FF03::101
Uptime: 00:01:46
Expires: 00:01:30
Last reporter: FE80::10
Last-listener-query-counter: 0
Last-listener-query-timer-expiry: off
Group mode: include
Version1-host-present-timer-expiry: off
Table 1 Command output
Field |
Description |
Interface group report information |
MLD group information on the interface. |
Total 1 MLD Groups reported |
One MLD group was reported. |
Group |
IPv6 multicast group address. |
Uptime |
Length of time since the IPV6 multicast group was joined. |
Expires |
Remaining time of the IPv6 multicast group. If the multicast group never times out, this field displays off. |
Last reporter |
IPv6 address of the host that last reported membership for this group. |
Last-listener-query-counter |
Number of MLD last listener queries sent. |
Last-listener-query-timer-expiry |
Remaining time of the MLD last listener query timer. If the timer never times out, this field displays off. |
Group mode |
Multicast source filtering mode: include and exclude. This field is displayed only when the device is running MLDv2. |
Version1-host-present-timer-expiry |
Remaining time of the MLDv1 host present timer. If the timer never times out, this field displays off. This field is displayed only when the device is running MLDv2. |
display mld group port-info
Syntax
In standalone mode:
display mld group port-info [ vlan vlan-id ] [ slot slot-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ]
In IRF mode:
display mld group port-info [ vlan vlan-id ] [ chassis chassis-number slot slot-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vlan-id: Specifies a VLAN ID in the range of 1 to 4094. If no VLAN is specified, this command displays the Layer 2 port information of MLD groups in all VLANs.
chassis chassis-number slot slot-number: Specifies a card on a member device. The chassis-number argument refers to the ID of the IRF member device, and the slot-number argument refers to the number of the slot where the card resides. If this option is not specified, the command displays the Layer 2 port information of MLD groups on all MPUs in the IRF member device. To obtain the chassis number and slot number, you can use the display device command. (In IRF mode.)
verbose: Displays detailed information about Layer 2 ports of MLD groups.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld group port-info to display Layer 2 port information of MLD groups, including Layer 2 information of dynamic and static MLD group entries.
Examples
# Display detailed Layer 2 port information about MLD groups.
<Sysname> display mld group port-info verbose
Total 1 IP Group(s).
Total 1 IP Source(s).
Total 1 MAC Group(s).
Port flags: D-Dynamic port, S-Static port, C-Copy port
Subvlan flags: R-Real VLAN, C-Copy VLAN
Vlan(id):2.
Total 1 IP Group(s).
Total 1 IP Source(s).
Total 1 MAC Group(s).
Router port(s):total 1 port(s).
Vlan100 (D) ( 00:01:30 )
IP group(s):the following ip group(s) match to one mac group.
IP group address: FF03::101
(FE80::1, FF03::101):
Attribute: Host Port
Host port(s):total 1 port(s).
Vlan200 (D) ( 00:03:23 )
MAC group(s):
MAC group address:3333-0000-0101
Host port(s):total 1 port(s).
Vlan200
Table 2 Command output
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, C-Copy port |
Port flag: · D—Dynamic port. · S—Static port. · C—Port copied from a (*, G) entry to an (S, G) entry. |
Subvlan flags: R-Real VLAN, C-Copy VLAN |
Sub-VLAN flag: · R—Real egress sub-VLAN under the current entry. · C—Sub-VLAN copied from a (*, G) entry to an (S, G) entry. |
Router port unit board |
Mask indicating a board with a router port residing on it. |
Router port(s) |
Number of router ports. |
( 00:01:30 ) |
Remaining time of the aging timer for the dynamic member port or router port: · In standalone mode, to display the remaining life of a non-aggregation port that does not belong to the MPU, you must specify the number of the slot where the corresponding card resides by using slot slot-number. This is not required for an aggregation port. · In IRF mode, to display the remaining life of a non-aggregation port that does not belong to the MPU, you must specify the ID of the IRF member device and the slot number of the card with chassis chassis-number slot slot-number. For an aggregation port, you do not need to do this. |
IP group address |
Address of an IPv6 multicast group. |
MAC group address |
Address of a MAC multicast group. |
Attribute |
Attribute of an IPv6 multicast group. |
Host port unit board |
Mask indicating a board with a member port residing on it. |
Host port(s) |
Number of member ports. |
display mld host interface
Syntax
display mld host interface interface-type interface-number group ipv6-group-address [ source ipv6-source-address ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
group ipv6-group-address: Specifies an IPv6 multicast group address. The value range for the ipv6-group-address argument is FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal numbers from 0 to F.
source ipv6-source-address: Specifies an IPv6 multicast source.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld host interface to display information about the hosts tracked by MLD on the specified interface.
Examples
# Display information about the hosts tracked by MLD in multicast group FF1E::101 on GigabitEthernet 3/0/1.
<Sysname> display mld host interface GigabitEthernet 3/0/1 group ff1e::101
GigabitEthernet3/0/1(1::1):
(::, FF1E::101)
Host Uptime Expires
1::1 00:02:20 00:00:40
2::2 00:02:21 00:00:39
Table 3 Command output
Field |
Description |
GigabitEthernet3/0/1(1::1) |
Interface and IPv6 address. |
(::, FF1E::101) |
(S, G) entry. If the IPv6 multicast source is not specified, the field in the S position displays the double colon (::). |
Host |
Host IPv6 address. |
Uptime |
Host running duration. |
Expires |
Host expiration time. If the host has expired, this field displays timeout. |
display mld host port-info
Syntax
In standalone mode:
display mld host port-info vlan vlan-id group ipv6-group-address [ source ipv6-source-address ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]
In IRF mode:
display mld host port-info vlan vlan-id group ipv6-group-address [ source ipv6-source-address ] [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094.
group ipv6-group-address: Specifies an IPv6 multicast group address. The value range for the ipv6-group-address argument is FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal numbers from 0 to F.
source ipv6-source-address: Specifies an IPv6 multicast source address.
slot slot-number: Specifies a card by its slot number. If no slot is specified, the command displays the Layer 2 information of the MLD hosts on the MPU. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on a member device. The chassis-number argument refers to the ID of the IRF member device, and the slot-number argument refers to the number of the slot where the card resides. If this option is not specified, the command displays information about the hosts tracked by MLD on the Layer 2 ports on all MPUs in the IRF member devices. To obtain the chassis number and slot number, you can use the display device command. (In IRF mode.)
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld host port-info to display information about the hosts tracked by MLD on the Layer 2 ports.
Examples
# Display information about the hosts tracked by MLD that are in IPv6 multicast group FF1E::101 2 on the Layer 2 ports in VLAN.
<Sysname> display mld host port-info vlan 2 group ff1e::101
VLAN(ID) : 2
(::, FF1E::101)
Port : GigabitEthernet3/0/1
Host Uptime Expires
1::1 00:02:20 00:00:40
2::2 00:02:21 00:00:39
Port : GigabitEthernet3/0/2
Host Uptime Expires
3::3 00:02:20 00:00:40
Table 4 Command output
Field |
Description |
(::, FF1E::101) |
(S, G) entry. If the IPv6 multicast source is not specified, the field in the S position displays the double colon (::). |
Port |
Member port. |
Host |
Host IPv6 address. |
Uptime |
Host running duration. |
Expires |
Host expiration time. If the host has expired, this field displays timeout. |
display mld interface
Syntax
display mld interface [ interface-type interface-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays the information of all interfaces running MLD.
verbose: Displays detailed MLD configuration information.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld interface to display MLD configuration information on the specified interface or all MLD-enabled interfaces.
Examples
# Display detailed MLD configuration information on VLAN-interface 100 (downstream interface).
<Sysname> display mld interface Vlan-interface 100 verbose
Vlan-interface100(FE80::200:AFF:FE01:101):
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:23
Querier for MLD: FE80::200:AFF:FE01:101 (this router)
MLD activity: 1 joins, 0 leaves
Multicast ipv6 routing on this interface: enabled
Robustness: 2
Require-router-alert: disabled
Fast-leave: disabled
Ssm-mapping: disabled
Startup-query-timer-expiry: off
Other-querier-present-timer-expiry: off
Proxying interface: Vlan-interface200(FE80::100:CEF:FE01:101)
Total 1 MLD Group reported
# Display detailed MLD configuration information on VLAN-interface 200 (upstream interface).
<Sysname> display mld interface Vlan-interface 200 verbose
Vlan-interface200(FE80::100:CEF:FE01:101):
MLD proxy is enabled
Current MLD version is 2
Multicast ipv6 routing on this interface: enabled
Require-router-alert: disabled
Version1-querier-present-timer-expiry: off
Table 5 Command output
Field |
Description |
Vlan-interface100(FE80::200:AFF:FE01:101) |
Interface and IPv6 link-local address. |
Current MLD version |
MLD version running on the interface. |
Value of query interval for MLD (in seconds) |
MLD query interval, in seconds. |
Value of other querier present interval for MLD (in seconds) |
Other querier present interval, in seconds. |
Value of maximum query response time for MLD (in seconds) |
Maximum response delay for general query messages (in seconds). |
Value of last listener query interval (in seconds) |
MLD last listener query interval, in seconds. |
Value of startup query interval(in seconds) |
MLD startup query interval, in seconds. |
Value of startup query count |
Number of MLD general queries sent on startup. |
General query timer expiry |
Remaining time of the MLD general query timer. If the timer never times out, this field displays off. |
Querier for MLD |
IPv6 link-local address of the MLD querier. |
MLD activity |
MLD activity statistics: number of join and done messages. |
Robustness |
MLD querier's robustness variable. |
Require-router-alert |
Whether the function of dropping MLD messages without Router-Alert is enabled. |
Fast-leave |
MLD fast-leave processing status: enabled/disabled. |
Ssm-mapping |
MLD SSM mapping status: enabled/disabled. |
Startup-query-timer-expiry |
Remaining time of MLD startup query timer. If the timer never times out, this field displays off. |
Other-querier-present-timer-expiry |
Remaining time of other querier present timer. If the timer never times out, this field displays off. |
Proxying interface |
MLD proxy interface. If no proxy interface exists, this field displays none. |
Total 1 MLD Group reported |
Total number of MLD groups the interface has dynamically joined. |
MLD proxy is enabled |
MLD proxying is enabled. |
Version1-querier-present-timer-expiry |
Remaining time of the MLDv1 querier present timer. If the timer never times out, this field displays off. |
display mld proxying group
Syntax
display mld proxying group [ ipv6-group-address ] [ verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ipv6-group-address: Specified an MLD proxying group address in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, through FF0y::), where "x" and "y" represent any hexadecimal numbers from 0 to F. If this argument is not specified, this command displays the information of all the MLD proxying groups.
verbose: Displays detailed MLD proxying group information.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld proxying group to display MLD proxying group information.
Examples
# Display the MLD proxying group information of all interfaces.
<Sysname> display mld proxying group verbose
Proxying group record(s) information
Total 1 MLD-Proxying group record(s)
Group: FF03::101
Group mode: include
Member state: Delay
Expires: 00:00:02
Source list (total 1 source(s))
Source: 30::1
Table 6 Command output
Field |
Description |
Proxying group record(s) information |
Information of MLD proxying groups on the interfaces. |
Total 1 MLD-Proxying group record(s) |
One MLD proxying group is recorded. |
Group |
IPv6 multicast group address. |
Member state |
State of the member hosts: · Delay. · Idle. |
Expires |
Remaining time of the IPv6 multicast group. If the timer never times out, this field displays off. |
Group mode |
IPv6 multicast source filtering modes: include and exclude. |
Source list |
A list of sources joining the same multicast group in the MLD proxying group. |
display mld routing-table
Syntax
display mld routing-table [ ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] | flags { act | suc } ] * [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ipv6-source-address: Specifies an IPv6 multicast source address.
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
prefix-length: Specifies the address prefix length. The default is 128. For a multicast source address, the value range for this argument is 0 to 128. For a multicast group address, the value range for this argument is 8 to 128.
flags: Specifies the route flag.
act: Specifies the MLD routes with the ACT flag
suc: Specifies the MLD routes with the SUC flag.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld routing-table to display the information of the MLD routing table.
Examples
# Display the information of the MLD routing table.
<Sysname> display mld routing-table
Routing table
Total 2 entries
00001. (*, FF1E::101)
List of 1 downstream interface
Vlan-interface100 (FE80::200:5EFF:FE71:3800),
Protocol: MLD
00002. (100::1, FF1E::101), Flag: ACT
List of 1 downstream interface in include mode
Vlan-interface200 (FE80::100:5E16:FEC0:1010),
Protocol: MLD
Table 7 Command output
Field |
Description |
Routing table |
MLD routing table. |
00001 |
Sequence number of this (*, G) entry. |
(*, FF1E::101) |
(*, G) entry in the MLD routing table. |
Flag |
MLD route flags: · ACT—MLD routing entries that have been used for forwarding data packets but have the multicast group address out of the SSM group range. · SUC—MLD routing entries that have been added to the forwarding table and have the multicast group address within the SSM group range. |
List of 1 downstream interface |
List of downstream interfaces to which multicast data for this group will be forwarded. |
in include mode |
The downstream interface is in the include mode. |
in exclude mode |
The downstream interface is in the exclude mode. |
Downstream interface is none |
No downstream interfaces exist. |
Protocol |
Protocol type. |
display mld ssm-mapping
Syntax
display mld ssm-mapping ipv6-group-address [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal numbers from 0 to F.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld ssm-mapping to display the configured MLD SSM mappings for the specified IPv6 multicast group.
Related commands: ssm-mapping.
Examples
# Display the MLD SSM mappings for multicast group FF1E::101.
<Sysname> display mld ssm-mapping ff1e::101
Group: FF1E::101
Source list:
1::1
1::2
10::1
100::10
Table 8 Command output
Field |
Description |
Group |
IPv6 multicast group address. |
Source list |
List of IPv6 multicast source addresses. |
display mld ssm-mapping group
Syntax
display mld ssm-mapping group [ ipv6-group-address | interface interface-type interface-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal numbers from 0 to F. If no IPv6 multicast group is specified, this command displays the information of all IPv6 multicast groups created based on the configured MLD SSM mappings.
interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays the multicast group information created based on the configured MLD SSM mappings on all interfaces.
verbose: Displays the detailed multicast group information created based on the configured MLD SSM mappings.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld ssm-mapping group to display the multicast group information created based on the configured MLD SSM mappings.
Examples
# Display detailed information about IPv6 multicast group FF3E::101 created based on the configured MLD SSM mappings on all interfaces.
<Sysname> display mld ssm-mapping group ff3e::101 verbose
Interface group report information
Vlan-interface100(FE80::101):
Total 1 MLD SSM-mapping Group reported
Group: FF3E::101
Uptime: 00:01:46
Expires: off
Last reporter: FE80::10
Group mode: include
Source list(Total 1 source):
Source: 30::1
Uptime: 00:01:46
Expires: 00:02:34
Last-listener-query-counter: 0
Last-listener-query-timer-expiry: off
Table 9 Command output
Field |
Description |
Interface group report information |
IPv6 multicast group information created based on MLD SSM mappings on the interface. |
Total 1 MLD SSM-mapping Group reported |
One MLD SSM mapping multicast group was reported. |
Group |
IPv6 multicast group address. |
Uptime |
Length of time since the IPv6 multicast group was reported. |
Expires |
Remaining time of the IPv6 multicast group. If the timer never times out, this field displays off. |
Last reporter |
IPv6 address of the host that last reported membership for this group. |
Group mode |
IPv6 multicast sources filter mode. |
Source list(Total 1 source) |
IPv6 multicast source list (one IPv6 multicast source). |
Source |
IPv6 multicast source address. |
Last-listener-query-counter |
Number of MLD last listener queries sent. |
Last-listener-query-timer-expiry |
Remaining time of the MLD last listener query timer. If the timer never times out, this field displays off. |
display mld ssm-mapping host interface
Syntax
display mld ssm-mapping host interface interface-type interface-number group ipv6-group-address source ipv6-source-address [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
group ipv6-group-address: Specifies an IPv6 multicast group address. The value range for the ipv6-group-address argument is FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal numbers from 0 to F.
source ipv6-source-address: Specifies an IPv6 multicast source address.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mld ssm-mapping host interface to display information about the hosts that join based on the MLD SSM mappings on the specified interface.
Examples
# Displays information about the hosts that join multicast source group (10::1, FF1E::101) based on the MLD SSM mappings on GigabitEthernet 3/0/1.
<Sysname> display mld ssm-mapping host interface GigabitEthernet 3/0/1 group ff1e::101 source 10::1
GigabitEthernet3/0/1(1::1):
(10::1, FF1E::101)
Host Uptime Expires
1::1 00:02:20 00:00:40
2::2 00:02:21 00:00:39
Table 10 Command output
Field |
Description |
GigabitEthernet3/0/1(1::1) |
Interface and IPv6 address. |
(10::1, FF1E::101) |
(S, G) entry. |
Host |
Host IPv6 address. |
Uptime |
Host running duration. |
Expires |
Host expiration time. If the host has expired, this field displays timeout. |
fast-leave (MLD view)
Syntax
fast-leave [ group-policy acl6-number ]
undo fast-leave
View
MLD view
Default level
2: System level
Parameters
acl6-number: Specifies a basic IPv6 ACL number in the range of 2000 to 2999. The fast-leave processing function takes effect on only the IPv6 multicast groups that match the permit statement in the ACL. If this argument is not specified, this command takes effect on all IPv6 multicast groups.
Description
Use fast-leave to configure MLD fast-leave processing globally.
Use undo fast-leave to disable MLD fast-leave processing globally.
By default, MLD fast-leave processing is disabled. The MLD querier sends multicast-address-specific queries or multicast-address-and-source-specific queries after receiving an MLD done message from a host, instead of sending a leave notification directly to the upstream.
In MLD view, this command takes effect only on Layer 3 interfaces except VLAN interfaces.
Related commands: last-listener-query-interval and mld fast-leave.
Examples
# Enable MLD fast-leave processing globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] fast-leave
host-tracking (MLD view)
Syntax
host-tracking
undo host-tracking
View
MLD view
Default level
2: System level
Parameters
None
Description
Use host-tracking to enable the MLD host tracking function globally.
Use undo host-tracking to disable the MLD host tracking function globally.
By default, this function is disabled.
Related command: mld host-tracking.
Examples
# Enable the MLD host tracking function globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] host-tracking
last-listener-query-interval (MLD view)
Syntax
last-listener-query-interval interval
undo last-listener-query-interval
View
MLD view
Default level
2: System level
Parameters
interval: Specifies an MLD last listener query interval (length of time that the device waits between sending MLD multicast-address-specific queries) in the range of 1 to 5 seconds.
Description
Use last-listener-query-interval to configure the MLD last listener query interval globally.
Use undo last-listener-query-interval to restore the default.
By default, the MLD last listener query interval is 1 second.
Related commands: display mld interface, mld last-listener-query-interval, and robust-count.
Examples
# Set the MLD last listener query interval to 3 seconds globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] last-listener-query-interval 3
max-response-time (MLD view)
Syntax
max-response-time interval
undo max-response-time
View
MLD view
Default level
2: System level
Parameters
interval: Specifies the maximum response delay for MLD general query messages, in the range of 1 to 25 seconds.
Description
Use max-response-time to configure the maximum response delay for MLD general queries globally.
Use undo max-response-time to restore the default.
By default, the maximum response delay for MLD general queries is 10 seconds.
Related commands: display mld interface, mld max-response-time, and timer other-querier-present.
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
mld
Syntax
mld
undo mld
View
System view
Default level
2: System level
Parameters
None
Description
Use mld to enter MLD view.
Use undo mld 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: mld enable and multicast ipv6 routing-enable.
Examples
# Enable IPv6 multicast routing and enter MLD view.
<Sysname> system-view
[Sysname] multicast ipv6 routing-enable
[Sysname] mld
[Sysname-mld]
mld enable
Syntax
undo mld enable
View
Interface view
Default level
2: System level
Parameters
None
Description
Use mld enable to enable MLD on the current interface.
Use undo mld enable to disable MLD on the current interface.
By default, MLD is disabled on the current interface.
This command can take effect only after IPv6 multicast routing is enabled on the device.
Other MLD configurations performed on the interface can take effect only after MLD is enabled on the interface.
Related commands: mld and multicast ipv6 routing-enable.
Examples
# Enable IPv6 multicast routing and enable MLD on VLAN-interface 100.
<Sysname> system-view
[Sysname] multicast ipv6 routing-enable
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld enable
mld fast-leave
Syntax
mld fast-leave [ group-policy acl6-number ]
undo mld fast-leave
View
Interface view
Default level
2: System level
Parameters
acl6-number: Specifies a basic IPv6 ACL number in the range of 2000 to 2999. The fast-leave processing function takes effect only for the IPv6 multicast groups that match the permit statement in the ACL. If no IPv6 ACL number is specified, this command takes effect on all IPv6 multicast groups.
Description
Use mld fast-leave to configure MLD fast-leave processing on the current interface.
Use undo mld fast-leave to disable MLD fast-leave processing on the current interface.
By default, MLD fast-leave processing is disabled. The MLD querier sends multicast-address-specific queries or multicast-address-and-source-specific queries after receiving an MLD done message from a host, instead of sending a leave notification directly to the upstream.
The mld fast-leave command cannot be used in VLAN interface view. To enable fast-leave processing on a specific Layer 2 port, use the mld-snooping fast-leave command or the fast-leave (MLD-snooping view) command, because these two commands also work on VLANs with MLD enabled on their VLAN interfaces.
Related commands: fast-leave (MLD view), fast-leave (MLD-snooping view), mld last-listener-query-interval, and mld-snooping fast-leave.
Examples
# Enable MLD fast-leave processing on GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 2/1/1
[Sysname-GigabitEthernet2/1/1] port link-mode route
[Sysname-GigabitEthernet2/1/1] mld fast-leave
mld group-limit
Syntax
mld group-limit limit
undo mld group-limit
View
Interface view
Default level
2: System level
Parameters
limit: Specifies the maximum number of IPv6 multicast groups that an interface can join, in the range of to the maximum number that the switch allows.
Description
Use mld group-limit to configure the maximum number of IPv6 multicast groups that an interface can join.
Use undo mld group-limit to restore the default.
The default upper limit depends on the system operating mode. For more information, see Fundamentals Configuration Guide.
This command takes effect on only dynamically joined IPv6 multicast groups but not on statically joined IPv6 multicast groups.
If the configured limit value is smaller than the number of the existing IPv6 multicast groups on the current interface, the system does not automatically remove the IPv6 multicast groups in excess. To bring this configuration into effect in this case, you need to use the reset mld group command to clear the IPv6 multicast groups information manually.
You can also use the mld-snooping group-limit command to limit the number of IPv6 multicast groups that an interface can join. However, if you configure the limit both on a VLAN and on a VLAN interface of this VLAN by using these two commands, inconsistencies might exist between Layer 2 and Layer 3 table entries. Therefore, H3C recommends that you configure the limit only on the VLAN interface.
Related commands: mld static-group, mld-snooping group-limit, and reset mld group.
Examples
# Allow VLAN-interface 100 to join up to 128 IPv6 multicast groups.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld group-limit 128
mld group-policy
Syntax
mld group-policy acl6-number [ version-number ]
undo mld group-policy
View
Interface view
Default level
2: System level
Parameters
acl6-number: Specifies a basic or advanced IPv6 ACL number in the range of 2000 to 3999. A host can join only the IPv6 multicast groups that match the permit statement in the ACL. The source address or address range specified in the advanced IPv6 ACL rule is the IPv6 multicast source address or addresses specified in MLDv2 reports, rather than the source address in the IPv6 packets. The system assumes that an MLDv1 report or an MLDv2 IS_EX or TO_EX report that does not carry an IPv6 multicast source address carries an IPv6 multicast source address of 0::0.
version-number: Specifies an MLD version number, 1 or 2. If no MLD version is specified, the configured group filter takes effect on MLD reports of both version 1 and version 2.
Description
Use mld group-policy to configure an IPv6 multicast group filter on the current interface to control the IPv6 multicast groups that the hosts on the current interface can join.
Use undo mld group-policy to remove the configured IPv6 multicast group filter.
By default, no IPv6 multicast group filter is configured and a host can join any valid IPv6 multicast group.
You can also use the group-policy (MLD-snooping view) command to control the IPv6 multicast groups that hosts in a VLAN can join, achieving the same result as mld group-policy. If you have configured a multicast group filter on a VLAN interface to control the multicast groups that the hosts on the interface can join, H3C recommends that you configure the same multicast group filter in the corresponding VLAN.
Related commands: group-policy (MLD-snooping view).
Examples
# Configure an IPv6 ACL so that hosts on VLAN-interface 100 can join the IPv6 multicast group FF03::101 only.
<Sysname> system-view
[Sysname] acl ipv6 number 2005
[Sysname-acl6-basic-2005] rule permit source ff03::101 16
[Sysname-acl6-basic-2005] quit
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld group-policy 2005
mld host-tracking
Syntax
mld host-tracking
undo mld host-tracking
View
Interface view
Default level
2: System level
Parameters
None
Description
Use mld host-tracking to enable the MLD host tracking function on an interface.
Use undo mld host-tracking to disable the MLD host tracking function on an interface
By default, this function is disabled.
Related commands: host-tracking.
Examples
# Enable the MLD host tracking function on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld host-tracking
mld last-listener-query-interval
Syntax
mld last-listener-query-interval interval
undo mld last-listener-query-interval
View
Interface view
Default level
2: System level
Parameters
interval: Specifies an MLD last listener query interval in seconds, in the range of 1 to 5.
Description
Use mld last-listener-query-interval to configure the MLD last listener query interval on the current interface.
Use undo mld last-listener-query-interval to restore the default.
By default, the MLD last listener query interval is 1 second.
Related commands: display mld interface, last-listener-query-interval, and mld robust-count.
Examples
# Set the MLD last listener query interval to 3 seconds on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld last-listener-query-interval 3
mld max-response-time
Syntax
mld max-response-time interval
undo mld max-response-time
View
Interface view
Default level
2: System level
Parameters
interval: Specifies the maximum response delay for MLD general query messages, in the range of 1 to 25 seconds.
Description
Use mld max-response-time to configure the maximum response delay for MLD general query messages on the interface.
Use undo mld max-response-time to restore the default.
By default, the maximum response delay for MLD general query messages is 10 seconds.
The maximum response delay determines the time which the device takes to detect directly attached group members in the LAN.
Related commands: display mld interface, max-response-time, and mld timer other-querier-present.
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
mld proxying enable
Syntax
mld proxying enable
undo mld proxying enable
View
Interface view
Default level
2: System level
Parameters
None
Description
Use mld proxying enable to enable MLD proxying on an interface.
Use undo mld proxying enable to disable MLD proxying on the interface.
By default, MLD proxying is disabled.
This command takes effect only after IPv6 multicast routing is enabled.
If MLD proxying is enabled on a loopback interface, the proxy device maintains only the MLD routing table without adding the MLD routes to the multicast routing table and forwarding table.
Related commands: multicast ipv6 routing-enable.
Examples
# Enable IPv6 multicast routing and enable MLD proxying on VLAN-interface 100.
<Sysname> system-view
[Sysname] multicast ipv6 routing-enable
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld proxying enable
mld proxying forwarding
Syntax
mld proxying forwarding
undo mld proxying forwarding
View
Interface view
Default level
2: System level
Parameters
None
Description
Use mld proxying forwarding to enable a non-querier downstream interface to forward multicast traffic.
Use undo mld proxying forwarding to disable the forwarding capability of a non-querier downstream interface.
By default, a non-querier downstream interface does not forward multicast traffic.
Examples
# Enable the multicast forwarding capability on VLAN-interface 100, a non-querier downstream interface on the MLD proxy device.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld proxying forwarding
mld require-router-alert
Syntax
mld require-router-alert
undo mld require-router-alert
View
Interface view
Default level
2: System level
Parameters
None
Description
Use mld require-router-alert to configure the interface to discard MLD messages without the Router-Alert option.
Use undo mld require-router-alert to restore the default.
By default, the device does not check the Router-Alert option. It forwards all received MLD messages to the upper layer protocol for processing.
Related commands: mld send-router-alert and require-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
mld robust-count
Syntax
mld robust-count robust-value
undo mld robust-count
View
Interface view
Default level
2: System level
Parameters
robust-value: Specifies an MLD querier's robustness variable in the range of 2 to 5.
Description
Use mld robust-count to configure the MLD querier's robustness variable on the current interface.
Use undo mld robust-count to restore the default.
By default, the MLD querier's robustness variable is 2.
The MLD querier's robustness variable defines the maximum number of attempts for transmitting MLD general queries, multicast-address-specific queries, or multicast-address-and-source-specific queries in case of packet loss due to network problems. A greater value of the robustness variable makes the MLD querier "more robust", but results in a longer IPv6 multicast group timeout time.
The MLD querier's robustness variable determines the following values:
· The default number of MLD general queries the MLDv1/v2 querier sends on startup.
· The number of multicast-address-specific queries the MLDv1 querier sends after receiving an MLD done message.
· The number of multicast-address-and-source-specific queries the MLDv2 querier sends after receiving an MLD report that tells relation changes between IPv6 multicast groups and IPv6 multicast sources.
Related commands: display mld interface, mld last-listener-query-interval, mld startup-query-count, mld timer other-querier-present, mld timer query, and robust-count.
Examples
# Set the MLD querier's robustness variable to 3 on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld robust-count 3
mld send-router-alert
Syntax
mld send-router-alert
undo mld send-router-alert
View
Interface view
Default level
2: System level
Parameters
None
Description
Use mld send-router-alert to enable insertion of the Router-Alert option into MLD messages to be sent from the current interface.
Use undo mld send-router-alert 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: mld require-router-alert and send-router-alert.
Examples
# Disable insertion of the Router-Alert option into MLD messages to be sent from VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] undo mld send-router-alert
mld ssm-mapping enable
Syntax
mld ssm-mapping enable
undo mld ssm-mapping enable
View
Interface view
Default level
2: System level
Parameters
None
Description
Use mld ssm-mapping enable to enable the MLD SSM mapping feature on the current interface.
Use undo mld ssm-mapping enable to disable the MLD SSM mapping feature on the current interface.
By default, the MLD SSM mapping feature is disabled on all interfaces.
Examples
# Enable the MLD SSM mapping feature on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld ssm-mapping enable
mld startup-query-count
Syntax
mld startup-query-count value
undo mld startup-query-count
View
Interface view
Default level
2: System level
Parameters
value: Specifies a startup query count (the number of queries that the MLD querier sends on startup) in the range of 2 to 5.
Description
Use mld startup-query-count to configure the startup query count on the current interface.
Use undo mld startup-query-count to restore the default.
By default, the startup query count is set to the MLD querier's robustness variable.
Related commands: mld robust-count and startup-query-count.
Examples
# Set the startup query count to 3 on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld startup-query-count 3
mld startup-query-interval
Syntax
mld startup-query-interval interval
undo mld startup-query-interval
View
Interface view
Default level
2: System level
Parameters
interval: Specifies a startup query interval (interval between general queries that the MLD querier sends on startup) in the range of 1 to 18000 seconds.
Description
Use mld startup-query-interval to configure the startup query interval on the current interface.
Use undo mld startup-query-interval to restore the default.
By default, the startup query interval is 1/4 of the MLD query interval.
Related commands: mld timer query and startup-query-interval.
Examples
# Set the startup query interval to 5 seconds on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld startup-query-interval 5
mld static-group
Syntax
mld static-group ipv6-group-address [ source ipv6-source-address ]
undo mld static-group { all | ipv6-group-address [ source ipv6-source-address ] }
View
Interface view
Default level
2: System level
Parameters
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where "x" and "y" represent any hexadecimal numbers from 0 to F.
ipv6-source-address: Specifies an IPv6 address of the specified multicast source.
all: Removes all static IPv6 multicast groups that the current interface has joined.
Description
Use mld static-group to configure the current interface to be a statically-connected member of the specified IPv6 multicast group or IPv6 multicast source and group.
Use undo mld static-group to remove the configuration.
By default, an interface is not a statically-connected member of any IPv6 multicast group or IPv6 multicast source and group.
If the IPv6 multicast address is in the SSM multicast address range, you must specify an IPv6 multicast source address at the same time. Otherwise, MLD routing table entries cannot be established. No such a restriction exists if the specified IPv6 multicast group address is not in the SSM multicast address range.
If you want to configure a VLAN interface as a static member of an IPv6 multicast group or IPv6 multicast source and group, configure the mld static-group command on the VLAN interface, and configure the mld-snooping static-group command on the member ports of the corresponding VLAN.
Related commands: mld-snooping static-group.
Examples
# Configure VLAN-interface 100 to be a statically-connected member of the IPv6 multicast group FF03::101.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld static-group ff03::101
# Configure VLAN-interface 100 to be a statically connected member of multicast source and group (2001::101, FF3E::202).
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld static-group ff3e::202 source 2001::101
mld timer other-querier-present
Syntax
mld timer other-querier-present interval
undo mld timer other-querier-present
View
Interface view
Default level
2: System level
Parameters
interval: Specifies an other querier present interval in seconds, in the range of 60 to 300.
Description
Use mld timer other-querier-present to configure the MLD other querier present interval on the current interface.
Use undo mld timer other-querier-present to restore the default.
By default, other querier present interval = [ MLD query interval ] × [ MLD querier's robustness variable ] + [ maximum response delay for MLD general queries ] /2.
Related commands: display mld interface, mld max-response-time, mld robust-count, mld timer query, and timer other-querier-present.
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
mld timer query
Syntax
mld timer query interval
undo mld timer query
View
Interface view
Default level
2: System level
Parameters
interval: Specifies an MLD query interval (the amount of time between MLD general query messages) in the range of 1 to 18000 seconds.
Description
Use mld timer query to configure the MLD query interval on the current interface.
Use undo mld timer query to restore the default.
By default, the MLD query interval is 125 seconds.
Related commands: display mld interface, mld timer other-querier-present, and timer query.
Examples
# Set the MLD query interval to 200 seconds on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld timer query 200
mld version
Syntax
mld version version-number
undo mld version
View
Interface view
Default level
2: System level
Parameters
version-number: MLD version, 1 or 2.
Description
Use mld version to configure the MLD version on the current interface.
Use undo mld version to restore the default MLD version.
By default, the MLD version is MLDv1.
Related commands: version.
Examples
# Set the MLD version to MLDv2 on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] mld version 2
require-router-alert (MLD view)
Syntax
require-router-alert
undo require-router-alert
View
MLD view
Default level
2: System level
Parameters
None
Description
Use require-router-alert to globally configure the device to discard MLD messages without the Router-Alert option.
Use undo require-router-alert to restore the default.
By default, the device does not check the Router-Alert option. It forwards all received MLD messages to the upper layer protocol for processing.
Related commands: mld require-router-alert and send-router-alert.
Examples
# Configure the device to discard MLD messages without the Router-Alert option.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] require-router-alert
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 all interfaces, and the second all specifies all MLD groups.
interface interface-type interface-number: Specifies an interface by its type and number.
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
ipv6-source-address: Specifies an IPv6 multicast source address.
prefix-length: Specifies the address prefix length. The default is 128. For a multicast source address, the value range for this argument is 0 to 128. For a multicast group address, the value range value range for this argument is 8 to 128.
Description
Use reset mld group to remove the dynamic group entries of an MLD group or all MLD groups.
This command cannot remove the static group entries of MLD groups.
Related commands: display mld group.
Examples
# Remove dynamic group entries of MLD groups on all interfaces.
<Sysname> reset mld group all
# Remove dynamic group entries of MLD groups on VLAN-interface 100.
<Sysname> reset mld group interface vlan-interface 100 all
# Remove the dynamic group entry of MLD group FF03::101:10 on VLAN-interface 100.
<Sysname> reset mld group interface vlan-interface 100 ff03::101:10
reset mld group port-info
Syntax
reset mld group port-info { all | ipv6-group-address } [ vlan vlan-id ]
View
User view
Default level
2: System level
Parameters
all: Specifies all IPv6 multicast groups.
ipv6-group-address: Specifies an IPv6 multicast group in the range of FFxy::/16, where x and y represent any hexadecimal number between 0 and F.
vlan-id: Specifies a VLAN in the range of 1 to 4094.
Description
Use reset mld group port-info to remove dynamic Layer 2 port entries of an MLD group or all MLD groups.
Layer 2 ports for MLD groups include member ports and router ports.
This command cannot remove static Layer 2 port entries of MLD groups.
Related commands: display mld group port-info.
Examples
# Remove dynamic Layer 2 port entries of all MLD groups in all VLANs.
<Sysname> reset mld group port-info all
# Remove dynamic Layer 2 port entries of all MLD groups in VLAN 100.
<Sysname> reset mld group port-info all vlan 100
# Remove dynamic Layer 2 port information about multicast group FF03::101:10 in VLAN 100.
<Sysname> reset mld group port-info ff03::101:10 vlan 100
reset mld ssm-mapping group
Syntax
reset mld ssm-mapping 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 IPv6 multicast group information created based on the configured MLD SSM mappings on all interfaces, and the second all specifies to clear all IPv6 multicast group information created based on the configured MLD SSM mappings..
interface-type interface-number: Specifies an interface by its type and number.
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
ipv6-source-address: Specifies an IPv6 multicast source address.
prefix-length: Specifies the prefix length of the multicast source or multicast group address. The default is 128. For a multicast source address, the value range for this argument is 0 to 128. For a multicast group address, the value range for this argument is 8 to 128.
Description
Use reset mld ssm-mapping group to clear IPv6 multicast group information created based on the configured MLD SSM mappings.
Related commands: display mld ssm-mapping group.
Examples
# Clear all IPv6 multicast group information created based on the configured MLD SSM mappings on all interfaces.
<Sysname> reset mld ssm-mapping group all
robust-count (MLD view)
Syntax
robust-count robust-value
undo robust-count
View
MLD view
Default level
2: System level
Parameters
robust-value: Specifies an MLD querier's robustness variable in the range of 2 to 5.
Description
Use robust-count to configure the MLD querier's robustness variable globally.
Use undo robust-count to restore the default.
By default, the MLD querier's robustness variable is 2.
The MLD querier's robustness variable defines the maximum number of attempts for transmitting MLD general queries, multicast-address-specific queries, or multicast-address-and-source-specific queries in case of packet loss due to network problems. A greater value of the robustness variable makes the MLD querier "more robust", but results in a longer IPv6 multicast group timeout time.
The MLD querier's robustness variable determines the following values:
· The default number of MLD general queries that the MLDv1/v2 querier sends on startup.
· The number of multicast-address-specific queries that the MLDv1 querier sends after receiving an MLD done message.
· The number of multicast-address-and-source-specific queries that the MLDv2 querier sends after receiving an MLD report that tells relation changes between IPv6 multicast groups and IPv6 multicast sources.
Related commands: display mld interface, last-listener-query-interval, mld robust-count, startup-query-count, timer other-querier-present, and timer query.
Examples
# Set the MLD querier's robustness variable to 3 globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] robust-count 3
send-router-alert (MLD view)
Syntax
send-router-alert
undo send-router-alert
View
MLD view
Default level
2: System level
Parameters
None
Description
Use send-router-alert to globally enable the insertion of the Router-Alert option into MLD messages to be sent.
Use undo send-router-alert 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 and require-router-alert.
Examples
# Disable insertion of the Router-Alert option into MLD messages to be sent.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] undo send-router-alert
ssm-mapping (MLD view)
Syntax
ssm-mapping ipv6-group-address prefix-length ipv6-source-address
undo ssm-mapping { ipv6-group-address prefix-length ipv6-source-address | all }
View
MLD view
Default level
2: System level
Parameters
ipv6-group-address: Specifies an IPv6 multicast group address in the range of FFxy::/16, where "x" and "y" represent any hexadecimal numbers from 0 to F.
prefix-length: Specifies the address prefix length in the range of 8 to 128.
ipv6-source-address: Specifies an IPv6 multicast source address.
all: Removes all MLD SSM mappings.
Description
Use ssm-mapping to configure an MLD SSM mapping.
Use undo ssm-mapping to remove one or all MLD SSM mappings.
By default, no MLD SSM mappings are configured.
Related commands: display mld ssm-mapping and mld ssm-mapping enable.
Examples
# Configure an MLD SSM mapping for multicast groups in the range of FF1E::/64 and multicast source 1::1.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] ssm-mapping ff1e:: 64 1::1
startup-query-count (MLD view)
Syntax
startup-query-count value
undo startup-query-count
View
MLD view
Default level
2: System level
Parameters
value: Specifies a startup query count (the number of queries that the MLD querier sends on startup) in the range of 2 to 5.
Description
Use startup-query-count to configure the startup query count globally.
Use undo startup-query-count to restore the default.
By default, the startup query count is set to the MLD querier's robustness variable.
Related commands: mld startup-query-count and robust-count.
Examples
# Set the startup query count to 3 globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] startup-query-count 3
startup-query-interval (MLD view)
Syntax
startup-query-interval interval
undo startup-query-interval
View
MLD view
Default level
2: System level
Parameters
interval: Specifies a startup query interval (interval between general queries that the MLD querier sends on startup) in the range of 1 to 18000 seconds.
Description
Use startup-query-interval to configure the startup query interval globally.
Use undo startup-query-interval to restore the default.
By default, the startup query interval is 1/4 of the "MLD query interval."
Related commands: mld startup-query-interval and timer query.
Examples
# Set the startup query interval to 5 seconds globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] startup-query-interval 5
timer other-querier-present (MLD view)
Syntax
timer other-querier-present interval
undo timer other-querier-present
View
MLD view
Default level
2: System level
Parameters
interval: Specifies an other querier present interval in seconds, in the range of 60 to 300.
Description
Use timer other-querier-present to configure the other querier present interval globally.
Use undo timer other-querier-present to restore the default.
By default, other querier present interval = [ MLD query interval ] × [ MLD querier's robustness variable ] + [ maximum response delay for MLD general queries ] /2.
Related commands: display mld interface, max-response-time, mld timer other-querier-present, robust-count, and timer query.
Examples
# Set the other querier present interval to 200 seconds globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] timer other-querier-present 200
timer query (MLD view)
Syntax
timer query interval
undo timer query
View
MLD view
Default level
2: System level
Parameters
interval: Specifies an MLD query interval (the amount of time between MLD general queries) in the range of 1 to 18000 seconds.
Description
Use timer query to configure the MLD query interval globally.
Use undo timer query to restore the default.
By default, the MLD query interval is 125 seconds.
Related commands: display mld interface, mld timer query, and timer other-querier-present.
Examples
# Set the MLD query interval to 200 seconds globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] timer query 200
version (MLD view)
Syntax
version version-number
undo version
View
MLD view
Default level
2: System level
Parameters
version-number: MLD version number, 1 or 2.
Description
Use version to configure the MLD version globally.
Use undo version to restore the default MLD version.
By default, the MLD version is MLDv1.
Related commands: mld version.
Examples
# Set the MLD version to MLDv2 globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] version 2