H3C WX3000 Series Unified Switches Switching Engine Command Reference-6W103

HomeSupportWirelessH3C WX3000 Series Unified SwitchesReference GuidesCommand ReferencesH3C WX3000 Series Unified Switches Switching Engine Command Reference-6W103
09-Link Aggregation Command
Title Size Download
09-Link Aggregation Command 43.26 KB

Link Aggregation Configuration Commands

display link-aggregation interface

Syntax

display link-aggregation interface interface-type interface-number [ to interface-type interface-number ]

View

Any view

Parameters

interface-type: Port type.

interface-number: Port number.

to: Specifies a port index range, with the two interface-type interface-number argument pairs around it as the two ends.

Description

Use the display link-aggregation interface command to display the link aggregation details about a specified port or port range.

Note that as ports in a manual link aggregation groups do not acquire the information about their peers automatically, so the entries in the information about the peer ports displayed are all 0 instead of the actual values.

Examples

# Display the link aggregation details on GigabitEthernet 1/0/1.

<device> display link-aggregation interface GigabitEthernet 1/0/1

 

 GigabitEthernet1/0/1:

   Selected AggID: 1

   Local:

     Port-Priority: 32768, Oper key: 2, Flag: 0x45

   Remote:

     System ID: 0x8000, 0000-0000-0000

     Port Number: 0, Port-Priority: 32768 , Oper-key: 0, Flag: 0x38

   Received LACP Packets: 0 packet(s), Illegal: 0 packet(s)

   Sent LACP Packets: 0 packet(s)

Table 1-1 display link-aggregation interface command output description

Field

Description

Selected AggID

ID of the aggregation group to which the specified port belongs

Local

Information about the local end

Port-Priority

Port priority

Oper key

Operation key

Flag

Protocol status flag

Remote

Information about the remote end

System ID

Remote device ID

Port number

Port number

Received LACP Packets: 0 packet(s), Illegal: 0 packet(s)

Sent LACP Packets: 0 packet(s)

Statistics about LACP packets

 

display link-aggregation summary

Syntax

display link-aggregation summary

View

Any view

Parameters

None

Description

Use the display link-aggregation summary command to display summary information of all aggregation groups.

Note that as ports in a manual link aggregation groups do not acquire the information about their peers automatically, so the entries in the information about the peer ports displayed are all 0 instead of the actual values.

Examples

# Display summary information of all aggregation groups.

<device> display link-aggregation summary

 

Aggregation Group Type:D -- Dynamic, S -- Static , M -- Manual

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Actor ID: 0x8000, 000f-e20f-5104

 

  AL  AL   Partner ID            Select Unselect Share Master

  ID  Type                       Ports  Ports     Type  Port

--------------------------------------------------------------------------

  1   S    0x8000,0000-0000-0000 0      1        NonS  GigabitEthernet1/0/2

  2   M    none                  0      1        NonS  GigabitEthernet1/0/3

Table 1-2 display link-aggregation summary command output description

Field

Description

Aggregation Group Type

Aggregation group type: D for dynamic, S for static, and M for manual

Loadsharing Type

Load sharing type: Shar for load sharing and NonS for non-load sharing

Actor ID

Local device ID

AL ID

Aggregation group ID

AL Type

Aggregation group type: D (dynamic), S (static), or M (manual)

Partner ID

ID of the remote device, including the system priority and system MAC address of the remote device (in the dynamic or static aggregation group, if the LACP protocol is disabled on the remote port of the logical master port, the partner ID displays 0x8000,0000-0000-0000 )

Select Ports

Number of the selected ports

Unselect Ports

Number of the unselected ports

Share Type

Load sharing type: Shar (load-sharing), or NonS (non-load-sharing)

Master Port

the smallest port number in an aggregation group

 

display link-aggregation verbose

Syntax

display link-aggregation verbose [ agg-id ]

View

Any view

Parameters

agg-id: Aggregation group ID to be displayed, which ranges from 1 to 12 and must be the ID of an existing aggregation group.

Description

Use the display link-aggregation verbose command to display the details about a specified aggregation group or all aggregation groups.

Note that as ports in a manual link aggregation groups do not acquire the information about their peers automatically, so the entries in the information about the peer ports displayed are all 0 instead of the actual values.

Examples

# Display the details about aggregation group 1.

<device> display link-aggregation verbose 1

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,

        D -- Synchronization, E -- Collecting, F -- Distributing,

        G -- Defaulted, H -- Expired

 

Aggregation ID: 1,  AggregationType: Static,   Loadsharing Type: NonS

Aggregation Description: abc

System ID: 0x16, 0012-a990-2240

Port Status: S -- Selected,  U -- Unselected

Local:

Port                     Status  Priority  Key    Flag

-------------------------------------------------------------------------

GigabitEthernet1/0/4            S       32768     2      {ACDEFG}

GigabitEthernet1/0/5            U       32768     2      {ACG}

 

Remote:

Actor                    Partner Priority Key   SystemID              Flag

--------------------------------------------------------------------------

GigabitEthernet1/0/4  0         32768    0     0x8000,0000-0000-0000 {DEF}

GigabitEthernet1/0/5  0         32768    0     0x8000,0000-0000-0000 {DEF}

