实验拓扑图:
实验配置思路:
- 配置接口IP地址
- 将链路模式修改成FR
实验摘要重点命令:
[R1]int s4/0/0 //进入接口
[R1-Serial4/0/0]link-protocol fr //将接口改为FR链路
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y //输入y
[R1-Serial4/0/0]quit //退出
[R1]dis fr map-info //查看帧中继映射
Map Statistics for interface Serial4/0/0 (DTE)
DLCI = 102, IP INARP 12.1.1.2, Serial4/0/0
create time = 2019/11/16 20:35:36, status = ACTIVE
encapsulation = ietf, vlink = 1, broadcast
[R1]
实验详细配置步骤:
FR配置
FR——配置
配置接口IP地址
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]
将接口修改为FR
R1(客户端)——配置FR链路模式
[R1]int s4/0/0 //进入接口
[R1-Serial4/0/0]link-protocol fr //将接口改为FR链路
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y //输入y
[R1-Serial4/0/0]quit //退出
[R1]
R2(服务器)——配置FR链路模式
[R2]int s4/0/0 //进入接口
[R2-Serial4/0/0]link-protocol fr //将接口改为FR链路
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y //输入y
[R2-Serial4/0/0]quit //退出
[R2]
查看帧中继映射
R1客户端——查看帧中继映射
[R1]dis fr map-info //查看帧中继映射
Map Statistics for interface Serial4/0/0 (DTE)
DLCI = 102, IP INARP 12.1.1.2, Serial4/0/0
create time = 2019/11/16 20:35:36, status = ACTIVE
encapsulation = ietf, vlink = 1, broadcast
[R1]
R2服务器——查看帧中继映射
[R2]dis fr map-info //查看帧中继映射
Map Statistics for interface Serial4/0/0 (DTE)
DLCI = 201, IP INARP 12.1.1.1, Serial4/0/0
create time = 2019/11/16 20:35:36, status = ACTIVE
encapsulation = ietf, vlink = 1, broadcast
[R2]