Address: http://www.myarticlemall.com/Article/Cisco-CCNA-Exam-Tutorial---Troubleshooting-Directly-Connected-Serial-Interfaces/2611
Controllers are the part of the interface that makes the physical connection.
Most important to us is what kind of cable is attathed to a serial interface.
A dte (Data terminating equipment) cable is the normal cable you shoshould use.
Being DTE means you have CT the other end to providing clocking.
A dce (Data circuit-terminating equipment) means that this device must provide
The clocking on the wire.
The show controllers command will allow you to see if you are DCE or DTE.
A Cisco router is a DTE by default, but directly connecting two dtes with a DCE/DTE cable is not enough. in the following example, R1 and R3 are directly connected at their serial1 interfaces. the line goes up briefly after being opened, but the line protocol goes down after about 30 seconds.
R3 (config-If) # int S1
R3 (config-If) # IP address 172.12.13.3 255.255.255.0
R3 (config-If) # No Shutdown
2d18h: % LINK-3-UPDOWN: interface serial1, changed state to up
2d18h: % LINEPROTO-5-UPDOWN: Line protocol on interface serial1, changed state to up
R3 (config-If )#
2d18h: % LINEPROTO-5-UPDOWN: Line protocol on interface serial1, changed state to down
The problem is that one of the routers needs to act as the DCE in order for the line protocol to come up and stay up. if this were your ccna/ccnp home lab, you cocould just go over and look at the DTE/DCE cable to see which router had the DCE end of the cable attached. in this example, though, we don't have physical access to the routers. how can we tell which router has the DCE end of the cable Tached?
R3 # Show controller Serial 1
HD Unit 1, IDB = 0x1c44e8, driver structure at 0x1cbac8
Buffer size 1524 HD Unit 1, V.35 DCE Cable
The show controller command gives us this information. (There's a lot more output that this with this command, but It's unimportant for our purposes .) the router with the DCE end of the cable needs to supply a clock rate to the DTE, and we'll do just that with the interface-level clockrate command.
R3 # conf t
Enter configuration commands, one per line. End with cntl/Z.
R3 (config) # int serial1
R3 (config-If) # clockrate 56000
2d18h: % LINEPROTO-5-UPDOWN: Line protocol on interface serial1, changed state to up
In just a few seconds, the line protocol goes up and stays up.
When troubleshooting a connection, always run show interface first. if you see the combination shown below, the connection is physically fine but logically down. that's generally the result of a needed keepalive not being present. with frame relay, it's probably an LR issue, but with directly connected serial interfaces The issue is most likely the DCE end of the connection not supplying clockrate.