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.
Example
# Display the device ID of the local
system.
<H3C> display lacp system-id
Actor System ID: 0x8000,
000f-e20f-0100
Table 1-1 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
|
Syntax
display link-aggregation interface interface-type interface-number [ to
interface-type interface-number ]
View
Any view
Parameter
interface interface-type interface-number [ to
interface-type interface-number ]: Specifies a port or port range.
l
If the to keyword is not specified, only
one port is specified;
l
If the to keyword is specified, multiple
contiguous ports are specified;
l
The interface-type argument represents
the port type and the interface-number argument represents the port
number.
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 of the specified port
or port range
l
Port priority, operation key and LACP status
flag of the local end,
l
Device ID, port number, port priority, operation
key and protocol status flag and LACP packet statistics 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 by a manual aggregation group.
Example
# Display the link aggregation details on
the specified port.
<H3C> display link-aggregation interface ethernet1/0/1
Ethernet1/0/1:
Attached AggID: 20
Local:
Port-Priority: 32768, Oper key:
2, Flag: 0x3d
Remote:
System ID: 0x8000,
000e-84a6-fb00
Port Number: 2, Port-Priority:
32768 , Oper-key: 10, Flag: 0x3d
Received LACP Packets: 8
packet(s), Illegal: 0 packet(s)
Sent LACP Packets: 9 packet(s)
Table 1-2 Description on the fields of
the display link-aggregation interface command
|
Field
|
Description
|
|
Attached 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 LACP
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, port number, port priority,
operation key and LACP status flag of the remote end
|
|
Received LACP Packets: 0 packet(s),
Illegal: 0 packet(s)
Sent LACP Packets: 0 packet(s)
|
Statistics about LACP packets, including:
the number of received LACP packets, the number of illegal LACP packets and
the number of sent LACP packets
|
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
standby 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, 000f-e20f-ff04
AL AL Partner ID Select Standby Share Master
ID Type Ports Ports Type Port
-------------------------------------------------------------------
1 D 0x8000,000f-e20f-ff01 1 0 NonS Ethernet4/0/1
10 M none 1 0 NonS Ethernet4/0/2
20 S 0x8000,000f-e20f-ff01 1 0 NonS Ethernet4/0/3
Table 1-3 Description on the fields of
the display link-aggregation summary command
|
Field
|
Description
|
|
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
|
|
Select Ports
|
Number of the selected ports
|
|
Standby Ports
|
Number of standby ports
|
|
Share Type
|
Load sharing type: Shar (load-sharing),
or NonS (non-load-sharing)
|
|
Master Port
|
Master port number
|
Syntax
display link-aggregation verbose [ agg-id ]
View
Any view
Parameter
agg-id: ID
of the aggregation group to be displayed, which must be the ID of an existing
aggregation group, in the range of 1 to 384.
Description
Use the display link-aggregation verbose
command to display the details about a specified aggregation group, including:
l
Aggregation group ID, aggregation group type,
load sharing type, aggregation group description string;
l
Local end details: device ID, port number, port
status, port priority, LACP flag, operation key and connection status;
l
Remote end details: local port, remote port
index, remote port priority, 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 by 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
Aggregation ID: 1, AggregationType:
Static, Loadsharing Type: NonS
Aggregation Description:
System ID: 0x8000, 000f-e218-d0d0
Port Status: S -- Selected, T --
sTandby
Local:
Port Status
Priority Flag Oper-Key Link-Status
--------------------------------------------------------------------------
GigabitEthernet3/0/1 S
32768 0x7d 1 Up
GigabitEthernet3/0/2 T
32768 0x45 2 Down
Remote:
Actor Partner
Priority Flag Oper-Key SystemID
--------------------------------------------------------------------------
GigabitEthernet3/0/1 0
32768 0x38 0 0x8000,0000-0000-0000
GigabitEthernet3/0/2 0
32768 0x30 0 0x8000,0000-0000-0000
Table 1-4 Description on the fields of
the display link-aggregation verbose command
|
Field
|
Description
|
|
Aggregation ID
|
Aggregation group ID
|
|
AggregationType
|
Aggregation group type, including dynamic
aggregation, static aggregation and manual aggregation
|
|
Loadsharing Type
|
Loadsharing type, including Loadsharing
and Non-Loadsharing
|
|
Aggregation Description
|
Aggregation group description string
|
|
System ID
|
Local device ID
|
|
Port state
|
Port state
|
|
Local
|
Other information about the local end, including
port number, port state, port priority, LACP flag, operation key and
connection status
|
|
Remote
|
Detailed information about the remote
end, including: local port number, remote port index, port priority, flag
bit, operation key and device ID
|
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
Syntax
lacp port-priority
port-priority-value
undo lacp
port-priority
View
Ethernet port view
Parameter
port-priority-value: 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.
Example
# Set the port priority 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
Syntax
lacp system-priority
system-priority-value
undo lacp
system-priority
View
System view
Parameter
system-priority-value: 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
Syntax
link-aggregation interface-type interface-number to interface-type interface-number [ both ]
View
System view
Parameter
interface-type: Port type.
interface-number: Port number.
to:
Specifies a series of contiguous ports.
both:
Performs load sharing for both inbound traffic and outbound traffic on all the
member ports in the aggregation group.
Description
Use the link-aggregation command to
add a series of ports to a new manual aggregation group, to which the system
assigns a group number automatically. The link-aggregation group agg-id
mode command and the port link-aggregation group command can be used
together to implement the function of the link-aggregation command.
By default:
l
For IP packets, the system performs load sharing
based on IP addresses;
l
For non-IP packets, the system performs load
sharing based on MAC addresses.
Example
# Set up an aggregation group with
Ethernet1/0/1 to Ethernet1/0/4 and perform load sharing for both inbound and
outbound traffic of the aggregation group.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] link-aggregation ethernet1/0/1
to ethernet1/0/4 both
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 384.
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 the aggregation
group.
Example
# Set the description "office"
for aggregation group 22.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] link-aggregation group 22
description office
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 384.
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 an aggregation group.
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
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 384.
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.
Example
# Add Ethernet1/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
Syntax
reset lacp statistics [ interface interface-type interface-number [ to
interface-type interface-number ] ]
View
User view
Parameter
interface interface-type interface-number [ to
interface-type interface-number ]: Specifies a port or a port range.
l
If the to keyword is not specified, only
one port is specified;
l
If the to keyword is specified, multiple
contiguous ports are specified;
l
The interface-type argument represents
the port type and the interface-number argument represents the port
number.
Description
Use the reset lacp statistics
command to clear LACP statistics on specified port(s), or on all ports if no
port is specified.
Example
# Clear LACP statistics on all Ethernet
ports.
<H3C> reset lacp statistics