- 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 | 257.06 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)
|
NOTE: · The term router in this document refers to both routers and Layer 3 switches. · The switch operates in IRF or standalone (the default) mode. For more information about the IRF mode, see IRF Configuration Guide. |
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: 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 number ranging from 0 to F. If you do not specify any IPv6 multicast group address, this command displays the information of all MLD groups.
interface interface-type interface-number: Displays the information of MLD groups on the specified interface. If you do not specify interface-type interface-number, the command displays the MLD group information on all the interfaces.
static: Displays the information of static MLD group entries. If you do not specify this keyword, 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 the display mld group command 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 Output description
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, where “off” means that the multicast group never times out |
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, where “off” means that the timer never times out |
Group mode |
Multicast source filtering mode: · include · 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, where “off” means that the timer never times out. This field is displayed only when the device is running MLDv2. |
display mld group port-info
Syntax
Standalone mode:
display mld group port-info [ vlan vlan-id ] [ slot slot-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ]
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: VLAN ID, in the range of 1 to 4094. If you do not specify any VLAN, this command displays the Layer 2 port information of MLD groups in all VLANs.
chassis chassis-number slot slot-number: Displays the Layer 2 port information of MLD groups on a card in an IRF 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. Without this option, the command displays the Layer 2 port information of MLD groups on all main boards in the IRF member device. To obtain the chassis number and slot number, you can use the display device command. (IRF mode)
verbose: Displays the 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 the display mld group port-info command 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 of 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 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, C-Copy port |
Port flag: D stands for dynamic port, S for static 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. |
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 main board, 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 main board, 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: Displays information about the hosts tracked by MLD on the specified interface.
group ipv6-group-address: Displays information about the hosts tracked by MLD that are in the specified IPv6 multicast group. The value of ipv6-group-address is in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where x and y represent any hexadecimal number ranging from 0 to F.
source ipv6-source-address: Displays information about the hosts tracked by MLD that are in the specified 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 the display mld host interface command 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 Output description
Field |
Description |
GigabitEthernet3/0/1(1::1) |
Interface and IPv6 address |
(::, FF1E::101) |
(S, G) entry, where :: indicates all IPv6 multicast sources. |
Host |
Host IPv6 address |
Uptime |
Host running duration |
Expires |
Host expiration time, where timeout means that the host has expired. |
display mld host port-info
Syntax
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 ]
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: Displays information about the hosts tracked by MLD on the Layer 2 ports in the specified VLAN, where vlan-id is in the range of 1 to 4094.
group ipv6-group-address: Displays information about the hosts tracked by MLD that are in the specified IPv6 multicast group on the Layer 2 ports. The value of ipv6-group-address is in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where x and y represent any hexadecimal number ranging from 0 to F.
source ipv6-source-address: Displays information about the hosts tracked by MLD that are in the specified IPv6 multicast source on the Layer 2 ports.
slot slot-number: Displays information about the hosts tracked by MLD on the Layer 2 ports on the card specified by its slot number. If no slot is specified, the command displays the Layer 2 information of the MLD hosts on the main board. (Standalone mode)
chassis chassis-number slot slot-number: Displays information about the hosts tracked by MLD on the Layer 2 ports on a card in an IRF 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. Without this option, the command displays information about the hosts tracked by MLD on the Layer 2 ports on all main boards in the IRF member devices. To obtain the chassis number and slot number, you can use the display device command. (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 the display mld host port-info command 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 Output description
Field |
Description |
VLAN(ID) |
VLAN ID |
(::, FF1E::101) |
(S, G) entry, where :: indicates all IPv6 multicast sources. |
Port |
Member port |
Host |
Host IPv6 address |
Uptime |
Host running duration |
Expires |
Host expiration time, where timeout means that the host has expired. |
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 you do not specify any interface, this command displays the information of all interfaces running MLD.
verbose: Displays detailed MLD configuration and operation 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 the display mld interface command to display MLD configuration and operation information on the specified interface or all MLD-enabled interfaces.
Examples
# Display detailed MLD configuration and operation 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 and operation 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 Output description
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) |
MLD 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, where “off” means that the timer never times out |
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 |
Dropping MLD messages without Router-Alert (enabled/disabled) |
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, where “off” means that the timer never times out |
Other-querier-present-timer-expiry |
Remaining time of MLD other querier present timer, where “off” means that the timer never times out |
Proxying interface |
The MLD proxy interface, where “none” means that no proxy interface exists |
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, where “off” means that the timer never times out |
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: Displays the information of the specified MLD proxying group. The group address is in the form of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, through FF0y::), where x and y represent any hexadecimal number ranging from 0 to F. If this argument is not specified, this command displays the information of all the MLD proxying groups.
verbose: Displays the 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 the display mld proxying group command to display the 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 Output description
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, where “off” means that the group never times out |
Group mode |
IPv6 multicast source filtering modes: · include · 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 a multicast source by its IPv6 address.
ipv6-group-address: Specifies an IPv6 multicast group by its IPv6 address, in the form of FFxy::/16, where x and y represent any hexadecimal number ranging from 0 to F.
prefix-length: Prefix length of the multicast source or multicast group address. For a multicast source address, this argument has an effective value range of 0 to 128. For a multicast group address, it has an effective value range of 8 to 128. The system default is 128 in both cases.
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 the display mld routing-table command 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 Output description
Field |
Description |
Routing table |
MLD routing table |
00001 |
Sequence number of this (*, G) entry |
(*, FF1E::101) |
An (*, G) entry in the MLD routing table |
Flag |
MLD route flags: · ACT: Indicates MLD routing entries that have been used for forwarding data packets but have the multicast group address out of the SSM group range · SUC: Indicates 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: namely the 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 by its address, in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where x and y represent any hexadecimal number ranging 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 the display mld ssm-mapping command 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 Output description
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 a multicast group by its IPv6 address, in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where x and y represent any hexadecimal number ranging from 0 to F. If you do not specify any IPv6 multicast group, 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 you do not specify any interface, 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 the display mld ssm-mapping group command to display the multicast group information created based on the configured MLD SSM mappings.
Examples
# Display the detailed information of 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 Output description
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, where “off” means that the group never times out |
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, where “off” means that the timer never expires |
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: Displays information about the hosts that join based on the MLD SSM mappings on the specified interface.
group ipv6-group-address: Displays information about the hosts that join the specified IPv6 multicast group based on the MLD SSM mappings. The value of ipv6-group-address is in the range of FFxy::/16 (excluding FFx0::/16, FFx1::/16, FFx2::/16, and FF0y::), where x and y represent any hexadecimal number ranging from 0 to F.
source ipv6-source-address: Displays information about the hosts that join the specified IPv6 multicast source based on the 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 the display mld ssm-mapping host interface command 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 Output description
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, where timeout means that the host has expired. |
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: Number of a basic IPv6 ACL, in the range of 2000 to 2999. The fast-leave processing function is effective only for the IPv6 multicast groups that match the permit statement in the ACL. If you do not include this option in your command, this command takes effect for all IPv6 multicast groups.
Description
Use the fast-leave command to configure MLD fast-leave processing globally.
Use the undo fast-leave command to disable MLD fast-leave processing globally.
By default, MLD fast-leave processing is disabled. That is, 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 the host-tracking command to enable the MLD host tracking function globally.
Use the undo host-tracking command 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: MLD last listener query interval in seconds, namely, the length of time that the device waits between sending MLD multicast-address-specific queries. The value ranges from 1 to 5.
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 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: Maximum response delay for MLD general query messages in seconds, in the range of 1 to 25.
Description
Use the max-response-time command to configure the maximum response delay for MLD general queries globally.
Use the undo max-response-time command 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 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: 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 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 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: Number of a basic IPv6 ACL, 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 you do not specify any IPv6 ACL number, this command takes effect for all IPv6 multicast groups.
Description
Use the mld fast-leave command to configure MLD fast-leave processing on the current interface.
Use the undo mld fast-leave command to disable MLD fast-leave processing on the current interface.
By default, MLD fast-leave processing is disabled. That is, 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: The maximum number of IPv6 multicast groups that an interface can join. The value ranges from 1 to the maximum number that the switch allows.
Description
Use the mld group-limit command to configure the maximum number of IPv6 multicast groups that an interface can join.
Use the undo mld group-limit command to restore the default.
The default upper limit depends on the system working mode. For more information, see Fundamentals Configuratio Guide.
This command is effective only for dynamically joined IPv6 multicast groups but not 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 you to 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: Number of a basic or advanced IPv6 ACL, 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: MLD version number, 1 or 2. If you do not specify an MLD version, the configured group filter will be effective for MLD reports of both version 1 and version 2.
Description
Use the mld group-policy command 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 the undo mld group-policy command to remove the configured IPv6 multicast group filter.
By default, no IPv6 multicast group filter is configured. That is, 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 you to 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 the mld host-tracking command to enable the MLD host tracking function on an interface.
Use the undo mld host-tracking command 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: MLD last listener query interval in seconds, in the range of 1 to 5.
Description
Use the mld last-listener-query-interval command to configure the MLD last listener query interval on the current interface.
Use the undo mld last-listener-query-interval command 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: Maximum response delay for MLD general query messages in seconds, in the range of 1 to 25.
Description
Use the mld max-response-time command to configure the maximum response delay for MLD general query messages on the interface.
Use the undo mld max-response-time command 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 the mld proxying enable command to enable MLD proxying on an interface.
Use the undo mld proxying enable command 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] 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 the mld proxying forwarding command to enable a non-querier downstream interface to forward multicast traffic.
Use the undo mld proxying forwarding command 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 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.
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 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: MLD querier’s robustness variable, in the range of 2 to 5.
Description
Use the mld robust-count command to configure the MLD querier’s robustness variable on the current interface.
Use the undo mld robust-count command 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 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: 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 the mld ssm-mapping enable command to enable the MLD SSM mapping feature on the current interface.
Use the undo mld ssm-mapping enable command 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: Startup query count, namely, the number of queries that the MLD querier sends on startup, in the range of 2 to 5.
Description
Use the mld startup-query-count command to configure the startup query count on the current interface.
Use the undo mld startup-query-count command 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: Startup query interval in seconds, namely, the interval between general queries that the MLD querier sends on startup, in the range of 1 to 18000.
Description
Use the mld startup-query-interval command to configure the startup query interval on the current interface.
Use the undo mld startup-query-interval command 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: 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 number ranging from 0 to F.
ipv6-source-address: IPv6 address of the specified multicast source.
all: Removes all static IPv6 multicast groups that the current interface has joined.
Description
Use the mld static-group command to configure the current interface to be a statically-connected member of the specified IPv6 multicast group or IPv6 multicast source and group.
Use the undo mld static-group command 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: MLD other querier present interval in seconds, in the range of 60 to 300.
Description
Use the mld timer other-querier-present command to configure the MLD other querier present interval on the current interface.
Use the undo mld timer other-querier-present command to restore the default.
By default, MLD 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 MLD 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: MLD query interval, namely, the amount of time in seconds between MLD general query messages, in the range of 1 to 18,000.
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 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 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 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 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.
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 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: IPv6 multicast group address, in the range of FFxy::/16, where x and y represent any hexadecimal number ranging from 0 to F.
ipv6-source-address: IPv6 multicast source address.
prefix-length: Prefix length of the specified multicast source or multicast group. For a multicast source address, this argument has an effective value range of 0 to 128. For a 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 remove the dynamic group entries of a specified 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. The value range of group-address is FFxy::/16, where x and y represent any hexadecimal number between 0 and F, inclusive.
vlan-id: Specifies a VLAN. The value range of vlan-id is 1 to 4094.
Description
Use the reset mld group port-info command to remove dynamic Layer 2 port entries of a specified 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 by its IPv6 address, in the form of FFxy::/16, where x and y represent any hexadecimal number ranging from 0 to F.
ipv6-source-address: Specifies a multicast source by its IPv6 address.
prefix-length: Prefix length of the multicast source or multicast group address. For a multicast source address, this argument has an effective value range of 0 to 128. For a 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 ssm-mapping group command 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: MLD querier’s robustness variable, in the range of 2 to 5.
Description
Use the robust-count command to configure the MLD querier’s robustness variable globally.
Use the undo robust-count command 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 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 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 by its IPv6 address, in the form of FFxy::/16, where x and y represent any hexadecimal number ranging from 0 to F.
prefix-length: Prefix length of the IPv6 multicast group address, in the range of 8 to 128.
ipv6-source-address: Specifies a multicast source by its IPv6 address.
all: Removes all MLD SSM mappings.
Description
Use the ssm-mapping command to configure an MLD SSM mapping.
Use the undo ssm-mapping command 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: Startup query count, namely, the number of queries that the MLD querier sends on startup, in the range of 2 to 5.
Description
Use the startup-query-count command to configure the startup query count globally.
Use the undo startup-query-count command 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: Startup query interval in seconds, namely, the interval between general queries that the MLD querier sends on startup, in the range of 1 to 18000.
Description
Use the startup-query-interval command to configure the startup query interval globally.
Use the undo startup-query-interval command 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: MLD other querier present interval in seconds, in the range of 60 to 300.
Description
Use the timer other-querier-present command to configure the MLD other querier present interval globally.
Use the undo timer other-querier-present command to restore the default.
By default, MLD 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 MLD 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: MLD query interval, namely, amount of time in seconds between MLD general queries, in the range of 1 to 18,000.
Description
Use the timer query command to configure the MLD query interval globally.
Use the undo timer query command 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 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 MLDv1.
Related commands: mld version.
Examples
# Set the MLD version to MLDv2 globally.
<Sysname> system-view
[Sysname] mld
[Sysname-mld] version 2