计算机四级网络工程师--交换 机 配置命令

上传人:飞*** 文档编号:32677658 上传时间:2018-02-12 格式:DOC 页数:3 大小:61.50KB
返回 下载 相关 举报
计算机四级网络工程师--交换 机 配置命令_第1页
第1页 / 共3页
计算机四级网络工程师--交换 机 配置命令_第2页
第2页 / 共3页
计算机四级网络工程师--交换 机 配置命令_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

《计算机四级网络工程师--交换 机 配置命令》由会员分享,可在线阅读,更多相关《计算机四级网络工程师--交换 机 配置命令(3页珍藏版)》请在金锄头文库上搜索。

1、交换机配置命令 Catalyst 3548( Cisco IOS 系统) Catalyst 6500( Catalyst OS 系统)1、 进入全局配置模式 1、 Switch-3548 enablePassword : *Switch-3548 # config tSwitch-3548 (config) #1、 Switch-6509 enableEnter password :Switch-6509 (enable)2、 启用交换机的 HTTP Server 2、 Switch-3548 (config) # ip http server 2、 Switch-6509 (enable)

2、set ip http server enable3、 配置主机名 3、 Switch-3548 (config) # hostname Switch-PHY-3548 3、 Switch-6500 (enable) set system name Switch-PHY-6500 orSwitch-6500 (enable) set prompt Switch-PHY-6500 4、 配置超级用户口令 4、 Switch-PHY-3548 (config) # enable secret 5 zzzSwitch-PHY-3548 (config) # enable password zzzSw

3、itch-PHY-3548 (config) # Switch-PHY-3548 (config) # enable password 7 zzzSwitch-PHY-3548 (config) #4、 Switch-PHY-6500 (enable) set enablepass5、 配置远程登录口令 5、 Switch-PHY-3548 (config) # line vty 0 4Switch-PHY-3548 (config-line) # password 7 zzzSwitch-PHY-3548 (config-line) # password 0 zzzSwitch-PHY-35

4、48 (config-line) #5、 Switch-PHY-6500 (enable) set password6、 配置系统时间 6、 Switch-PHY-3548 # clock set 23:00:00 29 March 2009 6、 Switch-PHY-6500 (enable) set time fri 3/29/2009 23:00:00系统信息配置7、 配置设备管理地址( IP 地址及缺省路由)7、 Switch-PHY-3548 (config) # interface VLAN1Switch-PHY-3548 (config-if) # ip address 203

5、.105.1.62 255.255.255.0Switch-PHY-3548 (config) # ip default-gateway 203.105.1.17、 Switch-PHY-6500 (enable) set interface sc0 203.105.1.63 255.255.255.0 203.105.1.2558、 进入端口配置模式 8、 Switch-PHY-3548 (config) # interface f0/24 8、 Switch-6509 (enable) (进入全局模式)9、 配置端口描述信息 9、 Switch-PHY-3548 (config-if) #

6、 description To-lib 9、 Switch-PHY-6500 (enable) set port name 4/5 mail-server10、配置交换机端口的关闭与开启 10、 Switch-PHY-3548 (config-if) # (no) shutdown 10、 Switch-PHY-6500 (enable) set port enable/disable 4/511、配置交换机端口的通信方式 11、 Switch-PHY-3548 (config-if) # duplex auto/full/half 11、 Switch-PHY-6500 (enable) s

7、et port duplex 5/1 full/half端口配置12、配置交换机端口的传输速率 12、 Switch-PHY-3548 (config-if) # speed 10/100/auto 12、 Switch-PHY-6500 (enable) set port speed 5/1-24 auto/10/100/100013、配置 VTP 域名 13、 Switch-PHY-3548 (config) # vtp domain pku 13、 Switch-PHY-6500 (enable) set vtp domain pku14、配置 VTP 工作模式 14、 Switch-P

8、HY-3548 (config) # vtp mode server/client/transparent14、 Switch-PHY-6500 (enable) set vtp mode server/client/transparent/off15、进入 VLAN 配置模式 15、 Switch-PHY-3548 # vlan data 15、 Switch-6509 (enable) (进入全局模式)16、建立 VLAN 16、 Switch-PHY-3548 (vlan) # vlan 1000 name vlan1000 16、 Switch-PHY-6500 (enable) se

9、t vlan 999 name vlan99917、删除 VLAN 17、 Switch-PHY-3548 (vlan) # no vlan 1000 17、 Switch-PHY-6500 (enable) clear vlan 99918、修改 VLAN 18、 Switch-PHY-3548 (vlan) # vlan 1000 name v1000 18、 Switch-PHY-6500 (enable) set vlan 999 name v99919、为端口分配 VLAN 19、 Switch-PHY-3548 (config-if) # switchport access vla

10、n 24819、 Switch-PHY-6500 (enable) set vlan 42 5/2020、配置 VLAN Trunk 模式 20、 Switch-PHY-3548 (config-if) # switchport mode trunk21、封装 VLAN 协议 21、 Switch-PHY-3548 (config-if) # switchport trunk encapsulation dot1 q/isl/negotiate P20、 Switch-PHY-6500 (enable) set trunk 5/1 on dot1 qPort(s) 1/2 trunk mode

11、 set to on虚拟网配置22、设置允许中继的 VLAN 22、 Switch-PHY-3548 (config-if) # switchport trunk allowed vlan 10,14/10-14/except 100-100022、 Switch-PHY-6500 (enable) set trunk 5/1 vlan 37-4223、打开或关闭 STP 23、 Switch-PHY-3548 (config) # (no) spanning-tree vlan 323、 Switch-PHY-6500 (enable) set spantree enable/disable

12、24、配置根网桥和备份根网桥 24、 Switch-PHY-3548 (config) # spanning-tree vlan 3 root primary/secondary24、 Switch-PHY-6500 (enable) set spantree root 1,200-204Switch-PHY-6500 (enable) set spantree root secondary 1,200-20425、配置生成树优先级 25、 Switch-PHY-3548 (config) # spanning-tree vlan 3 priority 819225、 Switch-PHY-6

13、500 (enable) set spantree priority 819226、配置 BackboneFast 生成树可选功能26、 Switch-PHY-3548 (config) # spanning-tree backbonefast26、 Switch-PHY-6500 (enable) set spantree backbonefast enable27、配置 UplinkFast 生成树可选功能27、 Switch-PHY-3548 (config) # spanning-tree uplinkfast max-update-rate 32000Switch-PHY-3548

14、(config) # spanning-tree uplinkfast27、 Switch-PHY-6500 (enable) set spantree uplinkfast enable28、配置 PortFast 生成树可选功能28、 Switch-PHY-3548 (config) # spanning-tree portfast default28、 Switch-PHY-6500 (enable) set spantree portfast 3/2 enable生成树协议配置29、配置 BPDU Filter 生成树可选功能29、 Switch-PHY-3548 (config) # spanning-tree portfast bpdufilter default29、 Switch-PHY-6500 (enable) set spantree portfast bpdu-filter enable

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 其它文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号