04-IP Multicast Volume

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Series Ethernet Switches Command Manual(Release 6300 series V1.03)04-IP Multicast Volume
10-MLD Commands
Title Size Download
10-MLD Commands 148.34 KB

 

The term “router” in this document refers to a router in a generic sense or a Layer 3 switch running MLD.

 

MLD Configuration Commands

display mld group

Syntax

display mld group [ ipv6-group-address | interface interface-type interface-number ] [ static | verbose ]

View

Any view

Default Level

1: Monitor level

Parameters

ipv6-group-address: MLD 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.

interface interface-type interface-number: Displays the information of MLD multicast groups on the specified interface.

static: Displays the information of statically joined MLD multicast groups.

verbose: Displays detailed information of MLD multicast groups.

Description

Use the display mld group command to view information of MLD multicast groups.

Note that:

l          If you do not specify an IPv6 mutlicast group address, this command will display the MLD information of all the multicast groups.

l          If you do not specify interface-type interface-number, this command will display the MLD multicast group information on all the interfaces.

l          If you do not specify the static keyword, the information of only dynamically joined MLD groups will be displayed.

Examples

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

<Sysname> display mld group verbose

Interface group report information

Vlan-interface1(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-1 display mld group command output description

Field

Description

Interface group report information

MLD multicast group information on the interface

Total 1 MLD Groups reported

One MLD multicast 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 multicast-address-specific 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

Filtering mode of multicast sources

Version1-host-present-timer-expiry

Remaining time of the MLDv1 host present timer , where “off" means that the timer never times out

 

display mld group port-info

Syntax

display mld group port-info [ vlan vlan-id ] [ slot slot-number ] [ verbose ]

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 a VLAN, this command will display the Layer 2 port information of MLD multicast groups in all VLANs.

slot slot-number: Displays the Layer 2 port information about MLD multicast groups on the specified card. If you do not specify a slot number, this command will display the Layer 2 port information about MLD multicast groups on the main processing unit.

verbose: Displays the detailed information about Layer 2 ports of MLD multicast groups.

Description

Use the display mld group port-info command to view Layer 2 port information of MLD multicast groups.

Examples

# View detailed Layer 2 port information of MLD multicast 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.

            Vlan1                (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.

            Vlan2                (D) ( 00:03:23 )

    MAC group(s):

      MAC group address:3333-0000-0101

          Host port(s):total 1 port.

            Vlan2

Table 1-2 display mld group port-info command output description

Field

Description

Total 1 IP Group(s).

Total number of IPv6 multicast groups

Total 1 IP Source(s).

Total number of IPv6 multicast sources

Total 1 MAC Group(s).

Total number of MAC multicast groups

Port flags: D-Dynamic port, S-Static port, 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(s)

Number of router ports

( 00:01:30 )

Remaining time of dynamic member port or router port aging timer. On a distributed device, to get this time value of a non-aggregation port on a board other than the main processing unit, you must specify the number of the slot where the corresponding board 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(s)

Number of member ports

 

display mld interface

Syntax

display mld interface [ interface-type interface-number ] [ verbose ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command will display the information of all interfaces running MLD.

verbose: Displays detailed MLD configuration and operation information.

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 Vlan-interface 1.

<Sysname> display mld interface vlan-interface 1 verbose

 Vlan-interface1(FE80::200:AFF:FE01:101):

   MLD is enabled

   Current MLD version is 2

   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

  Total 1 MLD Group reported

Table 1-3 display mld group port-info command output description

Field

Description

Ethernet1/1(FE80::200:AFF:FE01:101)

Interface name (IPv6 link-local address)

Current MLD version

MLD version running on the interface

MLD group policy

MLD group policy

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

Total 1 MLD Group reported

 Total number of MLD groups the interface has dynamically joined

 

display mld routing-table

Syntax

display mld routing-table [ ipv6-source-address [ prefix-length ] | ipv6-group-address [ prefix-length ] ] *

View

Any view

Default Level

1: Monitor level

Parameters

ipv6-source-address: Specifies 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.

Description

Use the display mld routing-table command to view the information of the MLD routing table.

Examples

# View the information of the MLD routing table.

<Sysname> display mld routing-table

Routing table

 Total 1 entry

 

 00001. (*, FF1E::101)

       List of 1 downstream interface

        Vlan-interface1 (FE80::200:5EFF:FE71:3800),

                   Protocol: MLD

Table 1-4 display mld routing-table command 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

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

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.

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 1-5 display mld ssm-mapping command 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 ]

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.

interface-type interface-number: Specifies an interface by its type and number.

verbose: Displays the detailed multicast group information created based on the configured MLD SSM mappings.

Description

Use the display mld ssm-mapping group command to view the multicast group information created based on the configured MLD SSM mappings.

Note that:

l          If you do not specify an IPv6 multicast group, this command will display the information of all IPv6 multicast groups created based on the configured MLD SSM mappings.

l          If you do not specify an interface, this command will display the multicast group information created based on the configured MLD SSM mappings on all interfaces.

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

 Vlan-interface1(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 1-6 display mld ssm-mapping group command 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 multicast-address-specific queries sent

Last-listener-query-timer-expiry

Remaining time of the MLD last listener query timer , where “off” means that the timer never expires

 

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 the device waits between sending MLD multicast-address-specific queries. The effective range is 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 system default.

By default, the MLD last listener query interval is 1 second.

Related commands: mld last-listener-query-interval, robust-count, display mld interface.

Examples

# Set the MLD last listener query interval to 3 seconds globally.

<Sysname> system-view

[Sysname] mld

[Sysname-mld] 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 system default.

By default, the maximum response delay for MLD general queries is 10 seconds.

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

Examples

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

<Sysname> system-view

[Sysname] mld

[Sysname-mld] max-response-time 8

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.

Note that this command can take effect only after IPv6 multicast routing is enabled on the device.

Related commands: mld enable; multicast ipv6 routing-enable in IPv6 Multicast Routing and Forwarding Commands in the IP Multicast Volume.

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.

Note that:

l          This command can take effect only after IPv6 multicast routing is enabled on the device.

l          Other MLD configurations performed on the interface can take effect only after MLD is enabled on the interface.

Related commands: mld; multicast ipv6 routing-table in IPv6 Multicast Routing and Forwarding Commands in the IP Multicast Volume.

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 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. The source address or address range specified in the advanced IPv6 ACL rule is the IPv6 multicast source address(es) 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 limit access to the IPv6 multicast group.

Use the undo mld group-policy command to remove the configured IPv6 multicast group filter.

By default, no IPv6 multicast group filter is configured by default, that is, a host can join any valid IPv6 multicast group.

Examples

# Configure an IPv6 ACL so that hosts on the subnet attached to Vlan-interface1 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 128

[Sysname-acl6-basic-2005] quit

[Sysname] interface Vlan-interface 1

[Sysname-Vlan-interface1] mld group-policy 2005

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 system default.

By default, the MLD last listener query interval is 1 second.

Related commands: last-listener-query-interval, mld robust-count, display mld interface.

Examples

# Set the MLD last listener query interval to 3 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 configuration.

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, display mld interface.

Examples

# Set the maximum response delay for MLD general query messages to 8 seconds on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] mld max-response-time 8

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 configuration.

By default, the device does not check the Router-Alert option, that is, it forwards all received MLD messages to the upper layer protocol for processing.

Related commands: require-router-alert, mld send-router-alert.

Examples

# Configure VLAN-interface 100 to discard MLD messages without the Router-Alert option.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] mld require-router-alert

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 robustness variable, with an effective range of 2 to 5.

Description

Use the mld robust-count command to configure the MLD querier robustness variable on the current interface.

Use the undo mld robust-count command to restore the system default.

By default, the MLD querier robustness variable is 2.

Related commands: robust-count, mld timer query, mld last-listener-query-interval, mld timer other-querier-present, display mld interface.

Examples

# Set the MLD querier robustness variable to 3 on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] mld robust-count 3

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, mld require-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 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 system default.

By default, the startup query count is set to the MLD querier robustness variable.

 

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

 

Related commands: startup-query-count, mld robust-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 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 system default.

By default, the startup query interval is 1/4 of the MLD query interval.

 

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

 

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

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

all: Removes all static IPv6 multicast groups that the current interface has joined.

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.

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. There is no such a restriction if the specified IPv6 multicast group address is not in the SSM multicast address range.

Examples

# Configure Vlan-interface1 to be a statically-connected member of the IPv6 multicast group FF03::101.

<Sysname> system-view

[Sysname] interface Vlan-interface1

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

# Configure Vlan-interface1 as a static member to forward multicast data of the multicast source 2001::101 to the multicast group FF3E::202.

<Sysname> system-view

[Sysname] interface Vlan-interface1

[Sysname-Vlan-interface1] 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 system default.

By default, MLD other querier present interval = [ MLD query interval ] times [ MLD querier robustness variable ] plus [ maximum response delay for MLD general queries ] divided by two.

 

By default, the values of the three parameters in the above-mentioned formula are 125, 2, and 10, respectively, so the 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, display mld interface.

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 system default.

By default, the MLD query interval is 125 seconds.

Related commands: timer query, mld timer other-querier-present, display mld interface.

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 configuration.

By default, the device does not check the Router-Alert option, that is, it forwards all received MLD messages to the upper layer protocol for processing.

Related commands: mld require-router-alert, send-router-alert.

Examples

# Globally configure the device to discard MLD messages without the Router-Alert option.

<Sysname> system-view

[Sysname] mld

[Sysname-mld] require-router-alert

reset mld group

Syntax

reset mld group { all | interface interface-type interface-number { all | ipv6-group-address [ prefix-length ] [ ipv6-source-address [ prefix-length ] ] } }

View

User view

Default Level

2: System level

Parameters

all: The first all specifies to clear MLD multicast group information on all interfaces, while the second all specifies to clear the information of all MLD multicast groups.

interface interface-type interface-number: Clears the MLD multicast group information on the specified interface.

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 clear MLD multicast group information.

Note that this command cannot clear MLD multicast group information of static joins.

Related commands: display mld group.

Examples

# Clear all MLD multicast group information on all interfaces.

<Sysname> reset mld group all

# Clear all MLD multicast group information for VLAN-interface 100.

<Sysname> reset mld group interface vlan-interface 100 all

# Clear the information about MLD multicast 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: Clears Layer 2 port information of all the MLD multicast groups.

Ipv6-group-address: Clears Layer 2 port information of the specified MLD multicast group. The effective range of group-address is FFxy::/16, where x and y represent any hexadecimal number between 0 and F, inclusive.

vlan-id: Clear Layer 2 port information of MLD multicast groups in the specified VLAN. The effective range of vlan-id is 1 to 4094.

Description

Use the reset mld group port-info command to clear Layer 2 port information of MLD multicast groups.

Note that:

l          Layer 2 ports for MLD multicast groups include member ports and router ports.

l          This command cannot clear Layer 2 port information about MLD multicast groups of static joins.

Related commands: display mld group port-info.

Examples

# Clear Layer 2 port information of all MLD multicast groups in all VLANs.

<Sysname> reset mld group port-info all

# Clear Layer 2 port information of all MLD multicast groups in VLAN 100.

<Sysname> reset mld group port-info all vlan 100

# Clear 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, while 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 robustness variable, with an effective range of 2 to 5.

Description

Use the robust-count command to configure the MLD querier robustness variable globally.

Use the undo robust-count command to restore the system default.

By default, the MLD querier robustness variable is 2.

Related commands: mld robust-count, last-listener-query-interval, timer other-querier-present, display mld interface.

Examples

# Set the MLD querier robustness variable to 3 globally.

<Sysname> system-view

[Sysname] mld

[Sysname-mld] robust-count 3

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, 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, display mld ssm-mapping.

Examples

# Configure an MLD SSM mapping for multicast group FF1E::101/64 and multicast source 1::1.

<Sysname> system-view

[Sysname] mld

[Sysname-mld] ssm-mapping ff1e::101 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 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 system default.

By default, the startup query count is set to the MLD querier robustness variable.

 

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

 

Related commands: mld startup-query-count, 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 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 system default.

By default, the startup query interval is 1/4 of the “MLD query interval”.

 

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

 

Related commands: mld startup-query-interval, 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 configuration.

By default, MLD other querier present interval = [ MLD query interval ] times [ MLD querier robustness variable ] plus [ maximum response delay for MLD general queries ] divided by two.

 

By default, the values of the three parameters in the above-mentioned formula are 125, 2, and 10, respectively, so the 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, 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 system default.

By default, the MLD query interval is 125 seconds.

Related commands: mld timer query, timer other-querier-present, 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

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网