H3C S5150-EI Switch Series Troubleshooting Guide-6W101

HomeSupportSwitchesH3C S5150 Switch SeriesDiagnose & MaintainTroubleshootingH3C S5150-EI Switch Series Troubleshooting Guide-6W101
Download Book

 

H3C S5150-EI Switch Series

Troubleshooting Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Document version: 6W101-20171222

 

H3C_彩色.emf

 


Contents

Introduction· 1

General guidelines· 1

Collecting log and operating information· 1

Collecting common log messages· 2

Collecting diagnostic log messages· 2

Collecting operating statistics· 3

Troubleshooting hardware· 5

Unexpected switch reboot 5

Symptom·· 5

Troubleshooting flowchart 5

Solution· 5

Operating power module failure (for switch models that support removable power modules) 6

Symptom·· 6

Solution· 6

Newly-installed power module failure (for switch models that support removable power modules) 7

Symptom·· 7

Solution· 7

Fan tray failure· 7

Symptom·· 7

Solution· 7

Related commands· 8

Troubleshooting ACL· 9

ACL application failure with an error message· 9

Symptom·· 9

Solution· 9

ACL application failure without an error message· 9

Symptom·· 9

Troubleshooting flowchart 10

Solution· 10

Related commands· 11

Troubleshooting IRF· 12

IRF fabric establishment failure· 12

Symptom·· 12

Troubleshooting flowchart 13

Solution· 13

Related commands· 15

Troubleshooting Ethernet link aggregation· 16

Link aggregation failure· 16

Symptom·· 16

Troubleshooting flowchart 17

Solution· 17

Related commands· 18

Troubleshooting ports· 19

A fiber port fails to come up· 19

Symptom·· 19

Troubleshooting flowchart 19

Solution· 19

A copper port fails to come up· 20

Symptom·· 20

Troubleshooting flowchart 21

Solution· 21

Related commands· 22

Troubleshooting other problems· 23

Layer 2 forwarding failure· 23

Symptom·· 23

Troubleshooting flowchart 23

Solution· 24

Related commands· 27

Layer 3 forwarding failure· 28

Symptom·· 28

Troubleshooting flowchart 28

Solution· 29

Related commands· 29

Protocol flapping· 29

Symptom·· 29

Troubleshooting flowchart 30

Solution· 30

PoE power supply anomaly· 31

Symptom·· 31

Troubleshooting flowchart 31

Solution· 31

Related commands· 33

 


Introduction

This document provides information about troubleshooting common software and hardware problems with H3C S5150-EI Switch Series.

This document is not restricted to specific software or hardware versions.

General guidelines

IMPORTANT

IMPORTANT:

To prevent a failure from causing loss of configuration, save the configuration each time you finish configuring a feature. For configuration recovery, regularly back up the configuration to a remote server.

 

When you troubleshoot the switch, follow these general guidelines:

·     To help identify the failure cause, collect system and configuration information, including:

?     Symptom, time of failure, and configuration.

?     Network topology information, including the network diagram, port connections, and points of failure.

?     Log messages and diagnostic information. For more information about collecting this information, see "Collecting log and operating information."

?     Physical evidence of failure:

-     Photos of hardware.

-     Status of the LEDs.

?     Measures you have taken, such as reconfiguration, cable swapping, and reboot.

?     Output from the commands executed during the troubleshooting process.

·     To ensure safety, wear an ESD wrist strap when you replace or maintain a hardware component.

·     If hardware replacement is required, use the release notes to verify the hardware and software compatibility.

Collecting log and operating information

IMPORTANT

IMPORTANT:

By default, the information center is enabled. If the feature is disabled, you must use the info-center enable command to enable the feature for collecting log messages.

 

Table 1 shows the types of files that the system uses to store operating log and status information. You can export these files by using FTP or TFTP.

In an IRF system, these files are stored on the master device. Multiple devices will have log files if master/subordinate switchovers have occurred. You must collect log files from all these devices. To more easily locate log information, use a consistent rule to categorize and name files. For example, save log files to a separate folder for each member device, and include their slot numbers in the folder names.

Table 1 Log and operating information

Category

File name format

Content

Common log

logfile.log

Log messages about command executions, event occurrences, state changes, and so on.

Diagnostic log

diagfile.log

Diagnostic log messages about device operation, including the following items:

·     Parameter settings used when an error occurs.

·     Information about a card startup error.

·     Handshaking information between member devices when a communication error occurs.

Operating statistics

file-basename.tar.gz

IMPORTANT IMPORTANT:

Current operating statistics for feature modules, including the following items:

·     Device status.

·     CPU status.

·     Memory status.

·     Configuration status.

·     Software entries.

·     Hardware entries.

 

Collecting common log messages

1.     Save the common log messages from the log buffer to a log file.

By default, the log file is saved in the logfile directory of the flash memory on each member device.

<Sysname> logfile save

The contents in the log file buffer have been saved to the file flash:/logfile/logfile.log

2.     Identify the log file on each member device:

# Display the log file on the master device.

<Sysname> dir flash:/logfile/

Directory of flash:/logfile

   0 -rw-       21863 Jul 11 2013 16:00:37   logfile.log

 

524288 KB total (107944 KB free)

# Display the log file on each subordinate device (subordinate device 2 for example):

<Sysname> dir slot2#flash:/logfile/

Directory of slot2#flash:/logfile

   0 -rw-       21863 Jul 11 2013 16:00:37   logfile.log

 

524288 KB total (107944 KB free)

 

3.     Transfer the files to the desired destination by using FTP or TFTP. (Details not shown.)

Collecting diagnostic log messages

