Quidway S5012G User manual

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Table of Contents
i
Table of Contents
Chapter 1 Ethernet Port Configuration ....................................................................................... 1-1
1.1 Ethernet Port Overview......................................................................................................1-1
1.2 Ethernet Port Configuration...............................................................................................1-1
1.2.1 Enter Ethernet port view..........................................................................................1-2
1.2.2 Enable/Disable Ethernet Port..................................................................................1-2
1.2.3 Set Description Character String for Ethernet Port.................................................1-2
1.2.4 Set Duplex Attribute of the Ethernet Port................................................................ 1-3
1.2.5 Set Speed on the Ethernet Port..............................................................................1-3
1.2.6 Enable/Disable Flow Control for Ethernet Port.......................................................1-4
1.2.7 Permit/Forbid Jumbo Frame to Pass through the Ethernet port.............................1-4
1.2.8 Set Ethernet Port Suppression Ratio......................................................................1-5
1.2.9 Set link type for Ethernet port.................................................................................. 1-5
1.2.10 Add the Ethernet port to Specified VLANs............................................................ 1-6
1.2.11 Set the Default VLAN ID for the Ethernet Port......................................................1-6
1.2.12 Set the Time Interval of Calculating Port Statistics Information............................1-7
1.3 Display and Debug Ethernet Port......................................................................................1-7
1.4 Ethernet Port Configuration Example................................................................................1-8
1.5 Ethernet Port Troubleshooting...........................................................................................1-9
Chapter 2 Link Aggregation Configuration ................................................................................ 2-1
2.1 Link Aggregation Overview................................................................................................2-1
2.2 Link Aggregation Configuration .........................................................................................2-1
2.2.1 Aggregate Ethernet Ports........................................................................................ 2-1
2.3 Display and Debug Link Aggregation ................................................................................ 2-2
2.4 Link Aggregation Configuration Example.......................................................................... 2-2
2.5 Ethernet Link Aggregation Troubleshooting...................................................................... 2-3

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
1-1
Chapter 1 Ethernet Port Configuration
1.1 Ethernet Port Overview
S5012G Ethernet Switch provides 12 10/100/1000Base-T Ethernet ports and four
Combo GBIC ports for which you can select the specific module types.
S5012T-12/10GBC Ethernet Switch provides 10 GBIC ports for which you can select
the specific module types, two 10/100/1000Base-T ports and two Combo
10/100/1000Base-T ports.
S5024G-24/20TP Ethernet Switch provides 20 10/100/1000Base-T Ethernet ports and
four GBIC ports for which you can select the specific module types.
S5000 Series Ethernet Switches support the following Ethernet port features:
z10/100/1000Base-T Ethernet port supports MDI/MDI-X auto-sensing. It operates
in 1000M full-duplex, 100M half-duplex/full-duplex, or 10M half-duplex/full-duplex
mode. It can negotiate with other network devices to determine the operating
mode and speed. Thus the suitable operating mode and speed can be worked out
automatically and the system configuration and management is greatly
streamlined.
zGBIC port operates in 1000M full-duplex mode. The duplex mode can be set to
full (full-duplex) and auto (auto-negotiation) and its speed can be set to 1000
(1000Mbps) and auto (auto-negotiation).
zCombo GBIC port operates in 1000M full-duplex, 100M half-duplex/full-duplex,
and 10M half-duplex/full-duplex modes.
The configurations of these Ethernet ports are basically the same, which will be
described in the following sections.
1.2 Ethernet Port Configuration
Ethernet port configuration includes:
zEnter Ethernet port view
zEnable/Disable Ethernet port
zSet description character string for Ethernet port
zSet duplex attribute for Ethernet port
zSet speed for Ethernet port
zEnable/Disable flow control for Ethernet port
zPermit/Forbid the jumbo frame to pass through the Ethernet port

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
1-2
zSet Ethernet port suppression ratio
zSet link type for Ethernet port
zAdd the Ethernet port to specified VLANs
zSet the default VLAN ID for the Ethernet port
zSet the time interval of calculating port statistics information
1.2.1 Enter Ethernet port view
Before configuring the Ethernet port, enter Ethernet port view first.
Perform the following configuration in system view.
Table 1-1 Enter Ethernet port view
Operation Command
Enter Ethernet port view interface {interface_type interface_num | interface_name }
1.2.2 Enable/Disable Ethernet Port
The following command can be used for disabling or enabling the port. After configuring
the related parameters and protocol of the port, you can use the following command to
enable the port. If you do not want a port to forward data any more, use the command to
disable it.
Perform the following configuration in Ethernet port view.
Table 1-2 Enable/Disable an Ethernet port
Operation Command
Disable an Ethernet port shutdown
Enable an Ethernet port undo shutdown
By default, the port is enabled.
1.2.3 Set Description Character String for Ethernet Port
To distinguish the Ethernet ports, you can use the following command to make some
necessary descriptions.
Perform the following configuration in Ethernet port view.

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
1-3
Table 1-3 Set description character string for Ethernet port
Operation Command
Set description character string for Ethernet port. description text
Delete the description character string of Ethernet. undo description
By default, the port description is a null character string.
1.2.4 Set Duplex Attribute of the Ethernet Port
To configure a port to send and receive data packets at the same time, set it to
full-duplex. To configure a port to either send or receive data packets at a time, set it to
half-duplex. If the port has been set to auto-negotiation mode, the local and peer ports
will automatically negotiate about the duplex mode.
Perform the following configuration in Ethernet port view.
Table 1-4 Set duplex attribute for Ethernet port
Operation Command
Set duplex attribute for Ethernet port. duplex { auto |full | half }
Restore the default duplex attribute of Ethernet port. undo duplex
Note that, 10/100/1000Base-T port and Combo GBIC port can operate in full-duplex,
half-duplex or auto-negotiation mode. When the Ethernet port operates at 1000Mbps,
the duplex mode can be set to full (full duplex) or auto (auto-negotiation).
The GBIC port operates in full duplex and can be set to operate in full (full duplex) or
auto (auto-negotiation) mode.
The port defaults the auto (auto-negotiation) mode.
1.2.5 Set Speed on the Ethernet Port
You can use the following command to set the speed on the Ethernet port. If the speed
is set to auto-negotiation mode, the local and peer ports will automatically negotiate
about the port speed.
Perform the following configuration in Ethernet port view.
Table 1-5 Set speed on Ethernet port
Operation Command
Set 100M Ethernet port speed speed { 10 | 100 | auto }
Set Gigabit Ethernet port speed speed { 10 | 100 | 1000 | auto }
Restore the default speed on Ethernet port undo speed

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
1-4
Note that, 10/100/1000Base-T port and Combo GBIC port can operate at 10Mbps,
100Mbps or 1000Mbps as per different requirements. But if the port is in half duplex, it
cannot operate at 1000Mbps. The GBIC port operates at 1000Mbps and can be set to
operate in 1000 (1000Mbps) or auto (auto-negotiation) mode.
By default, the speed of the port is in auto mode.
1.2.6 Enable/Disable Flow Control for Ethernet Port
After enabling flow control in both the local and the peer switch, if congestion occurs in
the local switch, the switch will inform its peer to pause packet sending. Once the peer
switch receives this message, it will pause packet sending, and vice versa. In this way,
packet loss is reduced effectively. The flow control function of the Ethernet port can be
enabled or disabled through the following command.
Perform the following configuration in Ethernet port view.
Table 1-6 Enable/Disable Flow Control for Ethernet Port
Operation Command
Enable Ethernet port flow control flow-control
Disable Ethernet port flow control undo flow-control
By default, Ethernet port flow control is disabled.
1.2.7 Permit/Forbid Jumbo Frame to Pass through the Ethernet port
The Ethernet port may encounter the jumbo frame exceeding the standard framelength,
when switching large throughput data like transmitting files. This command can forbid
the jumbo frame to pass through the Ethernet port or permit the jumbo frame with
length between 1518 bytes and 9216 bytes to pass through the Ethernet port.
Perform the following configuration in Ethernet port view.
Table 1-7 Permitting/Forbidding jumbo frame to pass through the Ethernet port
Operation Command
Permit jumbo frame to pass through the Ethernet port. jumboframe enable
Forbid jumbo frame to pass through the Ethernet port. undo jumboframe enable
By default, the jumbo frame with lengths between 1518 bytes and 9216 bytes including
are permitted to pass through the Ethernet port.

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
1-5
1.2.8 Set Ethernet Port Suppression Ratio
You can use the following commands to restrict the broadcast/multicast/unicast traffic.
Once the broadcast/multicast/unicast traffic exceeds the value set by the user, the
system will maintain an appropriate broadcast/multicast/unicast packet ratio by
discarding the overflow traffic, so as to suppress broadcast/multicast/unicast storm,
avoid suggestion and ensure the normal service. The parameter is taken the maximum
wire speed ratio of the broadcast/multicast/unicast traffic allowed on the port. The
smaller the ratio is, the smaller the broadcast/multicast/unicast traffic is allowed. If the
ratio is 100%, it means not to perform broadcast/multicast/unicast storm suppression
on the port.
Perform the following configuration in Ethernet port view.
Table 1-8 Set Ethernet port suppression ratio
Operation Command
Set Ethernet port broadcast suppression ratio broadcast-suppression pct
Restore the default Ethernet port broadcast suppression ratio undo broadcast-suppression
Set Ethernet port multicast suppression ratio multicast-suppression pct
Restore the default Ethernet port multicast suppression ratio undo multicast-suppression
Set Ethernet port unicast suppression ratio unicast-suppression pct
Restore the default Ethernet port unicast suppression ratio undo unicast-suppression
By default, 100% broadcast/multicast/unicast traffic is allowed to pass through, that is,
no broadcast/multicast/unicast suppression will be performed.
1.2.9 Set link type for Ethernet port
Ethernet port can operate in three different link types, access, hybrid, and trunk types.
The access port carries one VLAN only, used for connecting to the user’s computer.
The trunk port can belong to more than one VLAN and receive/send the packets on
multiple VLANs, used for connection between the switches. The hybrid port can also
carry more than one VLAN and receive/send the packets on multiple VLANs, used for
connecting both the switches and user’s computers. The difference between the hybrid
port and the trunk port is that the hybrid port allows the packets from multiple VLANs to
be sent without tags, but the trunk port only allows the packets from the default VLAN to
be sent without tags.
Perform the following configuration in Ethernet port view.
Table 1-9 Set link type for Ethernet port
Operation Command
Configure the port as access port port link-type access
Configure the port as hybrid port port link-type hybrid
Configure the port as trunk port port link-type trunk

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
1-6
Operation Command
Restore the default link type, that is, the access port. undo port link-type
You can configure three types of ports concurrently on the same switch, but you cannot
switch between trunk port and hybrid port. You must turn it first into access port and
then set it as other type. For example, you cannot configure a trunk port directly as
hybrid port, but first set it as access port and then as hybrid port.
By default, the port is access port.
1.2.10 Add the Ethernet port to Specified VLANs
The following commands are used for adding an Ethernet port to a specified VLAN. The
access port can only be added to one VLAN, while the hybrid and trunk ports can be
added to multiple VLANs.
Perform the following configuration in Ethernet port view.
Table 1-10 Add the Ethernet port to specified VLANs
Operation Command
Add the current access port to a specified VLAN port access vlan vlan_id
Add the current hybrid port to specified VLANs port hybrid vlan vlan_id_list{ tagged| untagged }
Add the current trunk port to specified VLANs port trunk permit vlan { vlan_id_list | all }
Removethe current access port from toa specified VLAN. undo port access vlan
Remove the current hybrid port from to specified VLANs. undo port hybrid vlan vlan_id_list
Remove the current trunk port from specified VLANs. undo port trunk permit vlan { vlan_id_list | all }
Note that the access port shall be added to an existing VLAN other than VLAN 1. The
VLAN to which Hybrid port is added must have been existed. The one to which Trunk
port is added cannot be VLAN 1.
After adding the Ethernet port to specified VLANs, the local port can forward packets of
these VLANs. The hybrid and trunk ports can be added to multiple VLANs, thereby
implementing the VLAN intercommunication between peers. For the hybrid port, you
can configure to tag some VLAN packets, based on which the packets can be
processed differently.
1.2.11 Set the Default VLAN ID for the Ethernet Port
Since the access port can only be included in one VLAN only, its default VLAN is the
one to which it belongs. The hybrid port and the trunk port can be included in several
VLANs, it is necessary to configure the default VLAN ID. If the default VLAN ID has
been configured, the packets without VLAN Tag will be forwarded to the port that
belongs to the default VLAN. When sending the packets with VLAN Tag, if the VLAN ID

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
1-7
of the packet is identical to the default VLAN ID of the port, the system will remove
VLAN Tag before sending this packet.
Perform the following configuration in Ethernet port view.
Table 1-11 Set the default VLAN ID for the Ethernet port
Operation Command
Set the default VLAN ID for the hybrid port. port hybrid pvid vlan vlan_id
Set the default VLAN ID for the trunk port port trunk pvid vlan vlan_id
Restore the default VLAN ID of the hybrid port to the default value undo port hybrid pvid
Restore the default VLAN ID of the trunk port to the default value undo port trunk pvid
Note that, to guarantee the proper packet transmission, the default VLAN ID of local
hybrid port or Trunk port should be identical with that of the hybrid port or Trunk port on
the peer switch.
By default, the VLAN of hybrid port and trunk port is VLAN 1 and that of the access port
is the VLAN to which it belongs.
1.2.12 Set the Time Interval of Calculating Port Statistics Information
The following commands are used for configuring a time interval. When calculating port
statistics information, the switch calculates the average port speed during the time
interval.
Perform the following configuration in Ethernet port view.
Table 1-12 Set the time interval of calculating port statistics information
Operation Command
Set the time interval of calculating port statistics information flow-interval interval
Restore the default time interval of calculating port statistics information undo flow-interval
By default, the time interval of calculating port statistics information is 300 seconds.
1.3 Display and Debug Ethernet Port
After the above configuration, execute display command in any view to display the
running of the Ethernet port configuration, and to verify the effect of the configuration.
Execute reset command in user view to clear the statistics information of the port.
Execute loopback command in Ethernet port view to check whether the Ethernet port
works normally. In the process of the loopback test, the port cannot forward the packets.
The loop test will finish automatically after being executed for a while.

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
1-8
Table 1-13 Display and debug Ethernet port
Operation Command
Configure to perform loopback test on the Ethernet port. loopback {external |internal }
Display all the information of the port display interface { interface_type | interface_type
interface_num | interface_name }
Display hybrid port or trunk port display port { hybrid |trunk }
Clear the statistics information of the port reset counters interface [ interface_type |
interface_type interface_num | interface_name ]
Note that the loopback test cannot be performed on the port disabledby the shutdown
command. During the loopback test, the system will disable speed, duplex,and
shutdown operation on the port. Some ports do not support the loopback test. If
performing this command in these ports, you will see the system prompt.
1.4 Ethernet Port Configuration Example
I. Networking requirements
Ethernet Switch (Switch A) is connected to the peer (Switch B) via the trunk port
GigabitEthernet0/1. The following example configures the default VLAN ID for the trunk
port and verifies the port trunk pvid vlan command. As a typical application of the
port trunk pvid vlan command, the trunk port will transmit the packets without tag to
the default VLAN.
II. Networking diagram
Switch A Switch B
Figure 1-1 Configure the default VLAN for a trunk port
III. Configuration procedure
The following configurations are used for Switch A. Please configure Switch B in the
similar way.
# Enter the Ethernet port view of GigabitEthernet0/1.
[Quidway] interface gigabitethernet0/1
# Set the GigabitEthernet0/1 as a trunk port and allows VLAN 2, 6 through 50, and 100
to pass through.
[Quidway-GigabitEthernet0/1] port link-type trunk

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 1 Ethernet Port Configuration
1-9
[Quidway-GigabitEthernet0/1] port trunk permit vlan 2 6 to 50 100
# Create the VLAN 100.
[Quidway] vlan 100
# Configure the default VLAN ID of GigabitEthernet0/1 as 100.
[Quidway-GigabitEthernet0/1] port trunk pvid vlan 100
1.5 Ethernet Port Troubleshooting
Fault: Default VLAN ID configuration failed.
Troubleshooting: Take the following steps.
zExecute the display interface or display port command to check if the port is a
trunk port or a hybrid port. If it is neither of them, configure it as a trunk port or a
hybrid port.
zThen configure the default VLAN ID.

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 2 Link Aggregation Configuration
2-1
Chapter 2 Link Aggregation Configuration
2.1 Link Aggregation Overview
The link aggregation means aggregating several ports together to implement the
outgoing/incoming payload balance among the member ports and enhance the
connection reliability.
An S5012G/S5012T-12/10GBC Ethernet Switch supports at most six aggregated
groups, with each group containing a maximum of eight fixed ports. The port numbers
in a group must be consecutive, but no special restrictions on the starting port.
An S5024G-24/20TP Ethernet Switch supports at most twelve aggregated groups, with
each group containing a maximum of eight fixed ports. The port numbers in a group
must be consecutive, but no special restrictions on the starting port.
In a link aggregation group, the port with the smallest number serves as the master port,
and the others serve as member ports. In one link aggregation group, the link type of
the master port and the member ports must be identical. That is, the master port and
the member ports should be in Trunk mode together, or be inAccess mode together.
2.2 Link Aggregation Configuration
Link aggregation configuration includes:
zAggregate Ethernet ports
2.2.1 Aggregate Ethernet Ports
The following command can be used for aggregating Ethernet ports or removing a
configured link aggregation.
Perform the following configuration in system view.
Table 2-1 Aggregating Ethernet ports
Operation Command
Aggregate Ethernet ports link-aggregation port_num1 to port_num2 { both | ingress }
Remove a configured link aggregation undo link-aggregation { master_port_num |all }
Note that only those Ethernet ports with the same speed and in full duplex mode can be
aggregated.

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 2 Link Aggregation Configuration
2-2
2.3 Display and Debug Link Aggregation
After the above configuration, execute display command in any view to display the
running of the link aggregation configuration, and to verify the effect of the
configuration.
Table 2-2 Display the information of the link aggregation
Operation Command
Display the information of the link aggregation display link-aggregation [master_port_num ]
2.4 Link Aggregation Configuration Example
I. Networking requirements
The following example uses the link aggregation commands to aggregate several ports
and implement the outgoing/incoming payload balance among all the member ports.
The link aggregation is typically used for Trunk ports. Since the Trunk port allows
frames from several VLANs to pass through, the heavy traffic needs balancing among
all the ports.
Ethernet Switch (Switch A) is connected to the Ethernet Switch (Switch B) in the
upstream via the aggregation of three ports, GigabitEthernet0/1 through
GigabitEthernet0/3.
II. Networking diagram
Link aggregation
Switch B
Switch A Switch C
Figure 2-1 Configure link aggregation
III. Configuration procedure
The following configurations are used for Switch A, please configure Switch B in the
similar way to activate aggregation.

