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).
Multicast Route Management (IPv6) Commands

Multicast Route Management (IPv6) Commands

Command Support

For details about command support, see the description of each command. If no command support information is provided, all switch models support the command by default.

display multicast ipv6 boundary

Function

The display multicast ipv6 boundary command displays the multicast boundary configured on an interface.

Format

display multicast ipv6 boundary [ ipv6-group-address ipv6-group-mask-length | scope scope-id ] [ interface interface-type interface-number ]

Parameters

Parameter Description Value
ipv6-group-address Specifies an IPv6 multicast group address to display the corresponding multicast routing table. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. An IPv6 multicast address starts with FF.
ipv6-group-mask-length Specifies the mask length of the IPv6 multicast group address. The value is an integer that ranges from 8 to 128.
scope scope-id Specifies a scope ID. The value is an integer that ranges from 3 to 15.
interface interface-type interface-number Specifies the type and number of an interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command enables you to check the boundary of a PIM-SM (IPv6) network. When some hosts cannot receive multicast data, you can use this command to check whether the problem is caused by multicast boundary configuration.

Example

# Display the boundaries configured on all the interfaces.

<HUAWEI> display multicast ipv6 boundary
IPv6 multicast boundary information
Total 1 Multicast IPv6 boundary
 Interface           Boundary
 Vlanif100           FF02::/64
Table 8-109  Description of the display multicast ipv6 boundary command output

Item

Description

IPv6 multicast boundary information

IPv6 multicast boundary.

Total 1 Multicast IPv6 boundary

Total number of IPv6 multicast boundaries.

Interface

Name of the interface configured with multicast boundary.

Boundary

Multicast group with the interface as the boundary.

display multicast ipv6 forwarding-table

Function

The display multicast ipv6 forwarding-table command displays the IPv6 multicast forwarding table.

Format

