首页/网络/BGP 与广域网速查/串口封装:HDLC 与 PPP 的选择
MPLS 与专线70 条

串口封装:HDLC 与 PPP 的选择

串口专线两端封装需一致:HDLC 常见私有实现(跨厂商可能不通),PPP 为开放标准且支持认证与多链路;对接前确认两端要求。

BGP 与广域网速查网络更新于 2026-10-12
HDLC私有扩展较多,跨厂商互通常受限制
PPP标准化封装,支持 PAP/CHAP 与多链路
配置位置串口接口下 encapsulation 命令
核查show interface 查看封装与 line protocol

配置示例

配置示例
interface Serial0/1/0
 encapsulation ppp
# 或:
# encapsulation hdlc
!
show interface Serial0/1/0 | include Encapsulation|line protocol

易错点

  • 跨厂商沿用 HDLC:链路层不通,改用 PPP 对齐
  • 封装不一致:多表现为 line protocol down 而非完全无信号

数据来源与参考

  • RFC 1661: PPP
  • Cisco: Serial 封装配置
​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