1.     Save the diagnostic log messages from the diagnostic log file buffer to a diagnostic log file.

By default, the diagnostic log file is saved in the diagfile directory of the flash memory on each member device.

<Sysname> diagnostic-logfile save

The contents in the diagnostic log file buffer have been saved to the file flash:/diagfile/diagfile.log

2.     Identify the diagnostic log file on each member device:

# Display the diagnostic log file on the master device.

<Sysname> dir flash:/diagfile/

Directory of flash:/diagfile

   0 -rw-      161321 Jul 11 2013 16:16:00   diagfile.log

 

524288 KB total (107944 KB free)

 

# Display the diagnostic log file on each subordinate device (subordinate device 2 for example):

<Sysname> dir slot2#flash:/diagfile/

<Sysname> dir slot2#flash:/diagfile/

Directory of slot2#flash:/diagfile

   0 -rw-      161321 Jul 11 2013 16:16:00   diagfile.log

 

524288 KB total (107944 KB free)

 

3.     Transfer the files to the desired destination by using FTP or TFTP. (Details not shown.)

Collecting operating statistics

You can collect operating statistics by saving the statistics to a file or displaying the statistics on the screen.

When you collect operating statistics, follow these guidelines:

·     Log in to the device through a network port or management port (if any) instead of the console port as long as possible. Network and management ports are faster than the console port.

·     Do not execute commands during operating statistics collection.

·     To ensure information completeness, H3C recommends that you save the statistics to a file.

 

 

NOTE:

The amount of time to collect statistics increases along with the number of IRF member devices.

 

To collect operating statistics:

1.     Collect operating statistics for multiple feature modules.

<Sysname> display diagnostic-information

Save or display diagnostic information (Y=save, N=display)? [Y/N] :

2.     At the prompt, choose to save or display operating statistics:

# To save operating statistics, enter y at the prompt and then specify the destination file path.

Save or display diagnostic information (Y=save, N=display)? [Y/N] :y

Please input the file name(*.tar.gz) [flash:/diag_Sysname_20160101-000704.tar.gz] :flash:/diag.tar.gz

Diagnostic information is outputting to flash:/diag.tar.gz.

Please wait...

Save successfully.

<Sysname> dir flash:/

Directory of flash:

   6 -rw-      898180 Jun 26 2013 09:23:51   diag.tar.gz

 

524288 KB total (107944 KB free)

 

# To display operating statistics on the monitor terminal, enter n at the prompt. (The output from this command varies by software version.)

Save or display diagnostic information (Y=save, N=display)? [Y/N] :N

===============================================

  ===============display clock===============

09:36:03 UTC Fri 01/01/2016

=================================================

---- More ----

 


Troubleshooting hardware

This section provides troubleshooting information for common hardware problems.

 

 

NOTE:

This section describes how to troubleshoot unexpected switch reboot, removable power modules, and fixed fan trays. To troubleshoot transceiver modules and ports, see "Troubleshooting ports."

 

Unexpected switch reboot

Symptom

The switch reboots unexpectedly when it is operating.

Troubleshooting flowchart

Figure 1 Troubleshooting unexpected switch reboot

 

 

Solution

To resolve the problem:

1.     Verify that you can access the CLI.

?     If you can access the CLI, execute the display diagnostic-information command to collect operating statistics.

?     If you cannot access the CLI, go to step 2.

2.     Verify that the system software image on the switch is correct.

Log in to the switch through the console port and restart the switch. If the system reports that a CRC error has occurred or that no system software image is available during the BootWare loading process, reload the system software image on the BootWare menu and configure it as the current system software image.

3.     If the problem persists, contact H3C Support.

Operating power module failure (for switch models that support removable power modules)

Symptom

A trap or log is generated indicating that an operating power module is faulty.

Solution

To resolve the problem:

1.     Execute the display power command to display power module information.

<Sysname> display power

 Slot 1:                                                                       

 PowerID State    Mode   Current(A)  Voltage(V)  Power(W)                      

 1       Normal   DC       --          --           --                          

 2       Fault    AC       --          --           --       

If the power module is in Absent state, go to step 2. If the power module is in Fault state, go to step 3.

2.     Remove and reinstall the power module to make sure the power module is installed correctly. Then, execute the display power command to verify that the power module has changed to Normal state. If the power module remains in Absent state, replace the power module.

3.     When the power module is in Fault state, perform the following tasks:

a.     Verify that the power module has not been disconnected from the power source. If it has been disconnected from the power source, connect the power source to it.

b.     Verify that the power module surface is clean. If there is dust accumulated on the power module, remove the dust. Then remove and reinstall the power module. Execute the display power command to verify that the power module has changed to Normal state. If the power module remains in Fault state, go to step c.

c.     Install the power module into an empty power module slot. Then execute the display power command to verify that the power module has changed to Normal state in the new slot. If the power module remains in Fault state, replace the power module.

4.     If the problem persists, contact H3C Support.

Newly-installed power module failure (for switch models that support removable power modules)

Symptom

A trap or log is generated indicating that a newly-installed power module is faulty.

Solution

To resolve the problem:

1.     Execute the display power command to display power module information.

<Sysname> display power

 Slot 1:                                                                       

 PowerID State    Mode   Current(A)  Voltage(V)  Power(W)                      

 1       Normal   DC       --          --           0                          

 2       Fault    AC       --          --           0

If the power module is in Absent state, go to step 2. If the power module is in Fault state, go to step 3.

2.     When the power module is in Absent state, perform the following tasks:

a.     Remove and reinstall the power module to make sure the power module is installed securely. Then execute the display power command to verify that the power module has changed to Normal state. If the power module remains in Absent state, go to step b.

