Network diagnosis is an important technical task that manages and makes good use of the network to maximize its role. This article briefly describes the hierarchical diagnosis technology, discusses the diagnosis of various router interfaces, and reviews the troubleshooting of the connectivity fault of the interconnected network.
Network Fault Diagnosis: based on the fault phenomenon, the Network diagnosis tool is used to obtain the diagnosis information, determine the network fault point, find the root cause of the problem, eliminate the fault, and restore the normal operation of the network. There are several possible network faults: physical device connection failures in the physical layer, hardware and line problems, and interface configuration problems of network devices on the data link layer; network layer network protocol configuration or operation error; transmission layer device performance or communication congestion problems; Layer 3 or network application errors. The process of diagnosing network faults should start from the physical layer to the OSI Layer 7 model. First, check the physical layer, then the data link layer, and so on, and try to identify the failure point of the communication until the system communication is normal.
You can use a variety of tools for Network diagnosis: Router diagnostic commands, network management tools, and other fault diagnostic tools including LAN or WAN analyzers. Viewing the route table is a good way to start searching for network faults. ICMP ping, trace, Cisco show, and debug commands are Network Tools for fault diagnosis. How can I monitor the operation details and fault situations of the network under normal conditions and what content? The show interface command can easily obtain information about each interface to be checked. The show buffer command regularly displays the buffer size, usage, and usage. The show proc command and show proc mem command can be used to track the CPU and memory usage. The data can be collected regularly for diagnosis reference when a fault occurs.
Troubleshooting procedure
Step 1: first determine the specific fault phenomenon and analyze the cause type of the fault. For example, the host does not respond to customer requests. The possible causes are host configuration problems, Interface Card faults, or loss of router configuration commands.
Step 2: Collect information needed to help isolate possible causes of failure. Collect useful information from network management systems, protocol analysis tracking, router diagnostic command output reports, or software manuals.
Step 3: determine the possible causes based on the collected information. For example, some data can be used to eliminate hardware faults and focus on software causes.
Step 4: Create a diagnosis plan based on the cause of the failure. You can start to diagnose the fault with only one of the most likely causes, so that the fault can be easily restored to its original state. If multiple fault causes are considered at one time, it is much more difficult to attempt to return to the original fault status.
Step 5: Execute the Diagnosis Plan, carefully test and observe each step, and confirm the results for each parameter change. The analysis results determine whether the problem is resolved. If the problem persists, continue until the fault disappears.
Layered Network diagnosis technology
Physical Layer faults mainly occur when the physical connection mode of the device is correct, the connection cable is correct, and the configurations and operations of devices such as Modem, CSU, and DSU are correct. The best way to determine whether the physical connection of a vro port is intact is to use the show interface command to check the status of each port, explain the screen output information, and view the port status, protocol establishment status, and EIA status.
To find and eliminate data link layer faults, You need to view the router configuration and check whether the connection port shares the encapsulation of the same data link layer. Each pair of interfaces must have the same encapsulation with other devices that communicate with them. Check the encapsulation of A vro by viewing its configuration, or use the show command to view the encapsulation of the corresponding interface.
The basic method for troubleshooting network layer faults is to view the route table of the router along the path from the source to the target, and check the IP address of the router interface. If the route does not appear in the routing table, check whether a proper static route, default route, or dynamic route has been entered. Then manually configure some lost routes, or eliminate some dynamic route selection failures, including RIP or IGRP routing protocol faults. For example, for an IGRP route, select the information to exchange data only between systems with the same autonomous system number AS) to view the matching information of the autonomous system number configured by the router.
Router interface troubleshooting
Serial Port troubleshooting
When a connectivity problem occurs in the serial port, in order to eliminate the serial port fault, the show interface serial command is generally used to analyze its screen output report content and locate the problem. The start of the serial port report provides the interface status and line protocol status. Possible Combinations of interfaces and line protocols are as follows:
1. Serial Port running and line protocol running are all working conditions. The serial port and line protocol have been initialized and are switching protocol survival information.
2. serial Port running and line protocol disabling. This display indicates that the router is connected to the device that provides the carrier detection signal, indicating that the carrier signal appears between the local and remote modem, however, the Protocol survival information at both ends of the connection is not correctly exchanged. Possible faults occur in vro configuration problems, modem Operation Problems, lease line interference or remote router faults, Digital Modem clock problems, two serial ports connected through the link are not on the same subnet, this report will appear.
3. Both the serial port and line protocol are closed, which may be due to line faults, cable faults, or modem faults of the Telecommunications Department.
4. The serial port management is disabled and the line protocol is disabled. In this case, the shutdown command is entered in the interface configuration. Run the no shutdown command to enable management shutdown.
When both interfaces and line protocols are running, although basic communication on the serial port link is established, many potential faults may still occur due to information packet loss and information packet errors. During normal communication, the interface input or output information package should not be lost, or the loss volume is very small and will not increase. If the loss of information packets increases regularly, the traffic transmitted through this interface exceeds the traffic that can be processed by the interface. The solution is to increase the line capacity. Find information packet loss for other reasons, and check that the input and output in the output report of the show interface serial command keep the queue status. When the number of information packets in the keep queue reaches the maximum allowed value, the size of the keep queue settings can be increased.
Layered Network diagnosis technology
Physical Layer faults mainly occur when the physical connection mode of the device is correct, the connection cable is correct, and the configurations and operations of devices such as Modem, CSU, and DSU are correct. The best way to determine whether the physical connection of a vro port is intact is to use the show interface command to check the status of each port, explain the screen output information, and view the port status, protocol establishment status, and EIA status.
To find and eliminate data link layer faults, You need to view the router configuration and check whether the connection port shares the encapsulation of the same data link layer. Each pair of interfaces must have the same encapsulation with other devices that communicate with them. Check the encapsulation of A vro by viewing its configuration, or use the show command to view the encapsulation of the corresponding interface.
The basic method for troubleshooting network layer faults is to view the route table of the router along the path from the source to the target, and check the IP address of the router interface. If the route does not appear in the routing table, check whether a proper static route, default route, or dynamic route has been entered. Then manually configure some lost routes, or eliminate some dynamic route selection failures, including RIP or IGRP routing protocol faults. For example, for an IGRP route, select the information to exchange data only between systems with the same autonomous system number AS) to view the matching information of the autonomous system number configured by the router.
Router interface troubleshooting
Serial Port troubleshooting
When a connectivity problem occurs in the serial port, in order to eliminate the serial port fault, the show interface serial command is generally used to analyze its screen output report content and locate the problem. The start of the serial port report provides the interface status and line protocol status. Possible Combinations of interfaces and line protocols are as follows:
1. Serial Port running and line protocol running are all working conditions. The serial port and line protocol have been initialized and are switching protocol survival information.
2. serial Port running and line protocol disabling. This display indicates that the router is connected to the device that provides the carrier detection signal, indicating that the carrier signal appears between the local and remote modem, however, the Protocol survival information at both ends of the connection is not correctly exchanged. Possible faults occur in vro configuration problems, modem Operation Problems, lease line interference or remote router faults, Digital Modem clock problems, two serial ports connected through the link are not on the same subnet, this report will appear.
3. Both the serial port and line protocol are closed, which may be due to line faults, cable faults, or modem faults of the Telecommunications Department.
4. The serial port management is disabled and the line protocol is disabled. In this case, the shutdown command is entered in the interface configuration. Run the no shutdown command to enable management shutdown.
When both interfaces and line protocols are running, although basic communication on the serial port link is established, many potential faults may still occur due to information packet loss and information packet errors. During normal communication, the interface input or output information package should not be lost, or the loss volume is very small and will not increase. If the loss of information packets increases regularly, the traffic transmitted through this interface exceeds the traffic that can be processed by the interface. The solution is to increase the line capacity. Find information packet loss for other reasons, and check that the input and output in the output report of the show interface serial command keep the queue status. When the number of information packets in the keep queue reaches the maximum allowed value, the size of the keep queue settings can be increased.
- Basic knowledge of network and router Fault Diagnosis
- Cisco router fault diagnosis technology
- Network Fault Diagnosis and troubleshooting