H3C S9500 Command Manual-Release2132[V2.03]-04 IP Multicast Volume

HomeSupportSwitchesH3C S9500 Series SwitchesReference GuidesCommand ReferencesH3C S9500 Command Manual-Release2132[V2.03]-04 IP Multicast Volume
07-MLD Snooping Commands
Title Size Download
07-MLD Snooping Commands 133.33 KB

Chapter 1  MLD Snooping Configuration Commands

1.1  MLD Snooping Configuration Commands

1.1.1  debugging mld-snooping

Syntax

debugging mld-snooping { all | event | abnormal | driver | group | timer | ipc { receive | send } | packet [ vlan vlan-id [ port port-type port-number ] ] }

undo debugging mld-snooping { all | event | abnormal | driver | group | timer | ipc { receive | send } | packet }

View

User view

Default Level

1: Monitor level

Parameters

all: Turns on/off all types of debugging for MLD Snooping.

event: Turns on/off MLD Snooping event debugging.

abnormal: Turns on/off debugging for abnormal MLD-Snooping information.

driver: Turns on/off MLD Snooping driver debugging.

group: Turns on/off MLD Snooping group debugging.

timer: Turns on/off MLD Snooping timer debugging.

ipc: Turns on/off IPC packet debugging.

receive: Turns on/off debugging for received IPC packets.

send: Turns on/off debugging for sent IPC packets.

packet: Turns on/off MLD message debugging.

vlan vlan-id: Specifies a VLAN.

port port-type port-number: Specifies a port.

Description

Use the debugging mld-snooping command to turn on debugging for MLD Snooping. Use the undo debugging mld-snooping command to turn off debugging for MLD Snooping.

By default, MLD Snooping debugging is off.

Table 1-1 debugging mld-snooping driver command output description

Field

Description

mask boardmask

Destination board mask for adding entry to driver

(saddr, gaddr)

(S, G) entry

 

Table 1-2 debugging mld-snooping event command output description

Field

Description

Succeed to enable/disable MLD snooping drop-unknown globally

Enable/disable the function of dropping unknown multicast packets globally

 

Table 1-3 debugging mld-snooping group command output description

Field

Description

(saddr, gaddr)

(S, G) entry

on vlan vlanid

VLAN to which the (S, G) entry belongs

 

Table 1-4 debugging mld-snooping packet command output description

Field

Description

MLDv1/ MLDv2 general query/ special query/ group-and-source-specific query/report/done packet

MLDv1/MLDv2 general query/multicast-address-specific query/multicast-address-and-source specific query/report/done message

port portname

Number of the port that processes the message

on vlan vlanid

ID of the VLAN to which the port belongs

destination address dstaddr

Destination address of the message

 

Table 1-5 debugging mld-snooping timer command output description

Field

Description

host port aging timer/time

router port aging timer/time

aggregation host port aging timer/time

aggregation router port aging timer/time

querier timer/interval

MLD-Snooping timers

 

Examples

# Turn on all types of debugging for MLD Snooping.

<Sysname> debugging mld-snooping all

1.1.2  display mld-snooping group

Syntax

display mld-snooping group [ vlan vlan-id ] [ slot slot-id ] [ verbose ]

View

Any view

Default Level

1: Monitor level

Parameters

vlan vlan-id: Displays the MLD Snooping multicast group information in the specified VLAN. If you do not specify a VLAN, this command will display the MLD Snooping multicast group information in all VLANs.

slot slot-id: Displays the MLD Snooping multicast group information for the specified card. If you do not specify a slot, this command will display the MLD Snooping multicast group information on the switching and routing processing unit (SRPU) only.

verbose: Displays the detailed MLD Snooping multicast group information.

Description

Use the display mld-snooping group command to view the MLD Snooping multicast group information.

Examples

# View the detailed IGMP Snooping multicast group information on the card slot 7.

