H3C S5500-EI Series Switches Command Manual-Release 2102(V1.01)

HomeSupportSwitchesH3C S5500 Switch SeriesReference GuidesCommand ReferencesH3C S5500-EI Series Switches Command Manual-Release 2102(V1.01)
06-Link Aggregation Commands
Title Size Download
06-Link Aggregation Commands 56 KB

Chapter 1  Link Aggregation Configuration Commands

1.1  Link Aggregation Configuration Commands

1.1.1  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 local system ID (also called the actor system ID), which comprises the system LACP priority and the system MAC address.

Examples

# Display the local system ID.

<Sysname> display lacp system-id

 Actor System ID: 0x8000, 0000-fc00-0100

1.1.2  display link-aggregation interface

Syntax

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

View

Any view

Parameters

interface interface-type interface-number [ to interface-type interface-number ]: Specifies a port range or a port if the to keyword and the second port are not specified.

Description

Use the display link-aggregation interface command to display detailed information about link aggregation for the specified port or ports.

You may find that information about the remote system is replaced by 0 and no statistics about LACPDUs are provided for manual link aggregation groups. This is normal because this type of aggregation group has no knowledge of its partner and does not use LACP PDUs for maintaining link aggregation.

Examples

# Display detailed information about link aggregation for port GigabitEthernet 1/0/1 in a manual aggregation group.

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

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

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

         G -- Defaulted, H -- Expired

 

 GigabitEthernet1/0/1:

   Selected AggID: 1

   Local:

     Port-Priority: 32768, Oper key: 1, Flag: {}

   Remote:

     System ID: 0x0, 0000-0000-0000

     Port Number: 0, Port-Priority: 0, Oper-key: 0, Flag: {}

# Display detailed information about link aggregation for port GigabitEthernet 1/0/2 in a static aggregation group.

<Sysname> display link-aggregation interface GigabitEthernet 1/0/2

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

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

         G -- Defaulted, H -- Expired

 

GigabitEthernet1/0/2:

   Selected AggID: 20

   Local:

     Port-Priority: 32768, Oper key: 2, Flag: {ACDEF}

   Remote:

     System ID: 0x8000, 000e-84a6-fb00

     Port Number: 2, Port-Priority: 32768 , Oper-key: 10, Flag: {ACDEF}

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

   Sent LACP Packets: 9 packet(s)

Table 1-1 Description on the fields of the display link-aggregation interface command

Field

Description

Flags

One-octet LACP state flags field. From the least to the most significant bit, they are represented by A through H as follows:

l      A indicates whether LACP is enabled, 1 for enabled and 0 for disabled.

l      B indicates the timeout control value, 1 for short timeout, and 0 for long timeout.

l      C indicates whether the sending system considers this link to be aggregatable, 1 for true, and 0 for false.

l      D indicates whether the sending system considers that this link is synchronized, 1 for true, and 0 for false.

l      E indicates whether the sending end considers that collection of incoming frames is enabled on the link, 1 for true and 0 for false.

l      F indicates whether the sending system considers that distribution of outgoing frames is enabled on the link, 1 for true and 0 for false.

l      G indicates whether the receive state machine of the sending system is using default operational partner information, 1 for true and 0 for false.

l      H indicates whether the receive state machine of the sending system is in the expired state, 1 for true and 0 for false.

If a flag bit is set to 1, the corresponding English letter that otherwise is not output displays.  

Selected AggID

ID of the link aggregation group of which this port is a member

Local:

Port-Priority, Oper key, Flag

Local port LACP priority, operational key, LACP state flag

Remote:

System ID, Port Number, Port-Priority, Oper-key, Flag

Remote system ID, port number, port LACP priority, operational key, and LACP state flag

Received LACP Packets, Illegal, Sent LACP Packets

Statistics about received, invalid, and sent LACP packets

 

1.1.3  display link-aggregation service-type

Syntax

display link-aggregation service-type [ agg-id ]

View

Any view

Parameters

agg-id: ID of an existing service loop group.

Description

Use the display link-aggregation service-type command to display information about the specified service loop groups.

If no aggregation group is specified, information about all service loop groups is displayed.

Examples

# Display information about service loop group 1.