b.     Remove and install the power module into an empty power module slot. Then execute the display power command to verify that the power module has changed to Normal state in the new slot. If the power module remains in Absent state, go to step 4.

3.     Remove and install the power module into an idle power module slot. Then execute the display power command to verify that the power module has changed to Normal state in the new slot. If the power module remains in Fault state, go to step 4.

4.     If the problem persists, contact H3C Support.

Fan tray failure

Symptom

A fan tray is not operating correctly. The display fan command displays that the fan tray is in Fault state.

<Sysname> display fan

 Slot 1:

 Fan 1:

 State : Normal

 Fan 2:

 State : Fault

Solution

Contact H3C Support to resolve the problem.

Related commands

This section lists the commands that you might use for troubleshooting fan trays.

 

Command

Description

display fan

Displays fan tray operating status information.

 

 


Troubleshooting ACL

This section provides troubleshooting information for common problems with ACLs.

ACL application failure with an error message

Symptom

The system fails to apply a packet filter or an ACL-based QoS policy to the hardware. It also displays the "Reason: Not enough hardware resource" message.

Solution

To resolve the problem:

1.     Execute the display qos-acl resource command, and then check the Remaining field for ACL resources insufficiency.

If this field displays 0, the ACL hardware resources are exhausted.

2.     To free hardware resources for packet filtering or QoS classification, remove unused ACLs.

3.     If the problem persists, contact H3C Support.

ACL application failure without an error message

Symptom

The system applies a packet filter or an ACL-based QoS policy to the hardware. However, the ACL does not take effect.

Troubleshooting flowchart

Figure 2 Troubleshooting an ACL application failure

 

Solution

Choose a solution depending on the module that uses the ACL.

ACL used in a QoS policy

To resolve the problem when the ACL is used in a QoS policy:

1.     Verify that the QoS policy is configured correctly:

a.     Use one of the following commands to check the QoS policy for configuration errors, depending on the policy application destination:

 

Destination

Command

Interface

display qos policy interface

VLAN

display qos vlan-policy

Global

display qos policy global

Control plane

display qos policy control-plane slot slot-number

 

b.     If the QoS policy does not contain a class-behavior association, associate the traffic behavior with the traffic class.

c.     If the QoS policy contains a class-behavior association, execute the display traffic classifier user-defined command and the display traffic behavior user-defined command to check for traffic class and behavior configuration errors, respectively.

-     If they are configured incorrectly, reconfigure them.

-     If they are configured correctly, go to step 2.

2.     Verify that the ACL is configured correctly.

Execute the display acl command to check whether the ACL is configured correctly.

?     If the ACL is configured incorrectly, reconfigure it.

?     If the ACL is configured correctly, go to step 3.

3.     If the problem persists, contact H3C Support.

ACL used in a packet filter

To resolve the problem when the ACL is used in a packet filter:

1.     Verify that the packet filter is configured correctly.

Execute the display packet-filter command to check whether the packet filter is configured correctly.

?     If there are any configuration errors, reconfigure the packet filter.

?     If there is no configuration error, go to step 2.

2.     Verify that the ACL is configured correctly.

Execute the display acl command to check whether the ACL is configured correctly.

?     If the ACL is configured incorrectly, reconfigure it.

?     If the ACL is configured correctly, go to step 3.

3.     If the problem persists, contact H3C Support.

Related commands

This section lists the commands that you might use for troubleshooting ACLs.

 

Command

Description

display packet-filter

Displays whether an ACL has been successfully applied to an interface for packet filtering.

display qos-acl resource

Displays QoS and ACL resource usage.

display qos policy control-plane

Displays information about the QoS policies applied to the specified control plane.

display qos policy global

Displays information about global QoS policies.

display qos policy interface

Displays information about the QoS policies applied to an interface or to all interfaces.

display qos vlan-policy

Displays information about QoS policies applied to VLANs.

display traffic classifier user-defined

Displays traffic class configuration.

display traffic behavior user-defined

Displays traffic behavior configuration.

 

 


Troubleshooting IRF

This section provides troubleshooting information for common problems with IRF.

IRF fabric establishment failure

Symptom

An IRF fabric cannot be established.

Troubleshooting flowchart

Figure 3 Troubleshooting IRF fabric establishment failure

 

Solution

To resolve the problem:

1.     Verify that the number of member devices does not exceed the upper limit (varies by software version).

If you are adding a new member device to an existing IRF fabric or merging IRF fabrics, use the display irf command to identify the number of member devices in the IRF fabrics. If the total number of member devices exceeds the upper limit, the IRF setup will fail.

2.     Verify that the member ID of each member device is unique:

a.     Execute the display irf command to view the member ID of each member device.

b.     Assign a unique member ID to each member.

-     If you are adding a new member device to an existing IRF fabric, assign the member device a member ID that is not being used in the IRF fabric.

-     If you are merging IRF fabrics, make sure each member device in these IRF fabrics has a unique member ID.

3.     Verify that the IRF port bindings and physical IRF link connections are correct:

 

IMPORTANT

IMPORTANT:

When you connect two neighboring IRF members, you must connect the physical ports of IRF-port 1 on one member to the physical ports of IRF-port 2 on the other.

 

a.     Execute the display irf configuration command on each member device, and check the IRF-Port1 and IRF-Port2 fields for IRF port bindings.

b.     Verify that the physical IRF connections are consistent with the IRF port bindings.

c.     If there are binding errors or connection inconsistencies, reconfigure the IRF port bindings or reconnect the physical IRF ports.

4.     Verify that the IRF physical interfaces are 10GBase-T Ethernet ports or SFP+ ports.