<Sysname> display mld-snooping group slot 7 verbose

    Total 1 IP Group(s).

    Total 1 IP Source(s).

    Total 1 MAC Group(s).

 

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

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

  Vlan(id):22.

    Total 1 IP Group(s).

    Total 1 IP Source(s).

    Total 1 MAC Group(s).

    Router port unit board: Mask(0x0)

    Router port(s):total 0 port.

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

      IP group address:FF1E::101:101

        (::, FF1E::101:101):

          Attribute:    Host Port

          Host port unit board: Mask(0x0)

          Host port(s):total 1 port.

            Eth7/1/7              (D) ( 00:03:37 )

    MAC group(s):

        MAC group address:3333-0101-0101

          Host port unit board: Mask(0x0)

          Host port(s):total 1 port.

            Eth7/1/7

Table 1-6 display mld-snooping group command output description

Field

Description

Total 1 IP Group(s)

Total number of IPv6 multicast groups

Total 1 IP Source(s)

Total number of IPv6 multicast sources

Total 1 MAC Group(s)

Total number of MAC multicast groups

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

Port flags: D for dynamic port, S for static port, A for aggregation port, C for port copied from a (*, G) entry to an (S, G) entry

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

Sub-VLAN flags: R for real egress sub-VLAN under the current entry, C for sub-VLAN copied from a (*, G) entry to an (S, G) entry

Mask (0x0)

Board mask (0x0 indicates that ports on the current board have joined the multicast group; while no ports of other boards did not)

Router port(s):

Number of router ports

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

Information about the IPv6 multicast groups

IP group address

Address of the IPv6 multicast group

(::, FF1E::101:101)

(*, G) entry

Attribute

Attribute of the IPv6 multicast group

Host port(s)

Number of host member ports

( 00:03:37 )

Remaining aging time of the port

MAC group(s):

Information about the MAC multicast group

MAC group address

Address of the MAC multicast group

 

1.1.3  display mld-snooping statistics

Syntax

display mld-snooping statistics

View

Any view

Default Level

1: Monitor level

Parameters

None

Description

Use the display mld-snooping statistics command to view the statistics information of MLD messages learned by MLD Snooping.

Examples

# View the statistics information of all kinds of MLD messages learned by MLD Snooping.

<Sysname> display mld-snooping statistics

  Received MLD general queries:0.

  Received MLDv1 specific queries:0.

  Received MLDv1 reports:0.

  Received MLD dones:0.

  Sent     MLDv1 specific queries:0.

  Received MLDv2 reports:0.

  Received MLDv2 reports with right and wrong records:0.

  Received MLDv2 specific queries:0.

  Received MLDv2 specific sg queries:0.

  Sent     MLDv2 specific queries:0.

  Sent     MLDv2 specific sg queries:0.

  Received error MLD messages:0.

Table 1-7 display mld-snooping statistics command output description

Field

Description

general queries

General query messages

specific queries

Multicast-address-specific query messages

reports

Report messages

dones

Done messages

reports with right and wrong records

Reports containing correct and incorrect records

specific sg queries

Multicast-address-and-group-specific query messages

error MLD messages

Error MLD messages

 

1.1.4  drop-unknown

Syntax

drop-unknown

undo drop-unknown

View

MLD Snooping view

Default Level

2: System level

Parameters

None

Description

Use the drop-unknown command to enable globally the function of dropping unknown IPv6 multicast data.

Use the undo drop-unknown command to disable globally the function of dropping unknown IPv6 multicast data.

By default, this function is disabled, that is, unknown IPv6 multicast traffic is flooded within the VLAN.

Note that this command works only on an MLD Snooping–enabled VLAN, but not on a VLAN with MLD enabled on its VLAN interface.

Examples

# Globally enable the function of dropping unknown IPv6 multicast data.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] drop-unknown

1.1.5  fast-leave

Syntax

fast-leave [ vlan vlan-list ]

undo fast-leave [ vlan vlan-list ]

View

MLD Snooping view

Default Level

2: System level

Parameters

vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID.

Description

Use the fast-leave command to enable fast leave processing globally.

Use the undo fast-leave command to disable fast leave processing globally.

By default, fast leave processing is disabled globally.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If you do not specify any VLAN, the command will take effect for all VLANs; if you specify a VLAN or multiple VLANs, the command will take effect for the specified VLAN(s) only.

