cisco 9124 光纤交换机配置

命令行方式

CISCO 的交换机和普通的博科或者QLOGIC 的交换机差别很大。普通的交换机直接进入默认IP 地址,通过图形化界面直接配置就OK 了。CISCO 的交换机没有图形界面,因此解决需要如下配置步骤:

1、察看每个端口状态:

switch2# show interface fc1/1

fc1/1 is up

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:01:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port mode is F, FCID is 0xd40300

Port vsan is 1

Speed is 4 Gbps

Rate mode is dedicated

Transmit B2B Credit is 8

Receive B2B Credit is 16

Receive field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

378 frames input, 17228 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

56 frames output, 3536 bytes

0 discards, 0 errors

3 input OLS, 3 LRR, 0 NOS, 13 loop inits

switch2# show interface fc1/2

fc1/2 is up

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:02:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port mode is F, FCID is 0xd40500

Port vsan is 1

Speed is 4 Gbps

Rate mode is dedicated

Transmit B2B Credit is 3

Receive B2B Credit is 16

Receive data field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

11839 frames input, 476672 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

161 frames output, 8952 bytes

0 discards, 0 errors

1 input OLS, 1 LRR, 0 NOS, 33 loop inits

switch2# show interface fc1/3

fc1/3 is down (Link failure: Link Reset)

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:03:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port vsan is 1

Receive data field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

966 frames input, 39704 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

89 frames output, 4424 bytes

0 discards, 0 errors

1 input OLS, 1 LRR, 0 NOS, 32 loop inits

3 output OLS, 1 LRR, 5 NOS, 3 loop inits

Interface last changed at Sat Aug 8 19:16:01 2009

switch2# show interface fc1/7

fc1/7 is up

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:07:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port mode is F, FCID is 0xd40000

Port vsan is 1

Speed is 4 Gbps

Rate mode is dedicated

Transmit B2B Credit is 8

Receive B2B Credit is 16

Receive data field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

296 frames input, 13284 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

301 frames output, 12820 bytes

0 discards, 0 errors

3 input OLS, 2 LRR, 1 NOS, 155 loop inits

switch2# show interface fc1/8

fc1/8 is up

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:08:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port mode is F, FCID is 0xd40200

Port vsan is 1

Speed is 2 Gbps

Rate mode is dedicated

Transmit B2B Credit is 3

Receive B2B Credit is 16

Receive data field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

1265 frames input, 54276 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

309 frames output, 15104 bytes

0 discards, 0 errors

6 input OLS, 4 LRR, 0 NOS, 92 loop inits

1、配置VSAN

VSAN 的作用是隔离每一个交换机端口:

switch2# conf t

Enter configuration commands, one per line. End with CNTL/Z.

switch2(config)# vsan database

switch2(config-vsan-db)# vsan 4000 name sw2

switch2(config-vsan-db)# vsan 4000 interface fc1/1

Traffic on fc1/1 may be impacted. Do you want to continue? (y/n) y

switch2(config-vsan-db)# vsan 4000 interface fc1/2

Traffic on fc1/2 may be impacted. Do you want to continue? (y/n) y

switch2(config-vsan-db)# vsan 4000 interface fc1/7

Traffic on fc1/7 may be impacted. Do you want to continue? (y/n) y

switch2(config-vsan-db)# vsan 4000 interface fc1/8

Traffic on fc1/8 may be impacted. Do you want to continue? (y/n) y

switch2(config-vsan-db)# end

switch2# show vsan 4000 membership

vsan 4000 interfaces:

fc1/1 fc1/2 fc1/7 fc1/8

2、创建ZONE 并且添加ZONE 成员。

witch2# conf t

Enter configuration commands, one per line. End with CNTL/Z.

switch2(config)# zone name db2_3652_1 vsan 4000

switch2(config-zone)# member interface fc1/1

switch2(config-zone)# member interface fc1/2

switch2(config-zone)# zoneset name db2_3652 vsan 4000

switch2(config-zone)# member interface fc1/7

switch2(config-zone)# member interface fc1/8

4、配置ZONESET 包含2个ZONE

switch2(config-zone)# zoneset name db2_3652 vsan 4000

switch2(config-zoneset)# member db2_3652_1

switch2(config-zoneset)# member db2_3652_2

5、察看ZONE 成员

switch2# show zone

zone name db2_3652_1 vsan 4000

interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40

zone name db2_3652_2 vsan 4000

interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40

6、察看ZONESET 成员

switch2# show zoneset

zoneset name db2_3652 vsan 4000

zone name db2_3652_1 vsan 4000

interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40

7、激活ZONESET

switch2# conf t

Enter configuration commands, one per line. End with CNTL/Z.

switch2(config)# zoneset activate name db2_3652 vsan 4000

Zoneset activation initiated. check zone status

8、察看激活ZONE 的

switch2# show zone active

zone name db2_3652_1 vsan 4000

* fcid 0x810000 [interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40]

* fcid 0x810100 [interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40]

zone name db2_3652_2 vsan 4000

* fcid 0x810200 [interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40]

* fcid 0x810300 [interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40]

第一个节点配置:

switch1# show vsan 4000 membership

vsan 4000 interfaces:

fc1/1 fc1/2 fc1/3 fc1/7 fc1/8

switch1# show zone

zone name db2_3651_1 vsan 4000

interface fc1/1 swwn 20:00:00:0d:ec:be:05:00

interface fc1/2 swwn 20:00:00:0d:ec:be:05:00

zone name db2_3651_2 vsan 4000

interface fc1/7 swwn 20:00:00:0d:ec:be:05:00

interface fc1/8 swwn 20:00:00:0d:ec:be:05:00

switch1# show zoneset

zoneset name db2_3651 vsan 4000

zone name db2_3651_1 vsan 4000

interface fc1/1 swwn 20:00:00:0d:ec:be:05:00

interface fc1/2 swwn 20:00:00:0d:ec:be:05:00

zone name db2_3651_2 vsan 4000

interface fc1/7 swwn 20:00:00:0d:ec:be:05:00

interface fc1/8 swwn 20:00:00:0d:ec:be:05:00

switch1# show zone active

* fcid 0xac0000 [interface fc1/1 swwn 20:00:00:0d:ec:be:05:00] * fcid 0xac0100 [interface fc1/2 swwn 20:00:00:0d:ec:be:05:00]

zone name db2_3651_2 vsan 4000

* fcid 0xac0200 [interface fc1/7 swwn 20:00:00:0d:ec:be:05:00] * fcid 0xac0300 [interface fc1/8 swwn 20:00:00:0d:ec:be:05:00]

9、最后别忘了保存!

switch1# copy running-config startup-config

[########################################] 100% switch1#

GUI 方式设置 zone

点击next 下就会预览 finished 就ok 了

命令行方式

CISCO 的交换机和普通的博科或者QLOGIC 的交换机差别很大。普通的交换机直接进入默认IP 地址,通过图形化界面直接配置就OK 了。CISCO 的交换机没有图形界面,因此解决需要如下配置步骤:

1、察看每个端口状态:

switch2# show interface fc1/1

fc1/1 is up

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:01:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port mode is F, FCID is 0xd40300

Port vsan is 1

Speed is 4 Gbps

Rate mode is dedicated

Transmit B2B Credit is 8

Receive B2B Credit is 16

Receive field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

378 frames input, 17228 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

56 frames output, 3536 bytes

0 discards, 0 errors

3 input OLS, 3 LRR, 0 NOS, 13 loop inits

switch2# show interface fc1/2

fc1/2 is up

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:02:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port mode is F, FCID is 0xd40500

Port vsan is 1

Speed is 4 Gbps

Rate mode is dedicated

Transmit B2B Credit is 3

Receive B2B Credit is 16

Receive data field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

11839 frames input, 476672 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

161 frames output, 8952 bytes

0 discards, 0 errors

1 input OLS, 1 LRR, 0 NOS, 33 loop inits

switch2# show interface fc1/3

fc1/3 is down (Link failure: Link Reset)

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:03:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port vsan is 1

Receive data field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

966 frames input, 39704 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

89 frames output, 4424 bytes

0 discards, 0 errors

1 input OLS, 1 LRR, 0 NOS, 32 loop inits

3 output OLS, 1 LRR, 5 NOS, 3 loop inits

Interface last changed at Sat Aug 8 19:16:01 2009

switch2# show interface fc1/7

fc1/7 is up

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:07:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port mode is F, FCID is 0xd40000

Port vsan is 1

Speed is 4 Gbps

Rate mode is dedicated

Transmit B2B Credit is 8

Receive B2B Credit is 16

Receive data field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

296 frames input, 13284 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

301 frames output, 12820 bytes

0 discards, 0 errors

3 input OLS, 2 LRR, 1 NOS, 155 loop inits

switch2# show interface fc1/8

fc1/8 is up

Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)

