display link-aggregation load-sharing mode

Use display link-aggregation load-sharing mode to display global or group-specific link-aggregation load sharing modes.

Syntax

display link-aggregation load-sharing mode [ interface [ bridge-aggregation interface-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

bridge-aggregation: Specifies Layer 2 aggregate interfaces.

interface-number: Specifies an existing aggregate interface number.

Usage guidelines

If you do not specify the interface keyword, the command displays the global link-aggregation load sharing modes.

If you specify the interface keyword but do not specify an interface, the command displays all group-specific load sharing modes.

If you specify the bridge-aggregation interface-number option, the command displays the load sharing mode of the specified aggregation group.

The bridge-aggregation keyword is available only when Layer 2 aggregate interfaces exist on the device.

Examples

# Display the default global link-aggregation load sharing modes.

<Sysname> display link-aggregation load-sharing mode
MAC-in-MAC traffic load-sharing mode:
Default
Link-Aggregation Load-Sharing Algorithm:
Default
Link-Aggregation Load-Sharing Seed:
Default
Link-Aggregation Load-Sharing Mode:
Layer 2 traffic: packet type-based sharing
Layer 3 traffic: packet type-based sharing

# Display the set global link-aggregation load sharing mode.

<Sysname> display link-aggregation load-sharing mode
MAC-in-MAC traffic load-sharing mode:
inner
Link-Aggregation Load-Sharing Algorithm:
Algorithm 2
Link-Aggregation Load-Sharing Seed:
0x3ff
Link-Aggregation Load-Sharing Mode:
destination-mac address  source-mac address

# Display the default link-aggregation load sharing modes of Layer 2 aggregation group 10.

<Sysname> display link-aggregation load-sharing mode interface bridge-aggregation 10
Bridge-Aggregation10 Load-Sharing Mode:
Layer 2 traffic: packet type-based sharing
Layer 3 traffic: packet type-based sharing

# Display the set link-aggregation load sharing mode of Layer 2 aggregation group 10.

<Sysname> display link-aggregation load-sharing mode interface bridge-aggregation 10
Bridge-Aggregation10 Load-Sharing Mode:
destination-mac address  source-mac address

Table 21: Command output

Field

Description

MAC-in-MAC traffic load-sharing mode

Global load sharing mode for MAC-in-MAC traffic.

By default, this field displays Default. If you have set the global load sharing mode for MAC-in-MAC traffic, this field displays the set mode.

Link-Aggregation Load-Sharing Algorithm

Per-flow load sharing algorithm for Ethernet link aggregation.

By default, this field displays Default. If you have configured the load sharing algorithm, this field displays the configured algorithm.

Link-Aggregation Load-Sharing Seed

Per-flow load sharing algorithm seed for Ethernet link aggregation.

By default, this field displays Default. If you have configured the load sharing algorithm seed, this field displays the configured seed.

Link-Aggregation Load-Sharing Mode

Global link-aggregation load sharing mode.

  • By default, this field displays the link-aggregation load sharing modes for Layer 2 traffic and Layer 3 traffic.

  • If you have set the global link-aggregation load sharing mode, this field displays the set mode.

Bridge-Aggregation10 Load-Sharing Mode

Link-aggregation load sharing mode of Layer 2 aggregation group 10.

  • By default, this field displays the global link-aggregation load sharing modes.

  • If you have set a link-aggregation load sharing mode for this aggregation group, this field displays the set mode.

Layer 2 traffic: packet type-based sharing

Default link-aggregation load sharing mode for Layer 2 traffic. In this sample output, Layer 2 traffic is load shared based on the packet type.

Layer 3 traffic: packet type-based sharing

Default link-aggregation load sharing mode for Layer 3 traffic. In this sample output, Layer 3 traffic is load shared based on the packet type.

destination-mac address, source-mac address

User-configured link-aggregation load sharing mode. In this sample output, traffic is load shared based on source and destination MAC addresses.

Related commands

link-aggregation global load-sharing algorithm

link-aggregation global load-sharing mode

link-aggregation global load-sharing seed

link-aggregation load-sharing mode