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

上传人:b****6 文档编号:7578361 上传时间: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

9124思科光纤交换机配置管理使用手册

9124光纤交换机配置管理使用手册

1.初始化信息

在启动交换机后,会有类似如下的信息显示:

----SystemAdminAccountSetup----

Enterthepasswordfor"admin":

输入admin管理员密码,系统设为P@ssw0rd

Confirmthepasswordfor"admin":

再次输入admin管理员密码,P@ssw0rd

----BasicSystemConfigurationDialog----

Thissetuputilitywillguideyouthroughthebasicconfigurationof

thesystem.Setupconfiguresonlyenoughconnectivityformanagement

ofthesystem.

PleaseregisterCiscoMDS9000Familydevicespromptlywithyour

supplier.Failuretoregistermayaffectresponsetimesforinitial

servicecalls.MDSdevicesmustberegisteredtoreceiveentitled

supportservices.

PressEnteratanytimetoskipadialog.Usectrl-catanytime

toskiptheremainingdialogs.

输入no,然后进入命令行配置模式;输入yes,然后进入配置向导模式。

Wouldyouliketoenterthebasicconfigurationdialog(yes/no):

no

输入正确的用户名和刚才设置的密码P@ssw0rd,进入命令行模式

MDSSwitch

switchlogin:

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#configt

switch(config)#zonesetnameanhuipowervsan100

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

注:

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

switch#configt

switch(config)#zonesetactivatenameanhuipowervsan100

2.4.配置ZONE

下面配置ZONE

基本命令如下:

switch#configt

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

switch(config)#zonenamezone_namevsan100

switch(config)#memberinterfacefc#/#

switch(config)#memberinterfacefc#/#

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

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

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

2.5.TRUNKING的配置

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

配置命令如下:

switch#configt

指定端口为E工作模式

switch(config)#interfacefc1/1

switch(config-if)#switchportmodee

switch(config)#interfacefc1/2

switch(config-if)#switchportmodee

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

fcports.lic:

SERVERthis_hostANY

VENDORcisco

FEATUREfcportscisco1.000permanent30HOSTID=VDH=4C0AF664

SIGN=24B2B68AA676<------------------------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

switch(config)#

4.9.设置管理口

switch#configterminal

switch(config)#interfacemgmt0

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#configt

switch(config)#notelnetserverenable

switch(config)#telnetserverenable

switch#configt

switch(config)#sshserverenable

switch(config)#nosshserverenable

4.11.下载配置文件

switch#copy:

//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)#

switch(config-vsan-db)#vsan2nameTechDoc

4.14.分配VSAN成员

switch#configt

switch(config)#vsandatabase

switch(config-vsan-db)#

switch(config-vsan-db)#vsan2

switch(config-vsan-db)#

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

switch(config-vsan-db)#

switch(config-vsan-db)#vsan7

switch(config-vsan-db)#

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

4.15.删除VSAN

switch#configt

switch(config)#vsandatabase

switch(config-db)#

switch-config-db#vsan2

switch(config-vsan-db)#

switch(config-vsan-db)#novsan5

switch(config-vsan-db)#

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

name:

VSAN0001state:

active

in-orderguarantee:

nointeroperabilitymode:

no

loadbalancing:

src-id/dst-id/oxid

vsan2information

name:

VSAN0002state:

active

in-orderguarantee:

nointeroperabilitymode:

no

loadbalancing:

src-id/dst-id/oxid

vsan7information

name:

VSAN0007state:

active

in-orderguarantee:

nointeroperabilitymode:

no

loadbalancing:

src-id/dst-id/oxid

vsan100information

name:

VSAN0100state:

active

in-orderguarantee:

nointeroperabilitymode:

no

loadbalancing:

src-id/dst-id/oxid

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#configt

switch(config)#interfacefc1/1

switch#configt

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

switch(config-if)#noshutdown

switch(config-if)#shutdown

4.18.设置Zone

switch#configt

switch(config)#zonenameZone1vsan3

switch(config-zone)#

switch(config-zone)#memberinterfacefc2/1

4.19.设置ZoneSets

(EitherzonesetAorzonesetBcanbeactivated(butnottogether).)

switch#configt

switch(config)#zonesetnameZoneset1vsan3

switch-config-zoneset#

switch-config-zoneset#memberZone1

switch-config-zoneset#

4.20.激活ZoneSet

switch#configt

switch(config)#

switch(config)#zonesetactivatenameZoneset1vsan3

