- Table of Contents
-
- H3C S3600 Command Manual-Release 1602(V1.02)
- 00-1Cover
- 01-CLI Command
- 02-Login Command
- 03-Configuration File Management Command
- 04-VLAN Command
- 05-IP Address and Performance Command
- 06-Voice VLAN Command
- 07-GVRP Command
- 08-Port Basic Configuration Command
- 09-Link Aggregation Command
- 10-Port Isolation Command
- 11-Port Security-Port Binding Command
- 12-DLDP Command
- 13-MAC Address Table Management Command
- 14-Auto Detect Command
- 15-MSTP Command
- 16-Routing Protocol Command
- 17-Multicast Command
- 18-802.1x and System Guard Command
- 19-AAA Command
- 20-Web Authentication Command
- 21-MAC Address Authentication Command
- 22-VRRP Command
- 23-ARP Command
- 24-DHCP Command
- 25-ACL Command
- 26-QoS-QoS Profile Command
- 27-Web Cache Redirection Command
- 28-Mirroring Command
- 29-IRF Fabric Command
- 30-Cluster Command
- 31-PoE-PoE Profile Command
- 32-UDP Helper Command
- 33-SNMP-RMON Command
- 34-NTP Command
- 35-SSH Command
- 36-File System Management Command
- 37-FTP-SFTP-TFTP Command
- 38-Information Center Command
- 39-System Maintenance and Debugging Command
- 40-VLAN-VPN Command
- 41-HWPing Command
- 42-IPv6 Management Command
- 43-DNS Command
- 44-Smart Link-Monitor Link Command
- 45-Access Management Command
- 46-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Link Aggregation Command | 43.68 KB |
Table of Contents
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
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 Ethernet 1/0/1.
<Sysname> display link-aggregation interface Ethernet1/0/1
Ethernet1/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 Description on the fields of the display link-aggregation interface command
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 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 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.
<Sysname> 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 Ethernet1/0/2
2 M none 0 1 NonS Ethernet1/0/3
Table 1-2 Description on the fields of the display link-aggregation summary command
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 For a device belonging to an dynamic aggregation group or static aggregation group, if no LACP packet is received, the partner ID is displayed as 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, which ranges from 1 to 416 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.
<Sysname> 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: Manual, Loadsharing Type: NonS
Aggregation Description:
System ID: 0x8000, 000f-e214-000a
Port Status: S -- Selected, U -- Unselected
Local:
Port Status Priority Key Flag
--------------------------------------------------------------------------
Ethernet1/0/2 S 32768 1 {}
Ethernet1/0/3 U 32768 1 {}
Remote:
Actor Partner Priority Key SystemID Flag
--------------------------------------------------------------------------
Ethernet1/0/2 0 0 0 0x0000,0000-0000-0000 {}
Ethernet1/0/3 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 |
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.
Examples
# Display the device ID of the local system.
<Sysname> display lacp system-id
Actor System ID: 0x8000, 000f-e20f-0100
The value of the Actor System ID field is the device ID.
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 Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/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.
You can use the display link-aggregation verbose command or the display link-aggregation interface command to check the configuration result.
Examples
# Set the priority of Ethernet 1/0/1 to 64.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/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.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[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: Aggregation group ID, in the range of 1 to 416.
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.
You can use the display link-aggregation verbose command to check the configuration result.
Examples
# Set the description abc for aggregation group 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] 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 416.
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 the specified aggregation group.
Related commands: display link-aggregation summary.
Examples
# Create manual aggregation group 22
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[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: Aggregation group ID, in the range of 1 to 416.
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 Ethernet 1/0/1 to aggregation group 22.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/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.
<Sysname> reset lacp statistics