Tampilkan postingan dengan label HDLC. Tampilkan semua postingan
Tampilkan postingan dengan label HDLC. Tampilkan semua postingan

Selasa, 25 Oktober 2011

HDLC Protocol


High-level Data Link Control : bit based line protocol that run on synchronous serial link.
→ The protocol is independent of any set of characters
→ Packets can be transmitted transparently. The “0-bit insert method” for transparent transmission can be implemented based on hardware.
→ The full-duplex communication can be implemented. Data can be transmitted continuously without waiting. The data transmission on the link is highly efficient.
→ All the frames adopt CRC check. The frames are numbered. Thus no frame is lost or received repeatedly. The transmission reliability is high.
→ The transmission control is separated from processing, which makes HDLC flexible and controllable.

| Flag | Address | Control | Information | FCS | Flag |
01111110 01111110

Types of HDLC Frame
→ Information frame : transmit the valid information or data
→ Supervisory frame : control errors and traffic. First two bit of the control field: “10”. [48 bits]
→ Unnumbered frame : used to establish, delete, and control the link.

WAN Protocol

WAN Protocol Laboratory Guide

IP unnumbered configuration of HDLC

[RT1]interface Loopback 0
[ ]ip address 10.1.1.1 32
[]interface Serial 0/0/0
[ ]link-protocol hdlc
[ ]ip address unnumbered interface Loopback 0
[]ip route-static 10.1.1.0 24 Serial 0/0/0

[RT2]interface Serial 0/0/0
[ ]link-protocol hdlc
[ ]ip address 10.1.1.2 24

[RT1]display ip interface brief
[]ping 10.1.1.2

* Note that Serial 0/0/0 on RT1 doesn't has an IP address.

Configure PPP Dynamic Negotiation
[RT1]interface Serial 0
[ ]link-protocol ppp
[ ]ip address ppp-negotiate

[RT2]interface Serial 0
[ ]link-protocol ppp
[ ]ip address 10.1.1.2 30
[ ]remote address 10.1.1.1

Verify by using display ip routing-table command.


Configure PPP Authentication
# PAP Authentication
[RT1]local-user huawei
[ ]password simple hello
[ ]service-type ppp
[]interface Serial 0/0/0
[ ]link-protocol ppp
[ ]ppp authentication-mode pap
[ ]ip address 10.1.1.1 30

[RT2]interface Serial 0/0/0
[ ]link-protocol ppp
[ ]ppp pap local-user huawei password simple hello
[ ]ip address 10.1.1.2 30


# CHAP Authentication
[RT1]local-user huawei
[ ]password cipher hello
[ ]service-type ppp
[]interface Serial 0/0/0
[ ]link-protocol ppp
[ ]ppp authentication chap
[ ]ip address 10.1.1.1 30

[RT2]interface Serial 0/0/0
[ ]link-protocol ppp
[ ]ppp chap user huawei
[ ]ppp chap password cipher hello
[ ]ip address 10.1.1.2 30

Frame Relay Configuration