Related commands: mld-snooping fast-leave.

Examples

# Enable fast leave processing globally in VLAN 2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] fast-leave vlan 2

1.1.6  group-policy

Syntax

group-policy acl6-number [ vlan vlan-list ]

undo group-policy [ vlan vlan-list ]

View

MLD Snooping view

Default Level

2: System level

Parameters

Acl6-number: Basic IPv6 ACL number.

vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID.

Description

Use the group-policy command to configure a global IPv6 multicast group filter.

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

By default, no IPv6 multicast group filter is configured globally, namely, a host can join any IPv6 multicast group.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If you do not specify any VLAN, the command will take effect for all VLANs; if you specify a VLAN or multiple VLANs, the command will take effect for the specified VLAN(s) only.

l           If the specified IPv6 ACL does not exist or the ACL rule is null, all IPv6 multicast groups will be filtered out.

l           You can configure different IPv6 ACL rules for each port in different VLANs; for a given VLAN, a newly configured IPv6 ACL rule will override the existing one.

Related commands: mld-snooping group-policy.

Examples

# Configure ACL 2000 as the IPv6 multicast group filter in VLAN 2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] group-policy 2000 vlan 2

1.1.7  host-aging-time

Syntax

host-aging-time interval

undo host-aging-time

View

MLD Snooping view

Default Level

2: System level

Parameters

interval: Dynamic member port aging time, in seconds.

Description

Use the host-aging-time command to configure the global aging time of dynamic member ports.

Use the undo host-aging-time command to restore the default setting.

By default, the aging time of dynamic member ports is 260 seconds.

This command works only on an MLD Snooping–enabled VLAN, but not on a VLAN with MLD enabled on its VLAN interface.

Related commands: mld-snooping host-aging-time.

Examples

# Set the aging time of dynamic member ports globally to 300 seconds.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] host-aging-time 300

1.1.8  last-listener-query-interval

Syntax

last-listener-query-interval interval

undo last-listener-query-interval

View

MLD Snooping view

Default Level

2: System level

Parameters

interval: MLD last listener query interval, namely the interval between MLD multicast-address-specific queries, in seconds.

Description

Use the last-listener-query-interval command to configure the MLD last listener query interval globally.

Use the undo last-listener-query-interval command to restore the system default.

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

This command works only on an MLD Snooping–enabled VLAN, but not on a VLAN with MLD enabled on its VLAN interface.

Related commands: mld-snooping last-listener-query-interval.

Examples

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

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] last-listener-query-interval 3

1.1.9  max-response-time

Syntax

max-response-time interval

undo max-response-time

View

MLD Snooping view

Default Level

2: System level

Parameters

interval: Maximum response delay, namely the maximum length of time in seconds member hosts are allowed to wait before sending MLD reports in response to an MLD general query.

Description

Use the max-response-time command to configure the maximum response delay globally.

Use the undo max-response-time command to restore the system default.

By default, the maximum response delay is 10 seconds.

This command works only on an MLD Snooping–enabled VLAN, but not on a VLAN with MLD enabled on its VLAN interface.

Related commands: mld-snooping max-response-time, mld-snooping query-interval.

Examples

# Set the maximum response delay to 5 seconds globally.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] max-response-time 5

1.1.10  mld-snooping

Syntax

mld-snooping

undo mld-snooping

View

System view

Default Level

2: System level

Parameters

None

Description

Use the mld-snooping command to enable MLD Snooping globally and enter MLD Snooping view.

Use the undo mld-snooping command to disable MLD Snooping globally.

By default, MLD Snooping is disabled.

Related commands: mld-snooping enable.

Examples

# Enable MLD Snooping and enter MLD Snooping view.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping]

1.1.11  mld-snooping enable

Syntax

mld-snooping enable

undo mld-snooping enable

View

VLAN view

Default Level

2: System level

Parameters

None

Description

Use the mld-snooping enable command to enable MLD Snooping in the current VLAN.

Use the undo mld-snooping enable command to disable MLD Snooping in the current VLAN.

By default, MLD Snooping is disabled in a VLAN.

 

&  Note:

