9124思科光纤交换机配置管理使用手册文档格式.docx

上传人:b****6 文档编号:20693946 上传时间:2023-01-25 格式:DOCX 页数:13 大小:23.88KB
下载 相关 举报
9124思科光纤交换机配置管理使用手册文档格式.docx_第1页
第1页 / 共13页
9124思科光纤交换机配置管理使用手册文档格式.docx_第2页
第2页 / 共13页
9124思科光纤交换机配置管理使用手册文档格式.docx_第3页
第3页 / 共13页
9124思科光纤交换机配置管理使用手册文档格式.docx_第4页
第4页 / 共13页
9124思科光纤交换机配置管理使用手册文档格式.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

9124思科光纤交换机配置管理使用手册文档格式.docx

《9124思科光纤交换机配置管理使用手册文档格式.docx》由会员分享,可在线阅读,更多相关《9124思科光纤交换机配置管理使用手册文档格式.docx(13页珍藏版)》请在冰豆网上搜索。

9124思科光纤交换机配置管理使用手册文档格式.docx

admin

Password:

CiscoStorageAreaNetworkingOperatingSystem(SAN-OS)Software

TACsupport:

Copyright(c)2002-2005,CiscoSystems,Inc.Allrightsreserved.

Thecopyrightstocertainworkscontainedhereinareownedby

otherthirdpartiesandareusedanddistributedunderlicense.

SomepartsofthissoftwarearecoveredundertheGNUPublic

License.Acopyofthelicenseisavailableat

http:

//www.gnu.org/licenses/gpl.html.

switch#

然后,可以按照类似以太网交换机配置的方法来配置交换机了。

2.交换机基本配置

2.1.

配置交换机管理地址

switch#configt

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

配置交换机的管理IP地址

switch(config)#switchnameswitch

switch(config)#

switch(config)#interfacemgmt0

switch(config-if)#ipadress192.168.100.108255.255.255.0

switch(config-if)#noshutdown

开启管理端口

interfacemgmt0表示的是交换机的管理端口。

2.2.配置VSAN

接下来配置VSAN

switch#configt

增加VSAN100

switch(config)#vsandatabase

switch(config-vsan-db)#vsan100

switch(config-vsan-db)#end

2.3.

在VSAB100中创建名为anhuipower的ZONE

配置ZONESET

switch(config)#zonesetnameanhuipowervsan100

switch(config-zoneset)#memberZONE_NAME把ZONE填加到该ZONESET中

注:

在交换机处于正常运行时,如果配置了新的ZONE,并且填加到了ZONESET中,此时需要Acitvate才能生效,命令如下:

switch(config)#zonesetactivatenameanhuipowervsan100

2.4.配置ZONE

下面配置ZONE

基本命令如下:

配置zone,并给zone命名,然后把指定端口加入到该zone中

switch(config)#zonenamezone_namevsan100

switch(config)#memberinterfacefc#/#

交换机端口都是以fc表示,fc1/1表示第一个模块上的第一个端口。

由于像cisco9506之类的交换机是模块化的,所以其每个端口就是fc模块号/端口号。

像cisco9120,cisco9140,不是模块化的,但其接口默认是fc1/端口号。

2.5.TRUNKING的配置

默认情况下,交换机每个端口的TRUNKING协议都是启用的,交换机互连的端口应工作在Emode下,如果有两台交换机互相连接的情况,则要启用TRUNKING,以FC1/1和FC1/2为例。

配置命令如下:

指定端口为E工作模式

switch(config)#interfacefc1/1

switch(config-if)#switchportmodee

switch(config)#interfacefc1/2

3.常用检查命令

showrun显示当前配置

showzone显示当前配置的ZONE的信息

showzoneset显示当前配置的ZONESET的信息

showinterfacefc1/1显示端口fc1/1信息

showzoneactivate显示当前活动的ZONE信息

showzonesetactivate显示当前活动的ZONESET信息

showflogidatabasedetail查看交换机端口连接的HBA卡的WWN号

copyrunstart保存当前配置

4.常用配置命令

4.1.删除创建的ZONE

switch(config)#zonenametestvsan1

switch(config-zone)#exit

switch(config)#nozonenametestvsan1

switch(config)#

4.2.清除配置

Switch#writeerase

4.3.设置配置口超时

switch(config)#lineconsole

switch(config-console)#exec-timeout60

switch(config)#linevty

switch(config-line)#exec-timeout60

4.4.安装与清除license

switch#installlicensebootflash:

license-file

switch#clearlicenselicense-file

switch#clearlicenseall

4.5.显示指定License

switch#showlicensefcports.lic

fcports.lic:

SERVERthis_hostANY

VENDORcisco

FEATUREfcportscisco1.000permanent30HOSTID=VDH=4C0AF664

SIGN=24B2B68AA676<

-------------------------fcportlicense

