[R1-Serial4/0/0]link-protocol hdlc //设置HDLC链路
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y //输入y
[R1-Serial4/0/0]dis th //查看接口配置
[V200R003C00]
#
interface Serial4/0/0
link-protocol hdlc
ip address 12.1.1.1 255.255.255.0
#
return
[R1-Serial4/0/0]
R2服务器(设置HDLC链路)
[R2-Serial4/0/0]link-protocol hdlc //设置HDLC链路
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y //输入y
[R2-Serial4/0/0]dis th //查看接口配置
[V200R003C00]
#
interface Serial4/0/0
link-protocol hdlc
ip address 12.1.1.2 255.255.255.0
#
return
[R2-Serial4/0/0]