l      Before enabling MLD Snooping in a VLAN, you must globally enable MLD Snooping in system view.

l      After MLD Snooping is enabled in a VLAN, it is not allowed to enable MLD or IPv6 PIM on the corresponding VLAN interface, and vice versa.

 

Related commands: mld-snooping.

Examples

# Enable MLD Snooping in VLAN 2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

1.1.12  mld-snooping fast-leave

Syntax

mld-snooping fast-leave [ vlan vlan-list ]

undo mld-snooping fast-leave [ vlan vlan-list ]

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID.

Description

Use the mld-snooping fast-leave command to enable fast leave processing on the current port or group of ports.

Use the undo mld-snooping fast-leave command to disable fast leave processing on the current port or group of ports.

By default, fast leave processing is disabled.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If you do not specify any VLAN in Ethernet interface view, the command will take effect for the port no matter which VLAN the port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect for the port only if the port belongs to the specified VLAN(s).

l           If you do not specify any VLAN in manual port group view, the command will take effect on all the ports in this group no matter which VLANs these ports belong to; if you specify a VLAN or multiple VLANs, the command will take effect on those ports in this group that belong to the specified VLAN(s).

l           Configurations made in aggregation port group view are effective only for the master port in the group. If you do not specify any VLAN in aggregation port group view, the command will take effect no matter which VLAN the master port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect only if the master port belongs to the specified VLAN(s).

Related commands: fast-leave.

Examples

# Enable fast leave processing on Ethernet 1/1/1, which belongs to VLAN 2.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] mld-snooping fast-leave vlan 2

1.1.13  mld-snooping general-query source-ip

Syntax

mld-snooping general-query source-ip { current-interface | ipv6-address }

undo mld-snooping general-query source-ip

View

VLAN view

Default Level

2: System level

Parameters

current-interface: Specifies the IPv6 link-local address of the current VLAN interface as the source IPv6 address of MLD general queries..

ipv6-address: Specifies the source IPv6 address of MLD general queries, which can be any legal IPv6 link-local address.

Description

Use the mld-snooping general-query source-ip command to configure the source IPv6 address of MLD general queries.

Use the undo mld-snooping general-query source-ip command to restore the default configuration.

By default, the source IPv6 address of MLD general queries is FE80::02FF:FFFF:FE00:0001.

This command takes effect only if MLD Snooping is enabled in the VLAN.

Examples

# In VLAN 2, specify FE80:0:0:1::1 as the source IPv6 address of MLD general queries.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] mld-snooping general-query source-ip fe80:0:0:1::1

1.1.14  mld-snooping group-limit

Syntax

mld-snooping group-limit limit [ vlan vlan-list ]

undo mld-snooping group-limit [ vlan vlan-list ]

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

limit: Maximum number of IPv6 multicast groups that can be joined on a port.

vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end-vlan-id. If you do not provide this option, the command will take effect on each VLAN to which this port belongs.

Description

Use the mld-snooping group-limit command to configure the maximum number of IPv6 multicast groups that can pass the port(s).

Use the undo mld-snooping group-limit command to restore the default setting.

By default, the maximum number of IPv6 multicast groups allowed to pass the port (s) is 1024.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If you do not specify any VLAN in Ethernet interface view, the command will take effect for the port no matter which VLAN the port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect for the port only if the port belongs to the specified VLAN(s).

l           If you do not specify any VLAN in manual port group view, the command will take effect on all the ports in this group no matter which VLANs these ports belong to; if you specify a VLAN or multiple VLANs, the command will take effect on those ports in this group that belong to the specified VLAN(s).

l           Configurations made in aggregation port group view are effective only for the master port of the group. If you do not specify any VLAN in aggregation port group view, the command will take effect no matter which VLAN the master port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect only if the master port belongs to the specified VLAN(s).

Examples

# Specify to allow a maximum of ten IPv6 multicast groups to be joined on Ethernet 1/1/1, which belongs to VLAN 2.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] mld-snooping group-limit 10 vlan 2

1.1.15  mld-snooping group-policy

Syntax

mld-snooping group-policy acl6-number [ vlan vlan-list ]