Port WWN is 20:08:00:0d:ec:be:0d:40

Admin port mode is auto, trunk mode is on

snmp link state traps are enabled

Port mode is F, FCID is 0xd40200

Port vsan is 1

Speed is 2 Gbps

Rate mode is dedicated

Transmit B2B Credit is 3

Receive B2B Credit is 16

Receive data field Size is 2112

Beacon is turned off

5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5 minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

1265 frames input, 54276 bytes

0 discards, 0 errors

0 CRC, 0 unknown class

0 too long, 0 too short

309 frames output, 15104 bytes

0 discards, 0 errors

6 input OLS, 4 LRR, 0 NOS, 92 loop inits

1、配置VSAN

VSAN 的作用是隔离每一个交换机端口:

switch2# conf t

Enter configuration commands, one per line. End with CNTL/Z.

switch2(config)# vsan database

switch2(config-vsan-db)# vsan 4000 name sw2

switch2(config-vsan-db)# vsan 4000 interface fc1/1

Traffic on fc1/1 may be impacted. Do you want to continue? (y/n) y

switch2(config-vsan-db)# vsan 4000 interface fc1/2

Traffic on fc1/2 may be impacted. Do you want to continue? (y/n) y

switch2(config-vsan-db)# vsan 4000 interface fc1/7

Traffic on fc1/7 may be impacted. Do you want to continue? (y/n) y

switch2(config-vsan-db)# vsan 4000 interface fc1/8

Traffic on fc1/8 may be impacted. Do you want to continue? (y/n) y

switch2(config-vsan-db)# end

switch2# show vsan 4000 membership

vsan 4000 interfaces:

fc1/1 fc1/2 fc1/7 fc1/8

2、创建ZONE 并且添加ZONE 成员。

witch2# conf t

Enter configuration commands, one per line. End with CNTL/Z.

switch2(config)# zone name db2_3652_1 vsan 4000

switch2(config-zone)# member interface fc1/1

switch2(config-zone)# member interface fc1/2

switch2(config-zone)# zoneset name db2_3652 vsan 4000

switch2(config-zone)# member interface fc1/7

switch2(config-zone)# member interface fc1/8

4、配置ZONESET 包含2个ZONE

switch2(config-zone)# zoneset name db2_3652 vsan 4000

switch2(config-zoneset)# member db2_3652_1

switch2(config-zoneset)# member db2_3652_2

5、察看ZONE 成员

switch2# show zone

zone name db2_3652_1 vsan 4000

interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40

zone name db2_3652_2 vsan 4000

interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40

6、察看ZONESET 成员

switch2# show zoneset

zoneset name db2_3652 vsan 4000

zone name db2_3652_1 vsan 4000

interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40

interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40

7、激活ZONESET

switch2# conf t

Enter configuration commands, one per line. End with CNTL/Z.

switch2(config)# zoneset activate name db2_3652 vsan 4000

Zoneset activation initiated. check zone status

8、察看激活ZONE 的

switch2# show zone active

zone name db2_3652_1 vsan 4000

* fcid 0x810000 [interface fc1/1 swwn 20:00:00:0d:ec:be:0d:40]

* fcid 0x810100 [interface fc1/2 swwn 20:00:00:0d:ec:be:0d:40]

zone name db2_3652_2 vsan 4000

* fcid 0x810200 [interface fc1/7 swwn 20:00:00:0d:ec:be:0d:40]

* fcid 0x810300 [interface fc1/8 swwn 20:00:00:0d:ec:be:0d:40]

第一个节点配置:

switch1# show vsan 4000 membership

vsan 4000 interfaces:

fc1/1 fc1/2 fc1/3 fc1/7 fc1/8

switch1# show zone

zone name db2_3651_1 vsan 4000

interface fc1/1 swwn 20:00:00:0d:ec:be:05:00

interface fc1/2 swwn 20:00:00:0d:ec:be:05:00

zone name db2_3651_2 vsan 4000

interface fc1/7 swwn 20:00:00:0d:ec:be:05:00

