CISCO交换机常用维护手册.docx
![资源得分’ 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交换机常用维护手册.docx》由会员分享,可在线阅读,更多相关《CISCO交换机常用维护手册.docx(10页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、CISCO交换机常用维护手册 CISCO 4507R 系列路由器维护手册 基本信息配置 1. 用en进全局模式下,再用conf t,进入配置模式,进行以下的配置: 管理方面的配置: enable secret 0 xxxxx line vty 0 4 exec-timeout 30 0 password 0 xxxx login service password-encryption 2. 时间设置与查看命令: Switch# clock set 11:11:11 14 feb 2022 Switch# show clock 3. 主机名设置: Switch(config)# hostname
2、 RRR 4. 主机信息查看: Switch#show version /用来查看启动时间,硬件配置,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 /显
3、示cdp邻居信息 Show cdp neighbor detail /显示详细邻居信息 Switch(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 交换机启动
4、时给中断信号后进入的应急模式或高级操作模式9. 启用三层交换功能 Switch(config)#ip routing 10 设置vlan n Switch(config)#vlan 2 Switch(config-vlan)#name vlan 2 Switch(config)#exit Switch(config-if)# switch mode access Switch(config-if)# switch mode access vlan 2 11 配置etherchannel Switch(config)int port-channel 1 /建立捆绑口 Switch(config)
5、int range fa0/1-2 / Switch(config-if)channel-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)#spee
6、d 10 | 100 | auto(速度) Switch(config-if)# duplex 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(co
7、nfig-if)# shutdown Switch(config-if)# switchport Switch(config-if)# switchport mode dynamic desirable|trunk|auto Switch(config-if)# switchport trunk encapsulation dot1q Switch(config-if)# switchport trunk allowed vlan 2-3 Switch(config-if)# no shutdown Switch(config-if)# end Switch# exit 4端口划分vlan S
8、witch(config-if)# switch mode access Switch(config-if)# switch mode access vlan 2 5常用端口查看命令 Switch# show int fa0/0 Switch# show controllers s0/0 Switch# show ip interface fa0/0 Switch# show ip int brief Switch# show vlan all /查看vlan信息 Switch#show int trunk /查看trunk 端口 6.修改NATIVE VLAN Switch(config-i
9、f)# switchport trunk native vlan 10 7交换机端口安全 Switch(config-if)# switch port-securitiy Switch(config-if)# switch port-securitiy maximum 1 /设置端口绑定mac地址数量 Switch(config-if)# switch port-securitiy violation shutdown|protect|restrict /设置违规保护方式 第3 页共7 页 常用高级配置 1. 配置HSRP 在其中一台4507上按下面模版进行配置 interface Vlan
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CISCO 交换机 常用 维护 手册
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内