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软件后启动之即可。