Com口设置如下: · 9600 baud · 8 data bits · No parity · 2 stop bits 检查电源无误后,开电,可能会出现类似下面的显示,按黑粗体字回答: System Bootstrap, Version 6.1(2) Copyright (c) 1994-2000 by cisco Systems, Inc. c6k_sup2 PRocessor with 131072 Kbytes of main memory
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706
Cisco Internetwork Operating System Software IOS (tm) MSFC2 Software (C6MSFC2-BOOT-M), Version 12.1(3a)E4, EARLY DEPLOYMENT R ELEASE SOFTWARE (fc1) Copyright (c) 1986-2000 by cisco Systems, Inc. Compiled Sat 14-Oct-00 05:33 by eaarmas Image text-base: 0x30008980, data-base: 0x303B6000
cisco Cat6k-MSFC2 (R7000) processor with 114688K/16384K bytes of memory. Processor board ID SAD04430J9K R7000 CPU at 300Mhz, Implementation 39, Rev 2.1, 256KB L2, 1024KB L3 Cache Last reset from power-on X.25 software, Version 3.0.0. 509K bytes of non-volatile configuration memory. 16384K bytes of Flash internal SIMM (Sector size 512K).
Press RETURN to get started! --- System Configuration Dialog --- Would you like to enter the initial dialog? [yes]: no 回答:NO,进入手工配置,在router>下,输入enable 回车,进入全局模式
配置如下: Router(config)# redundancy Router(config-r)# main-cpu Router(config-r-mc)# auto-sync standard Router(config-r-mc)# auto-sync bootvar Router(config-r-mc)# end Router# copy running-config startup-config
注重 手工同步某参数后,会使原缺省的同步特征
3.2. 查看Supervisor Engine冗余 Command Purpose Router# show module all Display the redundancy configuration. 如下 Router# show module all Mod Ports Card Type Model Serial No. --- ----- -------------------------------------- ------------------ ----------- 1 2 Catalyst 6000 supervisor 2 (Standby) WS-X6K-SUP2-2GE SAD04450LEU 2 2 Catalyst 6000 supervisor 2 (Active) WS-X6K-SUP2-2GE SAD04160FSR 3 48 SFM-capable 48-port 10/100 Mbps RJ45 WS-X6548-RJ-45 SAD050105Y0 4 48 SFM-capable 48-port 10/100 Mbps RJ45 WS-X6548-RJ-45 SAD0440799G 5 16 SFM-capable 16 port 10/100/1000mb RJ45 WS-X6516-GE-TX SAD05030P0W 7 0 Switching Fabric Module-136 (Active) WS-X6500-SFM2 SAD04440663 8 0 Switching Fabric Module-136 (Standby) WS-X6500-SFM2 SAD04510at4 9 16 Pure SFM-mode 16 port 1000mb GBIC WS-X6816-GBIC SAD044904N7 11 16 Pure SFM-mode 16 port 1000mb GBIC WS-X6816-GBIC SAD04390CCJ 12 16 Pure SFM-mode 16 port 1000mb GBIC WS-X6816-GBIC SAD04260E24 13 16 Pure SFM-mode 16 port 1000mb GBIC WS-X6816-GBIC SAD04260E1J
Mod MAC addresses Hw Fw Sw Status --- ---------------------------------- ------ ------------ ------------ ------- 1 0001.6461.38a8 to 0001.6461.38a9 1.1 Unknown 6.2(0.106) Ok 2 0040.0b14.03e2 to 0040.0b14.03e3 0.220 6.1(2) 6.2(0.106) Ok 3 0001.6441.47f0 to 0001.6441.481f 0.303 6.1(3) 6.2(0.106) Ok 4 0002.b9ff.e8d0 to 0002.b9ff.e8ff 0.204 6.1(3) 6.2(0.106) Ok 5 0001.64f8.3330 to 0001.64f8.333f 0.201 6.1(2) 6.2(0.106) Ok 7 0040.0bff.0000 to 0040.0bff.0000 0.107 6.1(3) 6.2(0.106) Ok 8 0040.0bff.0000 to 0040.0bff.0000 0.203 6.1(3) 6.2(0.106) Ok 9 0002.fc90.0888 to 0002.fc90.0897 0.302 12.1(4r) 12.1(nightly Ok 11 0001.64f8.37f0 to 0001.64f8.37ff 0.204 12.1(5r) 12.1(nightly Ok 12 0001.64f8.3180 to 0001.64f8.318f 0.105 12.1(5r) 12.1(nightly Ok 13 0001.64f8.3190 to 0001.64f8.319f 0.105 12.1(5r) 12.1(nightly Ok
Mod Sub-Module Model Serial Hw Status --- --------------------------- --------------- --------------- ------- ------- 1 Cat6k MSFC 2 daughterboard WS-F6K-MSFC2 SAD044509Y3 1.1 Ok 2 Policy Feature Card 2 WS-F6K-PFC2 SAD04130A17 0.305 Ok 2 Cat6k MSFC 2 daughterboard WS-F6K-MSFC2 SAD04160DBN 0.306 Ok 4 Distributed Forwarding Card WS-F6K-DFC SAD04460KEJ 0.205 Ok 5 Distributed Forwarding Card WS-F6K-DFC SAD04460KEL 0.205 Ok 9 Distributed Forwarding Card WS-F6K-DFC SAD04440952 0.215 Ok 11 Distributed Forwarding Card WS-F6K-DFC SAD04390CCJ 0.215 Ok 12 Distributed Forwarding Card WS-F6K-DFC SAD04340BK2 0.118 Ok 13 Distributed Forwarding Card WS-F6K-DFC SAD04340BK0 0.118 Ok Router# 3.3. 向冗余Supervisor Engine拷贝IOS文件 假如二块supervisor Engine与第一块的IOS相同,就不需要做此步 使用以下命令将文件拷贝到冗余supervisor engine的slot0: Router# copy source_device:source_filename slaveslot0:target_filename 使用以下命令将文件拷贝到冗余supervisor engine的bootflash: Router# copy source_device:source_filename slavesup-bootflash:target_filename
假如要配置二台6509之间的Trunk联接,首先将二6509用千兆光纤相联好,然后分别配置二相联端口的trunk,可以是只用一双光纤,或用二对光纤做port channel,配置如下: 一双光纤相联时,分别在二台65上进行以下的配置: interface GigabitEthernet1/1 no ip address switchport switchport trunk encapsulation dot1q switchport trunk native vlan 1
二对光纤做port channel,分别在二台65上进行以下的配置:: interface port-channe1 no ip address switchport switchport trunk encapsulation dot1q switchport trunk native vlan 1 ! interface GigabitEthernet1/1 no ip address switchport switchport trunk encapsulation dot1q switchport trunk native vlan 1 channel-group 1 mode on ! interface GigabitEthernet1/2 no ip address switchport switchport trunk encapsulation dot1q switchport trunk native vlan 1 channel-group 1 mode on
6. 配置HSRP 在其中一台65上按下面模版进行配置 interface Vlan x ip address x.x.x.x x.x.x.x no ip redirects no ip directed-broadcast standby 1 priority 100 preempt standby 1 ip y.y.y.y ! 在另一台65上按下面模版进行配置 interface Vlan x ip address x.x.x.x x.x.x.x no ip redirects no ip directed-broadcast standby 1 priority 110 preempt standby 1 ip y.y.y.y !
6.1. 配置二层普通交换接口 (以fastethernet为例,gigabitethernet一样) Router(config)# interface fastethernet x/y Router(config-if)# shutdown Router(config-if)# switchport Router(config-if)# switchport mode access Router(config-if)# switchport access vlan x Router(config-if)# no shutdown Router(config-if)# end 6.2. 清除二层接口配置 (以fastethernet为例,gigabitethernet一样) Router(config)# interface fastethernet x/y Router(config-if)# no switchport Router(config-if)# end 使用default interface {ethernet fastethernet gigabitethernet} slot/port,使端口回到原来的缺省配置。 7. 配置Vlan 缺省状态下,所有的二层端口均属于vlan1,vlan的配置方法如下: 命令 目的 Step 1 Router# vlan database 进入vlan配置方式. Step 2 Router(vlan)# vlan vlan_ID 加入一个VLAN. Step 3 Router(vlan)# vtp domain name 设置vtp域名 Step 3 Router(vlan)# exit 更新VLAN数据库,并在治理域内广播,退到全局模式 Step 4 Router# show vlan name vlan_name 验证VLAN配置 l 删除配置好的vlan Router# vlan database Router(vlan)# no vlan x Deleting VLAN 3... Router(vlan)# exit l 将端口分配给vlan: Router(config)# interface fastethernet x/y Router(config-if)# shutdown Router(config-if)# switchport Router(config-if)# switchport mode access Router(config-if)# switchport access vlan x Router(config-if)# no shutdown Router(config-if)# end Router# exit l 配置interface vlan Router(config)# interface vlan x Router(config)# ip add x.x.x.x x.x.x.x