版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、CISCO4507R系列路由器维护/Sondway手册J.用en进全局模式下,再用conf3进入配置模式,进行以下的配置:管理方面的配置:enablesecret0 xxxxxlinevty04exec-timeout300password0 xxxxloginservicepassword-encryption.时间设置与查看命令:Switch#clockset11:11:1114feb2011Switch#showclock.主机名设置:Switch(config)#hostnameRRR.主机信息查看:Switch#showversion用来查看启动时间,硬件配置,IOS版本,上次启动方
2、式,存储器使用状态等信息。.配置信息:Switch#showrunning-config查看内存RAM配置信息,当前工作状态时的配置信息。Switch#showstartup-config/查看NVRAM配置信息,启动时加载的配置信息。.每日登录标语配置:Bannermotd#ForbiddenArea#.CDP配置:Showcdpinterface/显示CDP邻居接口运行情况Showcdpneighbors/显示cdp邻居信息Showcdpneighbordetail/显示详细邻居信息Switch(config-if)#nocdpenable在端口上关闭cdp功能Switch(config)
3、#nocdprun/关闭cdp功能Switch#clearcdptable/删除cdp表.交换机模式转换命令:Switch用户模式默认登录Switch#特权模式/enableSwitch(config)#全局模式/configureterminalSwitch(config-if)#接口模式/interfacef0/0Rommon交换机启动时给中断信号后进入的应急模式或高级操作模式.启用三层交换功能Switch(config)#iprouting设置vlannSwitch(config)#vlan2Switch(config-vlan)#namevlan2Switch(config)#exit
4、Switch(config-if)#switchmodeaccessSwitch(config-if)#switchmodeaccessvlan2酉己置etherchannelSwitch(config)intport-channel1/建立捆绑口Switch(config)intrangefa0/1-2/Switch(config-if)channel-group1modeon/将端口归属到捆绑口上Switch(config-if)switchportmodetrunkencdotlq/定义TRUNK封装Switch(config-if)switchportmodetrunk/Switch(
5、config)port-channelload-balancedst-ip/定义负载方式检验命令:showetherchannelsummary第 页共7页常用端口配置1配置接口速率和双工Switch(config-if)#speed10|100|auto(速度)Switch(config-if)#duplexauto|full|half(双工)Switch(config-if)#des描述字Switch(config-if)#shutdown关闭接口Switch(config-if)#nosh开启接口2配置三层接口Switch(config-if)#ipaddipmask3配置trunk接口
6、Switch(config)#interfacefastethernetx/y(以fastethernet为例,gigabitethernet一样)Switch(config-if)#shutdownSwitch(config-if)#switchportSwitch(config-if)#switchportmodedynamicdesirable|trunk|autoSwitch(config-if)#switchporttrunkencapsulationdot1qSwitch(config-if)#switchporttrunkallowedvlan2-3Switch(config-i
7、f)#noshutdownSwitch(config-if)#endSwitch#exit4端口划分vlanSwitch(config-if)#switchmodeaccessSwitch(config-if)#switchmodeaccessvlan25常用端口查看命令Switch#showintfa0/0Switch#showcontrollerss0/0Switch#showipinterfacefa0/0Switch#showipintbriefSwitch#showvlanall查看vlan信息Switch#showinttrunk查看trunk端口6.修改NATIVEVLANSwi
8、tch(config-if)#switchporttrunknativevlan107交换机端口安全Switch(config-if)#switchport-securitiySwitch(config-if)#switchport-securitiymaximum1设置端口绑定mac地址数量Switch(config-if)#switchport-securitiyviolationshutdown|protect|restrict/设置违规保护方式常用高级配置.配置HSRP在其中一台4507上按下面模版进行配置interfaceVlanx/可选ipaddress本机端口ipmaskstan
9、dby1虚拟ipstandby1preemptstandby1priority100可选standby1authentication字符串Standby1时间参数1时间参数2hello时间间隔1失效时间间隔2Standby1trackportnumber/没有实际意义在另一台4507上按下面模版进行配置interfaceVlanx/可选ipaddress本机端口ipmaskstandby1虚拟ipstandby1preemptstandby1priority100可选standby1authentication字符串Standby1时间参数1时间参数2hello时间间隔1失效时间间隔2Stan
10、dby1trackportnumber/没有实际意义.基于策略的限速(QOS)配置Switch(config)#mlsqosAccess-list12permit55/用访问控制列表定义流量Switch(config)#class-mapnameSwitch(config-cmap)#access-group12Switch(config)#policy-mapnameSwitch(config-pmap)#classnameSwitch(config-pmap)#trustdscpSwitch(config-pmap)#policeexceed-actiondropSwitch(config
11、-if)#service-policyinputname日常维护及故障处理常用系统检查命令:shproccpu/检查cpu使用情况shflash:检查flash内容shmem检查ram使用情况shbuffer/查看动态缓存利用状况shenvall/检查风扇,温度,电源状态shmodule/检查机器板卡模块shredundancystatus/检查冗余备引擎状态shredundancyhistory/检查冗余主备引擎之间的状态shredundancyswitchover/检查系统状态shlog/检查系统日志shrunshstartup-config系统配置备份命令:wr/配置保存命令copyru
12、nstartup同wrcopyflash:iostftp:备份ioscopyruntftp/备份running-config全面系统信息查看命令Showtech-support全部系统状态信息的批处理显示建议利用secure-crt软件将其定期拷贝出来。排障命令汇总Ping/traceroute/telnet/故障查询shiparp/在线地址shmac-add/接口下硬件地址学习汇总shproccpu/检查cpu利用率shlog/检查系统信息状态shint/检查端口各数据包状态shvlanb/检查vlan信息状态故障分析步骤采用自顶向下,由应用层向物理层排错的顺序。路由器安全加固配置.利用访问
13、控制列表限制telnet和不必要的访问:Switch(Config)#noaccess-list101Switch(Config)#access-list101permitip55anySwitch(Config)#access-list101denyipanyanylogSwitch(Config)#interfaceeth0/1Switch(Config-if)#descriptioninternetEthernetSwitch(Config-if)#ipaddress54Switch(Config-if)#ipaccess-group101in.全部密码采用加密机制:Switch(Con
14、fig)#servicepassword-encryption.禁止不常用服务如cdpfinger,http,tcp/udp-small等Switch(Config)#nocdprunSwitch(Config-if)#nocdpenableSwitch(Config)#noservicetcp-small-serversSwitch(Config)#noserviceudp-samll-serversSwitch(Config)#noipfingerSwitch(Config)#noservicefingerSwitch(Config)#noiphttpserverSwitch(Config
15、)#noipdomain-lookup.建议禁止SNMP协议服务。在禁止时必须删除一些SNMP服务的默认配置。或者需要访问列表来过滤。如:Switch(Config)#nosnmp-servercommunitypublicRoSwitch(Config)#nosnmp-servercommunityadminRWSwitch(Config)#noaccess-list70Switch(Config)#access-list70denyanySwitch(Config)#snmp-servercommunityMoreHardPublicRo70Switch(Config)#nosnmp-serverenabletrapsSwitch(Config)#nosnmp-serversystem-shutdownSw
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 某贸易公司合同管理细则
- 保温工高级技师考试试卷及答案
- 早癌术后病理报告中Ki-67表达意义
- 口服抗栓药物患者门诊拔牙围手术期管理的专家共识
- 专题三能量与动量阶段检测(基础教师版)
- 专题05 机械振动与机械波(教师版)
- GINA全球哮喘管理与预防策略解读总结2026
- 自愈合水凝胶的长期抗菌协同治疗
- 湖南师范大学附中2026年3月高三月考化学试题含解析
- 餐饮员工劳动合同
- 江苏省2026年中职职教高考文化统考数学试卷及答案
- 26年类器官药敏联合基因检测用药
- 2026年西安建筑科技大学《绿色建筑学报》编辑部招聘(3人)笔试参考题库及答案解析
- 2026年北京市东城区高三二模生物试卷(含答案)
- 2026滁州市轨道交通运营有限公司第一批次校园招聘21人备考题库及完整答案详解一套
- T/CSMTNY 003-2026管输掺氢天然气质量分析与流量计量技术指南
- (2026年)压疮的预防及护理课件
- 2026届广西南宁市4月高中毕业班质量调研英语试卷(含答案无听力音频无听力原文)
- 侍茄师(雪茄服务师)初级测试题
- 2025年贵州省高考化学试卷真题(含答案)
- DB3717∕T 30-2025 芍药鲜切花采后处理技术规程
评论
0/150
提交评论