undo mld-snooping group-policy [ vlan vlan-list ]

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

acl6-number: Basic IPv6 ACL number.

vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID.

Description

Use the mld-snooping group-policy command to configure an IPv6 multicast group filter on the current port(s).

Use the undo mld-snooping group-policy command to remove the configured IPv6 multicast group filter on the current port(s).

By default, no IPv6 multicast group filter is configured on a port, namely a host can join any IPv6 multicast group.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If you do not specify any VLAN in Ethernet interface view, the command will take effect for the port no matter which VLAN the port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect for the port only if the port belongs to the specified VLAN(s).

l           If you do not specify any VLAN in manual port group view, the command will take effect on all the ports in this group no matter which VLANs these ports belong to; if you specify a VLAN or multiple VLANs, the command will take effect on those ports in this group that belong to the specified VLAN(s).

l           Configurations made in aggregation port group view are effective only for the master port of the group. If you do not specify any VLAN in aggregation port group view, the command will take effect no matter which VLAN the master port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect only if the master port belongs to the specified VLAN(s).

l           If the specified ACL does not exist or the ACL rule is null, all IPv6 multicast groups will be filtered out.

l           You can configure different IPv6 ACL rules for each port in different VLANs; for a given VLAN, a newly configured IPv6 ACL rule will override the existing one.

Related commands: group-policy.

Examples

# Configure ACL 2000 as the IPv6 multicast group filter on Ethernet 1/1/1, which belongs to VLAN 2.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] mld-snooping group-policy 2000 vlan 2

1.1.16  mld-snooping host-aging-time

Syntax

mld-snooping host-aging-time interval

undo mld-snooping host-aging-time

View

VLAN view

Default Level

2: System level

Parameters

interval: Dynamic member port aging time, in seconds.

Description

Use the mld-snooping host-aging-time command to configure the aging time of IPv6 multicast group dynamic member ports in the current VLAN.

Use the undo mld-snooping host-aging-time command to restore the system default.

By default, the dynamic member port aging time is 260 seconds.

This command takes effect only if MLD Snooping is enabled in the VLAN.

Related commands: host-aging-time.

Examples

# Set the aging time of dynamic member ports in VLAN 2 to 300 seconds.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] mld-snooping host-aging-time 300

1.1.17  mld-snooping host-join

Syntax

mld-snooping host-join ipv6-group-address [ source-ip ipv6-source-address ] vlan vlan-id

undo mld-snooping host-join ipv6-group-address [ source-ip ipv6-source-address ] vlan vlan-id

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

ipv6-group-address: Address of the IPv6 multicast group the current port(s) will join as simulated member host(s).

source-ip ipv6-source-address: Specifies the address of the IPv6 multicast source that the simulated host is to join.

vlan vlan-id: Specifies a VLAN that comprises the Ethernet port(s)

Description

Use the mld-snooping host-join command to configure the current port(s) as simulated member host(s) for the specified IPv6 multicast group or source and group.

Use the undo mld-snooping host-join command to remove the current port(s) as simulated member host(s) for the specified IPv6 multicast group or source and group.

By default, no ports are configured as static member ports for any IPv6 multicast group or source and group.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If configured in Ethernet interface view, this feature takes effect on the port only if the port belongs to the specified VLAN.

l           If configured in manual port group view, this feature takes effect only on those ports in this port group that belong to the specified VLAN.

l           When used in aggregation port group view, the command will take effect only if the master port belongs to the specified VLAN and only on the master port.

l           The source-ip ipv6-source-address option in the command is meaningful only for MLD Snooping version 2. If MLD Snooping version 1 is running, although you can include source-ip ipv6-source-address in your command, the simulated host responses with only an MLDv1 report when receiving a query message.

Examples

# # Configure Ethernet 1/1/1 in VLAN 2 to join the IPv6 multicast group FF1E::101:101 as a simulated host. .

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] mld-snooping host-join ff1e::101:101 vlan 2

1.1.18  mld-snooping last-listener-query-interval

Syntax

mld-snooping last-listener-query-interval interval

undo mld-snooping last-listener-query-interval

