Chinaunix首页 | 论坛 | 博客
  • 博客访问: 646144
  • 博文数量: 751
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 4990
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-28 09:48
文章分类

全部博文(751)

文章存档

2011年(1)

2008年(750)

我的朋友

分类:

2008-10-28 09:50:41

高层链路控制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()

【责编:Kittoy】

--------------------next---------------------

阅读(240) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~