全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
本次讲解路由器静态路由的配置(包含串口配置):本例配置模型图命令行:以下为RA配置:RouterenableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int s1/0Router(config-if)#ip address 192.168.255.1 255.255.255.252Router(config-if)#clock rate 64000 /使用串口线Router(config-if)#baRouter(config-if)#bandwidth 64Router(config-if)#exitRouter(config)#int f0/0Router(config-if)#ip address 192.168.0.1 255.255.255.0Router(config-if)#exitRouter(config)#int f0/1Router(config-if)#ip address 192.168.0.2 255.255.255.0Router(config-if)#ip address 192.168.1.1 255.255.255.0Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upRouter(config-if)#int f0/0 /之前没有激活端口,在此激活Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#int s1/0 /之前没有激活端口,在此激活Router(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 f0/1 FastEthernet0/1 is up, line protocol is up (connected) /端口已激活 Hardware is Lance, address is 00d0.58a7.5602 (bia 00d0.58a7.5602) Internet address is 192.168.1.1/24 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255RouterenableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#ip routing /启动路由功能,如果路由器默认就路由启动状态的话就不支持此命令。在此处不支持 % Invalid input detected at marker.Router(config)#ip route 192.168.16.0 255.255.255.0 s1/0 /添加到达192.168.16.0/24的静态路由。即静态路由Router(config)#ip route 192.168.17.0 255.255.255.0 s1/0 /添加到达192.168.16.0/24的静态路由Router(config)#exitRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#wrwrBuilding configuration.OKRouter#以下为RB配置:RouterenableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int s1/0Router(config-if)#ip add 192.168.255.2 255.255.255.252Router(config-if)#baRouter(config-if)#bandwidth 64Router(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial1/0, changed state to upRouter(config-if)#int f0/0Router(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to upRouter(config)#int f0/0 /配置相应端口的IP地址。并激活该端口Router(config-if)#ip add 192.168.16.1 255.255.255.0Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#int f0/1Router(config-if)#ip add 192.168.17.1 255.255.255.0Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upRouter(config-if)#Router(config-if)#exitRouter(config)#ip route 192.168.1.0 255.255.255.0 s1/0 /制定所允许通过本路由的静态路由端口Router(config)#ip route 192.168.2.0
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026东国大学面试题目及答案
- 环保行业智能化环境监测与污染治理方案
- 绿色能源技术发展趋势研究手册
- 关于2026年品牌合作活动执行细节的确认函(3篇范文)
- 2026公司开发岗面试题及答案
- 2026沟通艺术面试题及答案
- 关于逾期货款支付的催缴通知函8篇范文
- 科学预防传染护航健康成长,小学主题班会课件
- 2026核算测试面试题及答案大全
- 2025-2026学年福州市高考仿真卷生物试卷含解析
- 搅拌站安全会议管理制度
- T/CI 307-2024用于疾病治疗的间充质干细胞质量要求
- 2024小学科学教师教学技能测试题及答案
- 混凝土站生产流程
- 通站(2017)8012 铁路站场排水构筑物
- 《工业网络技术与应用(微课版)》 课件 第4章 网络冗余技术
- 云南省公路工程试验检测费用指导价
- 个人入股合同协议书
- 马克思主义与社会科学方法论课后思考题答案全
- 华信惠悦咨询美的集团职位分析与职位说明书研讨会
- 加油站向周边商户风险告知书
评论
0/150
提交评论