display multicast ipv6 forwarding-table [ ipv6-source-address [ ipv6-source-mask-length ] | ipv6-group-address [ ipv6-group-mask-length ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { { exclude | include | match } { interface-type interface-number | register | none } } | { statistics | verbose } ] *

Parameters

Parameter Description Value
ipv6-source-address Specifies the IPv6 address of a multicast source. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.
ipv6-source-mask-length Specifies the mask length of the multicast source address. The value is an integer that ranges from 0 to 128.
ipv6-group-address Specifies the IPv6 address of a multicast group. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. An IPv6 multicast address starts with FF.
ipv6-group-mask-length Specifies the mask length of a multicast group address. The value is an integer that ranges from 8 to 128.
incoming-interface Indicates the incoming interface of an IPv6 multicast forwarding entry. -
interface-type interface-number Specifies the type and number of an interface. -
register Indicates the register interface of PIM-SM. -
outgoing-interface Indicates the outgoing interface of an IPv6 multicast forwarding entry. -
exclude Indicates that the downstream interface list does not contain the route forwarding entries of a specified interface. -
include Indicates that the downstream interface list contains the route forwarding entries of a specified interface. -
match Indicates that the downstream interface list matches the route forwarding entries of a specified interface. The downstream interface list contains only one eligible interface. After match is configured, the route forwarding entries of a null downstream interface list are displayed if the outgoing interface is not specified.
none Displays the (S, G) entry without a downstream interface. -
statistics Displays the statistics of the multicast forwarding table. -
verbose Displays the detailed information about the multicast forwarding table. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

During IPv6 multicast routing and forwarding, routing information generated by IPv6 multicast routing protocols is saved in an IPv6 multicast routing table. The switch selects the optimal multicast routes from the routing table according to multicast routing and forwarding policies, and then delivers the selected multicast routes to the IPv6 multicast forwarding table to guide multicast data forwarding.

You can use the display multicast ipv6 forwarding-table command to check whether IPv6 multicast forwarding entries have been generated and whether multicast data can be forwarded normally.

Example

# Display the IPv6 multicast forwarding table.

<HUAWEI> display multicast ipv6 forwarding-table
IPv6 Multicast Forwarding Table
Total 2 entries, 2 matched

00001. (FC00:AA::123, FF33::)
     MID: 0, Flags: ACT
     Uptime: 00:01:03, Timeout in: 00:02:27
     Incoming interface: Vlanif10
     List of 1 outgoing interfaces:
       1: LoopBack0
         Activetime: 00:23:15
     Matched rate: 0 packets/sec, 0 bits/sec
     Matched 0 packets(0 bytes), Wrong If 0 packets
     Forwarded 0 packets(0 bytes)

00002. (FC00:AA::123, FF34::)
     MID: 1, Flags: ACT
     Uptime: 00:00:03, Timeout in: 00:03:27
     Incoming interface: Vlanif20
     List of 1 outgoing interfaces:
       1: LoopBack0
         Activetime: 00:23:15
     Matched rate: 0 packets/sec, 0 bits/sec
     Matched 0 packets(0 bytes), Wrong If 0 packets
     Forwarded 0 packets(0 bytes)
Table 8-110  Description of the display multicast ipv6 forwarding-table command output

Item

Description

IPv6 Multicast Forwarding Table

IPv6 multicast forwarding table.

Total 2 entries, 2 matched

Total forwarding entries and total eligible forwarding entries.

00001

Number of the (S, G) entry.

(FC00:AA::123, FF33::)

(S, G) entry in the multicast routing table.

MID

Unique multicast forwarding entry in the MFIB table. MID is used to rapidly search the multicast forwarding table.

Flags

Status flag of the (S, G) entry.

  • ACT: indicates that an active event is triggered.
  • DUM: indicates a dummy entry.
  • MISS: indicates that the nocache time needs to be reported.
  • DROP: indicates packet dropping.
  • LTH: indicates that the traffic volume is below the threshold.
  • DEL: indicates a deleted entry.
  • RST: indicates that registration of the known timer is started.
  • 2IODEL: indicates that an entry is deleted from the MFIB table, and the update needs to be synchronized to the IO board.
  • 2PDEL: indicates that an entry is deleted from the device, and the update needs to be synchronized to the IO board.
  • 2SYNC: indicates that the entry is contained in the MFIB table but it does not exist on the device.
  • 2ADD: indicates that the entry existing on the device has not been added to the MFIB table.
  • CLR: indicates that the MFIB table is resetting.
  • L2FWD: indicates that the device forwards Layer 2 traffic in multicast mode.
  • NORPF: indicates that the device does not perform RPF check.
  • 2ACK: indicates that the VPN instance is waiting for the ACK message from the slave main control board.
  • 2RSED: indicates that the entry is waiting for retransmission.
  • IOACK: indicates that the VPN instance has received the ACK message from the LPU.
  • SACK: indicates that the VPN instance has received the ACK message forwarded by software.
  • BKCLR: indicates that the MFIB table on the slave main control board is resetting.
  • EXTR: indicates an extranet entry.
  • 2DEL: indicates that the entry deleted from the device has not been removed from the MFIB table.
  • PDEL: indicates that the entry does not exist on the device.
  • A denotes addition; D denotes deletion; I denotes upstream update; R denotes RP update; P denotes PMBR; F denotes flag.
  • S denotes SPT; E denotes encapsulation group update; US denotes status update; CS denotes status clearing.

Uptime

Period during which the (S, G) entry exists.

Timeout in

Remaining time of the (S, G) entry.

Incoming interface

Incoming interface of the (S, G) entry.

List of 1 outgoing interfaces: 1: LoopBack0

Outgoing interface list, including the outgoing interface number and name.

Activetime

Existing time of the outgoing interface of the (S, G) entry.

Matched rate: 0 packets/sec, 0 bits/sec

Rate of multicast packets matching the (S, G) entry.
NOTE:

Only the X series cards can provide the accurate counter values.

Matched 0 packets(0 bytes)

NOTE:

Only the X series cards can provide the accurate counter values.

Wrong If 0 packets

Number of multicast packets matching the (S, G) entry but are not forwarded.
NOTE:

Only the X series cards can provide the accurate counter values.

Forwarded 0 packets(0 bytes)

Number of packets and bytes forwarded by the (S, G) entry.
NOTE:

Only the X series cards can provide the accurate counter values.

display multicast forwarding-table optimization-mode configuration

Function

The display multicast forwarding-table optimization-mode configuration command displays the configuration of the optimization mode in which Layer 3 multicast forwarding entries are stored.

Format

display multicast forwarding-table optimization-mode configuration [ slot slot-id ]

Parameters

Parameter Description Value
slot slot-id

slot-id specifies the slot of a specific LPU that uses the multicast optimization mode. If no slot ID is specified, configurations of all LPUs are displayed.

The value is an integer and must be the slot ID of a running LPU.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command is used to display the configuration of the optimization mode in which Layer 3 multicast forwarding entries are stored. The configuration helps you select an LPU based on your storage requirement.

Example

# Display the configuration of the optimization modes of all LPUs.

<HUAWEI> display multicast forwarding-table optimization-mode configuration
Multicast forwarding-table optimization mode :
Slot      Mode           
-------------------------
2         Normal mode    
4         Normal mode    
5         Rich MCast mode
Table 8-111  Description of the display multicast forwarding-table optimization-mode configuration command output

Item

Description

Multicast forwarding-table optimization mode

When the multicast optimization mode is enabled.

slot

Slot ID of an LPU.

mode

Storage Mode.

The following storage modes are available:
  • Normal: The ARP cache table or ND cache table and multicast forwarding table share hardware resources, without affecting hardware resources allocated to the routing table.
  • Rich MCast mode: also known as multicast optimization mode. The system allocates hardware resources preferentially to the multicast forwarding table. The ARP/ND cache table and routing table share hardware resources.

display multicast ipv6 routing-table

Function

The display multicast ipv6 routing-table command displays information about an IPv6 multicast routing table.

Format

display multicast ipv6 routing-table [ ipv6-source-address [ ipv6-source-mask-length ] | ipv6-group-address [ ipv6-group-mask-length ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { exclude | include | match } { interface-type interface-number | register | none } ] * [ outgoing-interface-number [ number ] ]

Parameters

Parameter Description Value
ipv6-source-address Specifies the IPv6 address of a multicast source. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.
ipv6-source-mask-length Specifies the mask length of a multicast source address. The value is an integer that ranges from 0 to 128.
ipv6-group-address Specifies the IPv6 address of a multicast group. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. An IPv6 multicast address starts with FF.
ipv6-group-mask-length Specifies the mask length of an IPv6 multicast group address. The value is an integer that ranges from 8 to 128.
incoming-interface Indicates the incoming interface of a multicast forwarding entry. -
interface-type interface-number Specifies the type and number of an interface. -
register Indicates the register interface of IPv6 PIM-SM. -
outgoing-interface Indicates the outgoing interface of a multicast forwarding entry. -
include Displays the (S, G) entries whose downstream interface list contains specified outgoing interfaces. -
exclude Displays the (S, G) entries whose downstream interface list does not contain specified outgoing interfaces. -
match Displays (S, G) entries whose the downstream interface list contains only one interface that is the same as a specified outgoing interface. If no interface is specified, the (S, G) entry with the null downstream interface list is displayed.
none Displays the routing entry without a downstream interface. -
outgoing-interface-number Displays the number of the outgoing interfaces of multicast routing entries. -
number Specifies the number of outgoing interfaces. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display multicast ipv6 routing-table command to view the IPv6 multicast routing table, including the multicast source address, multicast group address, upstream interface, and downstream interface list.

Example

# Display the corresponding routing entry of a multicast group in the IPv6 multicast routing table.
<HUAWEI> display multicast ipv6 routing-table
IPv6 multicast routing table
 Total 1 entry

 00001. (FC00::2, FFE3::1)
       Uptime: 00:00:14
       Upstream Interface: Vlanif10
       List of 1 downstream interface
           1:  Vlanif20
Table 8-112  Description of the display multicast ipv6 routing-table command output

Item

Description

IPv6 multicast routing table

IPv6 multicast routing table.

Total 1 entry

Number of routing entries that meet the query condition.

00001

Sequence number of the (S, G) entry.

(FC00::2, FFE3::1)

(S, G) entry in the IPv6 multicast routing table.

Uptime

Period during which the (S, G) entry exists.

Upstream Interface

Upstream interface of the (S, G) entry.

List of 1 downstream interface

Downstream interface list.

# Display the number of downstream interfaces of the IPv6 multicast routing entries.
<HUAWEI> display multicast ipv6 routing-table outgoing-interface-number
IPv6 multicast routing table
 Total 2 entries

 00001. (FC00::55, FF33::1)
       Uptime: 00:00:05
       Upstream Interface: Vlanif10
       List of 2 downstream interfaces

 00002. (FC00::55, FF33::2)
       Uptime: 00:00:05
       Upstream Interface: Vlanif20
       List of 2 downstream interfaces
Table 8-113  Description of the display multicast ipv6 routing-table outgoing-interface-number command output

Item

Description

List of 2 downstream interfaces

Number of the outgoing interfaces of IPv6 multicast routing entries.

display multicast ipv6 rpf-info

Function

The display multicast ipv6 rpf-info command displays the Reverse Path Forwarding (RPF) routes of a specified IPv6 multicast source or source/group.

Format

display multicast ipv6 rpf-info ipv6-source-address [ ipv6-group-address ] [ rpt | spt ]

Parameters

Parameter Description Value
ipv6-source-address Specifies the IPv6 address of a multicast source, used to display the information of RPF routing corresponding to the source. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.
ipv6-group-address Specifies the IPv6 address of a multicast group, used to display the information of RPF routing corresponding to the group. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. An IPv6 multicast address starts with FF.
rpt Displays the RPF routing information corresponding to a specified source or group on the RPT. -
spt Displays the RPF routing information corresponding to a specified source or group on the SPT. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The RPF route with the ipv6-source-address as the destination address is an optimal route selected from IPv6 unicast routes. You can use the display multicast ipv6 rpf-info command to check the RPF route to the specified source or source-group.

Example

# Display all RPF routes to the source address FC00::101.
<HUAWEI> display multicast ipv6 rpf-info fc00::101
 VPN-Instance: public net
 RPF information about source: FC00::101
     RPF interface: Vlanif100
     Referenced route/mask: FC00::/64
     Referenced route type: unicast
     Load splitting rule: disabled
Table 8-114  Description of the display multicast ipv6 rpf-info command output

Item

Description

RPF information about source

Indicates the multicast source to which RPF information belongs.

RPF interface

Indicates the RPF interface.

Referenced route/mask

Indicates the referenced route and its mask.

Referenced route type

Indicates the referenced route type.

Load splitting rule

Load splitting rules:
  • disable: load splitting disabled.

  • balance-preferred: load balancing preferred.

  • stable-preferred: stable-preferred load splitting.

  • source: source address-based load splitting.

  • group: group address-based load splitting.

  • source-group: source and group addresses-based load splitting.

multicast ipv6 boundary

Function

The multicast ipv6 boundary command configures a multicast boundary on an interface.

The undo multicast ipv6 boundary command deletes the configured multicast boundary.

By default, no multicast boundary is configured on an interface.

Format

multicast ipv6 boundary { ipv6-group-address ipv6-group-mask-length | scope scope-id }

undo multicast ipv6 boundary { ipv6-group-address ipv6-group-mask-length | all | scope }

Parameters

Parameter Description Value
ipv6-group-address Specifies a multicast group address. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. An IPv6 multicast address starts with FF.
ipv6-group-mask-length Specifies the mask length of an IPv6 multicast group address. The value is an integer that ranges from 8 to 128.
scope scope-id Specifies a scope ID. The value is an integer that ranges from 3 to 15.
all Deletes all the multicast boundaries configured on an interface. -

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, VLANIF interface view, loopback interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Data of some multicast groups needs to be forwarded within a specified range. For example, each BSR administrative domain serves a specific group address range, and data packets sent from multicast sources to these groups need to be forwarded within the matching administrative domain. After a multicast boundary is configured for specified multicast groups on an interface, multicast packets sent to these groups cannot be forwarded through the interface. This restricts multicast forwarding within a range.

Prerequisites

IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.

Precautions

To configure the boundary for different multicast groups, you can repeat the command on the same interface.

A and B are the forwarding boundary sets of the multicast group range to be configured, and B is a subset of A. If A is first configured on an interface, B cannot be configured. If you configure A on the interface that has been configured with B, B is replaced by A.

Example

# Configure VLANIF100 as the boundary of group FF02::101/16.
<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] multicast ipv6 boundary FF02::101 16
# Configure GE1/0/1 as the boundary of group FF02::101/16.
<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] undo portswitch
[HUAWEI-GigabitEthernet1/0/1] multicast ipv6 boundary FF02::101 16