switch(config)#nozonesetactivatenameZoneset1vsan3

ATTETION:

Ifonezonesetisactiveandyouactivateanotherzoneset,thecurrentlyactivezonesetisautomaticallydeactivated.Youdon’tneedtoexplicitlydeactivatethecurrentlyactivezonesetbeforeactivatinganewzoneset.

4.21.浏览Zone信息

DisplaysZoneInformationforAllVSANs

switch#showzone

zonenameZone3vsan1

pwwn21:

00:

00:

20:

37:

6f:

db:

dd

pwwn21:

00:

00:

20:

37:

9c:

48:

e5

zonenameZone2vsan2

fwwn20:

41:

00:

05:

30:

00:

2a:

1e

fwwn20:

42:

00:

05:

30:

00:

2a:

1e

fwwn20:

43:

00:

05:

30:

00:

2a:

1e

zonenameZone1vsan1

pwwn21:

00:

00:

20:

37:

6f:

db:

dd

pwwn21:

00:

00:

20:

37:

a6:

be:

2f

pwwn21:

00:

00:

20:

37:

9c:

48:

e5

DisplaysZoneInformationforaSpecificVSAN.

switch#showzonevsan1

zonenameZone3vsan1

pwwn21:

00:

00:

20:

37:

6f:

db:

dd

pwwn21:

00:

00:

20:

37:

9c:

48:

e5

zonenameZone2vsan1

fwwn20:

4f:

00:

05:

30:

00:

2a:

1e

fwwn20:

50:

00:

05:

30:

00:

2a:

1e

fwwn20:

51:

00:

05:

30:

00:

2a:

1e

fwwn20:

52:

00:

05:

30:

00:

2a:

1e

fwwn20:

53:

00:

05:

30:

00:

2a:

1e

zonenameZone1vsan1

pwwn21:

00:

00:

20:

37:

6f:

db:

dd

pwwn21:

00:

00:

20:

37:

a6:

be:

2f

pwwn21:

00:

00:

20:

37:

9c:

48:

e5

DisplayConfiguredZoneSetInformation:

switch#showzonesetvsan1

zonesetnameZoneSet2vsan1

zonenameZone2vsan1

fwwn20:

4e:

00:

05:

30:

00:

2a:

1e

fwwn20:

4f:

00:

05:

30:

00:

2a:

1e

fwwn20:

50:

00:

05:

30:

00:

2a:

1e

fwwn20:

51:

00:

05:

30:

00:

2a:

1e

fwwn20:

52:

00:

05:

30:

00:

2a:

1e

zonenameZone1vsan1

pwwn21:

00:

00:

20:

37:

6f:

db:

dd

pwwn21:

00:

00:

20:

37:

a6:

be:

2f

pwwn21:

00:

00:

20:

37:

9c:

48:

e5

fcaliasAlias1

zonesetnameZoneSet1vsan1

zonenameZone1vsan1

pwwn21:

00:

00:

20:

37:

6f:

db:

dd

pwwn21:

00:

00:

20:

37:

a6:

be:

2f

pwwn21:

00:

00:

20:

37:

9c:

48:

e5

fcaliasAlias1

DisplayConfiguredZoneSetInformationforaRangeofVSANs:

switch#showzonesetvsan2-3

zonesetnameZoneSet2vsan2

zonenameZone2vsan2

fwwn20:

52:

00:

05:

30:

00:

2a:

1e

fwwn20:

53:

00:

05:

30:

00:

2a:

1e

fwwn20:

54:

00:

05:

30:

00:

2a:

1e

fwwn20:

55:

00:

05:

30:

00:

2a:

1e

fwwn20:

56:

00:

05:

30:

00:

2a:

1e

zonenameZone1vsan2

pwwn21:

00:

00:

20:

37:

6f:

db:

dd

pwwn21:

00:

00:

20:

37:

a6:

be:

2f

pwwn21:

00:

00:

20:

37:

9c:

48:

e5

fcaliasAlias1

zonesetnameZoneSet3vsan3

zonenameZone1vsan1

pwwn21:

00:

00:

20:

37:

6f:

db:

dd

pwwn21:

00:

00:

20:

37:

a6:

be:

2f

pwwn21:

00:

00:

20:

37:

9c:

48:

e5

fcaliasAlias1

DisplaysActiveZonesets

switch#showzonesetactive

zonesetnameZoneSet1vsan1

zonen

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

当前位置:首页 > 小学教育 > 其它课程

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

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