?     If the IRF physical interfaces are 10GBase-T Ethernet ports, verify that category 6A or above twisted pair cables are used for IRF connections.

?     If the IRF physical interfaces are SFP+ ports, verify that the transceiver modules or cables for IRF connections are labeled with 10Gbps or SFP+. If you use transceiver modules and fibers for IRF connections, make sure the transceiver modules at the two ends of the link are the same type.

5.     Verify that all IRF links are up:

a.     Execute the display irf topology command, and then check the Link field.

-     If the Link field for each IRF port does not display DOWN, go to step 6.

-     If the Link field for an IRF port displays DOWN, go to step b.

b.     Execute the display irf link command, and then check the Status field of the physical ports bound to the IRF port.

-     If the field displays DOWN or ADM (administratively down) for all the physical ports, remove the link failures or use the undo shutdown command to bring up the administratively down ports.

-     If the field displays UP for a minimum of one of the physical ports, go to step c.

c.     Save the configuration, and then execute the irf-port-configuration active command in system view to activate the IRF port configuration.

 

IMPORTANT

IMPORTANT:

Activating IRF port configuration requires a reboot. To prevent configuration loss, you must save the configuration before you execute the irf-port-configuration active command.

 

6.     Verify that all member devices use the same software version:

a.     Execute the display version command to identify the software version of each member device.

b.     Upgrade the software of all member devices to the same version. As a best practice, upgrade the earlier versions to the most recent version.

 

 

NOTE:

Typically, the irf auto-update enable command can automatically synchronize a member device with the software version of the master device. However, the synchronization might fail when the gap between the software versions is too large. For more information, see the release notes.

 

7.     If the problem persists, contact H3C Support.

Related commands

This section lists the commands that you might use for troubleshooting IRF.

 

Command

Description

display interface

Displays interface information.

Use this command to verify that each IRF port has a minimum of one physical port in up state.

display irf

Displays IRF fabric information, including the member ID, role, priority, bridge MAC address, and description of each IRF member.

display irf configuration

Displays basic IRF settings, including the current member ID, new member ID, and physical ports bound to the IRF ports on each IRF member device. The new member IDs take effect at reboot.

display irf topology

Displays the IRF fabric topology, including the member IDs, IRF port state, and adjacencies of IRF ports.

display version

Displays system version information.

irf-port-configuration active

Activates IRF configuration on IRF ports.

undo shutdown

Brings up an Ethernet interface or subinterface.

 

 


Troubleshooting Ethernet link aggregation

This section provides troubleshooting information for common problems with Ethernet link aggregation.

Link aggregation failure

Symptom

Some member ports fail to be placed in Selected state, and link aggregation does not operate correctly.

Troubleshooting flowchart

Figure 4 Troubleshooting link aggregation failure

 

Solution

To resolve the problem:

1.     Verify that all physical connections are correct.

You can verify the physical connections against your network plan.

2.     Verify that all member ports are up:

a.     Execute the display interface command to display the status of the member ports.

b.     If the member ports are down, follow the solution in "Troubleshooting ports" to troubleshoot the problem.

3.     Verify that the member ports have the same operational key and attribute configurations as the reference port:

a.     Execute the display link-aggregation verbose command to display the Selected state of the member ports.

b.     Execute the display current-configuration interface command to display the configurations of the aggregate interface and the Unselected ports.

c.     Configure the Unselected ports to make sure they have the same operational key and attribute configurations as the reference port.

4.     Identify the aggregation mode of the aggregation group.

?     If the aggregation mode is static, proceed to step 6.

?     If the aggregation mode is dynamic, proceed to step 5.

5.     Verify that the peer member ports have the same operational key and attribute configurations as the peer port of the reference port:

a.     Execute the display current-configuration interface command on the peer device to display the configurations of the peer member ports.

b.     Configure the peer member ports to make sure the peer ports have the same operational key and attribute configurations as the peer port of the reference port.

6.     Verify that the number of member ports in the aggregation group does not exceed the configured maximum number of Selected ports.

a.     Execute the link-aggregation selected-port maximum command to set the maximum number of Selected ports allowed in the aggregation group. The value range is 1 to 16.

b.     Execute the display link-aggregation verbose command to verify that the number of member ports does not exceed the configured maximum number of Selected ports.

If the number of member ports exceeds the maximum number of Selected ports, the ports with higher port numbers are in Unselected state.

c.     Use the undo port link-aggregation group command to remove undesired member ports from the aggregation group.

This makes sure all member ports you assign to the aggregation group can become Selected ports.

7.     If the problem persists, contact H3C Support.

Related commands

This section lists the commands that you might use for troubleshooting Ethernet link aggregation.

 

Commands

Description

display current-configuration interface

Displays interface configuration.

display interface

Displays Ethernet interface information.

display link-aggregation verbose

Displays detailed information about the aggregation groups that correspond to the existing aggregate interfaces.

link-aggregation selected-port maximum

Configures the maximum number of Selected ports allowed in an aggregation group.

 

 


Troubleshooting ports

This section provides troubleshooting information for common port problems.

A fiber port fails to come up

Symptom

A fiber port fails to come up.

Troubleshooting flowchart

Figure 5 Troubleshooting link up failure on a fiber port

 

Solution

To resolve the problem:

1.     Verify that the speed and duplex mode of the local port match the speed and duplex mode of the peer port:

a.     Execute the display interface brief command to examine whether the speed and duplex mode of the port match the speed and duplex mode of the peer port.

b.     If they do not match, use the speed command and the duplex command to set the rate and duplex mode for the port.

2.     Verify that the speed and duplex mode of the local port match the speed and duplex mode of the transceiver module:

a.     Execute the display interface brief command to examine whether the speed and duplex mode of the port match the speed and duplex mode of the transceiver module.

b.     If they do not match, use the speed command and the duplex command to set the rate and duplex mode for the port.

3.     Verify that the ports at both ends are operating correctly:

For a 10-GE SFP+ fiber port, use an SFP+ cable (used for connection over a short distance) to directly connect it to another 10-GE SFP+ fiber port on the local end. Identify whether the port can come up:

?     If the port can come up, you can determine that the peer port fails. Replace the peer port with a new port operating correctly.

?     If the port cannot come up, you can determine that the local port fails. Replace the local port with a new port operating correctly.

4.     Verify that the transceiver module and cable are operating correctly:

a.     Use the display transceiver alarm interface command to display the alarms present on the transceiver module:

-     The device displays None if no error occurs.

-     The device displays alarms if the transceiver module fails or the type of the transceiver module does not match the port type.

b.     Use an optical power meter to verify that the Tx power and Rx power of the transceiver module are stable and are within the correct range.

c.     Execute the display transceiver interface command to verify that the wavelength and transmission distance of the local transceiver module are consistent with the wavelength and transmission distance of the peer transceiver module.

d.     If the transceiver module is not operating correctly, replace it with a H3C transceiver module that matches the fiber port.

For more information about transceiver modules and cables, see the installation guide.

5.     Verify that the fiber matches the transceiver module. If they do not match, replace the fiber with a new one that matches the transceiver module.

For more information about fibers, see the installation guide.

6.     If the problem persists, contact H3C Support, and provide the following information:

<Sysname> display diagnostic-information

Save or display diagnostic information (Y=save, N=display)? [Y/N]:Y

A copper port fails to come up

Symptom

A copper port fails to come up.

Troubleshooting flowchart

Figure 6 Troubleshooting link up failure on a copper port

 

Solution

To resolve the problem:

1.     Verify that the speed and duplex mode of the local port match the speed and duplex mode of the peer port:

a.     Execute the display interface brief command to examine whether the speed and duplex mode of the port match the speed and duplex mode of the peer port.

b.     If they do not match, use the speed command and the duplex command to set the rate and duplex mode for the port.

2.     Replace the network cable with a new one to verify that the network cable is in good condition.

3.     Replace the local port with a new one to verify that the local port is operating correctly.

4.     Replace the peer port with a new one to verify that the peer port is operating correctly.

5.     If the problem persists, contact H3C Support.

Related commands

This section lists the commands that you might use for troubleshooting ports.

 

Command

Remarks

display diagnostic-information

Displays or saves running status data for multiple feature modules.

display interface brief

Displays brief interface information.

display transceiver alarm interface

Displays alarms present on transceiver modules.

display transceiver interface

Displays key parameters of the transceiver module installed in an interface.

 

 


Troubleshooting other problems

Layer 2 forwarding failure

Symptom

Layer 2 packet loss occurs when the switch forwards packets to a peer on the same network segment and in the same VLAN.

Troubleshooting flowchart

Figure 7 Troubleshooting Layer 2 packet loss failure

 

Solution

To resolve the problem:

1.     Verify that no error packets have been received on the local port:

a.     Execute the display interface command and check for error packets.

<Sysname>display interface Ten-GigabitEthernet1/0/25

Ten-GigabitEthernet1/0/25 current state: UP

Line protocol state: UP

IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: aa11-2233-4496

……

Last 300 seconds input:  0 packets/sec 10 bytes/sec 0%

 Last 300 seconds output:  0 packets/sec 10 bytes/sec 0%

 Input (total):  1438 packets, 480292 bytes

          0 unicasts, 0 broadcasts, 1438 multicasts, 0 pauses

 Input (normal):  1438 packets, - bytes

          0 unicasts, 0 broadcasts, 1438 multicasts, 0 pauses

 Input:  0 input errors, 0 runts, 0 giants, 0 throttles

          0 CRC, 0 frame, - overruns, 0 aborts

          - ignored, - parity errors

 Output (total): 1440 packets, 475200 bytes

          0 unicasts, 0 broadcasts, 1440 multicasts, 0 pauses

 Output (normal): 1440 packets, - bytes

          0 unicasts, 0 broadcasts, 1440 multicasts, 0 pauses

 Output: 0 output errors, - underruns, - buffer failures

          0 aborts, 0 deferred, 0 collisions, 0 late collisions

          0 lost carrier, - no carrier

b.     If the statistics are not zero, the following failures might occur:

-     Interface hardware failure—To test such a failure, connect the cable that is connected to the local port to a correctly operating port (for example, Port A) with the same configurations as the local port. If Port A forwards traffic correctly, you can determine that the hardware of the local port fails. In this event, you must replace the local port with a correctly operating port.

-     Transceiver module, fiber, or twisted pair failure—To test and resolve such a failure, replace the transceiver module, fiber, or twisted pair with a good one.

-     Inconsistent configurations—Verify that the configurations (including speed and duplex mode) of the peer are consistent with the local port. If they are inconsistent, modify the configurations of the local port.

c.     If the problem persists, contact H3C Support.

When you contact H3C Support, provide the following diagnostic information if packet loss occurs on the chip port with which the interface is associated:

# Execute the debug port map slot 1 command in probe view to identify the chip port with which the interface is associated.

[Sysname-probe]debug port map slot 1

[Interface] [Unit] [Port] [Name] [Combo?] [Active?] [IfIndex]  [MID]  [Link]   