multicast ipv6 cpu-forward disable

Function

The multicast ipv6 cpu-forward disable command disables software forwarding for IPv6 multicast packets.

The undo multicast ipv6 cpu-forward disable command restores the default configuration.

By default, software forwarding for IPv6 multicast packets is enabled.

Format

multicast ipv6 cpu-forward disable

undo multicast ipv6 cpu-forward disable

Parameters

None.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In most cases, the switch forwards packets based on software before the hardware forwarding is completed. After that, the forwards packets based on hardware. Soft forwarding for multicast packets must be disabled on the switch to prevent packet loss and disorder caused by the low forwarding speed and first packet cache mechanism of soft forwarding.

Prerequisites

IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.

Example

# Disable software forwarding for IPv6 multicast packets.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] multicast ipv6 cpu-forward disable

multicast ipv6 forwarding-table downstream-limit

Function

The multicast ipv6 forwarding-table downstream-limit command sets the maximum number of downstream nodes of an entry in the IPv6 multicast forwarding table.

The undo multicast ipv6 forwarding-table downstream-limit command restores the default setting.

By default, the maximum number of downstream nodes of an entry is 128.

Format

multicast ipv6 forwarding-table downstream-limit limit

undo multicast ipv6 forwarding-table downstream-limit

Parameters

