Explore in detail the Cisco router global debugging method

Source: Internet
Author: User

There are a lot of users using Cisco routers, So I studied the global debugging of Cisco routers and shared it with you here. I hope it will be useful to you. When configuring a Cisco router, the boundaries between global and interface commands are obvious. In this case, we use "Global" to identify commands that cannot be used for interface debugging or specific transmission media types and Protocol debugging.

For example, in the 2500 series Cisco routers, you can use Debugging commands to analyze the Cisco Discovery Protocol (CDP ). We remotely log on to the Cisco router through telnet. By default, the output of the DEBUG command is sent to the console. If it is in a telnet session, we can use the terminal monitor command to view the output.

Interface debugging

The debug serial interface command is a debugging command directly related to the Cisco router interface and transmission media type. In the following example, the serial interface is encapsulated by HDLC. End-to-End HDLC keeps Active packets exchanged every 10 seconds. This indicates that the link operation is normal and the Layer 2 operation is normal. The show interface serial0 command indicates that the line protocol is started normally. Use the undebug all command to disable all debugging tasks.

Protocol debugging

The following are two examples of protocol debugging. Both examples are related to the IP protocol. Of course, the DEBUG command applies to all other protocols. The first example (as shown below) shows ARP debugging. ARP Debugging starts, then clears the ARP cache, and generates ARP requests and responses. First, we use the command to clear all ARP caches on the Cisco router. Therefore, each LAN segment connected to the Cisco router generates an ARP packet. Because we do not need to generate too many ARP packets, the selected Cisco router is connected to only one Ethernet segment.

The second example (as shown below) shows ip rip debugging. The Cisco router table was not cleared at the beginning of the debugging. Because the Router performs a RIP update every 30 seconds, you do not need to force update. Similar to the first example, all debugging tasks should be disabled after sufficient information is obtained.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.