H3C S7500 Series Command Manual

Type
Command Manual

H3C S7500 Series, a high-performance Ethernet switch, is designed to provide a range of advanced Layer 2 and Layer 3 features for enterprise networks, data centers, and service provider environments. With its modular design, flexible configuration options, and comprehensive security features, the H3C S7500 Series offers a scalable and reliable solution for various network applications. Here are some key capabilities and possible use cases:

  • High-Density Ports: The H3C S7500 Series provides various port densities and types, including Gigabit Ethernet, 10 Gigabit Ethernet, and 40 Gigabit Ethernet ports, allowing for flexible connectivity options and supporting diverse network devices.

H3C S7500 Series, a high-performance Ethernet switch, is designed to provide a range of advanced Layer 2 and Layer 3 features for enterprise networks, data centers, and service provider environments. With its modular design, flexible configuration options, and comprehensive security features, the H3C S7500 Series offers a scalable and reliable solution for various network applications. Here are some key capabilities and possible use cases:

  • High-Density Ports: The H3C S7500 Series provides various port densities and types, including Gigabit Ethernet, 10 Gigabit Ethernet, and 40 Gigabit Ethernet ports, allowing for flexible connectivity options and supporting diverse network devices.
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches Table of Contents
i
Table of Contents
Chapter 1 Link Aggregation Configuration Commands............................................................1-1
1.1 Link Aggregation Configuration Commands......................................................................1-1
1.1.1 display lacp system-id.............................................................................................1-1
1.1.2 display link-aggregation interface............................................................................1-1
1.1.3 display link-aggregation summary...........................................................................1-3
1.1.4 display link-aggregation verbose.............................................................................1-4
1.1.5 lacp enable..............................................................................................................1-6
1.1.6 lacp port-priority.......................................................................................................1-6
1.1.7 lacp system-priority.................................................................................................1-7
1.1.8 link-aggregation.......................................................................................................1-7
1.1.9 link-aggregation group description..........................................................................1-8
1.1.10 link-aggregation group mode ................................................................................1-9
1.1.11 port link-aggregation group.................................................................................1-10
1.1.12 reset lacp statistics..............................................................................................1-10
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-1
Chapter 1 Link Aggregation Configuration
Commands
1.1 Link Aggregation Configuration Commands
1.1.1 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.
<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
1.1.2 display link-aggregation interface
Syntax
display link-aggregation interface interface-type interface-number [ to interface-type
interface-number ]
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-2
View
Any view
Parameters
interface interface-type interface-number [ to interface-type interface-number ]:
Specifies a port or port range.
z If the to keyword is not specified, only one port is specified;
z If the to keyword is specified, multiple contiguous ports are specified;
z 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:
z Link aggregation group ID of the specified port or port range
z Port priority, operation key and LACP status flag of the local end,
z 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.
Examples
# Display the link aggregation details on the specified port.
<H3C> display link-aggregation interface ethernet2/0/1
Ethernet2/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)
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-3
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
1.1.3 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, 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.
Examples
# 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
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-4
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
1.1.4 display link-aggregation verbose
Syntax
display link-aggregation verbose [ agg-id ]
View
Any view
Parameters
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:
z Aggregation group ID, aggregation group type, load sharing type, aggregation
group description string;
z Local end details: device ID, port number, port status, port priority, LACP flag,
operation key and connection status;
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-5
z 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.
Examples
# 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
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-6
Field Description
Remote
Detailed information about the remote end, including:
local port number, remote port index, port priority, flag
bit, operation key and device ID
1.1.5 lacp enable
Syntax
lacp enable
undo lacp enable
View
Ethernet port view
Parameters
None
Description
Use the lacp enable command to enable the LACP protocol.
Use the undo lacp enable command to disable the LACP protocol.
Examples
# Enable the LACP protocol on Ethernet 2/0/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/0/1
[H3C-Ethernet2/0/1] lacp enable
1.1.6 lacp port-priority
Syntax
lacp port-priority port-priority-value
undo lacp port-priority
View
Ethernet port view
Parameters
port-priority-value: Port priority, ranging from 0 to 65,535 and defaulting to 32,768.
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-7
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.
Examples
# Set the priority of port Ethernet 2/0/1 to 64.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/0/1
[H3C-Ethernet2/0/1] lacp port-priority 64
1.1.7 lacp system-priority
Syntax
lacp system-priority system-priority-value
undo lacp system-priority
View
System view
Parameters
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.
Examples
# 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
Syntax
link-aggregation interface-type interface-number to interface-type interface-number
[ both ]
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-8
View
System view
Parameters
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:
z For IP packets, the system performs load sharing based on IP addresses;
z For non-IP packets, the system performs load sharing based on MAC addresses.
Examples
# Set up an aggregation group with Ethernet 2/0/1 to Ethernet 2/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 ethernet2/0/1 to ethernet2/0/4 both
1.1.9 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 384.
agg-name: Aggregation group name, a string of 1 to 32 characters.
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-9
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.
Examples
# 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
1.1.10 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 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.
Examples
# Create manual aggregation group 22
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] link-aggregation group 22 mode manual
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-10
1.1.11 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 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.
Examples
# Add Ethernet 2/0/1 to aggregation group 22.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/0/1
[H3C-Ethernet2/0/1] port link-aggregation group 22
1.1.12 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 a port or a port range.
z If the to keyword is not specified, only one port is specified;
z If the to keyword is specified, multiple contiguous ports are specified;
z The interface-type argument represents the port type and the interface-number
argument represents the port number.
Command Manual – Link Aggregation
H3C S7500 Series Ethernet Switches
Chapter 1 Link Aggregation Configuration
Commands
1-11
Description
Use the reset lacp statistics command to clear LACP statistics on specified port(s), or
on all ports if no port is specified.
Examples
# Clear LACP statistics on all Ethernet ports.
<H3C> reset lacp statistics
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12

H3C S7500 Series Command Manual

Type
Command Manual

H3C S7500 Series, a high-performance Ethernet switch, is designed to provide a range of advanced Layer 2 and Layer 3 features for enterprise networks, data centers, and service provider environments. With its modular design, flexible configuration options, and comprehensive security features, the H3C S7500 Series offers a scalable and reliable solution for various network applications. Here are some key capabilities and possible use cases:

  • High-Density Ports: The H3C S7500 Series provides various port densities and types, including Gigabit Ethernet, 10 Gigabit Ethernet, and 40 Gigabit Ethernet ports, allowing for flexible connectivity options and supporting diverse network devices.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI