广域网之HDLC

在这里插入图片描述

R1客户端(设置IP地址)

<Huawei>system-view     //进入系统视图
[Huawei]undo info-center enable     //关闭信息告警提示
[Huawei]sysname R1     //改名
[R1]interface s4/0/0     //进入接口
[R1-Serial4/0/0]ip address 12.1.1.1 24     //设置IP地址
[R1-Serial4/0/0]quit     //退出
[R1]

R2服务器(设置IP地址)

<Huawei>system-view     //进入系统视图
[Huawei]undo info-center enable     //关闭信息告警提示 
[Huawei]sysname R2     //改名
[R2]interface s4/0/0     //进入接口
[R2-Serial4/0/0]ip address 12.1.1.2 24     //设置IP地址
[R2-Serial4/0/0]quit     //退出
[R2]

R1客户端(设置HDLC链路)

[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]

在这里插入图片描述

发布了68 篇原创文章 · 获赞 23 · 访问量 7844

猜你喜欢

转载自blog.csdn.net/Yang__Qi/article/details/103102823