<Sysname> display link-aggregation service-type 1

 Service-Loop         Service                    Quote

   Group ID            Type                      Number

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

     1                tunnel                          0

Table 1-2 Description on the fields of the display link-aggregation service-type command

Field

Description

Service-Loop Group ID

Service loop group ID

Service Type

Service type supported by the group

Quote Number

Reference count for the service loop group. Only after it decreases to zero can you remove the group.

 

1.1.4  display link-aggregation summary

Syntax

display link-aggregation summary

View

Any view

Parameters

None

Description

Use the display link-aggregation summary command to display a summary for all link aggregation groups.

You may find that information about the remote system for a manual link aggregation group is either replaced by none or not displayed at all. This is normal because this type of aggregation group has no knowledge of its partner.

Examples

# Display the link aggregation group summary.

<Sysname> display link-aggregation summary

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

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

Actor ID: 0x8000, 0000-fcff-ff04

 

  AL AL Partner ID           Select    Unselect    Share   Master

  ID Type                     Ports Ports   Type        Port

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

  10 M  none                  1        0       NonS        GigabitEthernet1/0/2

  20 S  0x8000,0000-fcff-ff01 1        0       NonS        GigabitEthernet1/0/3

Table 1-3 Description on the fields of the display link-aggregation summary command

Field

Description

Aggregation Group Type

Aggregation group type.

l      S: static LACP aggregation

l      M: manual aggregation

Loadsharing Type

Load sharing type

Actor ID

Local system ID

AL ID

Link aggregation group ID

AL Type

Link aggregation type

Partner ID

Remote system ID

Select Ports

Number of selected ports

Unselect Ports

Number of unselected ports

Share Type

Load sharing type

Master Port

Master port

 

1.1.5  display link-aggregation verbose

Syntax

display link-aggregation verbose [ agg-id ]

View

Any view

Parameters

agg-id: ID of an existing link aggregation group.

Description

Use the display link-aggregation verbose command to display detailed information about the specified or all link aggregation groups.

You may find that information about the remote system for a manual link aggregation group is either replaced by none or not displayed at all. This is normal because this type of aggregation group has no knowledge of its partner.

Examples

# Display detailed information about all the link aggregation groups.

<Sysname> display link-aggregation verbose

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: Manual,   Loadsharing Type: NonS

Aggregation Description:

System ID: 0x8000, 00fc-1111-bcef

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

Local:

  Port             Status  Priority  Oper-Key  Flag

--------------------------------------------------------------------------  GE1/0/8            U       32768     1         {}

 

Remote:

  Actor            Partner Priority  Oper-Key  SystemID               Flag

--------------------------------------------------------------------------  GE1/0/8            0       0         0         0x0000,0000-0000-0000  {}

Table 1-4 Description on the fields of the display link-aggregation verbose command

Field

Description

Loadsharing Type

Load sharing type, either shar for load sharing or NonS for non-load sharing

Flags

One-octet LACP flags field indicates the actor state variables for the port. From the least to the most significant bit, they are represented by A through H as follows:

l      A indicates the enabling/disabling state of LACP, 1 for enabled and 0 for disabled

l      B indicates the timeout control value, 1 for short timeout, and 0 for long timeout

l      C indicates whether the sending system considers this link to be aggregatable, 1 for true, and 0 for false

l      D indicates whether the sending system considers that this link is synchronized, 1 for true, and 0 for false

l      E indicates whether the sending system considers that collection of incoming frames is enabled on the link, 1 for true and 0 for false

l      F indicates whether the sending system considers that distribution of outgoing frames is enabled on the link, 1 for true and 0 for false

l      G indicates whether the receive state machine of the sending system is using default operational partner information, 1 for true and 0 for false

l      H indicates whether the receive state machine of the sending system is in the expired state, 1 for true and 0 for false

If a flag bit is set to 1, the corresponding English letter that otherwise is not output displays.

Aggregation ID

Link aggregation group ID

AggregationType

Link aggregation type: manual or static LACP.

Aggregation Description

Link aggregation group name

System ID

Local system ID

Port Status

Port state in a link aggregation group: selected or unselected

Local:

Port, Status, Priority, Oper-key, Flag

Other information about the local end, including member ports, port state, port LACP priority, operational key, and flags

