高层链路控制HDLC的配置

操作步骤:

进入全局配置状态 config term

进入端口配置状态 interface serial slot/position

设置HDLC的帧类型 encapsulation hdlc

设置IP地址及其子网掩码 

ip address ip-address netmask

如果本端口联接的是DCE线缆,则要设时钟 clockrate clock-rate

配置举例:路由器A的IP地址为132.4.2.2,B的IP地址是132.4.2.1,都使用s2/0口进行联通。

对路由器A的配置如下:

*router# config term

*router(config)# interface serial2/0

*router(config-if)# encapsulation hdlc

*router(config-if)# ip address 132.4.2.2 255.255.0.0

*router(config-if)# clockrate 64000

对路由器B的配置如下:

*router# config term

*router(config-if)# encapsulation hdlc

*router(config-if)# ip address 132.4.2.1 255.255.0.0

*router(config-if)# clockrate 64000

平均链路访问LAPB

操作步骤:

进入全局配置状态 config term

进入端口配置状态 interface serial slot/position

设置lapb帧类型,如果本节点作lapb dce,则要加上dce选项 encapsulation lapb[dce]

设置IP地址及其掩码 ip address ip-address netmask

如果本端口作物理DCE()

文章录入:csh    责任编辑:csh 

以上就是【路由器的广域网协议配置】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)
发表我的评论

最新评论

  1. 暂无评论