H3C S3100-52P Operating instructions

Category
Network switches
Type
Operating instructions

H3C S3100-52P, a powerful Ethernet switch, provides a comprehensive suite of features to enhance your network connectivity and efficiency. With its 48 Gigabit Ethernet ports and 4 SFP+ ports, it offers ample connectivity options for various devices, including servers, workstations, IP phones, and wireless access points. By enabling flow control, you can optimize network performance and minimize packet loss, ensuring smooth data transmission even during heavy traffic loads.

H3C S3100-52P, a powerful Ethernet switch, provides a comprehensive suite of features to enhance your network connectivity and efficiency. With its 48 Gigabit Ethernet ports and 4 SFP+ ports, it offers ample connectivity options for various devices, including servers, workstations, IP phones, and wireless access points. By enabling flow control, you can optimize network performance and minimize packet loss, ensuring smooth data transmission even during heavy traffic loads.

Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Table of Contents
i
Table of Contents
Chapter 1 Port Basic Configuration ............................................................................................1-1
1.1 Ethernet Port Configuration...............................................................................................1-1
1.1.1 Initially Configuring a Port.......................................................................................1-1
1.1.2 Configuring Port Auto-Negotiation Speed...............................................................1-2
1.1.3 Limiting Traffic on individual Ports ..........................................................................1-3
1.1.4 Enabling Flow Control on a Port .............................................................................1-4
1.1.5 Duplicating the Configuration of a Port to Other Ports............................................ 1-4
1.1.6 Configuring Loopback Detection for an Ethernet Port ............................................1-5
1.1.7 Enabling Loopback Test..........................................................................................1-6
1.1.8 Enabling the System to Test Connected Cable......................................................1-7
1.1.9 Configuring the Interval to Perform Statistical Analysis on Port Traffic ..................1-8
1.1.10 Enabling Giant-Frame Statistics Function.............................................................1-8
1.1.11 Disabling Up/Down Log Output on a Port.............................................................1-8
1.1.12 Configuring Storm Control on a Port.....................................................................1-9
1.1.13 Setting the Port State Change Delay..................................................................1-10
1.1.14 Displaying and Maintaining Basic Port Configuration......................................... 1-12
1.2 Ethernet Port Configuration Example..............................................................................1-12
1.3 Troubleshooting Ethernet Port Configuration.................................................................. 1-13
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-1
Chapter 1 Port Basic Configuration
When performing port basic configuration, go to these sections for information you are
interested in:
z Ethernet Port Configuration
z Ethernet Port Configuration Example
z Troubleshooting Ethernet Port Configuration
Note:
z The auto-negotiation speed configuration is added to this manual. For details, refer
to
Configuring Port Auto-Negotiation Speed.
z The storm control function is added to this manual. For details, refer to Configuring
Storm Control on a Port
.
z The displaying and maintaining of the statistics on dropped packets is added to this
manual. For details, refer to
Displaying and Maintaining Basic Port Configuration.
z The port state change delay configuration is added to this manual. For details, refer
to
Setting the Port State Change Delay.
z Disable a port from generating UP/Down log is added to this manual. For details,
refer to
Disabling Up/Down Log Output on a Port.
1.1 Ethernet Port Configuration
1.1.1 Initially Configuring a Port
Follow these steps to initially configure a port:
To do... Use the command... Remarks
Enter system view
system-view
Enter Ethernet port
view
interface interface-type
interface-number
Enable the Ethernet
port
undo shutdown
Optional
By default, the port is enabled.
Use the shutdown command
to disable the port.
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-2
To do... Use the command... Remarks
Set the description
string for the Ethernet
port
description text
Optional
By default, the description
string of an Ethernet port is
null.
Set the duplex mode of
the Ethernet port
duplex { auto | full |
half }
Optional
By default, the duplex mode of
the port is auto
(auto-negotiation).
Set the speed of the
Ethernet port
speed { 10 | 100 | 1000
| auto }
Optional
z By default, the speed of an
Ethernet port is determined
through auto-negotiation
(the auto keyword).
z Use the 1000 keyword for
Gigabit Ethernet ports only.
Set the medium
dependent interface
(MDI) mode of the
Ethernet port
mdi { across | auto |
normal }
Optional
Be default, the MDI mode of an
Ethernet port is auto.
Set the maximum
frame size allowed on
the Ethernet port to
9,216 bytes
jumboframe enable
Optional
By default, the maximum frame
size allowed on an Ethernet is
9,216 bytes. To set the
maximum frame size allowed
on an Ethernet port to 1,536
bytes, use the undo
jumboframe enable
command.
1.1.2 Configuring Port Auto-Negotiation Speed
You can configure an auto-negotiation speed for a port by using the speed auto
command.
Take a 10/100/1000 Mbps port as an example.
z If you expect that 10 Mbps is the only available auto-negotiation speed of the port,
you just need to configure speed auto 10.
z If you expect that 10 Mbps and 100 Mbps are the available auto-negotiation
speeds of the port, you just need to configure speed auto 10 100.
z If you expect that 10 Mbps and 1000 Mbps are the available auto-negotiation
speeds of the port, you just need to configure speed auto 10 1000.
Follow these steps to configure auto-negotiation speeds for a port:
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-3
To do... Use the command... Remarks
Enter system view
system-view
Enter Ethernet interface
view
interface interface-type
interface-number
Configure the available
auto-negotiation speed(s)
for the port
speed auto [ 10 | 100 |
1000 ]*
Optional
z By default, the port
speed is determined
through
auto-negotiation.
z Use the 1000 keyword
for Gigabit Ethernet
ports only.
Note:
z Only ports on the front panel of the device support the auto-negotiation speed
configuration feature. And ports on the extended interface card do not support this
feature currently.
z After you configure auto-negotiation speed(s) for a port, if you execute the undo
speed command or the speed auto command, the auto-negotiation speed setting
of the port restores to the default setting.
z The effect of executing speed auto 10 100 1000 equals to that of executing speed
auto, that is, the port is configured to support all the auto-negotiation speeds: 10
Mbps, 100 Mbps, and 1000 Mbps.
1.1.3 Limiting Traffic on individual Ports
By performing the following configurations, you can limit the incoming
broadcast/multicast/unknown unicast traffic on individual ports. When a type of
incoming traffic exceeds the threshold you set, the system drops the packets exceeding
the traffic limit to reduce the traffic ratio of this type to the reasonable range, so as to
keep normal network service.
Follow these steps to limit traffic on port:
To do... Use the command... Remarks
Enter system view
system-view
Limit broadcast traffic
received on each port
broadcast-suppression
{ ratio | pps max-pps }
Optional
By default, the switch
does not suppress
broadcast traffic.
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-4
To do... Use the command... Remarks
Enter Ethernet port view
interface interface-type
interface-number
Limit broadcast traffic
received on the current
port
broadcast-suppression
{ ratio | pps max-pps }
Optional
By default, the switch
does not suppress
broadcast traffic.
Limit multicast traffic
received on the current
port
multicast-suppression
{ ratio | pps max-pps }
Optional
By default, the switch
does not suppress
multicast traffic.
Limit unknown unicast
traffic received on the
current port
unicast-suppression
{ ratio | pps max-pps }
Optional
By default, the switch
does not suppress
unknown unicast traffic.
1.1.4 Enabling Flow Control on a Port
Flow control is enabled on both the local and peer switches. If congestion occurs on the
local switch:
z The local switch sends a message to notify the peer switch of stopping sending
packets to itself or reducing the sending rate temporarily.
z The peer switch will stop sending packets to the local switch or reduce the sending
rate temporarily when it receives the message; and vice versa. By this way, packet
loss is avoided and the network service operates normally.
Follow these steps to enable flow control on a port:
To do... Use the command... Remarks
Enter system view
system-view
Enter Ethernet port view
interface interface-type
interface-number
Enable flow control on the
Ethernet port
flow-control
Required
By default, flow control is
not enabled on the port.
1.1.5 Duplicating the Configuration of a Port to Other Ports
To make other ports have the same configuration as that of a specific port, you can
duplicate the configuration of a port to specific ports.
Specifically, the following types of port configuration can be duplicated from one port to
other ports: VLAN configuration, protocol-based VLAN configuration, LACP
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-5
configuration, QoS configuration, GARP configuration, STP configuration and initial
port configuration. Refer to the command manual for the configurations that can be
duplicated.
Follow these steps to duplicate the configuration of a port to specific ports:
To do... Use the command... Remarks
Enter system view
system-view
Duplicate the
configuration of a port
to specific ports
copy configuration source
{ interface-type interface-number |
aggregation-group source-agg-id }
destination { interface-list
[ aggregation-group destination-agg-id ] |
aggregation-group destination-agg-id }
Required
Note:
z If you specify a source aggregation group ID, the system will use the port with the
smallest port number in the aggregation group as the source.
z If you specify a destination aggregation group ID, the configuration of the source
port will be copied to all ports in the aggregation group and all ports in the group will
have the same configuration as that of the source port.
1.1.6 Configuring Loopback Detection for an Ethernet Port
Loopback detection is used to monitor if loopback occurs on a switch port.
After you enable loopback detection on Ethernet ports, the switch can monitor if
external loopback occurs on them. If there is a loopback port found, the switch will put it
under control.
z If loopback is found on an access port, the system disables the port, sends a Trap
message to the client and removes the corresponding MAC forwarding entry.
z If loopback is found on a trunk or hybrid port, the system sends a Trap message to
the client. When the loopback port control function is enabled on these ports, the
system disables the port, sends a Trap message to the client and removes the
corresponding MAC forwarding entry.
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-6
Follow these steps to configure loopback detection for an Ethernet port:
To do... Use the command... Remarks
Enter system view
system-view
Enable loopback
detection globally
loopback-detection
enable
Required
By default, loopback
detection is disabled
globally.
Set the interval for
performing port loopback
detection
loopback-detection
interval-time time
Optional
The default is 30 seconds.
Enter Ethernet port view
interface interface-type
interface-number
Enable loopback
detection on a specified
port
loopback-detection
enable
Required
By default, port loopback
detection is disabled.
Enable loopback port
control on the trunk or
hybrid port
loopback-detection
control enable
Optional
By default, loopback port
control is not enabled.
Configure the system to
run loopback detection on
all VLANs of the current
trunk or hybrid port
loopback-detection
per-vlan enable
Optional
By default, the system
runs loopback detection
only on the default VLAN
of the current trunk or
hybrid port.
Caution:
z To enable loopback detection on a specific port, you must use the
loopback-detection enable command in both system view and the specific port
view.
z After you use the undo loopback-detection enable command in system view,
loopback detection will be disabled on all ports.
1.1.7 Enabling Loopback Test
You can configure the Ethernet port to run loopback test to check if it operates normally.
The port running loopback test cannot forward data packets normally. The loopback
test terminates automatically after a specific period.
Follow these steps to enable loopback test:
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-7
To do... Use the command... Remarks
Enter system view
system-view
Enter Ethernet port view
interface interface-type
interface-number
Enable loopback test
loopback { external | internal } Required
Note:
z external: Performs external loop test. In the external loop test, self-loop headers
must be used on the port of the switch ( for 100M port, the self-loop headers are
made from four cores of the 8-core cables, for 1000M port, the self-loop header are
made from eight cores of the 8-core cables, then the packets forwarded by the port
will be received by itself.). The external loop test can locate the hardware failures on
the port.
z internal: Performs internal loop test. In the internal loop test, self loop is established
in the switching chip to locate the chip failure which is related to the port.
Note that:
z After you use the shutdown command on a port, the port cannot run loopback
test.
z You cannot use the speed, duplex, mdi and shutdown commands on the ports
running loopback test.
z Some ports do not support loopback test, and corresponding prompts will be given
when you perform loopback test on them.
1.1.8 Enabling the System to Test Connected Cable
You can enable the system to test the cable connected to a specific port. The test result
will be returned in five seconds. The system can test these attributes of the cable:
Receive and transmit directions (RX and TX), short circuit/open circuit or not, the length
of the faulty cable.
Follow these steps to enable the system to test connected cables:
To do... Use the command... Remarks
Enter system view
system-view
Enter Ethernet port view
interface interface-type
interface-number
Enable the system to test
connected cables
virtual-cable-test
Required
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-8
1.1.9 Configuring the Interval to Perform Statistical Analysis on Port Traffic
By performing the following configuration, you can set the interval to perform statistical
analysis on the traffic of a port.
When you use the display interface interface-type interface-number command to
display the information of a port, the system performs statistical analysis on the traffic
flow passing through the port during the specified interval and displays the average
rates in the interval. For example, if you set this interval to 100 seconds, the displayed
information is as follows:
Last 100 seconds input: 0 packets/sec 0 bytes/sec
Last 100 seconds output: 0 packets/sec 0 bytes/sec
Follow these steps to set the interval to perform statistical analysis on port traffic:
To do... Use the command... Remarks
Enter system view
system-view
Enter Ethernet port view
interface interface-type
interface-number
Set the interval to perform
statistical analysis on port
traffic
flow-interval interval
Optional
By default, this interval is
300 seconds.
1.1.10 Enabling Giant-Frame Statistics Function
The giant-frame statistics function is used to ensure normal data transmission and to
facilitate statistics and analysis of unusual traffic on the network.
Follow these steps to enable the giant-frame statistics function:
To do... Use the command... Remarks
Enter system view
system-view
Enable the giant-frame
statistics function
giant-frame statistics
enable
Required
By default, the
giant-frame statistics
function is not enabled.
1.1.11 Disabling Up/Down Log Output on a Port
An Ethernet port has three physical link statuses: Up, Down, and Administratively Down.
For status transition conditions, refer to the description of the display brief interface
command in Basic Port Configuration Command.
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-9
When the physical link status of an Ethernet port changes between Up and Down or Up
and Administratively Down, the switch will generate Up/Down log and send the log
information to the terminal automatically by default. If the status of Ethernet ports in a
network changes frequently, large amount of log information may be sent to the
terminal, which consumes more network resources. Additionally, too frequent log
information is not convenient for you to view.
You can limit the amount of the log information sent to the terminal by disabling the
Up/Down log output function on some Ethernet ports selectively. For information about
log output settings, refer to the Information Center module.
Follow these steps to disable UP/Down log output on a port:
To do... Use the command... Remarks
Enter system view
system-view
Enter Ethernet port view
interface interface-type
interface-number
Disable a port from
generating UP/Down log
undo enable log
updown
Required
By default, UP/Down log
output is enabled.
1.1.12 Configuring Storm Control on a Port
The storm control function is used to control traffic received on an Ethernet port.
z With traffic upper and lower thresholds specified on a port, the system periodically
collects statistics about the broadcast/multicast/unicast/ traffic on the port. Once it
finds that a type of traffic exceeds the specified upper threshold, it blocks this type
of traffic on the port or directly shuts down the port, and outputs trap/log
information according to your configuration.
z When a type of traffic on the port falls back to the specified lower threshold, the
system cancels the blocking of this type of traffic on the port or brings up the port to
restore traffic forwarding for the port, and outputs log/trap information according to
your configuration.
Follow these steps to configure storm control on a port:
To do... Use the command... Remarks
Enter system view
system-view
Enter Ethernet port view
interface interface-type
interface-number
Set the upper and lower
thresholds of
broadcast/multicast/unicast
traffic received on the port
storm-constrain
{ broadcast | multicast |
unicast } max-packets
min-packets pps
Required
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-10
To do... Use the command... Remarks
Set the action to be taken
when a type of traffic
received on the port
exceeds the upper
threshold.
storm-constrain control
{ block | shutdown }
Optional
By default, no action is
taken when a type of
traffic reaches the
upper threshold.
Enable log/trap information
to be output when a type of
traffic received on the port
exceeds the upper
threshold or falls below the
lower threshold
storm-constrain enable
{ log | trap }
Optional
Enabled by default.
Return to system view
quit
Set the interval at which the
port collects traffic statistics
storm-constrain interval
interval-value
Optional
It is 10 seconds by
default.
Note:
z If the broadcast-suppression command, multicast-suppression command or
unicast suppression command is configured on a port, you cannot configure the
storm control function on the port, and vice versa.
z You are not recommended to set the upper and lower traffic thresholds to the same
value.
z If you specify the block keyword when executing the storm-constrain control
command, only the packets beyond the upper thresholds are blocked when the
overall traffic exceeds the upper threshold. In this case, the blocked packets are still
taken into account when generating traffic statistics. If you specify the shutdown
keyword when executing the command, the port will be shut down when the traffic
passing through the port exceeds the upper threshold. You bring up the port again
by executing the undo shutdown or the undo storm-constrain { all | broadcast |
multicast | unicast } command.
1.1.13 Setting the Port State Change Delay
During a short period after you connect your switch to another device, the connecting
port may go up and down frequently due to hardware compatibility, resulting in service
interruption.
To avoid situations like this, you may introduce a port state change delay.
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-11
Caution:
The port state change delay takes effect when the port goes down but not when the
port goes up.
Follow these steps to set the port state change delay:
To do … Use the command … Remarks
Enter system view
system-view
Enter Ethernet
interface view
interface interface-type
interface-number
Set the port state
change delay
link-delay delay-time
Required
Defaults to 0, which indicates
the port state changes without
any delay.
Note:
The delay configured in this way does not take effect for ports in DLDP down state. For
information about the DLDP down state, refer to DLDP.
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-12
1.1.14 Displaying and Maintaining Basic Port Configuration
To do... Use the command... Remarks
Display port
configuration
information
display interface [ interface-type
| interface-type interface-number ]
Display the
enable/disable status
of port loopback
detection
display loopback-detection
Display brief
information about port
configuration
display brief interface
[ interface-type
[ interface-number ] ] [ | { begin |
include | exclude }
regular-expression ]
Display port
information about a
specified unit
display unit unit-id interface
Display the storm
control configurations.
display storm-constrain
[ interface interface-type
interface-number ] [ | { begin |
exclude | include }
regular-expression ]
Display the statistics
on the packets
dropped on a port or all
ports
display packet-drop { interface
[ interface-type interface-number ]
| summary }
Display the information
about the port with the
link-delay command
configured
display link-delay
Available in any view
Clear the statistics on
packets dropped on a
port or all ports
reset packet-drop interface
[ interface-type interface-number ]
Available in user view
Clear port statistics
reset counters interface
[ interface-type | interface-type
interface-number ]
Available in user view
After 802.1x is
enabled on a port,
clearing the statistics
on the port will not
work.
1.2 Ethernet Port Configuration Example
I. Network requirements
z Switch A and Switch B are connected to each other through two trunk port
(Ethernet 1/0/1).
Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch Chapter 1 Port Basic Configuration
1-13
z Configure the default VLAN ID of both Ethernet 1/0/1 to 100.
z Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
both Ethernet 1/0/1.
II. Network diagram
Figure 1-1 Network diagram for Ethernet port configuration
III. Configuration procedure
Note:
z Only the configuration for Switch A is listed below. The configuration for Switch B is
similar to that of Switch A.
z This example supposes that VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 have
been created.
# Enter Ethernet 1/0/1 port view.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
# Set Ethernet 1/0/1 as a trunk port.
[Sysname-Ethernet1/0/1] port link-type trunk
# Allow packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass Ethernet
1/0/1.
[Sysname-Ethernet1/0/1] port trunk permit vlan 2 6 to 50 100
# Configure the default VLAN ID of Ethernet 1/0/1 to 100.
[Sysname-Ethernet1/0/1] port trunk pvid vlan 100
1.3 Troubleshooting Ethernet Port Configuration
Symptom: Fail to configure the default VLAN ID of an Ethernet port.
Solution: Take the following steps.
z Use the display interface or display port command to check if the port is a trunk
port or a hybrid port.
z If the port is not a trunk or hybrid port, configure it to be a trunk or hybrid port.
z Configure the default VLAN ID of the port.
  • 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

H3C S3100-52P Operating instructions

Category
Network switches
Type
Operating instructions

H3C S3100-52P, a powerful Ethernet switch, provides a comprehensive suite of features to enhance your network connectivity and efficiency. With its 48 Gigabit Ethernet ports and 4 SFP+ ports, it offers ample connectivity options for various devices, including servers, workstations, IP phones, and wireless access points. By enabling flow control, you can optimize network performance and minimize packet loss, ensuring smooth data transmission even during heavy traffic loads.

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

Finding information in a document is now easier with AI