CISCO交换机常用维护手册.doc
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《CISCO交换机常用维护手册.doc》由会员分享,可在线阅读,更多相关《CISCO交换机常用维护手册.doc(7页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、基本信息配置1. 用en进全局模式下,再用conf t,进入配置模式,进行以下的配置:管理方面的配置:enable secret 0 xxxxxline vty 0 4exec-timeout 30 0password 0 xxxxloginservice password-encryption2. 时间设置与查看命令:Switch# clock set 11:11:11 14 feb 2011 Switch# show clock 3. 主机名设置: Switch(config)# hostname RRR4. 主机信息查看: Switch#show version /用来查看启动时间,硬件
2、配置,IOS版本,上次启动方式,存储器使用状态等信息。5. 配置信息: Switch#show running-config /查看内存RAM配置信息,当前工作状态时的配置信息。 Switch#show startup-config /查看NVRAM配置信息,启动时加载的配置信息。 6. 每日登录标语配置: Banner motd # Forbidden Area # 7. CDP配置: Show cdp interface /显示CDP邻居接口运行情况 Show cdp neighbors /显示cdp邻居信息 Show cdp neighbor detail /显示详细邻居信息 Switc
3、h(config-if)# no cdp enable /在端口上关闭cdp功能 Switch(config)# no cdp run / 关闭cdp功能 Switch#clear cdp table /删除cdp 表 8. 交换机模式转换命令: Switch 用户模式 /默认登录 Switch# 特权模式 /enable Switch(config)#全局模式 /configure terminal Switch(config-if)# 接口模式 /interface f0/0 Rommon 交换机启动时给中断信号后进入的应急模式或高级操作模式 9. 启用三层交换功能 Switch(conf
4、ig)#ip routing 10 设置vlan n Switch(config)#vlan 2 Switch(config-vlan)#name vlan 2 Switch(config)#exit Switch(config-if)# switch mode accessSwitch(config-if)# switch mode access vlan 2 11 配置etherchannel Switch(config)int port-channel 1 /建立捆绑口 Switch(config)int range fa0/1-2 / Switch(config-if)channel-
5、group 1 mode on / 将端口归属到捆绑口上 Switch(config-if)switchport mode trunk enc dot1q / 定义TRUNK封装 Switch(config-if)switchport mode trunk / Switch(config)port-channel load-balance dst-ip /定义负载方式检验命令: show etherchannel summary 常用端口配置1配置接口速率和双工Switch(config-if)#speed 10 | 100 | auto(速度)Switch(config-if)# duple
6、x auto | full | half(双工) Switch(config-if)#des 描述字 Switch(config-if)#shutdown 关闭接口 Switch(config-if)#no sh 开启接口 2 配置三层接口 Switch(config-if)# ip add ip mask 3 配置trunk接口 Switch(config)# interface fastethernet x/y (以fastethernet为例,gigabitethernet一样)Switch(config-if)# shutdown Switch(config-if)# switchpo
7、rt Switch(config-if)# switchport mode dynamic desirable|trunk|autoSwitch(config-if)# switchport trunk encapsulation dot1q Switch(config-if)# switchport trunk allowed vlan 2-3Switch(config-if)# no shutdown Switch(config-if)# end Switch# exit4端口划分vlan Switch(config-if)# switch mode accessSwitch(config
8、-if)# switch mode access vlan 2 5常用端口查看命令Switch# show int fa0/0Switch# show controllers s0/0Switch# show ip interface fa0/0Switch# show ip int brief Switch# show vlan all /查看vlan信息Switch#show int trunk /查看trunk 端口6.修改NATIVE VLANSwitch(config-if)# switchport trunk native vlan 10 7交换机端口安全Switch(config
9、-if)# switch port-securitiySwitch(config-if)# switch port-securitiy maximum 1 /设置端口绑定mac地址数量Switch(config-if)# switch port-securitiy violation shutdown|protect|restrict /设置违规保护方式常用高级配置1. 配置HSRP 在其中一台4507上按下面模版进行配置 interface Vlan x /可选 ip address 本机端口ip mask standby 1 虚拟ip standby 1 preempt standby 1
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CISCO 交换机 常用 维护 手册
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内