===============================================================================

 SGE1/0/1        0      3     xe1     no        no      0x1         1     up    

 SGE1/0/2        0      2     xe0     no        no      0x2         1     down 

 SGE1/0/3        0      5     xe3     no        no      0x3         1     down 

 SGE1/0/4        0      4     xe2     no        no      0x4         1     down 

 SGE1/0/5        0      7     ge1     no        no      0x5         1     down 

 SGE1/0/6        0      6     ge0     no        no      0x6         1     down 

 SGE1/0/7        0      9     ge3     no        no      0x7         1     down 

 SGE1/0/8        0      8     ge2     no        no      0x8         1     down 

 SGE1/0/9        0      11    ge5     no        no      0x9         1     down 

 SGE1/0/10       0      10    ge4     no        no      0xa         1     down 

 SGE1/0/11       0      13    ge7     no        no      0xb         1     down 

 SGE1/0/12       0      12    ge6     no        no      0xc         1     down 

 SGE1/0/13       0      19    xe9     no        no      0xd         1     down 

 SGE1/0/14       0      18    xe8     no        no      0xe         1     down 

 SGE1/0/15       0      21    xe11    no        no      0xf         1     down 

 SGE1/0/16       0      20    xe10    no        no      0x10        1     down 

 SGE1/0/17       0      23    xe13    no        no      0x11        1     down 

 SGE1/0/18       0      22    xe12    no        no      0x12        1     down 

 SGE1/0/19       0      25    xe15    no        no      0x13        1     down 

 SGE1/0/20       0      24    xe14    no        no      0x14        1     down  

 XGE1/0/21       0      14    xe4     no        no      0x15        1     down 

 XGE1/0/22       0      15    xe5     no        no      0x16        1     down 

 XGE1/0/23       0      16    xe6     no        no      0x17        1     down 

 XGE1/0/24       0      17    xe7     no        no      0x18        1     down 

The output shows that Smartrate-Ethernet 1/0/1 is associated with chip port xe1.

# Execute the bcm slot 1 chip 0 show/c/xe1 command to check the RDBGC and TDBGC fields for Rx and Tx dropped packet statistics, respectively. The statistics displayed were generated between the last and the current execution of the command. To view the change in dropped packet statistics, execute the command twice or more.

[Sysname-probe]bcm slot 1 chip 0 show/c/xe1                                       

RUC.xe1           :               441,676            +441,676              42/s

RDBGC1.xe1        :                     9                  +9                   

RDBGC3.xe1        :               445,869            +445,869              43/s

RDBGC6.xe1        :                 2,708              +2,708                  

RIPC4.xe1         :                 5,132              +5,132                  

RIPHE6.xe1        :                     9                  +9                  

R64.xe1           :                11,949             +11,949               3/s

R127.xe1          :               438,567            +438,567              42/s

R255.xe1          :                 1,595              +1,595                  

R511.xe1          :                 2,771              +2,771                  

R1023.xe1         :                   117                +117                  

R1518.xe1         :                   900                +900                  

RPKT.xe1          :               455,899            +455,899              46/s

RUCA.xe1          :               441,676            +441,676              42/s

RMCA.xe1          :                 7,777              +7,777                  

RBCA.xe1          :                 6,446              +6,446               2/s

RPRM.xe1          :               441,676            +441,676              42/s

RPOK.xe1          :               455,899            +455,899              46/s

RBYT.xe1          :            34,167,975         +34,167,975           3,218/s

T64.xe1           :                 6,744              +6,744                  

T127.xe1          :                 1,599              +1,599                  

T255.xe1          :                    99                 +99                  

T511.xe1          :                    41                 +41                  

T1023.xe1         :                    16                 +16                  

T1518.xe1         :                    13                 +13                  

TPOK.xe1          :                 8,512              +8,512                  

TPKT.xe1          :                 8,512              +8,512                  

TUCA.xe1          :                 8,510              +8,510                  

TBCA.xe1          :                     2                  +2                  

TBYT.xe1          :               628,832            +628,832                   

PERQ_PKT(7).xe1   :                 8,512              +8,512                  

PERQ_BYTE(7).xe1  :               628,832            +628,832                  

DROP_PKT_ING(0).xe1 :               445,869            +445,869             43/s

2.     Verify that packets are not mistakenly filtered out by ACLs:

a.     Examine the ACL and QoS policy configurations for packet filtering on the port, on the VLAN of the port, or globally. If packets are mistakenly filtered out, modify the ACL or QoS policy configuration.

-     To display the ACL configuration on the port for packet filtering, execute the display packet-filter command.

-     To display the QoS policy configuration on the port, execute the display qos policy command.

-     To display the QoS policy configuration on the VLAN of the port, execute the display qos vlan-policy command.

-     To display the global QoS policy configuration, execute the display qos policy global command.

b.     Verify that packets are not filtered out by automatically created ACLs.

-     The IP source guard feature creates ACLs automatically.

Execute the display this command in Ethernet interface view to verify that the ip source guard command is configured on the port. To display source guard binding entries, execute the display ip source binding or display ipv6 source binding command. If the ip source binding command or ip verify source command is configured but the packets match no entry, further troubleshoot the problem based on the way the binding entries are created.

-     The portal authentication creates ACLs automatically.

If a user does not pass portal authentication, packets are discarded.

Execute the display portal interface command to display portal configuration on a VLAN interface or Layer 2 Ethernet interface. Determine whether to disable portal authentication as required. To disable portal authentication on a Layer 2 Ethernet interface, execute the undo portal command in Layer 2 Ethernet interface view. To disable portal authentication on a VLAN interface, execute the undo portal server server-name command in VLAN interface view.

-     The EAD assistant feature creates ACLs automatically.