4.6.显示全部Licenses

switch#showlicenseall

------------------------fcportlicense

ficon.lic:

FEATUREficoncisco1.000permanentuncountedHOSTID=VDH=4C0AF664\

SIGN=CB7872B23700<

----------------------------ficonlicense

4.7.显示ID

switch#showlicensehostid

Licensehostid:

VDH=4C0AF664

4.8.命名交换机

switch#configt

switch(config)#switchnamemyswitch1

myswitch1(config)#

myswitch1(config)#noswitchname

4.9.设置管理口

switch#configterminal

switch(config)#ipaddress1.1.1.0255.255.255.0

switch(config-if)#noshutdown

switch(config-if)#exit

switch(config)#ipdefault-gateway1.1.1.1

4.10.禁止与使能Telnet与ssh

switch(config)#notelnetserverenable

switch(config)#telnetserverenable

switch(config)#sshserverenable

switch(config)#nosshserverenable

4.11.下载配置文件

switch#copy<

scheme>

//<

url>

system:

running-config

switch#copytftp:

//172.16.10.1/237.imgbootflash:

237.img

4.12.保存配置

switch#copyrunning-configstartup-config

4.13.创建与设置VSAN

switch#configt.

switch(config)#vsandatabase

switch(config-vsan-db)#

switch(config-vsan-db)#vsan2

switch(config-vsan-db)#vsan2nameTechDoc

4.14.分配VSAN成员

switch(config-vsan-db)#vsan2interfacefc1/8

switch(config-vsan-db)#vsan7

switch(config-vsan-db)#vsan7interfacefc1/8

4.15.删除VSAN

switch(config-db)#

switch-config-db#vsan2

switch(config-vsan-db)#novsan5

switch(config-vsan-db)#end

switch#

4.16.浏览VSAN设置

switch#showvsan100

vsan100information

name:

VSAN0100state:

active

in-orderguarantee:

nointeroperabilitymode:

no

loadbalancing:

src-id/dst-id/oxid

switch#showvsanusage

4vsanconfigured

configuredvsans:

1-4

vsansavailableforconfiguration:

5-4093

switch#showvsan

vsan1information

VSAN0001state:

vsan2information

VSAN0002state:

vsan7information

VSAN0007state:

switch#showvsan1membership

vsan1interfaces:

fc2/16fc2/15fc2/14fc2/13fc2/12fc2/11fc2/10fc2/9

fc2/8fc2/7fc2/6fc2/5fc2/4fc2/3fc2/2fc2/1

fc1/16fc1/15fc1/14fc1/13fc1/12fc1/11fc1/10fc1/9

fc1/7fc1/6fc1/5fc1/4fc1/3fc1/2fc1/1

vsan2interfaces:

vsan7interfaces:

fc1/8

vsan100interfaces:

vsan4094(isolatedvsan)interfaces:

4.17.设置FC端口

switch(config)#interfacefc1/1-4,fc2/1–3

switch(config-if)#shutdown

4.18.设置Zone

switch(config)#zonenameZone1vsan3

switch(config-zone)#

switch(config-zone)#memberinterfacefc2/1

4.19.设置ZoneSets

(EitherzonesetAorzonesetBcanbeactivated(butnottogether).)

switch(config)#zonesetnameZoneset1vsan3

switch-config-zoneset#

switch-config-zoneset#memberZone1

4.20.激活ZoneSet

switch(config)#zonesetactivatenameZoneset1vsan3

switch(config)#nozonesetactivatenameZoneset1vsan3

ATTETION:

Ifonezonesetisactiveandyouactivateanotherzoneset,thecurrentlyactivezonesetisautomaticallydeactivated.Youdon’tneedtoexplicitlydeactivatethecurrentlyactivezonesetbeforeactivatinganewzoneset.

4.21.浏览Zone信息

DisplaysZoneInformationforAllVSANs

switch#showzone

zonenameZone3vsan1

pwwn21:

00:

20:

37:

6f:

db:

dd

9c:

48:

e5

zonenameZone2vsan2

fwwn20:

41:

05:

30:

2a:

1e

42:

43:

zonenameZone1vsan1

a6:

be:

2f

DisplaysZoneInformationforaSpecificVSAN.

switch#showzonevsan1

zonenameZone2vsan1

4f:

50:

51:

52:

53:

DisplayConfiguredZoneSetInformation:

switch#showzonesetvsan1

zonesetnameZoneSet2vsan1

4e:

fcaliasAlias1

zonesetnameZoneSet1vsan1

DisplayConfiguredZoneSetInformationforaRangeofVSANs:

switch#showzonesetvsan2-3

zonesetnameZoneSet2vsan2

54:

55:

56:

zonenameZone1vsan2

zonesetnameZoneSet3vsan3

DisplaysActiveZonesets

switch#showzonesetactive

zonen

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 成人教育 > 专升本

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1