Enabling the system to test connected cable, Disabling up/down log output on a port – H3C Technologies H3C S3100 Series Switches User Manual
Page 149

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.
Table 1-8 Enable the system to test connected cables
Operation
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
z
Currently, the device is only capable of testing the cable status and cable length. For the testing
items that are currently not supported, “-” is displayed in the corresponding output fields.
z
Cable test cannot be performed on an optical port.
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
Table 1-9 Set the interval to perform statistical analysis on port traffic
Operation
Command
Description
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.
Disabling Up/Down Log Output on a Port
An Ethernet port has two physical link statuses: UP and Down. When the physical link status of an
Ethernet port changes, the switch will send log to the log server, which in turn acts accordingly. If the