No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

S7700 and S9700 V200R011C10

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
IP Multicast Compatible Commands

IP Multicast Compatible Commands

IGMP Snooping Compatible Commands

igmp-snooping group-limit (upgrade-compatible command)

Function

The igmp-snooping group-limit command sets the maximum number of multicast groups in a VLAN on an interface.

Format

igmp-snooping group-limit limit vlan { vlan-id1 [ to vlan-id2 ] } & <1-10>

Parameters

Parameter Description Value
limit Specifies the maximum number of multicast groups. The value is an integer that ranges from 1 to 4096.
vlan vlan-id1 [ to vlan-id2 ] Specifies a VLAN ID. The value is an integer that ranges from 1 to 4094.

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view, port group view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

Example

# Set the maximum number of multicast groups in VLAN 10 on GE2/0/1 to 100.

<HUAWEI> system-view
[HUAWEI] interface GigabitEthernet2/0/1
[HUAWEI-GigabitEthernet2/0/1] igmp-snooping group-limit 100 vlan 10

MLD Snooping Compatible Commands

mld-snooping group-policy (interface view) (upgrade-compatible command)

Function

The mld-snooping group-policy command configures an IPv6 multicast group policy on an interface.

Format

mld-snooping group-policy acl6-number vlan vlan-id mld-version [ default-permit ]

Parameters

Parameter

Description

Value

acl6-number

Specifies the number of an IPv6 ACL that defines a range of multicast groups. A basic or advanced ACL can be used in an IPv6 multicast group policy.

The value is an integer that ranges from 2000 to 3999.

vlan vlan-id

Applies the IPv6 multicast group policy to a specified VLAN on an interface.

The value is an integer that ranges from 1 to 4094.

mld-version

Specifies an MLD version. The multicast group policy is applied only to the MLD messages of this version. If this parameter is not specified, the multicast group policy applies to all MLD messages.

The value is 1 or 2.
  • 1: MLDv1
  • 2: MLDv2

default-permit

Configures the multicast group policy to permit all groups by default. That is, if the referenced ACL has no rules, the multicast group policy allows hosts in the VLAN to join all groups.

-

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view, port group view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

Example

# Prevent MLDv2 hosts in VLAN 10 on GE1/0/1 from joining IPv6 multicast group ff1c::3/32.

<HUAWEI> system-view
[HUAWEI] acl ipv6 number 2000
[HUAWEI-acl6-basic-2000] rule deny source ff1c::3/32
[HUAWEI-acl6-basic-2000] quit
[HUAWEI] mld-snooping enable
[HUAWEI] vlan 10
[HUAWEI-vlan10] mld-snooping enable
[HUAWEI-vlan10] quit
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] port link-type trunk
[HUAWEI-GigabitEthernet1/0/1] port trunk allow-pass vlan 10
[HUAWEI-GigabitEthernet1/0/1] mld-snooping group-policy 2000 vlan 10 2 default-permit

mld-snooping group-policy (VLAN view) (upgrade-compatible command)

Function

The mld-snooping group-policy command configures an IPv6 multicast group policy in a VLAN.

Format

mld-snooping group-policy acl6-number mld-version [ default-permit ]

Parameters

Parameter

Description

Value

acl6-number

Specifies the number of an IPv6 ACL that defines a range of multicast groups. A basic or advanced ACL can be used in an IPv6 multicast group policy.

The value is an integer that ranges from 2000 to 3999.

mld-version

Applies the multicast group policy only to the MLD messages of the specified version. If this parameter is not specified, the multicast group policy applies to all MLD messages.

The value is 1 or 3.
  • 1: MLDv1
  • 2: MLDv2

default-permit

Configures the multicast group policy to permit all groups by default. That is, if the referenced ACL has no rules, the multicast group policy allows hosts in the VLAN to join all groups.

-

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

Example

# Prevent MLDv2 hosts in VLAN 4 from joining IPv6 multicast group ff1e::1/32.

<HUAWEI> system-view
[HUAWEI] acl ipv6 number 2001
[HUAWEI-acl6-basic-2001] rule deny source ff1e::1/32
[HUAWEI-acl6-basic-2001] quit
[HUAWEI] mld-snooping enable
[HUAWEI] vlan 4
[HUAWEI-vlan4] mld-snooping enable
[HUAWEI-vlan4] mld-snooping group-policy 2001 2 default-permit
Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178288

Views: 33763

Downloads: 109

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next