H3C S9500 Series Command Manual

Type
Command Manual

The H3C S9500 Series, your newly acquired routing switch, offers a comprehensive range of features to enhance your network connectivity and efficiency. With its advanced capabilities, it can serve as the backbone of your business network, providing reliable and secure data transmission. The S9500 Series supports Layer 2 and Layer 3 switching, allowing for flexible network segmentation and routing. It also boasts robust security features, including access control lists (ACLs) and virtual private networks (VPNs), ensuring the protection of your sensitive data.

The H3C S9500 Series, your newly acquired routing switch, offers a comprehensive range of features to enhance your network connectivity and efficiency. With its advanced capabilities, it can serve as the backbone of your business network, providing reliable and secure data transmission. The S9500 Series supports Layer 2 and Layer 3 switching, allowing for flexible network segmentation and routing. It also boasts robust security features, including access control lists (ACLs) and virtual private networks (VPNs), ensuring the protection of your sensitive data.

Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing 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 debugging lacp packet............................................................................................1-1
1.1.2 debugging lacp state...............................................................................................1-1
1.1.3 debugging link-aggregation error............................................................................1-2
1.1.4 debugging link-aggregation event...........................................................................1-3
1.1.5 display lacp system-id.............................................................................................1-3
1.1.6 display lacp timer.....................................................................................................1-4
1.1.7 display link-aggregation interface............................................................................1-5
1.1.8 display link-aggregation summary...........................................................................1-6
1.1.9 display link-aggregation verbose.............................................................................1-7
1.1.10 lacp enable............................................................................................................1-9
1.1.11 lacp port-priority.....................................................................................................1-9
1.1.12 lacp system-priority .............................................................................................1-10
1.1.13 lacp timer slow.....................................................................................................1-11
1.1.14 link-aggregation...................................................................................................1-11
1.1.15 link-aggregation extend.......................................................................................1-12
1.1.16 link-aggregation group description......................................................................1-13
1.1.17 link-aggregation group mode ..............................................................................1-14
1.1.18 port link-aggregation group.................................................................................1-15
1.1.19 reset lacp statistics..............................................................................................1-15
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-1
Chapter 1 Link Aggregation Configuration
Commands
1.1 Link Aggregation Configuration Commands
1.1.1 debugging lacp packet
Syntax
debugging lacp packet [ interface interface-type interface-number [ to interface-type
interface-number ] ]
undo debugging lacp packet [ interface interface-type interface-number [ to
interface-type interface-number ] ]
View
System view
Parameters
interface interface-type interface-number [ to interface-type interface-number ]:
Specifies a port or ports. The command without the parameter to specifies one port,
while the command with the parameter to specifies several contiguous ports.
interface-type indicates port type. interface-number indicates port number.
Description
Use the debugging lacp packet command to enable LACP packet debugging for the
port. If you do not specify a port, the command enables packet debugging on all
LACP-enabled ports.
Use the undo debugging lacp packet command to disable LACP packet debugging
for the port.
Examples
# Enable LACP packet debugging for Ethernet port Ethernet 1/1/1.
<H3C> debugging lacp packet interface ethernet1/1/1
1.1.2 debugging lacp state
Syntax
debugging lacp state [ interface interface-type interface-number [ to interface-type
interface-number ] ] { { actor-churn | mux | partner-churn | ptx | rx } * | all }
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-2
undo debugging lacp state [ interface interface-type interface-number [ to
interface-type interface-number ] ] { { actor-churn | mux | partner-churn | ptx | rx } * |
all }
View
User view
Parameters
interface interface-type interface-number [ to interface-type interface-number ]:
Specifies a port or ports. The command without the parameter to specifies one port,
while the command with the parameter to specifies several contiguous ports.
interface-type indicates port type. interface-number indicates port number.
actor-churn: Actor-churn state machine debugging switch.
mux: MUX state machine debugging switch.
partner-churn: Partner-churn state machine debugging switch.
ptx: PTX state machine debugging switch.
rx: RX state machine debugging switch.
all: debugging switch of all state machines.
Description
Use the debugging lacp state command to enable LACP state machine debugging for
the port.
Use the undo debugging lacp state command to disable LACP state machine
debugging for the port.
Examples
# Enable debugging of all LACP state machines.
<H3C> debugging lacp state all
1.1.3 debugging link-aggregation error
Syntax
debugging link-aggregation error
undo debugging link-aggregation error
View
User view
Parameters
None
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-3
Description
Use the debugging link-aggregation error command to enable link aggregation error
debugging.
Use the undo debugging link-aggregation error command to disable link
aggregation error debugging.
Examples
# Enable link aggregation error debugging.
<H3C> debugging link-aggregation error
1.1.4 debugging link-aggregation event
Syntax
debugging link-aggregation event
undo debugging link-aggregation event
View
User view
Parameters
None
Description
Use the debugging link-aggregation event command to enable link aggregation
event debugging.
Use the undo debugging link-aggregation event command to disable link
aggregation event debugging.
Examples
# Enable link aggregation event debugging.
<H3C> debugging link-aggregation event
1.1.5 display lacp system-id
Syntax
display lacp system-id
View
Any view
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-4
Parameters
None
Description
Use the display lacp system-id command to display the device ID of local system,
including system priority and system MAC address.
Related commands: link-aggregation.
Examples
# Display the device ID of the local system.
<H3C> display lacp system-id
Actor System ID: 0x8000, 00e0-fc00-0100
Table 1-1 Description on the fields of the display lacp system-id command
Field Description
Actor System ID
The device ID of the local system, including system priority
and system MAC address.
1.1.6 display lacp timer
Syntax
display lacp timer
View
Any view
Parameters
None
Description
Use the display lacp timer command to display the LACP fast period timer and LACP
slow period timer.
Related commands: lacp timer slow.
Examples
# Display the LACP fast period timer and LACP slow period timer.
<H3C> display lacp timer
LACP fast period timer:1(s)
LACP slow period timer:30(s)
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-5
1.1.7 display link-aggregation interface
Syntax
display link-aggregation interface interface-type interface-number [ to interface-type
interface-number ]
View
Any view
Parameters
interface { interface-type interface-number [ to interface-type interface-number ]:
interface-type specifies port type and interface-number specifies port number. You can
specify a port with the first interface-type interface-number or specify a port range with
the interface-type interface-number to interface-type interface-number where the end
port must be greater than the start port.
Description
Use the display link-aggregation interface command to display detailed link
aggregation information for a port or a range of ports.
The output displays the aggregation group ID, local port priority, operation key, flag, and
peer information including the system ID, port number, port priority, operation key, and
flag.
Note that since a manual aggregation group cannot get the information of the peer end,
every item of the peer end is displayed as 0, which does not indicate the actual state of
the peer system.
Examples
# Display detailed link aggregation information of Ethernet 2/1/1.
<H3C> display link-aggregation interface ethernet2/1/1
Ethernet2/1/1:
Attached AggID: 1
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
Received LACP Packets: 0 packet(s), Illegal: 0 packet(s)
Sent LACP Packets: 0 packet(s)
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-6
Table 1-2 Description on the fields of the display link-aggregation interface
command
Field Description
Attached AggID Aggregation group ID for the specified port
Local:
Port-Priority: 32768, Oper key: 1,
Flag: 0x00
Port priority, operation key, LACP state flag
of the local end
Remote:
System ID: 0x0, 0000-0000-0000
Port Number: 0, Port-Priority: 0,
Oper-key: 0, Flag: 0x00
System ID, port priority, operation key,
LACP state flag of the remote end
Received LACP Packets: 0 packet(s),
Illegal: 0 packet(s)
Statistics about received LACP packets
Sent LACP Packets: 0 packet(s) Statistics about sent LACP packets
1.1.8 display link-aggregation summary
Syntax
display link-aggregation summary
View
Any view
Parameters
None
Description
Use the display link-aggregation summary command to display the summary of all
aggregation groups, including local device ID, aggregation group ID, aggregate group
type, peer device ID, number of selected ports, number of standby ports, load sharing
type and master port number.
Examples
# Display the summary of all link 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-fc23-0d90
AL AL Partner ID Select Standby Share Master
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-7
ID Type Ports Ports Type Port
--------------------------------------------------------------------------
------
1 M none 2 0 Shar GigabitEthernet3/1/1
3 M none 4 0 Shar Ethernet4/1/45
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
Partner ID Peer device ID
Select Ports Number of selected ports
Standby Ports Number of standby ports
Share Type Load sharing type
Master Port Master port number
1.1.9 display link-aggregation verbose
Syntax
display link-aggregation verbose [ agg-id ]
View
Any view
Parameters
agg-id: Aggregation group ID, which must be existing ones, in the range of 1 to 920. IDs
1 through 31 indicate manual or static aggregation groups; IDs 32 through 192 are
reserved; IDs 193 through 920 indicate dynamic aggregation groups.
Description
Use the display link-aggregation verbose command to view detailed information of a
designated port, including aggregation group ID, aggregation group type, load sharing
type, aggregation group description and detailed local information (system ID, member
ports, port status, port priority, flag, operation key, link status) and detailed remote
information (local port, indexes of remote ports, port priority, flag, operation key and
system ID, here local and remote are in a relative sense).
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-8
Note that since the manual aggregation group cannot get the information of the peer
end, every item of the peer end is displayed as 0, which does not indicate the actual
status of the peer system.
Examples
# Display the detailed information of aggregation group 5.
<H3C>display link-aggregation verbose 5
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Aggregation ID: 5, AggregationType: Manual, Loadsharing Type: Shar
Aggregation Description:
System ID: 0x0, 00e0-fc00-1312
Port Status: S -- Selected, T -- sTandby, U -- Unselected
Local:
Port Status Priority Flag Oper-Key Link-Status
--------------------------------------------------------------------------
------
Ethernet9/1/9 S 32768 0x00 8 Down
Ethernet9/1/10 S 32768 0x00 8 Down
Remote:
Actor Partner Priority Flag Oper-Key SystemID
--------------------------------------------------------------------------
------
Ethernet9/1/9 0 0 0x00 0 0x0,0000-0000-0000
Ethernet9/1/10 0 0 0x00 0 0x0,0000-0000-0000
Table 1-4 Description on the fields of the display link-aggregation verbose
command
Field Description
Aggregation ID Aggregation group ID
Aggregation Type
Aggregation group type, which can be
dynamic, static and manual
Loadsharing Type Load sharing type
Aggregation Description Aggregation group description
System ID Local device ID
Port State Port state
Local:
Port Status Priority Flag Oper-key
Link-Status
Other information of the local end, including
member ports, port state, port priority, flag
bit , operation key and link status.
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-9
Field Description
Remote:
Actor Partner Priority Flag Oper-key
SystemID
Detailed information about the peer device,
including local port, peer port index, port
priority, flag, operation key and device ID
1.1.10 lacp enable
Syntax
lacp enable
undo lacp enable
View
Ethernet port view
Parameters
None
Description
Use the lacp enable command to enable LACP.
Use the undo lacp enable command to disable LACP.
Examples
# Enable LACP for Ethernet port Ethernet1/1/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet1/1/1
[H3C-Ethernet1/1/1] lacp enable
1.1.11 lacp port-priority
Syntax
lacp port-priority port-priority-value
undo lacp port-priority
View
Ethernet port view
Parameters
port-priority-value: Port priority, in the range of 0 to 65,535. The default is 32,768.
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-10
Description
Use the lacp port-priority command to configure port priority.
Use the undo lacp port-priority command to restore the default port priority.
Related commands: display link-aggregation verbose, display link-aggregation
interface.
Examples
# Set port priority to 64.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet1/1/1
[H3C-Ethernet1/1/1] lacp port-priority 64
1.1.12 lacp system-priority
Syntax
lacp system-priority system-priority-value
undo lacp system-priority
View
System view
Parameters
system-priority-value: System priority, in the range of 0 to 65,535. By default, it is
32,768.
Description
Use the lacp system-priority command to configure system priority.
Use the undo lacp system-priority command to restore the default system priority.
Related commands: display lacp system-id.
Examples
# Set system priority to 64.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] lacp system-priority 64
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-11
1.1.13 lacp timer slow
Syntax
lacp timer slow interval
undo lacp timer slow
View
System view
Parameters
interval: Slow period timer value (in seconds), in the range of 1 to 30. The default is 30.
Description
Use the lacp timer slow command to set the LACP slow period timer.
Use the undo lacp timer slow command to restore the default.
Examples
# Set the LACP slow period timer to 2 seconds.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] lacp timer slow 2
1.1.14 link-aggregation
Syntax
link-aggregation interface-type interface-number1 to interface-type
interface-number2 [ both ]
View
System view
Parameters
interface-type interface-name1: Starting Ethernet port joined the Ethernet link
aggregation.
interface-type interface-name2: End Ethernet port joined the Ethernet link aggregation.
both: Specifies the aggregation group to balance load for inbound and outbound
packets.
Description
Use the link-aggregation command to add a range of ports to an aggregation group.
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-12
Note: After a port is added to an aggregation group, the ARP configuration of the port
will be lost.
Related commands: link-aggregation group mode, port link-aggregation group.
Examples
# Configure to balance load for inbound and outbound packets.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] link-aggregation ethernet2/1/1 to ethernet2/1/2 both
1.1.15 link-aggregation extend
Syntax
link-aggregation extend
undo link-aggregation extend
View
System view
Parameters
None
Description
Use the link-aggregation extend command to enable aggregation resource
extension.
Use the undo link-aggregation extend command to remove the configuration.
By default, idle aggregation resources are allocated from 7 to 0 for special port
aggregation. With aggregation resource extension enabled, idle aggregation resources
are allocated from 31 to 0 for special port aggregation. Special ports include RprGE
ports and 10GE ports that are not of wire speed.
By default, aggregation resource extension is disabled.
Note:
As for the aggregation resource extension, note that:
z The function is unavailable to devices containing C-type LPUs.
z The function cannot be disabled when special link aggregations are allocated the
aggregation resources numbered from 7 to 31.
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-13
Examples
# Enable aggregation resource extension.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] link-aggregation extend
# Remove aggregation resource extension configuration.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] undo link-aggregation extend
1.1.16 link-aggregation group description
Syntax
link-aggregation group agg-id description alname
undo link-aggregation group agg-id description
View
System view
Parameters
agg-id: Aggregation group ID, in the range of 1 to 31. IDs At present, you can configure
the static and dynamic aggregation groups only.
alname: Aggregation group name, character string with 1 to 32 characters.
Description
Use the link-aggregation group description command to configure description for an
aggregation group.
Use the undo link-aggregation group description command to delete aggregation
group description.
Note that you cannot configure the description for a dynamic aggregation group.
Related commands: display link-aggregation verbose.
Examples
# Configure myal1 as the description of aggregation group 22.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] link-aggregation group 22 description myal1
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-14
1.1.17 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 31. IDs At present, you can configure
the static and dynamic aggregation groups only.
Description
Use the link-aggregation group mode command to create an aggregation group.
Use the undo link-aggregation group command to delete an aggregation group.
Note:
Port aggregation includes manual aggregation, static aggregation and dynamic
aggregation.
z In the manual aggregation mode, ports working at different rates can be aggregated.
Manual aggregation can be load balancing aggregation if the aggregation resource
is available. In this case, if the traffic rate shared by a low-rate port exceeds the
maximum rate of the port, packets may be lost.
z In the static aggregation mode, ports working at different rates can also be
aggregated. However, the Selected/Standby state of statically aggregated ports is
determined by the transmission rate. Only the ports with the maximum rate and in
full-duplex mode can be selected to forward traffic, while other standby ports do not
forward traffic.
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 Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-15
1.1.18 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 31. IDs At present, you can add the
static and dynamic aggregation groups only.
Description
Use the port link-aggregation group command to add an Ethernet port into a manual
or static aggregation group.
Use the undo port link-aggregation group command to delete an Ethernet port from
an aggregation group.
After a port is added to an aggregation group, the ARP configuration of the port will be
lost.
Related commands: display link-aggregation verbose.
Examples
# Add Ethernet2/1/1 into aggregation group 22.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/1/1
[H3C-Ethernet2/1/1] port link-aggregation group 22
1.1.19 reset lacp statistics
Syntax
reset lacp statistics [ interface interface-type interface-number [ to interface-type
interface-number ] ]
View
System view
Parameters
interface { interface-type interface-number [ to interface-type interface-number ]:
interface-type specifies port type and interface-number specifies port number. You can
Command Manual – Link Aggregation Configuration
H3C S9500 Series Routing Switches
Chapter 1 Link Aggregation Configuration
Commands
1-16
specify a port with the first interface-type interface-number or specify a port range with
the interface-type interface-number to interface-type interface-number where the end
port must be greater than the start port.
Description
Use the reset lacp statistics command to clear LACP statistics for the specified port or
ports. If no port is specified, the command clears LACP statistics for all ports.
Related commands: display link-aggregation interface.
Examples
# Clear LACP statistics for 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
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17

H3C S9500 Series Command Manual

Type
Command Manual

The H3C S9500 Series, your newly acquired routing switch, offers a comprehensive range of features to enhance your network connectivity and efficiency. With its advanced capabilities, it can serve as the backbone of your business network, providing reliable and secure data transmission. The S9500 Series supports Layer 2 and Layer 3 switching, allowing for flexible network segmentation and routing. It also boasts robust security features, including access control lists (ACLs) and virtual private networks (VPNs), ensuring the protection of your sensitive data.

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

Finding information in a document is now easier with AI