Parameter Description Value
limit Indicates the maximum number of downstream nodes of an entry in the forwarding table. The value is an integer that ranges from 0 to 128.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the switch receives a multicast packet, it copies the packet for each downstream node in the matching IPv6 multicast forwarding entry. If the switch has a large number of IPv6 multicast forwarding entries or each entry has many downstream nodes, many system resources are consumed. To reduce the load on the switch, limit the maximum number of downstream nodes in each IPv6 multicast forwarding entry.

Prerequisites

IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.

Precautions

If the configured number is smaller than the current number, the excessive downstream nodes are not deleted immediately, and must be deleted by the IPv6 multicast routing protocol. In addition, no new downstream node can be added to the entry in the forwarding table.

Example

# In the system view, set the maximum number of downstream nodes of an entry in the IPv6 multicast forwarding table to 32.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] multicast ipv6 forwarding-table downstream-limit 32

multicast ipv6 forwarding-table route-limit

Function

The multicast ipv6 forwarding-table route-limit command sets the limits on the number of entries in the IPv6 multicast forwarding table.

The undo multicast ipv6 forwarding-table route-limit command restores the default value of the limit.

By default, the limit on the number of entries in the IPv6 multicast forwarding table is 4096.

Format

multicast ipv6 forwarding-table route-limit limit

undo multicast ipv6 forwarding-table route-limit

Parameters

Parameter Description Value
limit Specifies the limit on the number of entries in the IPv6 multicast forwarding table.

The value is an integer that ranges from 0 to 4096.

NOTE:

