- Table of Contents
-
- H3C S3100-52P Ethernet Switch Command Manual-Release 1500(V1.01)
- 00-1Cover
- 01-CLI Command
- 02-Login Command
- 03-Configuration File Management Command
- 04-VLAN Command
- 05-IP Address and Performance Confiugration Command
- 07-GVRP Command
- 08-Port Basic Configuration Command
- 09-Link Aggregation Command
- 10-Port Isolation Command
- 11-DLDP Command
- 12-MAC Address Table Command
- 13-MSTP Command
- 14-Multicast Command
- 15-Routing Protocol Command
- 16-802.1x Command
- 17-AAA-RADIUS-HWTACACS Command
- 18-Centralized MAC Address Authentication Command
- 19-DHCP Command
- 20-ARP Command
- 21-ACL Command
- 22-QoS Command
- 23-Mirroring Command
- 24-Cluster Command
- 25-SNMP and RMON Command
- 26-NTP Command
- 27-SSH Terminal Service Command
- 28-File System Management Command
- 29-FTP and TFTP Command
- 30-Information Center Command
- 31-System Maintenance and Debugging Command
- 32-VLAN VPN Command
- 33-HWPing Command
- 34-DNS Command
- 35-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Link Aggregation Command | 69 KB |
Table of Contents
Chapter 1 Link Aggregation Configuration Commands
1.1 Link Aggregation Configuration Commands
1.1.1 display link-aggregation interface
1.1.2 display link-aggregation summary
1.1.3 display link-aggregation verbose
1.1.8 link-aggregation group agg-id description
1.1.9 link-aggregation group agg-id mode
1.1.10 port link-aggregation group
Chapter 1 Link Aggregation Configuration Commands
1.1 Link Aggregation Configuration Commands
1.1.1 display link-aggregation interface
Syntax
display link-aggregation interface interface-type interface-number [ to interface-type interface-number ]
View
Any view
Parameter
interface-type: Port type.
interface-number: Port number.
to: Specifies a group of contiguous ports..
Description
Use the display link-aggregation interface command to display the link aggregation details about a specified port or port range, including:
l Link aggregation group ID, port priority, operation key and protocol status flag of the port at the local end;
l Device ID, port number, port priority, operation key and protocol status flag at the remote end, and,
l LACP protocol packet statistics.
Note that, for a manual aggregation group, value 0 is displayed for all the above items of the remote end (which does not indicate the real information of the remote end), since information about the remote end cannot be obtained for a manual aggregation group.
Example
# Display the link aggregation details on Ethernet1/0/1.
<H3C> 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 LACP packets |
1.1.2 display link-aggregation summary
Syntax
display link-aggregation summary
View
Any view
Parameter
None
Description
Use the display link-aggregation summary command to display summary information of all aggregation groups, including device ID of the local end, aggregation group ID, aggregation group type, device ID of the remote end, number of the selected ports, number of the unselected ports, load sharing type and master port number.
Example
# Display summary information of all aggregation groups.
<H3C> display link-aggregation summary
Aggregation Group Type:D -- Dynamic, S -- Static , M -- Manual
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor ID: 0x8000, 00e0-fc00-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 |
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 |
Number of the master port |
1.1.3 display link-aggregation verbose
Syntax
display link-aggregation verbose [ agg-id ]
View
Any view
Parameter
agg-id: Aggregation group ID to be displayed, 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, including:
l Aggregation group ID, aggregation group type, load sharing type, aggregation group description string, and device ID;
l Local end details: local port, port status, port priority, operation key and protocol status flag;
l Remote end details: local port, remote port index, remote port priority, operation key, device ID and protocol status flag.
Note that, for a manual aggregation group, value 0 is displayed for all the above items of the remote end (which does not indicate the real information of the remote end), since information about the remote end cannot be obtained for a manual aggregation group.
Example
# Display the details about aggregation group 1.
<H3C> 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
-------------------------------------------------------------------------
Ethernet1/0/4 S 32768 2 {ACDEFG}
Ethernet1/0/5 U 32768 2 {ACG}
Remote:
Actor Partner Priority Key SystemID Flag
--------------------------------------------------------------------------
Ethernet1/0/4 0 32768 0 0x8000,0000-0000-0000 {DEF}
Ethernet1/0/5 0 32768 0 0x8000,0000-0000-0000 {DEF}
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 |
1.1.4 display lacp system-id
Syntax
display lacp system-id
View
Any view
Parameter
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 command: link-aggregation.
Example
# Display the device ID of the local system.
<H3C> display lacp system-id
Actor System ID: 0x8000, 00e0-fc00-0100
Table 1-4 Description on the fields of the display lacp system-id command
Field |
Description |
Actor System ID |
Device ID of the local system, including the system priority and the system MAC address |
1.1.5 lacp enable
Syntax
lacp enable
undo lacp enable
View
Ethernet port view
Parameter
None
Description
Use the lacp enable command to enable the LACP protocol.
Use the undo lacp enable command to disable the LACP protocol.
Example
# Enable the LACP protocol on Ethernet1/0/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/0/1] lacp enable
1.1.6 lacp port-priority
Syntax
lacp port-priority port-priority
undo lacp port-priority
View
Ethernet port view
Parameter
port-priority: Port priority, ranging from 0 to 65,535 and defaulting to 32,768.
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.
Related command: display link-aggregation verbose, and display link-aggregation interface.
Example
# Set the priority of Ethernet1/0/1 to 64.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/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
Parameter
system-priority: System priority, ranging from 0 to 65,535 and defaulting to 32,768.
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.
Example
# Set the system priority to 64.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] lacp system-priority 64
1.1.8 link-aggregation group agg-id description
Syntax
link-aggregation group agg-id description agg-name
undo link-aggregation group agg-id description
View
System view
Parameter
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 agg-id description command to set a description for an aggregation group.
Use the undo link-aggregation group agg-id description command to remove the description of the aggregation group.
& Note:
If you have saved the current configuration with the save command, after system reboot, the manual and static aggregation groups and their descriptions still exist, but the dynamic aggregation groups and their descriptions disappear.
Related command: display link-aggregation verbose.
Example
# Set the description "abc" for aggregation group 1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] link-aggregation group 1 description abc
1.1.9 link-aggregation group agg-id mode
Syntax
link-aggregation group agg-id mode { manual | static }
undo link-aggregation group agg-id
View
System view
Parameter
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 agg-id mode command to create a manual or static aggregation group.
Use the undo link-aggregation group command to remove an aggregation group.
Related command: display link-aggregation summary.
Example
# Create manual aggregation group 22
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] link-aggregation group 22 mode manual
1.1.10 port link-aggregation group
Syntax
port link-aggregation group agg-id
undo port link-aggregation group
View
Ethernet port view
Parameter
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 command: display link-aggregation verbose.
Example
# Add Ethernet 1/0/1 to aggregation group 22.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/0/1] port link-aggregation group 22
1.1.11 reset lacp statistics
Syntax
reset lacp statistics [ interface interface-type interface-number [ to interface-type interface-number ] ]
View
User view
Parameter
interface-type: Port type
interface-number: Port number
to: Specifies a group of contiguous ports.
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 command: display link-aggregation interface.
Example
# Clear LACP statistics on all Ethernet ports.
<H3C> reset lacp statistics