1. Location and processing of network packet lossWhen network packet loss occurs, the first step is to determine the network location of the packet loss, followed by determining the cause of the packet loss, and then solving the problem based on the located cause. The location process is roughly shown in Figure 8-1. Figure 8-1 Network packet loss location and processing This article uses the packet loss phenomenon in a certain campus as an example to provide methods for locating and handling packet loss in a network where switches are deployed. For example, in a campus network, as shown in Figure 8-2, users A, B, and C are connected to switches Switch_3 and Switch_2, and users D and E are connected to switch Switch_4. They are then connected to the core switch Switch_1 and connected to the Internet through a firewall. Figure 8-2 Network diagram for a campus deployment User A reported that Internet access was very slow and sometimes even failed to open web pages, while other users reported no abnormalities. At this time, when user A's PC directly pinged the public network address, packet loss occurred. 2. Confirm that network packet loss occursThe network packet loss symptom is usually as follows: When users surf the Internet:
When the switch is working:
These fault phenomena are almost all related to network packet loss. If one or more of the above fault phenomena occur in the live network, it can be basically confirmed that network packet loss has occurred. 3. Check the PC that causes packet lossCheck the PC itself for problems that cause packet loss. For example, whether the PC's network card is normal or whether the cable connecting the PC to the device is normal may cause device packet loss. Solution: After disconnecting from the network, check the PC for viruses, check the network cable, reinstall the operating system, check the network card, etc. After confirming that the PC is normal, if the fault still exists, proceed to the next step. 4. Check whether the physical status of the interface is DownGenerally speaking, the physical status of the interface is Down, or the duplex mode or rate negotiation mode of the interface is inconsistent with that of the peer end, which will cause the interface status to be abnormal. Execute the following command on the device: Use the display interface interface-type interface-number command to check whether the interface is running normally. Here, check GE1/0/2 of Switch_3 as an example. < HUAWEI > display interface gigabitethernet 1 / 0 / 2
Run the interface interface-type interface-number command in the system view to enter the faulty interface view and run the display this command to check whether the interface has been shut down. If so, run the undo shutdown command in the interface view.
Table 8-1 Check the duplex, rate, and negotiation mode of the device interfaces at both ends of the link If the output information displays "current state : ERROR DOWN (down-cause)", it means that the interface is shut down due to an error event. You need to troubleshoot the fault based on the specific field information of the down-cause field. 5. Check whether there is a CRC error in the incoming direction of the interfaceCheck whether the physical port through which the message passes has CRC check errors and whether the error count is increasing. If the output information shows that the field "CRC" has a count, and the count is found to be increasing after repeated execution of the command, it means that the port has received a CRC error message, that is, there is a CRC check error, indicating that the error packet is caused by a physical link or device problem. 6. Check whether there is a Discard count in the outbound direction of the interfaceCheck whether there are discarded packet counts on the port. Run the display interface interface-type interface-number command in any view, or run the display this interface command in the interface view to check the outbound packet counts of the device-connected user-side port. If there is a Discard packet loss count, it means that the port was congested. When the service is affected, observe whether the Discard count increases. If not, the service impact is not related to the Discard packet loss. 7. Check if there is a loopThis is the most likely factor to cause packet loss, and it is relatively hidden. For example, in a large network environment, the administrator can easily connect the ports between switches incorrectly, causing a network loop and packet loss. Observe whether the following loop-related phenomena occur. When a network loop occurs, in addition to packet loss, the following phenomena generally occur:
|
<<: What changes will 6G bring by 2030?
>>: Will the laser in a broken optical fiber harm us?
Editor's Note: What is Web 3.0? How does it d...
Organizations need strong SLAs to meet their UCaa...
As Bitcoin becomes more and more popular around t...
Preface Microservices, as a more flexible, reliab...
On May 17, China Unicom and ZTE Corporation signe...
Yecaoyun recently launched a new high-defense VPS...
As 5G commercialization continues to advance, the...
Starting from July 1, the three major operators o...
For the vast majority of users, almost all of the...
Since last year, IPTV has enjoyed a resurgence. T...
Today, cyber attackers are always looking for way...
In recent years, 5G is undoubtedly the most popul...
VLAN technology is widely used in campus networks...
"Three Gigabits" will be implemented in...
Recently, another foreign giant announced that it...