The EAD assistant feature discards packets for a user that fails authentication when the user accesses an IP address not in the free IP segment.

Execute the display dot1x command to verify that the EAD assistant feature is enabled. If the EAD assistant feature is enabled, identify whether the user fails the authentication and accesses an IP address not in the free IP segment.

-     MFF creates ACLs automatically.

Execute the display mac-forced-forwarding vlan command to display MFF information for a VLAN. If no gateway information is displayed, verify that the ARP snooping or DHCP snooping is configured correctly based on the MFF mode.

3.     Verify that the port is not blocked:

?     Execute the display stp brief command to verify that STP does not set the state of the port to discarding. When the port is in discarding state, it cannot forward traffic. H3C recommends that you disable STP on the port, or configure the port as an edge port if the port is connected to a terminal device.

?     If the port belongs to an aggregation group, execute the display link-aggregation verbose command to identify the port status. When the port is an Unselected port, it cannot forward traffic. Locate the reasons why the port is in Unselected state. For example, the attribute configurations of the port are different from the configurations of the reference port.

?     If the port belongs to a smart link group, execute the display smart-link group command to verify the port status. The port cannot forward packets if its state is standby or down. If the port is standby, configure the port as a primary port. If the port is down, verify the causes and resolve the problem as required. A port might go down if the uplink device is configured with the monitor link function, the port is shut down, or the link fails.

4.     Examine the following configurations that might cause packet loss:

?     VLAN configuration—Execute the display this command in Ethernet interface view to verify that the port is in the VLAN of the packets. If it is not, add the port to the VLAN.

?     Blackhole MAC address entriesExecute the display mac-address blackhole command to display blackhole MAC address entries. If the packets are discarded because they match a blackhole MAC address entry, delete the entry. To delete the blackhole MAC address entry, execute the undo mac-address blackhole mac-address vlan vlan-id command.

?     Rate limitExecute the display qos lr interface command to display the rate limit configuration on the port. If rate limit is configured on the port, make sure the committed information rate (CIR) and the committed burst size (CBS) are appropriate. To adjust the CIR and CBS values, execute the qos lr { inbound | outbound } cir committed-information-rate [ cbs committed-burst-size ] command.

?     Storm suppressionExecute the display this command in Ethernet interface view to display the configuration of storm suppression. Storm suppression includes broadcast suppression, multicast suppression, and unknown unicast suppression. To adjust the suppression thresholds, execute the broadcast-suppression, multicast-suppression, and unicast-suppression commands, respectively.

5.     Verify that no congestion occurs by using the display qos queue interface command.

If congestion occurs, locate and resolve the problem by referencing related congestion management documents.

6.     If the problem persists, contact H3C Support.

Related commands

This section lists the commands that you might use for troubleshooting Layer 2 forwarding failure.

 

Command

Description

display dot1x

Displays session information, statistics, and configurations about 802.1X.

display interface

Displays Ethernet interface information.

display ip source binding

Displays IPv4 source guard binding entries.

display ipv6 source binding

Displays IPv6 source guard binding entries.

display link-aggregation verbose

Displays detailed information about the aggregation groups that correspond to the aggregate interfaces.

display mac-address blackhole

Displays blackhole MAC address entries.

display mac-forced-forwarding vlan

Displays MFF information for a VLAN.

display packet-filter

Displays whether an ACL has been successfully applied to an interface for packet filtering.

display portal interface

Displays the portal configuration information.

display qos lr interface

Displays the rate limit configuration and statistics on a specified interface or all the interfaces.

display qos policy

Displays user-defined QoS policy configuration information.

display qos policy global

Displays information about global QoS policies.

display qos policy interface

Displays information about the QoS policies applied to an interface or all interfaces.

display qos queue interface

Displays traffic statistics collected for an interface on a per-queue basis.

display qos vlan-policy

Displays information about QoS policies applied to VLANs.

display smart-link group

Displays smart link group information.

display this

Displays the running configuration in the current view.

 

Layer 3 forwarding failure

Symptom

Packet loss occurs when the switch forwards packets to a different network.

Troubleshooting flowchart

Figure 8 Troubleshooting Layer 3 forwarding failure

 

Solution

To resolve the problem:

1.     Verify that the port is not faulty (due to hardware or configuration problems).

If the port is faulty, follow the solution in "Layer 2 forwarding failure" to troubleshoot the problem.

2.     Verify that ARP entries are correct:

a.     Execute the display arp command to verify that ARP entries are correct.

-     If incorrect ARP entries exist, execute the debugging arp packet command to locate the problem.

-     If the switch learns no ARP entries, you can execute the arp static command to configure static ARP entries.

b.     Execute the display mac-address command to verify that the output interfaces in the MAC address entries and ARP entries are the same by using the display mac-address command.

If the output interfaces are not the same, execute the reset command to clear the ARP entries. Then the switch can learn ARP entries again.

3.     Verify that route entries are correct:

a.     Execute the display ip routing-table command to verify that route entries are correct.

If incorrect route entries exist, troubleshoot the protocol that learns the route entries.

b.     Execute the display fib command to verify that the output interfaces in the FIB entries and route entries are the same.

If the output interfaces are not the same, execute the reset command to clear the route entries. Then the switch can learn route entries again.

4.     If the problem persists, contact H3C Support.

Related commands

This section lists the commands that you might use for troubleshooting Layer 3 forwarding failure.

 

Command

Description

debugging arp packet

Enables ARP packet debugging.

display arp

Displays ARP entries.

display fib

Displays FIB entries.

display ip routing-table

Displays brief information about active routes in the routing table.

display mac-address

Displays MAC address entries.

 

Protocol flapping

Symptom

