07-IP Multicast Command Reference

HomeSupportResource CenterRoutersH3C SR8800 Series RoutersH3C SR8800Technical DocumentsCommandCommand ReferenceH3C SR8800 Command Reference-Release3347-6W10307-IP Multicast Command Reference
14-MLD Commands
Title Size Download
14-MLD Commands 260.38 KB

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 view information of MLD groups.

Examples

# View the detailed information of dynamically added MLD groups on all interfaces.

<Sysname> display mld group verbose

Interface group report information

GigabitEthernet3/1/1(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

display mld group port-info [ vlan vlan-id ] [ 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.

slot slot-number: Displays the Layer 2 port information of MLD groups on the card specified by its slot number. If no slot is specified, the command displays the Layer 2 port information of MLD groups on the main processing unit (MPU).

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 view Layer 2 port information of MLD groups, including Layer 2 information of dynamic and static MLD group entries.

Examples

# View detailed Layer 2 port information of MLD groups.

<Sysname> display mld group port-info verbose

  Total 3 IP Group(s).

  Total 3 IP Source(s).

  Total 2 MAC Group(s).

 

  Port flags: D-Dynamic port, S-Static port, C-Copy port

  Subvlan flags: R-Real VLAN, C-Copy VLAN

  Vlan(id):201.

    Total 3 IP Group(s).

    Total 3 IP Source(s).

    Total 2 MAC Group(s).

    Router port unit board: Mask(0x0)

    Router port(s):total 0 port.

    IP group(s):the following ip group(s) match to one mac group.

      IP group address:FF0E::102

        (::, FF0E::102):

          Attribute:    Host AggPort

          Host port unit board: Mask(0x0)

          Host port(s):total 1 port.

            GE3/1/2               (A,S)

    MAC group(s):

        MAC group address:3333-0000-0102

          Host port unit board: Mask(0x0)

          Host port(s):total 1 port.

            GE3/1/2               (A)

    IP group(s):the following ip group(s) match to one mac group.

      IP group address:FF0E::101

        (::, FF0E::101):

          Attribute:    Host AggPort

          Host port unit board: Mask(0x0)

          Host port(s):total 1 port.

            GE3/1/2               (A,D) ( 00:04:06 )

      IP group address:FF1E::101

        (::, FF1E::101):

          Attribute:    Host AggPort

          Host port unit board: Mask(0x0)

          Host port(s):total 1 port.

            GE3/1/2               (A,D) ( 00:04:14 )

    MAC group(s):

        MAC group address:3333-0000-0101

          Host port unit board: Mask(0x0)

          Host port(s):total 1 port.

            GE3/1/2               (A)

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:04:06 )

Remaining time of the aging timer for the dynamic member port or router port. 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.

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/1/1.

<Sysname> display mld host interface GigabitEthernet 3/1/1 group ff1e::101

 GigabitEthernet3/1/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/1/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

display mld host port-info vlan vlan-id group ipv6-group-address [ source ipv6-source-address ] [ 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 MPU.

|: 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/1/1

      Host                                    Uptime          Expires

      1::1                                    00:02:20        00:00:40

      2::2                                    00:02:21        00:00:39

    Port : GigabitEthernet3/1/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 view MLD configuration and operation information on the specified interface or all MLD-enabled interfaces.

Examples

# View the detailed MLD configuration and operation information on GigabitEthernet 6/1/3 (downstream interface).

<Sysname> display mld interface GigabitEthernet 6/1/3 verbose

 GigabitEthernet6/1/3(FE80::2E0:FCFF:FE00:8514):

   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:34

   Querier for MLD: FE80::2E0:FCFF:FE00:8514 (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: GigabitEthernet6/1/2(FE80::100:CEF:FE01:101)

  Total 1 MLD Group reported

# View the detailed MLD configuration and operation information on GigabitEthernet 6/1/2 (upstream interface).

<Sysname> display mld interface Gigabitethernet 6/1/2 verbose

 GigabitEthernet6/1/2(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

GigabitEthernet6/1/3(FE80::2E0:FCFF:FE00:8514)

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 view the MLD proxying group information.

Examples

# View 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 to view the MLD routes with the ACT flag

suc: Specifies to view 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 view the information of the MLD routing table.

Examples

# View the information of the MLD routing table.

<Sysname> display mld routing-table

Routing table

 Total 2 entries

 

 00001. (*, FF1E::101)

       List of 1 downstream interface

        GigabitEthernet3/1/1 (FE80::200:5EFF:FE71:3800),

                   Protocol: MLD

 

 00002. (100::1, FF1E::101), Flag: ACT

       List of 1 downstream interface in include mode

        GigabitEthernet3/1/2 (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

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

List of 1 downstream interface

List of downstream interfaces: namely the interfaces to which multicast data for this group will be forwarded

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 view the configured MLD SSM mappings for the specified IPv6 multicast group.

Related commands: ssm-mapping.

Examples

# View 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 view the multicast group information created based on the configured MLD SSM mappings.

Examples

# View 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

 GigabitEthernet3/1/1(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/1/1.

<Sysname> display mld ssm-mapping host interface GigabitEthernet 3/1/1 group ff1e::101 source 10::1

 GigabitEthernet3/1/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/1/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. With the IPv6 ACL number specified, the fast-leave feature applies to only the IPv6 multicast groups that match the permit rule in the ACL. If you do not include this argument in the 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.

When this command is executed in MLD view:

·           If the device supports MLD snooping, this command takes effect only on Layer 3 interfaces except VLAN interfaces.

·           If the device does not support MLD snooping, this command takes effect on all Layer 3 interfaces.

Related commands: mld fast-leave and last-listener-query-interval.

 

 

NOTE:

This command takes effect only on Layer 3 interfaces other than VLAN interfaces when executed in MLD view.

 

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: mld last-listener-query-interval, robust-count, and display mld interface.

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: mld max-response-time, timer other-querier-present, and display mld interface.

Examples

# Set the maximum response delay for MLD general queries to 8 seconds globally.

<Sysname> system-view

[Sysname] mld

[Sysname-mld] max-response-time 8

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, 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

mld enable

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, multicast ipv6 routing-enable.

Examples

# Enable IPv6 multicast routing and enable MLD on GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] multicast ipv6 routing-enable

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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. With the IPv6 ACL number specified, the fast-leave feature applies to only the IPv6 multicast groups that match the permit rule 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.

The mld-snooping fast-leave and fast-leave (MLD-snooping view) commands are effective for both MLD snooping–enabled VLANs and VLANs with MLD enabled on the corresponding 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 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/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: Maximum number of IPv6 multicast groups that an interface can join. The value ranges from 1 to 8192.

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.

By default, the upper limit is 8192.

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-limitcommand 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, reset mld group, and mld-snooping group-limit.

Examples

# Allow GigabitEthernet 3/1/1 to join up to 128 IPv6 multicast groups.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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, in the range of 2000 to 3999. With the IPv6 ACL number specified, a host can join only the IPv6 multicast groups that match the permit rule 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 a 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.

 

 

NOTE:

·       When you use an advanced IPv6 ACL as a filter, the source address in the IPv6 ACL is the IPv6 multicast source address specified in MLDv2 report messages, instead of the source address in the IPv6 packets.

·       The mld group-policy command cannot be used in VLAN interface view. To configure an IPv6 multicast group filter on a specific Layer 2 port, use the mld-snooping group-policy command or the group-policy (MLD-snooping view) command.

·       The mld-snooping group-policy and group-policy (MLD-snooping view) commands are effective for both MLD snooping–enabled VLANs and VLANs with MLD enabled on the corresponding VLAN interfaces.

 

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 GigabitEthernet 3/1/1 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 GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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: last-listener-query-interval, mld robust-count, and display mld interface.

Examples

# Set the MLD last listener query interval to 3 seconds on GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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: max-response-time, mld timer other-querier-present, and display mld interface.

Examples

# Set the maximum response delay for MLD general query messages to 8 seconds on GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] multicast ipv6 routing-enable

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 GigabitEthernet 3/1/1, a non-querier downstream interface on the MLD proxy device.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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: require-router-alert and mld send-router-alert.

Examples

# Configure GigabitEthernet 3/1/1 to discard MLD messages without the Router-Alert option.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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, with an effective 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: robust-count, mld timer query, mld last-listener-query-interval, mld startup-query-count, mld timer other-querier-present, and display mld interface.

Examples

# Set the MLD querier’s robustness variable to 3 on GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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: send-router-alert and mld require-router-alert.

Examples

# Disable insertion of the Router-Alert option into MLD messages to be sent from GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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, with an effective 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.

 

 

NOTE:

By default, the MLD querier robustness variable is 2, so the default startup query count is also 2.

 

Related commands: startup-query-count and mld robust-count.

Examples

# Set the startup query count to 3 on GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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, with an effective 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.

 

 

NOTE:

By default, the MLD query interval is 125 seconds, so the default startup query interval = 125 / 4 = 31.25 (seconds).

 

Related commands: startup-query-interval and mld timer query.

Examples

# Set the startup query interval to 5 seconds on GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 as a static 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 static 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 a 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 GigabitEthernet 3/1/1 to be a statically-connected member of the IPv6 multicast group FF03::101.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] mld static-group ff03::101

# Configure GigabitEthernet 3/1/1 to be a statically connected member of multicast source and group (2001::101, FF3E::202).

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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.

 

 

NOTE:

By default, the values of the three parameters in the above-mentioned formula are 125, 2, and 10, respectively, so the default MLD other querier present interval is 125 x 2 + 10 / 2 = 255 (seconds).

 

Related commands: timer other-querier-present, mld timer query, mld robust-count, mld max-response-time, and display mld interface.

Examples

# Set the MLD other querier present interval to 200 seconds on GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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: timer query, mld timer other-querier-present, and display mld interface.

Examples

# Set the MLD query interval to 200 seconds on GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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 GigabitEthernet 3/1/1.

<Sysname> system-view

[Sysname] interface GigabitEthernet 3/1/1

[Sysname-GigabitEthernet3/1/1] 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

# Globally 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 GigabitEthernet 3/1/1.

<Sysname> reset mld group interface GigabitEthernet 3/1/1 all

# Remove the dynamic group entry of MLD group FF03::101:10 on GigabitEthernet 3/1/1.

<Sysname> reset mld group interface GigabitEthernet 3/1/1 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, with an effective 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: mld robust-count, timer query, last-listener-query-interval, startup-query-count, timer other-querier-present, and display mld interface.

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

# Globally disable insertion of the Router-Alert option into MLD messages to be sent.

<Sysname> system-view

[Sysname] mld

[Sysname-mld] undo send-router-alert

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: mld ssm-mapping enable and display mld ssm-mapping.

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, with an effective 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, with an effective 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.

 

 

NOTE:

By default, the values of the three parameters in the above-mentioned formula are 125, 2, and 10, respectively, so the default MLD other querier present interval is 125 x 2 + 10 / 2 = 255 (seconds).

 

Related commands: mld timer other-querier-present, timer query, robust-count, max-response-time, and display mld interface.

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: mld timer query, timer other-querier-present, and display mld interface.

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

# Globally set the MLD version to MLDv2.

<Sysname> system-view

[Sysname] mld

[Sysname-mld] version 2