The value range is expanded after the high specification mode is configured for multicast forwarding using the set multicast forwarding-table super-mode command. The actual value range depends on the specification of the device.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Excessive IPv6 multicast forwarding entries will exhaust the memory of the switch. To prevent this problem, use the multicast ipv6 forwarding-table route-limit command to limit the number of entries in the IPv6 multicast forwarding table.

Prerequisites

IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.

Precautions

If the limit on the number of entries in the IPv6 multicast forwarding table is set after multicast services are deployed on a switch, ensure that this limit is equal to or greater than the number of existing forwarding entries. Otherwise, faults may occur.

It is recommended that you set the limit based on the actual network environment before deploying multicast services on the switch.

If the newly-configured limit on the number of entries is smaller than the number of existing entries, the excessive entries are not deleted immediately. The configured limit takes effect in the following cases:

Example

# Set the limit on the number of the entries in the IPv6 forwarding table to 1024.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] multicast ipv6 forwarding-table route-limit 1024

multicast ipv6 invalid-packet

Function

The multicast ipv6 invalid-packet command sets the maximum number of invalid IPv6 multicast protocol packets that can be stored on the switch.

The undo multicast ipv6 invalid-packet command deletes the set maximum number of invalid IPv6 multicast protocol packets that can be stored on the switch.

By default, the switch can save a maximum of 10 invalid packets for each specific IPv6 multicast protocol.

Format

multicast ipv6 invalid-packet { mld | pim } max-count max-number

undo multicast ipv6 invalid-packet { mld | pim }

Parameters

Parameter Description Value
mld Sets the maximum number of invalid MLD messages. -
pim Sets the maximum number of invalid PIM (IPv6) messages. -
max-count max-number Sets the maximum number of invalid IPv6 multicast protocol packets that can be stored on a device. The value is an integer that ranges from 1 to 100.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If IPv6 multicast entries fail to be generated or peer relationships fail to be set up, you can enable the switch to store invalid IPv6 multicast protocol packets and view statistics and details of the invalid IPv6 multicast protocol packets. Based on the command output, you can locate and rectify faults.

Example

# Set the maximum number of invalid MLD messages that can be stored on the switch to 20.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 invalid-packet mld max-count 20

multicast ipv6 load-splitting

Function

The multicast ipv6 load-splitting command enables load splitting among IPv6 multicast routes.

The undo multicast ipv6 load-splitting command restores the default configuration.

By default, load splitting among IPv6 multicast routes is disabled.

Format

multicast ipv6 load-splitting { balance-preferred | stable-preferred | group | source | source-group }

undo multicast ipv6 load-splitting

Parameters

Parameter Description Value
balance-preferred Indicates balance-preferred load splitting. This policy is applicable to the scenario where hosts frequently join or leave groups, which requires automatic load adjustment. -
group Indicates group address-based load splitting. This policy is applicable to the scenario of one source to multiple groups. -
source Indicates source address-based load splitting. This policy is applicable to the scenario of multiple sources to one group. -
source-group Indicates source and group addresses-based load splitting. This policy is applicable to the scenario of multiple sources to multiple groups. -
stable-preferred Indicates stable-preferred load splitting. This policy is applicable to stable multicast networking. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, if there are multiple equal-cost routes to a multicast source, the device selects the route with the largest next-hop address as the RPF route. To enable multicast data to be forwarded through multiple paths, run this command to configure multicast load splitting. After multicast load splitting is configured, the device uses the specified load splitting policy to distribute multicast data among multiple paths. This function improves quality of multicast forwarding.

Prerequisites

IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.

Follow-up Procedure

Because the forwarding capabilities of equal-cost routes are different from the actual load distribution situation on the equal-cost routes, even load splitting cannot meet network requirements in some scenarios. In this case, you can run the multicast ipv6 load-splitting weight command to configure the IPv6 multicast load splitting weight on the interface to realize unbalanced load splitting.

Precautions

The five load splitting policies are mutually exclusive. It is recommended that you use a fixed load splitting policy based on the actual situation on your network. The balance-preferred or stable-preferred policy is preferred.

If PIM-DM (IPv6) is enabled on the switch, the balance-preferred or stable-preferred policy cannot be used.

Example

# Configure stable-preferred load splitting in the system view.
<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] multicast ipv6 load-splitting stable-preferred

multicast ipv6 load-splitting weight

Function

The multicast ipv6 load-splitting weight command sets the IPv6 multicast load splitting weight for an interface.

The undo multicast ipv6 load-splitting weight command restores the default setting.

By default, the IPv6 multicast load splitting weight of an interface is 1.

Format

multicast ipv6 load-splitting weight weight-value

undo multicast ipv6 load-splitting weight

Parameters

Parameter Description Value
weight-value Specifies the IPv6 multicast load splitting weight of an interface. The value is an integer that ranges from 0 to 32.

Views

Ethernet interface view, GE interface view, XGE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, Ethernet sub-interface view, GE sub-interface view, XGE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a stable-preferred or balance-preferred multicast splitting policy is configured, you can run this command to set load splitting weights for interfaces to realize unbalanced load splitting. The larger weight value an interface has, the more IPv6 multicast routing entries have it as the upstream interface.

