foreword
- Serial links are often used in wide area networks to provide long-distance data transmission. Advanced Data Link Control HDLC and Point-to-Point Protocol PPP are two typical serial port encapsulation protocols. Currently, PPP is the most widely used protocol.
HDLC protocol application
- Advanced data link control, bit-oriented link layer protocol.
- Encapsulate data types directly at the second layer
![](https://img-blog.csdnimg.cn/63302e3d7e9f4ef2958e5acb3f2be0b1.png)
LCP negotiation parameters
parameter |
effect |
default value |
Maximum receiving unit MRU |
The total length of the information field and padding field in the PPP data frame |
1500 bytes |
authentication protocol |
Authentication protocol used by the authentication peer |
Not certified |
magic word |
The magic word is a randomly generated number, which is used to detect link loops. If the magic word in the received LCP message is the same as the magic word generated by the local end, the link is considered to have a loop |
enable |
![](https://img-blog.csdnimg.cn/b83c95d98bcb4cafb5f2daa8b62cc287.png)
![](https://img-blog.csdnimg.cn/fadd3ccfd6b74fd0ba0811e2d230d303.png)
![](https://img-blog.csdnimg.cn/9c552bdabc544a54a0d91dc09ea87a9c.png)
![](https://img-blog.csdnimg.cn/e985c447290b4f1eb809c7836e325b13.png)
Summary of configuration commands