Syntax
display link-aggregation interface interface-type interface-num [ to
interface-type interface-num ]
View
Any view
Parameter
interface-type: Port type.
interface-num: Port number.
to:
Specifies a port range.
Description
Use the display link-aggregation
interface command to display the link aggregation details about a specified
port or port range, including link aggregation group ID, port priority,
operation key and status flag of the local end, device ID, port number, port
priority, operation key and status flag of the remote end.
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
the Ethernet1/0/1 port.
<H3C> display link-aggregation
interface ethernet1/0/1
Ethernet1/0/1:
Selected AggID: 2
Local:
Port-Priority: 32768, Oper key:
1, Flag: 0x00
Remote:
System ID: 0x0, 0000-0000-0000
Port Number: 0, Port-Priority: 0,
Oper-key: 0, Flag: 0x00
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:
Port-Priority: 32768, Oper key: 1,
Flag: 0x00
|
Port priority, operation key and status
flag of the local end
|
|
Remote:
System ID: 0x0, 0000-0000-0000
Port Number: 0, Port-Priority: 0 , Oper-key:
0, Flag: 0x00
|
Device ID, MAC address, port number, port
priority, operation key and status flag of the remote end
|
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, aggregation group ID and aggregation group type of the local end,
device ID, number of selected ports, number of unselected ports, load sharing
type and master port number of the remote end.
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, 000f-e20f-1234
AL AL Partner ID Select Unselect Share Master
ID Type Ports Ports Type Port
-------------------------------------------------------------------
1 M none 1 0 NonS Ethernet1/0/1
Table 1-2 Description on the fields of
the display link-aggregation summary command
|
Field
|
Description
|
|
Actor ID: 0x8000, 000f-e20f-1234
|
Device ID and MAC address of the local
end
|
|
AL ID
|
Aggregation group ID
|
|
AL Type
|
Aggregation group type, with M standing
for manual
|
|
Partner ID
|
Device ID and MAC address of the remote
end
|
|
Select Ports
|
Number of the selected ports
|
|
Unselect Ports
|
Number of the unselected ports
|
|
Share Type
|
Load sharing type, which can be: Shar (load-sharing),
or NonS (non-load-sharing)
|
|
Master Port
|
Number of the master port
|
Syntax
display link-aggregation verbose [ agg-id ]
View
Any view
Parameter
agg-id:
Aggregation group ID, which ranges from 1 to 26 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, including
aggregation group ID, aggregation group type, load sharing type, aggregation
group description, local end details (device ID, member ports, port status,
port priority, LACP status flag and operation key) and remote end details
(local end port, the port index and port priority of the remote end, status
flag, operation key and device ID).
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:
Manual, Loadsharing Type: NonS
Aggregation Description:abc
System ID: 0x8000, 000f-e20f-1234
Port Status: S -- Selected, U --
Unselected
Local:
Port Status
Priority Key Flag
--------------------------------------------------------------------------
Ethernet1/0/2 U
32768 1 {}
Remote:
Actor Partner
Priority Key SystemID Flag
--------------------------------------------------------------------------
Ethernet1/0/2 0 0
0 0x0,0000-0000-0000 {}
Table 1-3 Description on the fields of
the display link-aggregation verbose command
|
Field
|
Description
|
|
Loadsharing Type
|
Load
sharing type, which can be: Shar (load-sharing), or NonS (non-load-sharing)
|
|
Flags
|
Flag bit
|
|
Aggregation ID
|
Aggregation
group ID
|
|
AggregationType: Manual
|
Aggregation group type: manual
|
|
Loadsharing Type: NonS
|
Load sharing type: non-load-sharing
|
|
Aggregation Description: abc
|
Aggregation description: abc
|
|
System ID
|
Local device ID
|
|
Port State
|
Port status, which can be Selected or Unselected
|
|
Local:
Port Status Priority Key Flag
|
Local end information (member ports, port
status, port priority, operation key and status flag)
|
|
Remote:
Actor
Partner Priority Key SystemID Flag
|
Remote end
information (local end port, the port index and port priority of the remote
end, operation key, device ID and status flag)
|
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 26.
agg-name:
Aggregation group name, a string of 1 to 32 characters (excluding space character).
Description
Use the link-aggregation group agg-id
description command to add a description for an aggregation group.
Use the undo link-aggregation group agg-id
description command to remove the description of an aggregation
group.
If you use the save
command to save the current configuration, manual aggregation groups and their
descriptions still exist after system reboot.
Related command: display link-aggregation
verbose.
Example
# Add a description for aggregation group
22.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] link-aggregation group 22 description
abc
Syntax
link-aggregation group agg-id mode manual
undo link-aggregation group agg-id
View
System view
Parameter
agg-id:
Aggregation group ID, in the range of 1 to 26.
manual:
Creates a manual aggregation group.
Description
Use the link-aggregation group agg-id
mode command to create a manual aggregation group.
Use the undo link-aggregation group
command to remove a manual aggregation group.
Related command: display link-aggregation
summary.
Example
# Create manual aggregation group 5.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] link-aggregation group 5 mode manual
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 26.
Description
Use the port link-aggregation group
command to add an Ethernet port to a manual aggregation group.
Use the undo port link-aggregation group
command to remove an Ethernet port from a manual aggregation group.
Caution:
If you add more
than four ports in an aggregation group, load sharing is implemented on the
four ports with smaller port numbers, and the rest ports serve as link backups.
Related command: display link-aggregation
verbose.
Example
# Add the Ethernet1/0/1 port to aggregation
group 5.
<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 5