Cisco CCNA And CCNP Certification Exam Training:
Directly Connected Serial Interfaces On Cisco Routers
By Chris Bryant, CCIE #12933
One topic of your CCNA and CCNP certification exams will be connecting Cisco routers directly via their Serial interfaces, and while the configuration is straightforward, there are some vital details and show commands you must know in order to pass the exams and configure this successfully in production and home lab networks. Let's take a look at a sample configuration.
Connecting Cisco routers directly via their Serial interfaces works really well once you get it running - and getting such a connection up and running is easy enough. You can use show controller serial x to find out which endpoint is acting as the DCE, and it's the DCE that must be configured with the clockrate command. After discovering the DCE, we simply configure that interface with the clockrate command to bring the line up.
R3#show controller serial 1
HD unit 1, idb = 0x11B4DC, driver structure at 0x121868
buffer size 1524 HD unit 1, V.35 DCE cable

R3(config)#interface serial1
R3(config-if)#clockrate 56000
Failure to configure the clockrate has some interesting effects regarding the physical and logical state of the interfaces. Let's remove the clockrate from R3 and see what happens.
R3(config)#interface serial1
R3(config-if)#no clockrate 56000
R3(config-if)#^Z
R3#
1d17h: %SYS-5-CONFIG_I: Configured from console by console
R3#
1d17h: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to down
The line protocol doesn't drop immediately, but it does drop. Let's run show interface serial1 to compare the physical and logical interface states.
R3#show interface serial1
Serial1 is up, line protocol is down
Physically, the interface is fine, so the physical interface is up. It's only the logical part of the interface - the line protocol - that is down. It's the same situation on R1.
R1#show interface serial1
Serial1 is up, line protocol is down
While a router misconfiguration is the most likely cause of a serial connection issue, that's not the only reason for clocking issues. Cisco's website documentation mentions CSU/DSU misconfiguration, out-of-spec cables, bad patch panel connections, and connecting too many cables together as other reasons for clocking problems. Still, the number one reason for clocking problems on the CCNA and CCNP certification exams - or worse yet, in real-world production networks - is simply forgetting to configure the clockrate command!
To your success,
Chris Bryant
CCIE #12933
chris@thebryantadvantage.com
|