




免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
路由器:用户模式和特权模式:RouterenableRouterexit (logout、quit)Router#disableRouiter#exit (logout、quit)接口模式:Router(config)#interface +接口名称 -Router(config-if)#子接口模式:Router(config)#interface +接口名称.子接口号码 -Router(config-subif)#链路模式:Router(config)#line console 0 -Router(config-line)#Router(config)#line vty 0 4 -Router(config-line)#命令缓存:Routershow history Routerterminal history size +数字Router的Setup模式:Router#setupRouter的其他命令:Router#show versionRouter#show running-configRouter#show startup-configRouter的RAM和NVRAM:Router#copy running-config startup-configRouter#copy startup-config running-configRouter#write eraseRouter的Banner命令:Router(config)#banner motd #Router的特权模式密码:Router(config)#enable password +密码Router(config)#enable secret +密码Router的console密码:Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password +密码Router的vty密码:Router(config)#line vty 0 4Router(config-line)#login Router(config-line)#password +密码接口标识:Router(config-if)#description +描述信息配置console的其他参数:Router(config-line)#exec-timeout +分钟+秒Router(config-line)#logging synchronous配置串口参数:Router#show controller serial+编号Router(config-if)#clock rate 64000Router(config-if)#bandwidth 64关闭接口:Router(config-if)#(no) shutdownCDP的配置:Router#show cdp neighborsRouter#show cdp neighbors detailRouter#show cdp entry *Router#show cdp interfaceRouter#show cdp trafficRouter#(no) cdp runRouter(config)#(cdp) enableTelnet的配置:Router#telnet +ip地址Router#exitRouter#show sessionsRouter#show userRouter# xRouter#resume +编号 (或者按两次Enter)Router#disconnect +编号Router#clear +编号Ping和Traceroute:Router#ping +ip地址Router#Traceroute+ip地址配置Config-register:Router(config)#config-register+寄存器地址配置启动顺序:Router(config)#boot system flash +名称Router(config)#boot system tftp +文件名+ip地址Router(config)#boot system rom备份和恢复IOS:Router#show flashRouter#copy flash tftpRouter#copy tftp flash路由器的IP配置:Router(config-if)#ip address+ip地址+子网掩码Router#terminal ip netmask-format (bit-count | decimal | hexadecimal)Router(config)#ip host +主机名+ip地址 ip地址Router(config)#ip domain-name +域名Router(config)#ip name-server +DNSserver的IP地址Router(config)#(no) IP domain-lookupRouter(config)#show hosts配置静态路由:Router(config)#ip route 目的网络+掩码 下一跳address | 本地接口 distance permanentRouter#show ip route配置缺省路由:Router(config)#ip route 下一跳address | 本地接口 distance permanentRouter(config)#ip classlessRouter(config)#no ip classless配置VLAN间路由:Router(config-if)#interface fa0/0.1Router(config-subif)#encapsulation isl +vlan编号配置RIP:Router(config)#router ripRouter(config-router)#network +自然网络号Router#show ip protocols Router#show ip routeRouter#(no ) debug ip ripRouter(config-router)#maximum-paths 配置IGRP:Router(config)#router igrp +自治系统编号Router(config-router)#network +自然网络号Router#(no ) debug ip igrp transactionsRouter#(no) debug ip igrp eventsRouter(config-router)#traffic-share share | minRouter(config-router)#variance +容差Router(config-router)#maximum-paths 配置标准ACL:Router(config)#access-list +编号 permint | deny 源地址 翻转掩码Router(config-if)#ip access-group +编号 in | outRouter#show access-list 编号Router#show ip interface +接口名称配置扩展ACL:Router(config)#access-list 编号 permit | deny protocol source source-mask operator port destination destination-mask operator port Router(config-if)#ip access-group 编号 in |out配置named ACL:Router(config)# ip access-list standard | extended nameRouter(config std-|ext-nacl)# (no) permit |deny +测试条件Router(config-if)#ip access-group in | out配置ACL控制VTY的访问:Router(config)#line vty 0 4Router(config-line)#access-class access-list-number in | outPPP的配置:1. 封装pppRouter(config-if)#encapsulation ppp2. 配置主机明、用户名和密码Router(config)#hostname +主机名Router(conifg)#username +用户名 password +密码3. 选择一种验证方式:Router(config-if)#ppp authentication chap | chap pap | pap chap | papISDN的配置:Router(config)#isdn switch-type +交换机类型Router(config)#interface bri0 +接口编号Router(config-if)#isdn spid1 spid号码 本地目录号码Router(config-if)#isdn spid2 spid号码 本地目录号码DDR的配置:1. 配置静态路由:2. 定义敏感数据:? 不使用ACL:Router(config)#dialer-list 编号 protocol +某个协议 permit | deny ? 使用ACL:Router(config)#dialer-list 编号 protocol +某个协议 list +ACL编号3. 配置拨号信息:Router(config-if)#ip address +IP地址+子网掩码Router(config-if)#dialer-list 编号 Router(config-if)#dialer map protocol 下一跳路由器地址 name 远端路友器的主机名 speed 56 | 64 broadcast +拨号字符串4. 可选配置:? 动态器用第二条链路:Router(config-if)#dialer load-threshold load outbound | inbound | either? 配置超时:Router(config-if)#dialer idle-timeout seconds配置帧中继:1. 配置接口的地址、封装类型Router(config-if)#encapsulation frame-relay cisco | ietf2. 配置LMI类型:(可选)Router(config-if)#frame-relay lmi-type ansi | cisco | q933a3. 配置逻辑带宽:Router(config-if)#bandwidth +带宽4. 配置映射:? 静态映射:Router(config-if)#frame-relay map protocol 地址 dlci编号 broadcast cisco | ietf? 动态映射:(缺省) Router(config-if)#frame-relay inverse-arp protocol dici编号帧中继的监控和管理:Router#show interfaceRouter#show frame-relay lmiRouter#show frame-relay pvcRouter#show frame-relay mapRouter#clear frame-relay-inarpRouter#debug frame-relay lmi交换机的配置:Switch#show versionSwitch#show running-configSwitch(config)#hostname +交换机主机名Switch#show ipSwitch#show spantreeSwitch#show interface交换机的双工配置:Switch(config-if)#duplex+双工配置交换机的IP配置:Switch(config)#ip address+ip地址+子网掩码Switch(config)#ip default-gateway+ip地址交换机MAC地址表的配置Switch(config)#mac-address-table permanent +MAC地址+对应的端口Switch(config)#mac-address-table restricted static +MAC地址+对应的端口+允许访问该端口的源端口Switch(config)#show mac-address-tableSwitch(config-if)#port secure max-mac-count +该端口最大课学习的MAC地址数Switch(config)#address-violation (suspend / disable /ignore)Switch#show mac-address-table security交换机配置文件的备份和恢复:Switch#copy nvram tftp:/tftp的IP地址/配置文件名Switch#copy tftp:/ tftp的IP地址/配置文件名 nvramVLAN的配置:1 配置VTP:Switch(config)#vtp server | client | transparent domain +VTP域名 trap (enable | disable) password +密码 p
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年中国气体质量流量调节仪行业投资前景及策略咨询研究报告
- 2025年中国板框式空气过滤器行业市场调查、投资前景及策略咨询报告
- 2025年中国无主机系统多功能汇接柜行业市场调查、投资前景及策略咨询报告
- 2025年中国护套丝攻行业投资前景及策略咨询研究报告
- 四年级新生班级管理制度
- 四川省乡镇企业管理制度
- 幼儿园护理设备管理制度
- 幼儿园手机设备管理制度
- 地质勘察实验室管理制度
- 2025年四川省泸州市中考历史真题(原卷版)
- 青岛市 主要片区 项目 拆迁补偿方案 链接
- 病例报告表(CRF)模板
- Q∕GDW 11612.2-2018 低压电力线高速载波通信互联互通技术规范 第2部分:技术要求
- 国家开放大学《生活方式与常见疾病预防》形考任务1-4参考答案
- 第三章_采场顶板活动规律
- 数字PID控制器设计制作.答案
- DR曝光参考条件
- 潍柴发动机WD615系列分解图册
- 年中转100万吨水泥中转站项目可行性研究报告模板
- 宣恩水利水产局
- 办公室面积整改方案
评论
0/150
提交评论