设为首页 收藏本站
查看: 810|回复: 0

[经验分享] catalyst 6500 安装配置

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2014-11-20 08:53:57 | 显示全部楼层 |阅读模式
Catalyst 6509交换机安装配置说明  
1、 将1000w AC电源模块安装到机箱内。
2、 将1000BASE-SX 短波GBIC(多模)、1000BASE-LX/LH长波GBIC(单模、多模)、监控机PCMCIA FLASH 内存卡插到机箱的相应位置。并检查其他模块是否安装正确。 3、 建立交换机Console口的连接。用随机附带的线缆和连接器连接到PC的COM口。在WIN98或NT的开始—程序—附件—通讯--超级终端,新建一个连接,波特率为9600,数据位8,奇偶校验无,停止位1。
4、 给交换机加电后,进如特权用户模式。 Enter password: Concole>enable Enter password: Concole>(enable)
5、 设置交换机的管理IP地址、默认路由。 Console> (enable) set interface sc0 .x.x.x.x  Interface sc0 IP address and netmask set. Console> (enable) set ip route default x.x.x.x Route added.
Console> (enable) show interface
6、 系统设置,如名称、时间、密码、提示符等。 Console> (enable) set system name xiao System name set.
xiao> (enable) set password Enter old password: Enter new password: Retype new password: Password changed.
xiao> (enable) set enablepass Enter old password: Enter new password: Retype new password: Password changed. xiao> (enable)
7、设置登录标语,下次登录时可显示。可选用 xiao> (enable) set banner motd *Catalyst 6509 IP address x.x.x.x wan *
MOTD banner set xiao> (enable) exit

Cisco Systems xiao   
Catalyst 6509
Software Release 5.5(1) IP address x.x.x.x wan   
Enter password:
8、 VTP(visual trunk protocol)。VTP使用户可集中改变vlan 的配置,并通过VTP更新报文把信息发布到整个网络。
xiao> (enable) set vtp domain wan VTP domain wan modified
xiao> (enable) set vtp mode server VTP domain wan modified
9、 创建VLAN,在6509上创建整个网络的vlan. xiao> (enable) set vlan 82 name shifuban Vlan 82 configuration successful
10、 将交换机端口划分到对应VLAN中。(默认所有端口在vlan1中) xiao> (enable) set vlan 82 4/1-4 VLAN 82 modified. VLAN 1 modified. VLAN Mod/Ports
---- ----------------------- 82 4/1-4  
11、配置VLAN主干(VLAN TRUNK),以支持在一个交换机接口上传输多个vlan通信(如 要取消此端口trunk设置,用set trunk 1/1 off) xiao> (enable) set trunk 2/1 on dot1q Port(s) 2/1 trunk mode set to on. xiao> (enable) 12/17/2001,10:16:58
TP-5:Port 2/1 has become dot1q trunk
12/17/2001,10:16:58:PAGP-5:Port 2/1 left bridge port 2/1. 12/17/2001,10:17:09:PAGP-5:Port 2/1 joined bridge port 2/1.
12、 置端口特性,如端口速度、双工模式等。(gigabit ethernet应配置为1000m速度,全双工,ethernet应配置为100m速度,全双工)可选用(默认值为AUTO) xiao> (enable)set port speed 4/45 100 xiao> (enable)set port duplex half  
13、 启用CDP(cisco discover protocol),获取邻近交换机、路由器的信息。(默认已启动) xiao> (enable) set cdp enable CDP enabled for all ports.
xiao> (enable) set cdp interval 100

CDP message interval set to 100 seconds for all ports. xiao> (enable) show cdp port Port CDP Status Message-Interval -------- ---------- ---------------- 1/1 enabled 100 1/2 enabled 100 2/1 enabled 100
14、 配置syslog server,保存记录交换机状态信息的日志文件。交换机出现问题时,可参考此文件查看交换机的历史状态。(最多可配置3个syslog server) 在交换机上:
xiao> (enable) set logging server x.x.x.x
1x.x.x.x added to the System logging server table. xiao> (enable) set logging server enable
System logging messages will be sent to the configured syslog servers. xiao> (enable) set logging server facility local5 System logging server facility set to <local5> xiao> (enable) set logging server severity 3 System logging server severity set to <3>
15、配置SNMP,使交换机可通过网管软件管理。(默认read community 为pub_zs_ro,read-write community 为pri_zs_isc)
xiao> (enable) set snmp community read-only pub_zs_ro SNMP read-only community string set to 'pub_zs_ro'. xiao> (enable) set snmp community read-write pri_zs_isc SNMP read-write community string set to 'pri_zs_isc’ xiao> (enable) set snmp trap enable all All SNMP traps enabled.
16、检查配置并保存在BOOTFLASH,FLASH PCMCIA卡或TFTP 服务器上  xiao> (enable) show config 保存在BOOTFLASH:
xiao> (enable) copy config bootflash 保存在FLASH PCMCIA:
xiao> (enable) copy config slot0: 保存在TFTP SERVER:
xiao> (enable) copy config tftp
IP address or name of remote host []? x.x.x.x Name of file to copy to []? cat6509_config.cfg  
Upload configuration to tftp:cat6509_config.cfg, (y/n) [n]? y ..... /
Configuration has been copied successfully.  
现我们采用NT 或Windows 2000作TFTP服务器,安装好TFTP软件后启动之即可。