Prerequisites

IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.

Precautions

This command is applicable only when the IPv6 multicast load splitting policy is set to stable-preferred or balance-preferred.

When the IPv6 multicast load splitting weight on an interface is 0, the routes with this interface as the upstream interface do not take part in load splitting.

Example

# Set the IPv6 multicast load splitting weight on VLANIF100 to 10.
<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] multicast ipv6 load-splitting weight 10
# Set the IPv6 multicast load splitting weight on GE1/0/1 to 10.
<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] undo portswitch
[HUAWEI-GigabitEthernet1/0/1] multicast ipv6 load-splitting weight 10

multicast ipv6 load-splitting-timer

Function

The multicast ipv6 load-splitting-timer command sets an IPv6 multicast load splitting timer.

The undo multicast ipv6 load-splitting-timer command restores the default setting.

By default, the value of the IPv6 multicast load splitting timer is 1800 seconds.

Format

multicast ipv6 load-splitting-timer interval

undo multicast ipv6 load-splitting-timer

Parameters

Parameter Description Value
interval Specifies the value of the IPv6 multicast load splitting timer. The value is an integer that ranges from 10 to 1800, in seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In stable-preferred load splitting or balance-preferred load splitting mode, entries may not be well-balanced among paths because of the addition or deletion of entries, change of load splitting weights of the paths, or change of equal-cost routes. In such a case, the device will balance entries after a certain waiting time to reduce the impact of frequent changes on the system.

Currently, setting a load splitting timer to change the waiting time before balancing entries is supported.
  • If the network is stable, for example, when entries are not deleted or added frequently or equal-cost routes are not changed frequently, set the load splitting timer value to a smaller value so that entries can be balanced rapidly. The recommended value is 300 to 600 seconds.

  • If the network is not stable, for example, when entries are deleted or added frequently or equal-cost routes are changed frequently, set the load splitting timer value to a larger value to reduce the impact of frequent entry changes on the system and network stability. The recommended value is 1200 to 1800 seconds.

Prerequisites

IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.

Example

# Set the IPv6 multicast load splitting timer to 100 seconds.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable
[HUAWEI] multicast ipv6 load-splitting-timer 100

multicast ipv6 routing-enable

Function

The multicast ipv6 routing-enable command enables the IPv6 multicast routing function.

The undo multicast ipv6 routing-enable command restores the default configuration.

By default, the IPv6 multicast routing function is disabled.

Format

multicast ipv6 routing-enable

undo multicast ipv6 routing-enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before configuring Layer 3 IPv6 multicast, you must enable the IPv6 multicast routing function globally. Layer 3 IPv6 multicast protocols (such as PIM (IPv6) and MLD) and other Layer 3 IPv6 multicast functions can be configured only after IPv6 multicast routing is enabled.

Precautions

The undo multicast ipv6 routing-enable command deletes all IPv6 multicast configurations of the device. If IPv6 multicast services are running on the device, the IPv6 multicast services are interrupted when this command is executed. To restore IPv6 multicast services on the instance, you must re-configure the corresponding commands.

Example

# Enable IPv6 multicast routing globally.

<HUAWEI> system-view
[HUAWEI] multicast ipv6 routing-enable

reset multicast ipv6 forwarding-table

Function

The reset multicast ipv6 forwarding-table command clears the entries of the IPv6 multicast forwarding table.

Format

reset multicast ipv6 forwarding-table all

reset multicast ipv6 forwarding-table { ipv6-group-address [ ipv6-group-mask-length ] | ipv6-source-address [ ipv6-source-mask-length ] | incoming-interface { interface-type interface-number | register } } *

Parameters

Parameter Description Value
all Resets all the multicast forwarding caches (MFCs) in the multicast forwarding table. -
ipv6-group-address Specifies the IPv6 address of a multicast group. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. An IPv6 multicast address starts with FF.
ipv6-group-mask-length Specifies the mask length of a multicast group address. The value is an integer that ranges from 8 to 128.
ipv6-source-address Specifies the IPv6 address of a multicast source. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.
ipv6-source-mask-length Specifies the mask length of a multicast source address. The value is an integer that ranges from 0 to 128.
incoming-interface Indicates the incoming interface of a forwarding entry. -
interface-type interface-number Specifies the type and number of an interface. -
register Indicates the register interface of IPv6 PIM. -

Views

User view

Default Level

3: Management level

Usage Guidelines

After you run this command to delete information from the IPv6 multicast forwarding table, multicast data will be interrupted for a period. Confirm the action before you use the command.

Example

# Delete all the IPv6 multicast forwarding entries.
<HUAWEI> reset multicast ipv6 forwarding-table all

reset multicast ipv6 routing-table

Function

The reset multicast ipv6 routing-table command clears the entries in the IPv6 multicast routing table. The corresponding forwarding entries in the forwarding table are deleted at the same time.

Format

reset multicast ipv6 routing-table all