The switch cannot send or receive protocol packets.

Troubleshooting flowchart

Figure 9 Troubleshooting protocol flapping

 

Solution

To resolve the problem:

1.     Verify that Layer 2 is operating correctly, as described in "Layer 2 forwarding failure."

2.     Verify that Layer 3 is operating correctly, as described in "Layer 3 forwarding failure."

3.     Execute the debug rxtx softcar show 1 command in probe view to check for software-related packet loss.

[Sysname-probe] debug rxtx softcar slot 1

 

ID  Type                RcvPps Rcv_All    DisPkt_All Pps  Dyn Swi Hash ACLmax

0   ROOT                0      0          0          300  S   On  SMAC 0

1   ISIS                0      0          0          200  D   On  SMAC 8

2   ESIS                0      0          0          100  S   On  SMAC 8

3   CLNP                0      0          0          100  S   On  SMAC 8

4   VRRP                0      0          0          1024 S   On  SMAC 8

5   UNKNOWN_IPV4MC      0      0          0          100  S   On  SMAC 8

6   UNKNOWN_IPV6MC      0      0          0          100  S   On  SMAC 8

7   IPV4_MC_RIP         0      0          0          150  D   On  SMAC 8

8   IPV4_BC_RIP         0      0          0          150  D   On  SMAC 8

9   MCAST_NTP           0      0          0          100  S   On  SMAC 8

10  BCAST_NTP           0      0          0          100  S   On  SMAC 8

4.     If the problem persists, contact H3C Support.

When you contact H3C Support, provide diagnostic information if software-related packet loss occurred.

PoE power supply anomaly

Symptom

The PoE device cannot supply power correctly.

Troubleshooting flowchart

Figure 10 Troubleshooting PoE power supply anomaly

 

Solution

To resolve the problem:

1.     Verify that the PoE power is correctly used.

For a PoE switch, use the PoE power according to the PoE power supply scheme. For information about the power supply compatibility, see H3C S5150-EI Switch Series Installation Guide.

2.     Execute the following commands to display power supply information:

a.     Execute the display poe device command in any view to display PSE information, and check the faulty field to identify PSE problems.

<Sysname> display poe device

PSE ID  SlotNo SubSNo PortNum  MaxPower(W)  State   Model

 4      1      0      24       370          faulty  LSW124POED-M

The output shows that the PSE has problems.

b.     Execute the poe update command to upgrade the PSE processing software in service.

<Sysname> system-view

[Sysname] poe update full ver_3_9_0_release.bin pse 4

This command will fully update firmware on the specific PSE(s), Continue? [Y/N]:y

System is downloading firmware into the hardware. Please wait

Update firmware on the specific PSE(s) successfully!

The output shows that the PSE processing software has been upgraded.

c.     Execute the display poe device command again to display PSE information, and check the on or off field for the PSE state.

[Sysname] display poe device

PSE ID  SlotNo SubSNo PortNum  MaxPower(W)  State   Model

 4      1      0      24       370          off     LSW124POED-M

The output shows that the PSE problem has been resolved.

d.     Execute the display poe pse command in any view to display detailed PSE information. Verify the following:

-     The current power, average power, and peak power of the PSE are correct.

-     Nonstandard PD detection by the PSE is enabled.

[Sysname] display poe pse

 PSE ID                           : 4

 PSE Slot No                      : 1

 PSE SubSlot No                   : 0

 PSE Model                        : LSW124POED-M

 PSE Power Enabled                : enabled

 PSE Power Priority               : -

 PSE Current Power                : 0        W

 PSE Average Power                : 0        W

 PSE Peak Power                   : 0        W

 PSE Max Power                    : 370      W

 PSE Remaining Guaranteed         : 370      W

 PSE CPLD Version                 : -

 PSE Software Version             : 390

 PSE Hardware Version             : 57603

 PSE Legacy Detection             : disabled

 PSE Utilization-threshold        : 80

 PSE Pd-policy Mode               : disable

 PSE PD Disconnect Detect Mode    : AC

If the current power, average power, and peak power of the PSE are close to or reach the maximum power of the PSE, use PoE power with higher-wattage supply.

If the PSE Pd-policy Mode field displays disable, execute the poe legacy enable pse command to enable nonstandard PD detection by the PSE.

e.     Execute the display poe interface gigabitethernet 1/0/1 command in any view to display power supply information for GigabitEthernet 1/0/1. Verify the following:

-     The current power, average power, and peak power of the PoE interface are correct.

-     The PoE interface current and voltage are correct.

<Sysname> display poe interface smartrate-ethernet 1/0/1

 Port Power Enabled               : disabled

 Port Power Priority              : low

 Port Operating Status            : off

 Port IEEE Class                  : 0

 Port Detection Status            : disabled

 Port Power Mode                  : signal

 Port Current Power               : 0        mW

 Port Average Power               : 0        mW

 Port Peak Power                  : 0        mW

 Port Max Power                   : 30000    mW

 Port Current                     : 0        mA

 Port Voltage                     : 0.0      V

 Port PD Description              :

If the current power, average power, and peak power of the PoE interface are close to or reach the maximum power of the PoE interface, execute the poe max-power command to configure the maximum power with higher-wattage supply.

3.     If the problem persists, contact H3C Support.

Related commands

This section lists the commands that you might use for troubleshooting PoE.

 

Command

Description

display poe device

Displays PSE information.

display poe interface interface-type interface-number

Displays power supply information for PoE interfaces.

display poe pse

Displays detailed PSE information.

poe legacy enable pse

Enables the PSE to detect nonstandard PDs.

poe max-power

Configures the maximum power for a PoE interface.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网