思科6000系列交换机配置维护手册(1)

发布者:上海IT外包来源:http://www.lanmon.net点击数:4855

 1. 连接设备

1.1. 从console连接

第一次对6000交换机进行配置,必须从console进入。

首先先将机器上架,按要求接好电源,然后用随机附带的Console线和转接头将交换机的console口与PC的串口相联,如下:

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

rommon 1 > boot slot0:c6sup22-jsv-mz.121-5c.EX.bin

Self decompressing the image : #################################################

###############################################################################

###############################################################################

###############################################################################

###############################################################################

[OK]

Restricted Rights Legend

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

回车,进入全局模式

1.2. 远程telnet连接

当完成交换机配置,并起给交换机配置了管理地址,就可以直接采用远程telnet登陆进入交换机了,但是必须先配置line vty的密码和enable密码才能允许远程登陆。

2. 基本信息配置

2.1. 配置机器名、telnet、密码

1. 在全局模式下,用conf t,进入配置模式,进行以下的配置:

管理方面的配置:

service timestamps debug datetime localtime

service timestamps log datetime localtime

service password-encryption

hostname xxxx

enable secret 0 xxxxx

line vty 0 4

exec-timeout 30 0

password 0 xxxx

login

2.2. 配置snmp网管串

conf t

snmp-server community xxxxxx ro(只读)

snmp-server community xxxxxx rw(读写)

3. 冗余及系统高可用性配置

6000系列支持双supervisor engines或加强的高可用系统(EHSA),允许第二块supervisor engines处于standby模式或EHSA状态,在主用supervisor engines有问题时进行切换(切换过程中会照成网络的暂时中断),

当交换机加电后,EHSA会缺省地在二supervisor engine上运行(slot 1 or 2), 其中之一会成为活动的。

注意:二块supervisor engine必须有一致的IOS,内存等。

3.1. 同步Supervisor Engine配置

在正常的操作过程中,初始配置(startup-config)及config-registers配置缺省会在二supervisor engines之间同步. 发生切换后,新的活动supervisor engine会运行当前的配置。

可按以下的步骤手工同步二块supervisor engines:

命令 目的

Step 1  Router(config)# redundancy 进入冗余配置模式

Step 2  Router(config-r)# main-cpu 进入main-cpu配置模式

Step 3  Router(config-r-mc)# auto-sync {startup-config | config-register | bootvar | standard} 同步配置参数,有startup-config, config-register,bootvar,standard

Step 4  Router(config-r-mc)# end 退回全局模式

Step 5  Router# copy running-config startup-config 保存配置

注意 auto-sync standard命令不同步boot variables.

配置如下:

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

使用以下命令将文件拷贝到冗余MSFC的bootflash:

Router# copy source_device:source_filename slavebootflash:target_filename

4. 端口设置

4.1. 基本设置

进入端口配置模式:

对于单一端口,在配置模式下输入:interface Ethernet,Fast Ethernet,Gigabit Ethernet x/y, x为槽位号,y为端口号。

对于一组端口,可以使用以下的命令进入,例如:

Router(config)# interface range fastethernet 5/1-5

或:

Router(config-if)# interface range fastethernet 5/1-5, gigabitethernet 1/1-2

进行端口配置模式后,可以shutdown,或no shutdown端口,并可以对端口进行配置,快速以太端口有全双工、半双工和自动协商模式,如果知道对端连接的设备是采用何种方式,最好采用手工设置方式固定端口的模式和速率。缺省是自动协商模式。

快速以太端口的速率可以设置为100M,也可以设置为10M和自动协商。缺省是自动协商方式。

如:

Router(config-if)#speed [10 | 100 | auto](速度)

Router(config-if)# duplex [auto | full | half](双工)

或添加注释,如:Router(config-if)# description Channel-group to "Marketing"

4.2. 配置三层端口

6506的端口可以配置成三层端口,用来跟其他设备的连接,当将一个端口配置成三层端口之后,就可以在此端口上分配IP地址了。

Router(config)# interface fastethernet x/y

Router(config)# ip add x.x.x.x x.x.x.x

1998年,蓝色学苑www.bluestudy.net创立了,我们翻译了大量路由交换的资料和调试案例,启蒙了大批网络技术爱好者。我们的创始人也在1999年通过CCIE认证,成为国内为数不多的老牌CCIE之一。2002年,蓝色学苑骨干成员成立蓝盟www.lanmon.com 专注于网络维护、网管外包、电脑维护、服务器升级、网络改造、系统集成、网络咨询、服务管理、运维咨询、ITIL培训、ITSS咨询等一站式IT外包服务。我们拥有近200名工程师,正在为近500家客户提供“一站式” 的IT外包服务。网址:www.lanmon.net 官方微博:http://weibo.com/lanmon2012 咨询电话:4008200159
版权声明:本站文章90%以上为蓝盟原创,转载请注明出处:www.lanmon.com。如有版权疑问随时致电:021-51693198-226,我们将第一时间给予答复。

IT外包
>
400-635-8089
立即
咨询
电话咨询
服务热线
400-635-8089
微信咨询
微信咨询
微信咨询
公众号
公众号
公众号
返回顶部