View

VLAN view

Default Level

2: System level

Parameters

interval: MLD last listener query interval, namely the interval between MLD multicast-address-specific queries, in seconds.

Description

Use the mld-snooping last-listener-query-interval command to configure the MLD last listener query interval in the VLAN.

Use the undo mld-snooping last-listener-query-interval command to restore the system default.

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

This command takes effect only if MLD Snooping is enabled in the VLAN.

Related commands: last-listener-query-interval.

Examples

# Set the MLD last member query interval to 3 seconds in VLAN 2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] mld-snooping last-listener-query-interval 3

1.1.19  mld-snooping max-response-time

Syntax

mld-snooping max-response-time interval

undo mld-snooping max-response-time

View

VLAN view

Default Level

2: System level

Parameters

interval: Maximum response delay, namely the maximum length of time in seconds member hosts are allowed to wait before sending MLD reports in response to an MLD general query.

Description

Use the mld-snooping max-response-time command to configure the maximum response delay in the VLAN.

Use the undo mld-snooping max-response-time command to restore the system default.

By default, the maximum response delay is 10 seconds.

This command takes effect only if MLD Snooping is enabled in the VLAN.

Related commands: max-response-time, mld-snooping query-interval.

Examples

# Set the maximum response delay to 5 seconds in VLAN 2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] mld-snooping max-response-time 5

1.1.20  mld-snooping overflow-replace

Syntax

mld-snooping overflow-replace [ vlan vlan-list ]

undo mld-snooping overflow-replace [ vlan vlan-list ]

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID.

Description

Use the mld-snooping overflow-replace command to enable the IPv6 multicast group replacement function on the current port(s).

Use the undo mld-snooping overflow-replace command to disable the IPv6 multicast group replacement function on the current port(s).

By default, the IPv6 multicast group replacement function is disabled.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If you do not specify any VLAN in Ethernet interface view, the command will take effect for the port no matter which VLAN the port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect for the port only if the port belongs to the specified VLAN(s).

l           If you do not specify any VLAN in manual port group view, the command will take effect on all the ports in this group no matter which VLANs these ports belong to; if you specify a VLAN or multiple VLANs, the command will take effect on those ports in this group that belong to the specified VLAN(s).

l           Configurations made in aggregation port group view are effective only for the master port of the group. If you do not specify any VLAN in aggregation port group view, the command will take effect no matter which VLAN the master port belongs to; if you specify a VLAN or multiple VLANs, the command will take effect only if the master port belongs to the specified VLAN(s).

Related commands: overflow-replace.

Examples

# Enable the IPv6 multicast group replacement function on Ethernet 1/1/1, which belongs to VLAN 2.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] mld-snooping overflow-replace vlan 2

1.1.21  mld-snooping querier

Syntax

mld-snooping querier

undo mld-snooping querier

View

VLAN view

Default Level

2: System level

Parameters

None

Description

Use the mld-snooping querier command to enable the MLD Snooping querier function in the VLAN.

Use the undo mld-snooping querier command to disable the MLD Snooping querier function in the VLAN.

By default, the MLD Snooping querier function is disabled.

This command takes effect only if MLD Snooping is enabled in the VLAN.

Examples

# Enable the MLD Snooping querier function in VLAN 2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] mld-snooping querier

1.1.22  mld-snooping query-interval

Syntax

mld-snooping query-interval interval

undo mld-snooping query-interval

View

VLAN view

Default Level

2: System level

Parameters

interval: Interval between MLD general queries, in seconds.

Description

Use the mld-snooping query-interval command to configure the interval between MLD general queries.

Use the undo mld-snooping query-interval command to restore the default setting.

By default, the interval between MLD general queries is 125 seconds.

This command takes effect only if MLD Snooping is enabled in the VLAN.

Related commands: mld-snooping querier, mld-snooping max-response-time, max-response-time.

Examples

# Set the interval between MLD general queries to 20 seconds in VLAN2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] mld-snooping querier

[Sysname-vlan2] mld-snooping query-interval 20

1.1.23  mld-snooping router-aging-time

Syntax

mld-snooping router-aging-time interval

