FS S3410 Series Troubleshoot The SwitchPort Packet Loss User Guide
- June 3, 2024
- FS
Table of Contents
FS S3410 Series Troubleshoot The SwitchPort Packet Loss
Troubleshoot Port Packet Loss
One common type of packet loss is that there is obvious packet loss on a port, and the more common one is forwarding failure packet loss. Forwarding packet loss is divided into layer 2 forwarding packet loss and layer 3 forwarding packet loss. Layer 2 forwarding packet loss: Layer 2 forwarding is based on VID+MAC forwarding. Therefore, not only the packet loss on the port will cause the layer 2 forwarding packet loss, but also the packet loss caused by other more complex factors. To sum up, there are several reasons:
- Duplex mismatch caused by port duplex, rate, flow control, etc., and packet loss caused by the insufficient buffer. ———- Determine whether there is port packet loss by checking the working status of the interface, the port count and the underlying ps (check the port working status, show c check the port count).
- Packet loss caused by poor data contact or frequent shocks caused by data being unable to be forwarded ——–Contrast test by viewing logs or replacing ports
- The problem with the link leads to packet loss of CRC, Jabber, etc. — Check by checking the port count to confirmand replace the linkfor testing
- Frequent changes in the STP logic state of the port cause interruption of data forwarding. —–View the statistics of the spanning tree by viewing logs and show the spanning tree or turn on the debug switch to view.
- Normal packet loss caused by port speed limit-check the QOS configuration or adjust the speed limit size for comparative testing
- MAC table or VLAN table or security table (FFP) caused the forwarding failure. —Confirm the comparison by collecting the L2, VLAN, port and FFP tables of the upper and lower layers. You can also adjust the relevant safety functions to turn on or off. The key to packet loss at Layer 2 forwarding is to determine where the packet loss occurred in advance. You can make full use of the image capture function through the segmented test method. The ultimate means of Layer 2 forwarding is to clear the device configuration, keep the simplest environment, and perform the forwarding test. If there are still packet loss situations, it is generally a hardware failure after checking by
Layer 3 Forwarding Packet Loss
Layer 3 forwarding packet loss involves the process of searching for routes and routing (ARP). Therefore, in addition to the possibility layer 2 forwarding packet loss, the following possible causes have been added:
- The frequent flapping of routes (such as the frequent flapping of dynamic routes, frequent switching of routes, or overflow of lower-level routes)-you can view related logs and collect routing entries (upper and lower-level entries), or try static Formulate related entries.
- The ARP table changes frequently and needs to be reopened (for example, the layer 3 device clears the ARP address table causedbyTcchange) ——- you can view the related STP logs and optimize the configuration or print the related debug logs, or you can Try to statically bind related entries.
- Security filtering, such as ACL, URPF and other security policies, which will cause packet loss caused by partial packet filtering——— can be analyzed and viewed from the configuration and log. When troubleshooting Layer 3 forwarding faults, the first requirement is also to determine where the packet loss point is, and then check one by one according to the above possibilities.
For example: when we usually ping a destination address, we will find that 5 packets will be pinged, and one packet will be lost. The reason is that because the first packet does not have the ARP of the source host for the target machine, the ARP time exceeds the ICMP timeout 2s cause. When locating the fault of Layer 3 forwarding to a single box device, when the environmental factors or the problems caused by the functional modules are eliminated, packet loss may be caused due to abnormal connection between internal data channels.
Summary: Port packet loss is only a possible cause of Layer 2 and Layer 3 forwarding. If you encounter a Layer 2 or Layer 3 forwarding failure, you still need to troubleshoot according to the above possible causes.
Problem Description
The drop count in the output directly on the port increases, and user traffic drops through the interface.
Possible Cause of Failure
- There are a large number of packets larger than 1518 in the network, resulting in the exhaustion of the receiving cache resources.
- The rate sent by the peer device is too fast, resulting in insufficient buffer at the local switch, but no packet loss due to flow control.
Troubleshooting Steps
-
Step 1. Check whether the port traffic exceeds the interface bandwidth. If you do not see QOS or spanning tree configuration on the port, you can try to enable flow control and compare to see if the situation has been alleviated.
Step 2. There are many reasons for packet loss in the output direction. In order to determine the specific cause of packet loss, it is necessary to collect the count of the bottom layer ps and show c of the line card. While collecting the bottom layer information, the upper layer port count also needs to be collected to compare and observe the change in the number of port packet loss to find the source.
In device implementation, when MMU resources are insufficient, we usually discard the packets when they enter the MMU stage. However, when a message enters, there are still resources, but in the subsequent processing stage, when the threshold (overflow) of the MMU is encountered, the MMU will set the packet to the “clear” bit. The drop count will increase, which is a relatively normal implementation. Check whether the bottom layer count contains packets larger than 1518 bytes.
It indicates that there are a large number of packets in the network greater than 1518 (the maximum packet length required by Ethernet is 1518), which will lead to exhaustion of MMU resources. -
Step 3: Find the source of the 1518-byte large flow message sent by the input port and eliminate the source port problem.
-
Clear the port counter clear counter
SWITCH# clear counter -
Packet loss in the out direction of the interface on multiple show failures
SWITCH# show int gx/y -
If there is any packet loss, immediately show int count summ, look at the interface count in the in direction, confirm which port has the larger traffic volume, and pick out the ports with the larger traffic count;
-
According to the operation interface of 4, show the interfaces with relatively large traffic ports many times, show int gx/y, and see if the rate change will be large. If the port is large, it means that there is a problem with this port. Shut down this port Observe (if conditions permit);
The information in this document is subject to change without notice. Fs has
made all efforts to ensure the accuracy of the information, but all
information in this document does not constitute any kind of warranty.
Copyright o 2009-2022 FS.COM AII Rights Reserved.
References
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>