- Table of Contents
-
- H3C WX6103 Access Controller Switch Interface Board Command Reference-6W102
- 00-Preface
- 01-Login Commands
- 02-VLAN Commands
- 03-IP Addressing and IP Performance Commands
- 04-QinQ-BPDU Tunneling Commands
- 05-Port Correlation Commands
- 06-Link Aggregation Commands
- 07-MAC Address Table Management Commands
- 08-Port Security Commands
- 09-MSTP Commands
- 10-IP Routing-GR Overview Commands
- 11-IPv4 Routing Commands
- 12-IP Source Guard Commands
- 13-DLDP Commands
- 14-Multicast Commands
- 15-LLDP Commands
- 16-sFlow Commands
- 17-ARP Commands
- 18-DHCP Commands
- 19-ACL Commands
- 20-QoS Commands
- 21-Port Mirroring Commands
- 22-UDP Helper Commands
- 23-SNMP-RMON Commands
- 24-NTP Commands
- 25-DNS Commands
- 26-File System Management Commands
- 27-Information Center Commands
- 28-System Maintaining and Debugging Commands
- 29-NQA Commands
- 30-SSH Commands
- 31-SSL-HTTPS Commands
- 32-PKI Commands
- 33-Track Commands
- 34-Index
- Related Documents
-
Title | Size | Download |
---|---|---|
06-Link Aggregation Commands | 53.74 KB |
1 Link Aggregation Configuration Commands
Link Aggregation Configuration Commands
display link-aggregation interface
display link-aggregation summary
display link-aggregation verbose
link-aggregation group description
The term switch in this document refers to a switch in a generic sense or an access controller configured with the switching function unless otherwise specified.
Link Aggregation Configuration Commands
display lacp system-id
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
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 0/0/1 in a manual aggregation group.
<Sysname> display link-aggregation interface GigabitEthernet 0/0/1
Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
GigabitEthernet0/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 0/0/2 in a static aggregation group.
<Sysname> display link-aggregation interface GigabitEthernet 0/0/2
Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
GigabitEthernet0/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 |
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 GigabitEthernet0/0/2
20 S 0x8000,0000-fcff-ff01 1 0 NonS GigabitEthernet0/0/3
Table 1-2 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 |
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
-------------------------------------------------------------------------- GE0/0/8 U 32768 1 {}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
-------------------------------------------------------------------------- GE0/0/8 0 0 0 0x0000,0000-0000-0000 {}
Table 1-3 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 |
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 0/0/1
[Sysname-GigabitEthernet0/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 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
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
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.
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
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).
Use the undo port link-aggregation group command to remove the Ethernet port from the specified aggregation group.
Related commands: display link-aggregation verbose.
Examples
# Add port GigabitEthernet 0/0/1 to link aggregation group 22.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/0/1
[Sysname-GigabitEthernet0/0/1] port link-aggregation group 22
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]
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