17、切换到配置MSFC模式,并进入全局配置模式。设置如名称、密码等。 Console>(enable)session 15 Route>enable Enter password:
Route#configure terminal Route(config)# hostname xiao xiao (config )# enable password cisco
18、 syslog server,保存记录交换机状态信息的日志文件。交换机出现问题时,可参考此文件查看交换机的历史状态。(最多可配置3个syslog server) 在交换机上:
xiao (config )#logging on xiao (config )#logging 1x.x.x.x
xiao (config )#logging monitor information xiao (config )#logging trap information
19、配置SNMP,使交换机可通过网管软件管理。(默认read community 为pub_zs_ro,read-write community 为pri_zs_isc) xiao (config )#snmp community pub_zs_ro ro xiao (config )#snmp community pri_zs_isc rw 20、 访问控制列表
xiao (config )#access-list 11 permit x.x.x.x
xiao (config )#access-list 11 permit x.x.x.0 0.0.0.255 xiao (config )#access-list 11 deny x.x.0.0 0.0.255.255 xiao (config )#access-list 11 permit any
创建标准访问控制表11,允许x.x.x.0网段和x.x.x.x的主机访问,x.x.0.0的其余网段不允许访问,其余网段均可访问。  
xiao (config )#access-list 108 deny tcp 19.16.0.0 0.0.255.255 19.16.0.254 0.0.255.0 eq telnet
xiao (config )#access-list 108 deny tcp 19.16.0.0 0.0.255.255 12.18.83.0 0.0.0.255 eq telnet
xiao (config )#access-list 108 deny tcp 19.16.0.0 0.0.255.255 19.18.8.0 0.0.0.255 eq telnet
xiao (config )#access-list 108 permit ip any any
创建扩展访问控制列表108,禁止12.168.0.0网段主机TELNET该网段的网关
192.168.XX.254(即活动路由器)、12.18.83.0、192.168.83.0网段主机(此网段为外网交换机管理地址),其余IP协议均可通过。 21、 将访问列表捆绑到VLAN子网 xiao (config )#interface vlan 82
xiao (config-vlan )#ip access-group 11 out
将前面所创建的标准访问列表11绑定在流出路由器的数据流中检测。 xiao (config-vlan)#ip access-group 108 in
将前面所创建的扩展访问列表108绑定在流入路由器的数据流中检测。
22、在MSFC上配置缺省路由、VLAN路由,使各VLAN间可访问(这里只举例2个vlan) xiao(config)# ip route 0.0.0.0 0.0.0.0 12.18.83.34

xiao(config)# ip routing xiao(config)# xiao ospf 172
xiao(config-xiao)# network 1.18.83.0 255.255.255.0 xiao(config-xiao)# network 1.168.0.0 255.255.0.0 xiao(config-xiao)# interface vlan 1
xiao(config-if)# ip address 1.1.3.10 255.255.255.0 xiao(config-if)#no shutdown xiao(config-xiao)# interface vlan 82
xiao(config-if)# ip address 12.18.2.254 255.255.255.0 xiao(config-if)#no shutdown 23、配置telnet到交换机的密码  xiao(config)#line vty 0 4  xiao (config-line)#password cisco xiao(config-line)#login  
24、 配置保存在NVRAM,否则交换机重启后所做的配置丢失。同时还可保存在BOOTFLASH,FLASH PCMCIA,TFTP SERVER,以后如果配置丢失可恢复。 保存在NVARAM:
xiao#copy running-config startup-config 保存在TFTP SERVER:
xiao#copy running-config tftp








运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-31519-1-1.html 上篇帖子: CISCO路由器AAA介绍及相关路由配置 下篇帖子: cisco asa5510配置
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表