Router Serial Point To Point Connection HDLC, PPP With PAP and CHAP
Router Serial Point To Point Connection HDLC, PPP With PAP and CHAP
and CHAP
HDLC (High-level Data Link Control) is a WAN protocol intended to perform the
encapsulation of the data in the data link layer. The encapsulation of the data means to
change the format of the of the data. HDLC protocol is developed by IBM and submitted to
the ANSI and ISO for the acceptance as the international standards.
HDLC has two versions. One of them is the standard one and the other is the Cisco
proprietary version. The frame of standard version and Cisco proprietary version is similar.
Only in Cisco proprietary HDLC, there is one additional proprietary field. Below, you can
check both of the frames:
Cisco HDLC is the default enabled WAN protocol of Cisco for Point-to-Point WAN links.
And we can use Cisco HDLC only between Cisco devices. Other vendor devices cannot use
Cisco HDLC.
Lastly, there is no Authentication mechanism in HDLC. So, security is a concern for this
WAN protocol.
PPP (Point to Point Protocol) is also a WAN Encapsulation Protocol that is based on
HDLC but we can say that it is the enhanced version of HDLC. There are many additional
features in PPP if we compare with HDLC.
By default HDLC encapsulation is works in CISCO devices. In case it is not there
Then by simple command we can configure:
Router(Config)# int s0/0
#encapsulation HDLC
Addressing Table:
Objectives:
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#interface s0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shut
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface s0/0
Router(config-if)#encapsulation ppp
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to
up