Overview of global debugging Methods for Cisco routers

Source: Internet
Author: User

There are a lot of users using Cisco routers, global debugging of Cisco routers here today I would like to introduce you, I hope to be useful to you.

The boundaries of global and interface commands are obvious when conducting Cisco router configuration. In this case, we use the global to identify the commands that cannot be used for interface debugging or for specific transport media types and protocol debugging.

In the 2500 series Cisco routers, you can use the Debug command to analyze the Cisco Discovery Protocol (Cisco Discovery PROTOCOL,CDP). We telnet to the Cisco router remotely. By default, the output of the debug command is sent to the console, and if you are in a Telnet session, we can use the Terminal Monitor command to view the output.

First, the Protocol debugging

Debug commands are applicable to all other protocols and are related to IP protocols.

(1) Display ARP debugging

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/

ARP debugging starts, and then clears the ARP cache, resulting in ARP requests and responses. First, we use the command to erase all ARP caches on the Cisco router, so every LAN segment connected by Cisco routers will generate ARP messages. Because we do not need to generate too many ARP packets, the selected Cisco router is connected to only one Ethernet segment.

(2) Display IP RIP debugging

At the start of debugging, the Cisco router table is not emptied because the router automatically makes a RIP update every 30 seconds, so there is no need to force an update. Similar to the first example, all debugging should be turned off after sufficient information has been obtained.

Second, interface debugging

The Debug Serial interface command is a debugging command that relates directly to the Cisco router interface and the type of transport media. In the following example, the serial interface uses the HDLC package. End-to-end HDLC Keep active messages exchanged every 10 seconds. This indicates that the link operation is normal and the second tier is working properly. Show Interface Serial0 command indicates that the line protocol is starting normally. Use the Undebug all command to turn off all debugging.

Cisco routers in each series have different debugging methods and can generally use debug commands to analyze Cisco discovery protocols.

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.