Remote:

Actor, Partner, Priority, Oper-key, SystemID, Flag

Detailed information about the remote end, including corresponding local port, port ID, port LACP priority, operational key, system ID, and flags

 

1.1.6  lacp port-priority

Syntax

lacp port-priority port-priority

undo lacp port-priority

View

Ethernet port view

Parameters

port-priority: Port LACP priority, in the range 0 to 65535.

Description

Use the lacp port-priority command to assign an LACP priority to the port.

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

By default, port LACP priority is 32768.

Examples

# Assign LACP priority 64 to a port.

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

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

1.1.7  lacp system-priority

Syntax

lacp system-priority system-priority

undo lacp system-priority

View

System view

Parameters

system-priority: System LACP priority, in the range 0 to 65535.

Description

Use the lacp system-priority command to assign an LACP priority to the local system.

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

By default, system LACP priority is 32768.

Examples

# Assign LACP priority 64 to the local system.

<Sysname> system-view

[Sysname] lacp system-priority 64

1.1.8  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: Link aggregation group ID.

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

Description

Use the link-aggregation group description command to configure a name for the specified link aggregation group.

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

Related commands: display link-aggregation verbose.

Examples

# Name link aggregation group 22 as abc.

<Sysname> system-view

[Sysname] link-aggregation group 22 description abc

1.1.9  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: Link aggregation group ID.

manual: Creates a manual link aggregation group.

static: Creates a static LACP link aggregation group.

Description

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

Use the undo link-aggregation group command to remove a link aggregation group. If the group is functioning as a service loop group, this can result in the removal of the service loop group.

An aggregation group currently being referenced by other modules cannot be removed.

Related commands: display link-aggregation summary.

Examples

# Create manual link aggregation group 22.

<Sysname> system-view

[Sysname] link-aggregation group 22 mode manual

1.1.10  link-aggregation group service-type

Syntax

link-aggregation group agg-id service-type tunnel

undo link-aggregation group agg-id service-type

View

System view

Parameters

agg-id: Link aggregation group ID.

tunnel: Sets the service type to tunnel.

Description

Use the link-aggregation group service-type command to configure a manual aggregation group as a service loop group that is of specific type.

Use the undo link-aggregation group service-type command to change a service loop group back to a common manual aggregation group.

 

&  Note:

You can remove an existing service loop group using the undo link-aggregation group command. However, service loop groups currently referenced by modules cannot be removed.

 

Examples

# Configure link aggregation group 5 as a tunnel service loop group.

<Sysname> system-view

[Sysname] link-aggregation group 5 service-type tunnel

1.1.11  port link-aggregation group

Syntax

port link-aggregation group agg-id

undo port link-aggregation group

View

Ethernet port view

Parameters

agg-id: Link aggregation group ID.

Description

Use the port link-aggregation group command to add the Ethernet port to the specified link aggregation group (manual or static LACP) or service loop group.

Use the undo port link-aggregation group command to remove the Ethernet port from the specified aggregation group or service loop group.

Related commands: display link-aggregation verbose.

Examples

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

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/1

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

1.1.12  port-group aggregation

Syntax

port-group aggregation agg-id

View

System view

Parameters

agg-id: Aggregation port group ID, same as the ID of its corresponding link aggregation group.

Description

Use the port-group aggregation command to enter aggregation port group view.

Instead of being created administratively, an aggregation port group is created automatically upon creation of a link aggregation group and assigned the ID of the link aggregation group. In aggregation port group view, you can configure aggregation related settings such as STP, VLAN, QoS, GVRP, Q-in-Q, BPDU tunnel, and MAC address learning, but cannot add or remove member ports.

Examples

# Enter aggregation port group view.

<Sysname> system-view

[Sysname] port-group aggregation 10

[Sysname-port-group-aggregation-10]

1.1.13  reset lacp statistics

Syntax

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

View

User view

Parameters

interface interface-type interface-number [ to interface-type interface-number ]: Specifies an interface range or an interface if the to keyword and the second interface are not specified.

Description

Use the reset lacp statistics command to clear statistics about LACP on a specified port or ports.

Related commands: display link-aggregation interface.

Examples

# Clear statistics about LACP on all ports.

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