interface fc1/8 swwn 20:00:00:0d:ec:be:05:00

switch1# show zoneset

zoneset name db2_3651 vsan 4000

zone name db2_3651_1 vsan 4000

interface fc1/1 swwn 20:00:00:0d:ec:be:05:00

interface fc1/2 swwn 20:00:00:0d:ec:be:05:00

zone name db2_3651_2 vsan 4000

interface fc1/7 swwn 20:00:00:0d:ec:be:05:00

interface fc1/8 swwn 20:00:00:0d:ec:be:05:00

switch1# show zone active

* fcid 0xac0000 [interface fc1/1 swwn 20:00:00:0d:ec:be:05:00] * fcid 0xac0100 [interface fc1/2 swwn 20:00:00:0d:ec:be:05:00]

zone name db2_3651_2 vsan 4000

* fcid 0xac0200 [interface fc1/7 swwn 20:00:00:0d:ec:be:05:00] * fcid 0xac0300 [interface fc1/8 swwn 20:00:00:0d:ec:be:05:00]

9、最后别忘了保存!

switch1# copy running-config startup-config

[########################################] 100% switch1#

GUI 方式设置 zone

点击next 下就会预览 finished 就ok 了


相关内容

  • 思科光纤交换机配置管理使用手册
  • 9124光纤交换机配置管理使用手册 1. 2. 初始化信息 ........................................................................................................................ ...

  • 基于CISCO医院信息系统设计与配置
  • 基于CISCO 的医院信息系统设计与配置 系部名称:计算机工程系 专业班级:网络工程 学生姓名:XXX 指导老师:XXX 讲师 摘 要:用中小型医院的网络来提高工作效率已经迫在眉睫.在本论文中着重讨论关于中小型医院网络的系统的理论搭建,主要涉及网络拓扑.网络布线.数据安全与数据容灾备份等,对数据产生 ...

  • 福州大学校园网
  • 福州大学校园网 设计方案 ××科技股份有限公司 二零××年××月 目 录 一.前言............................................................................................................. ...

  • cisco和Brocade光纤交换机级联配置1
  • Brocade和Cisco光纤交换机级联配置 1.配置异构交换机平台协同工作模式 Cisco 9120配置过程 激活前8个端口 switch# config t Enter configuration commands, one per line. End with CNTL/Z. switch(c ...

  • 思科交换机型号解释
  • 思科交换机型号解释 1. CISCO开头的产品都是路由器: 2. RSP开头的都是CISCO7500系列产品的引擎: 3. VIP开头的产品都是CISCO 7500系列产品的多功能接口处理器模块 4. PA开头的产品都是CISCO 7500/7200系列产品的模块. 5. NPE开头的都是CISCO ...

  • 路由器配置
  • 路由器与交换机的简单配置 本章是以思科2500系例路由器为例进行介绍,CISCO 2500系列路由器是多协路由器,但从另一角度来说,它是一台计算机,就象大家熟悉的运行WINDOWS95的PC 机一样.CISCO 路由器也包含硬件和软件两部分. 1.路由器的硬件部份 1.1 内存体系结构介绍 Cisc ...

  • 校园网网络设计
  • <网络工程>课程设计 校园网网络设计 院 . 部: 计算机与信息科学学院 学生姓名: 指导教师: 彭彩虹 专 业: 网络工程 班 级: 1202 学 号: 完成时间: 2015-12-31 摘 要 随着信息的调整膨胀,全球信息已经进入以计算机网络为核心的时代.作为科技先导的教育行业,计算 ...

  • Cisco产品命名规则
  • Cisco网络设备命名规则 CISCO 开头的产品都是路由器: 2. RSP 开头的都是CISCO7500 系列产品的引擎: 3. VIP 开头的产品都是CISCO 7500系列产品的多功能接口处理器模块: 4. PA 开头的产品都是CISCO 7500/7200系列产品的模块: 5. NPE 开头 ...

  • 关于信息技术的论文
  • 中文摘要 学校肩负着培育新人等重要任务,为满足通信网向高速多媒体信息网发展的需要,迫切需要建立一个高速,功能齐全的校园网,将多媒体,Web等技术引入日常的教学和科研工作中.本项目的实施将会大大改善学校的教学和科研条件.系统完成将达到以下目标:(1)建立一个连接多媒体教室,图书馆等地的校园网,该网的骨 ...