reset multicast ipv6 routing-table { ipv6-group-address [ ipv6-group-mask-length ] | ipv6-source-address [ ipv6-source-mask-length ] | incoming-interface { interface-type interface-number | register } } *

Parameters

Parameter Description Value
all Resets all routing entries in the multicast core routing table. -
ipv6-group-address Specifies the IPv6 address of a multicast group. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. An IPv6 multicast address starts with FF.
ipv6-group-mask-length Specifies the mask length of an IPv6 multicast group address. The value is an integer that ranges from 8 to 128.
ipv6-source-address Specifies the IPv6 address of a multicast source. The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.
ipv6-source-mask-length Specifies the mask length of a multicast source address. The value is an integer that ranges from 0 to 128.
incoming-interface Indicates the incoming interface of a routing entry. -
interface-type interface-number Specifies the type and number of an interface. -
register Indicate the register interface of IPv6 PIM. -

Views

User view

Default Level

3: Management level

Usage Guidelines

After you run this command to delete information from the IPv6 multicast routing table, the matching entries in the IPv6 multicast forwarding table are also deleted. As a result, multicast forwarding will be interrupted for a period. Confirm the action before you use the command.

Example

# Delete the entries of the group FF02::101 from the IPv6 multicast routing table.

<HUAWEI> reset multicast ipv6 routing-table FF02::101

set multicast forwarding-table optimization-mode

Function

The set multicast forwarding-table optimization-mode command configures the multicast optimization mode in which the Layer 3 forwarding entries are stored on an LPU.

The undo set multicast forwarding-table optimization-mode command restores the default storage mode.

By default, an LPU uses the normal storage mode.

NOTE:

This command is not supported by X series and EE series cards.

Format

set multicast forwarding-table optimization-mode [ slot slot-id ]

undo set multicast forwarding-table optimization-mode [ slot slot-id ]

Parameters

Parameter Description Value
slot slot-id

slot-id specifies the slot of a specific LPU that uses the multicast optimization mode. If no slot ID is specified, storage modes of all LPUs are configured to be the multicast optimization mode.

The value is an integer and must be the slot ID of a running LPU.

Views

System view

Default Level

3: Management level

Usage Guidelines

Applicable Environment

In most cases, the Layer 3 forwarding entries are stored in normal mode. The ARP cache table, ND cache table, and multicast forwarding table share hardware resources, without affecting hardware resources allocated to the routing table.

This command optimizes storage resources of Layer 3 forwarding entries through preferential allocation of hardware resources preferentially to the multicast forwarding table. The ARP cache table, ND cache table, and routing table share hardware resources. Run this command if either of the following situations occurs:
  • A large number of ARP prefix entries and multicast forwarding entries exist in the system at the same time.
  • A large number of ND prefix entries and multicast forwarding entries exist in the system at the same time.

Precautions

Note the following points when running this command:
  • If the multicast optimization modes on all LPUs are configured or deleted, the system prompts the user to save the configurations and then restart the device. If the device configuration is not saved, the new storage mode does not take effect after the restart.
  • This function can be implemented on an IPv6 network only when LPUs with extended entry register are available. In addition, the storage mode of the register must be set to IPv6 mode. For details on how to configure the extended entry register, see assign resource-mode in "Device Management > Hardware Management".
When the user configures this mode or restores the default mode, the system will prompt the user to restart the device or a specified LPU. If the system receives no response, the configuration times out, and the system view is displayed. The system does not restart. The restart can cause the network to crash for a short period. In most cases, this command is not recommended.

Example

# Configure the storage mode to be the multicast optimization mode for all LPUs.

<HUAWEI> system-view
[HUAWEI] set multicast forwarding-table optimization-mode

set multicast forwarding-table super-mode

Function

The set multicast forwarding-table super-mode command configures the high specification mode for multicast forwarding. In the high specification mode, the number of multicast entries can reach the maximum value supported by the switch, which is much more than the default limit.

The undo set multicast forwarding-table super-mode command restores the default configuration.

By default, the common specification mode is used for multicast forwarding after Layer 3 multicast is configured. In this mode, the number of multicast entries cannot exceed the default limit defined on the switch.

Format

set multicast forwarding-table super-mode

undo set multicast forwarding-table super-mode

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After Layer 3 multicast is enabled, the common specification mode is used for multicast forwarding by default. This mode can meet requirements of most multicast service scenarios. In some large-scale multicast applications, a network has a large number of multicast sources to provide many channels for multicast users. In these applications, the number of multicast entries may exceed the default limit defined on a multicast device. When this occurs, some multicast entries cannot be generated. As a result, some users cannot receive the multicast data they request.

The set multicast forwarding-table super-mode command configures the high specification mode to increase the number of entries used for multicast forwarding. In high specification mode, the number of multicast entries supported by the switch is much larger than the default limit on the number of multicast entries. This mode maximizes a device's capability to support large-scale multicast applications.

Precautions