undo mld-snooping router-aging-time

View

VLAN view

Default Level

2: System level

Parameters

interval: Dynamic router port aging time, in seconds.

Description

Use the mld-snooping router-aging-time command to configure the aging time of dynamic router ports in the current VLAN.

Use the undo mld-snooping router-aging-time command to restore the default setting.

By default, the dynamic router port aging time is 260 seconds.

This command takes effect only if MLD Snooping is enabled in the VLAN.

Related commands: router-aging-time.

Examples

# Set the aging time of dynamic router ports in VLAN 2 to 100 seconds.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] mld-snooping router-aging-time 100

1.1.24  mld-snooping special-query source-ip

Syntax

mld-snooping special-query source-ip { current-interface | ipv6-address }

undo mld-snooping special-query source-ip

View

VLAN view

Default Level

2: System level

Parameters

current-interface: Specifies the source IPv6 link-local address of the VLAN interface of the current VLAN as the source IPv6 address of MLD multicast-address-specific queries.

ipv6-address: Specifies an IPv6 link-local address as the source IPv6 address of MLD multicast-address-specific queries.

Description

Use the mld-snooping special-query source-ip command to configure the source IPv6 address of MLD multicast-address-specific queries.

Use the undo mld-snooping special-query source-ip command to restore the system default.

By default, the source IPv6 address of MLD multicast-address-specific queries is FE80::02FF:FFFF:FE00:0001.

This command takes effect only if MLD Snooping is enabled in the VLAN.

Examples

# In VLAN 2, specify FE80:0:0:1::1 as the source IPv6 address of MLD multicast-address-specific queries.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] mld-snooping special-query source-ip fe80:0:0:1::1

1.1.25  mld-snooping static-group

Syntax

mld-snooping static-group ipv6-group-address [ source-ip ipv6-source-address ] vlan vlan-id

undo mld-snooping static-group ipv6-group-address [ source-ip ipv6-source-address ] vlan vlan-id

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

ipv6-group-address: Address of an IPv6 multicast group the current port(s) will join as static member port(s).

source-ip ipv6-source-address: Specifies the address of the IPv6 multicast source the port(s) will be configured to join as static member port(s).

vlan vlan-id: Specifies a VLAN that comprises the current Ethernet port(s).

Description

Use the mld-snooping static-group command to configure static joining on the current port(s), namely to configure the current port(s) as static IPv6 multicast group or source-group member(s).

Use the undo mld-snooping static-group command to restore the default.

By default, no ports are configured as static member ports.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If configured in manual port group view, this feature takes effect only on those ports in this port group that belong to the specified VLAN.

l           When used in aggregation port group view, the command will take effect only if the master port belongs to the specified VLAN and only on the master port.

l           The source-ip ipv6-source-address option in the command is meaningful only for MLD Snooping version 2. If MLD Snooping version 1 is running, although you can include source-ip ipv6-source-address in your command, the simulated host responses with only an MLDv1 report when receiving a query message.

Examples

# Configure Ethernet 1/1/1 in VLAN 2 to join the IPv6 multicast group FF1E::101:101 as a static member port.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] mld-snooping static-group ff1e::101:101 vlan 2

1.1.26  mld-snooping static-router-port

Syntax

mld-snooping static-router-port vlan vlan-id

undo mld-snooping static-router-port vlan vlan-id

View

Ethernet interface view, port group view

Default Level

2: System level

Parameters

vlan vlan-id: Specifies a VLAN that comprises the current Ethernet port(s).

Description

Use the mld-snooping static-router-port command to configure the current port(s) as static router port(s).

Use the undo mld-snooping static-router-port command to restore the default.

By default, no ports are configured as static router ports.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If configured in Ethernet interface view, this feature takes effect on the port only if the port belongs to the specified VLAN.

l           If configured in manual port group view, this feature takes effect only on those ports in this port group that belong to the specified VLAN.

l           When used in aggregation port group view, the command will take effect only if the master port belongs to the specified VLAN..

Examples

# Configure Ethernet 1/1/1, which belongs to VLAN 2, as a static router port.

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] mld-snooping static-router-port vlan 2