Operation Manual - Port
Quidway S5000 Series Ethernet Switches Chapter 2 Link Aggregation Configuration
2-3
# Aggregate GigabitEthernet0/1 through GigabitEthernet0/3.
[Quidway] link-aggregation gigabitethernet0/1 to gigabitethernet0/3 both
# Display the information of the link aggregation.
[Quidway] display link-aggregation gigabitethernet0/1
Master port: GigabitEthernet0/1
Other sub-ports:
GigabitEthernet0/2
GigabitEthernet0/3
Mode: both
2.5 Ethernet Link Aggregation Troubleshooting
Fault: You might see the prompt of configuration failure when configuring link
aggregation.
Troubleshooting:
zCheck the input parameterand see whether the starting number of Ethernet port is
smaller than the end number. If yes, take the next step.
zCheck whether the Ethernet ports that are in the configured range belong to any
other existing link aggregations. If not, take the next step.
zCheck whether the ports to be aggregated operate in the same speed and full
duplex mode. If yes, take the next step.
zCheck if there are no more than eight ports in one group.
zIf correct, configure the link aggregation again.
This manual suits for next models
2
Table of contents
Other Quidway Switch manuals
Popular Switch manuals by other brands

Generac Power Systems
Generac Power Systems CTTS Series specification

LevelOne
LevelOne GEU-1628 Quick installation guide

AETEK
AETEK D51-084-30 D51-044-30-DC Quick installation guide

ZyXEL Communications
ZyXEL Communications GS2200-24 Series Specifications

HP
HP StorageWorks 2/8-EL - SAN Switch release note

E3Switch
E3Switch WAN Monitor Operating information