思科设备路由器串行端口配置.docx_第1页
思科设备路由器串行端口配置.docx_第2页
思科设备路由器串行端口配置.docx_第3页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

本次讲解DTE/DCT串行端口配置:同步串行端口的同步时钟信号是由DCE(数据通讯设备,如modem)提供的。默认情况下,路由器串行端口充当DTE。如果查看到该端口是DTE(数据终端设备,如计算机)类型,不必配置同步时钟参数;如果查看到端口是DCE类型,就必须用clock rate命令指定时钟频率来配置成DCE端。在串行端口连接中,作为DCE的一端必须要为连接的另一DTE提供时钟信号。本例配置模型图命令行:以下为RouteA配置:RouterenableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int s1/0 /进入串口s1/0配置模式Router(config-if)#ip addreRouter(config-if)#ip address 192.168.1.1 255.255.255.0 /配置ip地址和子网掩码Router(config-if)#clock rate 64000 /设置时钟频率为64KHz,DCE端必须配置,DTE端不需要配置Router(config-if)#baRouter(config-if)#bandwidth 64 /设置带宽为64KbpsRouter(config-if)#no shutdown /激活端口%LINK-5-CHANGED: Interface Serial1/0, changed state to downRouter(config-if)#exitRouter(config)#exit%SYS-5-CONFIG_I: Configured from console by consoleRouter#show int s1/0 /查看s1/0配置情况Serial1/0 is down, line protocol is down (disabled) /目前由于未配置routeB,故端口未激活,线路不通 Hardware is HD64570 Internet address is 192.168.1.1/24 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255Router#wrBuilding configuration.OKRouter#Router#show int s1/0Serial1/0 is up, line protocol is up (connected) /已配置routeB,故端口已激活,线路已通 Hardware is HD64570 Internet address is 192.168.1.1/24 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Router#以下为routeB配置:RouterenableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int s1/0 Router(config-if)#ip addRouter(config-if)#ip address 192.168.1.2 255.255.255.0Router(config-if)#baRouter(config-if)#bandwidth 64 /设置带宽为64KHz,在DTE端不用设置时钟频率Router(config-if)#no shutRouter(config-if)#no shutdown %LINK-5-CHANGED: Interface Serial1/0, changed state to upRouter(config-if)#exitRouter(config)#exitRouter#show int s1/0Serial1/0 is up, line protocol is up (connected) /端口已激活 Hardware is HD64570 Internet address is 192.168.1.2/24 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,%SYS-5-CONFIG_I: Configured from console by consoleRouter#show ip route /查看路由信息Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setRouter#%LINEPROT

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论