广域网之FR

在这里插入图片描述

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客户端(设置为FR链路)

[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]dis th     //查看接口配置
[V200R003C00]
#
interface Serial4/0/0
 link-protocol fr
 ip address 12.1.1.1 255.255.255.0 
#
return
[R1-Serial4/0/0]

R2服务器(设置为FR链路)

[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]dis th     //查看接口配置
[V200R003C00]
#
interface Serial4/0/0
 link-protocol fr
 ip address 12.1.1.2 255.255.255.0 
#
return
[R2-Serial4/0/0]

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]

在这里插入图片描述

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

猜你喜欢

转载自blog.csdn.net/Yang__Qi/article/details/103103297
今日推荐