1.1.27  mld-snooping version

Syntax

mld-snooping version version-number

undo mld-snooping version

View

VLAN view

Default Level

2: System level

Parameters

version-number: MLD snooping version, in the range of 1 to 2.

Description

Use the mld-snooping version command to configure the MLD Snooping version.

Use the undo mld-snooping version command to restore the default.

By default, the MLD version is 1.

This command can take effect only if MLD Snooping is enabled in the VLAN.

Related commands: mld-snooping enable.

Examples

# Enable MLD Snooping in VLAN 2, and set the MLD Snooping version to version 2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] quit

[Sysname] vlan 2

[Sysname-vlan2] mld-snooping enable

[Sysname-vlan2] mld-snooping version 2

1.1.28  overflow-replace

Syntax

overflow-replace [ vlan vlan-list ]

undo overflow-replace [ vlan vlan-list ]

View

MLD Snooping view

Default Level

2: System level

Parameters

vlan vlan-list: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID.

Description

Use the overflow-replace command to enable the IPv6 multicast group replacement function globally.

Use the undo overflow-replace command to disable the IPv6 multicast group replacement function globally.

By default, the IPv6 multicast group replacement function is disabled globally.

Note that:

l           This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

l           If you do not specify any VLAN, the command will take effect for all VLANs; if you specify a VLAN or multiple VLANs, the command will take effect for the specified VLAN(s) only.

Related commands: mld-snooping overflow-replace.

Examples

# Enable the IPv6 multicast group replacement function globally in VLAN2.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] overflow-replace vlan 2

1.1.29  report-aggregation

Syntax

report-aggregation

undo report-aggregation

View

MLD Snooping view

Default Level

2: System level

Parameters

None

Description

Use the mld-snooping report-aggregation command to enable MLD report suppression.

Use the undo mld-snooping report-aggregation command to disable MLD report suppression.

By default, MLD report suppression is enabled.

This command works on an MLD Snooping–enabled VLAN or on a VLAN with MLD enabled on its VLAN interface.

Examples

# Disable MLD report suppression.

<Sysname> system-view

[Sysname] undo report-aggregation

1.1.30  reset mld-snooping group

Syntax

reset mld-snooping group { ipv6-group-address | all } [ vlan vlan-id ]

View

User view

Default Level

2: System level

Parameters

ipv6-group-address: Clears the information about the specified MLD Snooping multicast group.  

all: Clears all MLD Snooping multicast group information.

vlan vlan-id: Clears the MLD Snooping multicast group information in the specified VLAN.

Description

Use the reset mld-snooping group command to clear MLD Snooping entries.

Note that:

l           This command works only on an MLD Snooping–enabled VLAN, but not on a VLAN with MLD enabled on its VLAN interface.

l           This command cannot clear MLD Snooping multicast group information of static joins.

Examples

# Clear all MLD Snooping multicast group information saved in the device.

<Sysname> reset mld-snooping group all

1.1.31  reset mld-snooping statistics

Syntax

reset mld-snooping statistics

View

User view

Default Level

2: System level

Parameters

None

Description

Use the reset mld-snooping statistics command to clear the statistics information of MLD messages learned by MLD Snooping.

Examples

# Clear the statistics information of all kinds of MLD messages learned by MLD Snooping.

<Sysname> reset mld-snooping statistics

1.1.32  router-aging-time

Syntax

router-aging-time interval

undo router-aging-time

View

MLD Snooping view

Default Level

2: System level

Parameters

interval: Router port aging time, in seconds.

Description

Use the router-aging-time command to configure the aging time of dynamic router ports globally.

Use the undo router-aging-time command to restore the system default.

By default, the dynamic router port aging time is 260 seconds.

This command works only on an MLD Snooping–enabled VLAN, but not on a VLAN with MLD enabled on its VLAN interface.

Related commands: mld-snooping router-aging-time.

Examples

# Set the aging time of dynamic router ports to 100 seconds globally.

<Sysname> system-view

[Sysname] mld-snooping

[Sysname-mld-snooping] router-aging-time 100

 

  • 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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网