After you run this command:

  • Restart the switch for the configuration to take effect.
  • The default value of the IGMP general query interval changes from 60s to 120s. You can set the IGMP general query interval using the igmp timer query or timer query (IGMP view) command.
  • The default value of the IGMP robustness variable changes from 2 to 3. You can set the robustness variable using the igmp robust-count or robust-count (IGMP view) command.
  • The default value of the other querier present interval changes from 125s to 245s. You can set the other querier present interval using the igmp timer other-querier-present or timer other-querier-present (IGMP view) command.
  • The default value of the MLD robustness variable changes from 2 to 3. You can set the robustness variable using the mld robust-count or robust-count (MLD view) command.
  • The default interval for sending PIM-DM State-Refresh messages changes from 60s to 255s. On an IPv4 multicast network, run the state-refresh-interval (IPv4) command to set the interval for sending PIM-DM State-Refresh messages. On an IPv6 network, run the state-refresh-interval (IPv6) command to set the interval for sending PIM-DM State-Refresh messages.
  • The default interval for sending PIM Join-Prune messages changes from 210s to 300s. On an IPv4 multicast network, run the holdtime join-prune (IPv4) or pim holdtime join-prune command to set the interval for sending PIM Join-Prune messages. On an IPv6 network, run the holdtime join-prune (IPv6) or pim ipv6 holdtime join-prune command to set the interval for sending PIM Join-Prune messages.
  • Run the car command to change the rate limit for IGMP/MLD messages sent to the CPU according to the actual situations of multicast services.
  • More system resources are consumed in the high specification mode. If the number of multicast protocol packets sent to the switch increases sharply in a short time, the CPU usage of the switch becomes high.
  • It is recommended that you set the same general query interval on all the IGMP/MLD-enabled interfaces of a switch. For an IGMP-enabled interface, run the igmp timer query command in the interface view to set the general query interval. For an MLD-enabled interface, run the mld timer query command in the interface view to set the general query interval. This configuration prevents IGMP/MLD-enabled interfaces from sending Query messages at the same time, so that the switch does not have to process a large number of Report messages in a short time, which could cause a high CPU usage.
  • It is recommended that you disable software forwarding of multicast packets to reduce the CPU usage. On an IPv4 multicast network, run the multicast cpu-forward disable command. On an IPv6 multicast network, run the multicast ipv6 cpu-forward disable command.
  • If member interfaces of an Eth-trunk interface are located on LPUs that support different numbers of multicast forwarding entries, the maximum number of multicast forwarding entries supported by the Eth-Trunk interface depends on the LPU that supports the least number of multicast forwarding entries. Multicast forwarding entries supported by an Eth-Trunk interface meet either of the following conditions:
    • The outbound interface of the multicast forwarding entries is the Eth-Trunk interface that has been switched to the Layer 3 mode using the undo portswitch command.
    • The Eth-Trunk interface belongs to the VLANs corresponding to the VLANIF interfaces of the multicast forwarding entries.

Example

# Configure the high specification mode for multicast forwarding.

<HUAWEI> system-view
[HUAWEI] set multicast forwarding-table super-mode
Warning: This command will modify some default multicast settings and has limitations 
in a few special scenarios. Use the command according to product manual.Continue? [Y/N]:y

set multicast-hash-mode

Function

The set multicast-hash-mode command specifies a hash algorithm for multicast forwarding.

The undo multicast-hash-mode command restores the default hash algorithm for multicast forwarding.

By default, the crc-32-lower algorithm is used.

NOTE:

This command is not supported by X series cards.

Format

set multicast-hash-mode { crc-32-upper | crc-32-lower | lsb | crc-16-upper | crc-16-lower }

undo set multicast-hash-mode { crc-32-upper | crc-32-lower | lsb | crc-16-upper | crc-16-lower }

Parameters

Parameter Description
crc-32-upper

Indicates the hash algorithm based on high-order bits of CRC32.

crc-32-lower

Indicates the hash algorithm based on low-order bits of CRC32.

lsb

Indicates the hash algorithm based on the least significant bit of multicast IP addresses.

crc-16-upper

Indicates the hash algorithm based on high-order bits of CRC16.

crc-16-lower

Indicates the hash algorithm based on low-order bits of CRC16.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To improve multicast forwarding performance, the switch uses a hash algorithm to learn multicast addresses. If multiple addresses match a key value, a hash conflict occurs. A large number of hash conflicts will cause failures to learn some multicast addresses. When such a problem occurs, use an appropriate hash algorithm to reduce hash conflicts.

Precautions

An appropriate hash algorithm can reduce but not eliminate hash conflicts.

MAC addresses are distributed on a network randomly, so the system cannot determine the best hash algorithm. The default hash algorithm is the best algorithm in most cases, so changing the hash algorithm is not recommended.

After changing the hash algorithm, restart the switch for the configuration to take effect.

Example

# Set the hash algorithm for multicast forwarding to crc-32-upper.
<HUAWEI> system-view
[HUAWEI] set multicast-hash-mode crc-32-upper
Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178288

Views: 25355

Downloads: 109

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next