Table 1-3 display link-aggregation verbose command output description

Field

Description

Loadsharing Type

Loadsharing type, including Loadsharing and Non-Loadsharing

Flags

Flag types of LACP

Aggregation ID

Aggregation group ID

Aggregation Description

Aggregation group description string

AggregationType

Aggregation group type

System ID

Device ID

Port Status

Port status, including selected and unselected

 

display lacp system-id

Syntax

display lacp system-id

View

Any view

Parameters

None

Description

Use the display lacp system-id command to display the device ID of the local system, including the system priority and the MAC address.

Related commands: link-aggregation.

Examples

# Display the device ID of the local system.

<device> display lacp system-id

 Actor System ID: 0x8000, 000f-e20f-0100

The Actor System ID field is the device ID (consisting of the system priority and the system MAC address) of the local system.

lacp enable

Syntax

lacp enable

undo lacp enable

View

Ethernet port view

Parameters

None

Description

Use the lacp enable command to enable LACP on the current port.

Use the undo lacp enable command to disable LACP.

By default, LACP is disabled on a port.

Examples

# Enable the LACP protocol on GigabitEthernet 1/0/1.

<device> system-view

System View: return to User View with Ctrl+Z.

[device] interface GigabitEthernet 1/0/1

[device-GigabitEthernet1/0/1] lacp enable

lacp port-priority

Syntax

lacp port-priority port-priority

undo lacp port-priority

View

Ethernet port view

Parameters

port-priority: Port priority, ranging from 0 to 65,535.

Description

Use the lacp port-priority command to set the priority of the current port.

Use the undo lacp port-priority command to restore the default port priority.

By default, the port priority is 32,768.

Related commands: display link-aggregation verbose, and display link-aggregation interface.

Examples

# Set the priority of GigabitEthernet 1/0/1 to 64.

<device> system-view

System View: return to User View with Ctrl+Z.

[device] interface GigabitEthernet 1/0/1

[device-GigabitEthernet1/0/1] lacp port-priority 64

lacp system-priority

Syntax

lacp system-priority system-priority

undo lacp system-priority

View

System view

Parameters

system-priority: System priority, ranging from 0 to 65,535.

Description

Use the lacp system-priority command to set the system priority.

Use the undo lacp system-priority command to restore the default system priority.

By default, the system priority is 32,768.

Examples

# Set the system priority to 64.

<device> system-view

System View: return to User View with Ctrl+Z.

[device] lacp system-priority 64

link-aggregation group description

Syntax

link-aggregation group agg-id description agg-name

undo link-aggregation group agg-id description

View

System view

Parameters

agg-id: Aggregation group ID, in the range of 1 to 12.

agg-name: Aggregation group name, a string of 1 to 32 characters.

Description

Use the link-aggregation group description command to set a description for an aggregation group.

Use the undo link-aggregation group description command to remove the description of an aggregation group.

 

If you have saved the current configuration with the save command, after system reboot, the configuration concerning manual and static aggregation groups and their descriptions still exists, but that of the dynamic aggregation groups and their descriptions gets lost.

 

Related commands: display link-aggregation verbose.

Examples

# Set the description "abc" for aggregation group 1.

<device> system-view

System View: return to User View with Ctrl+Z.

[device] link-aggregation group 1 description abc

link-aggregation group mode

Syntax

link-aggregation group agg-id mode { manual | static }

undo link-aggregation group agg-id

View

System view

Parameters

agg-id: Aggregation group ID, in the range of 1 to 12.

manual: Creates a manual aggregation group.

static: Creates a static aggregation group.

Description

Use the link-aggregation group mode command to create a manual or static aggregation group.

Use the undo link-aggregation group command to remove an aggregation group.

Related commands: display link-aggregation summary.

Examples

# Create manual aggregation group 22

<device> system-view

System View: return to User View with Ctrl+Z.

[device] link-aggregation group 22 mode manual

port link-aggregation group

Syntax

port link-aggregation group agg-id

undo port link-aggregation group

View

Ethernet port view

Parameters

agg-id: Aggregation group ID, in the range of 1 to 12.

Description

Use the port link-aggregation group command to add the current Ethernet port to a manual or static aggregation group.

Use the undo port link-aggregation group command to remove the current Ethernet port from the aggregation group.

Related commands: display link-aggregation verbose.

Examples

# Add GigabitEthernet 1/0/1 to aggregation group 22.

<device> system-view

System View: return to User View with Ctrl+Z.

[device] interface GigabitEthernet 1/0/1

[device-GigabitEthernet1/0/1] port link-aggregation group 22

reset lacp statistics

Syntax

reset lacp statistics [ interface interface-type interface-number [ to interface-type interface-number ] ]

View

User view

Parameters

interface-type: Port type

interface-number: Port number

to: Specifies a port index range, with the two interface-type interface-number argument pairs around it as the two ends.

Description

Use the reset lacp statistics command to clear LACP statistics on specified port(s), or on all ports if no port is specified.

Related commands: display link-aggregation interface.

Examples

# Clear LACP statistics on all Ethernet ports.

<device> reset lacp statistics

 

  • 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
新华三官网