LoveUnix » 存储设备 » 看了一晚上手册.学会了zonecreate & cfgcreate二个命令 划ZONE命令行手册共享
2008-4-10 17:58
小猪
看了一晚上手册.学会了zonecreate & cfgcreate二个命令 划ZONE命令行手册共享
[url]http://search.brocade.com/cs.html?url=http%3A//www.brocade.com/education_services/docs/bcsm/53-1000644-01_M-EOSn_CLI_Usr.pdf&qt=Command+Line+Interface+User+Manual&col=internet&n=2[/url]
[url]http://www.brocade.com/education_services/docs/bcsm/53-1000644-01_M-EOSn_CLI_Usr.pdf[/url]
;P ;P
admin>cfgcreate "zoneConfig" ,"zone1;zone2"
admin>
admin>zonecreate "zone1","1,0;1,1"
admin>
admin>zonecreate "zone2","1,4;1;5"
admin>
admin>cfgsave "zoneConfig"
admin>
admin>cfgenable "zoneConfig"
admin>
admin>cfgshow
.......
IBM_2005_B16:admin> help
aaaConfig Configure RADIUS for AAA services
agtcfgDefault Reset SNMP agent to factory default
agtcfgSet Set SNMP agent configuration
agtcfgShow Print SNMP agent configuration
aliasDelete Deletes a port from all local groups
aliasJoin Creates a group of N-Ports
aliasPurge Removes an alias group
aliasShow Print Alias Server information
aptPolicy Get and set Advanced Performance Tuning policy
authutil Get and set authentication configuration
backplanetest Backplane connection test for
multi-blade systems
backport Test for back-end ASIC pair to ASIC pair links
bannerSet Set security banner
bannerShow Display security banner
bcastShow Display broadcast routing information
burninErrClear Clear errors that are stored in the
non-volatile storage
burninErrShow Display errors that are stored in the
non-volatile storage
burninLevel Set the diagnostics burnin level
burninStatus Displayes the diagnostics burn-in status
camtest Verify Content Addressable Memory
centralmemorytest Test ASIC central memory operation
chassisconfig Display or set the chassis configuration
chassisName Display or set the chassis's Name
chassisShow Display all Field Replaceable Units (FRU)
chipregshow Displays the port registers for a given
chip number
cmemretentiontest Data retention test of the central
memory SRAMs
cmitest Verify CMI bus between ASICs
configDefault Reset config to factory default
configDownload Load switch config from a server
configShow Print switch config parameters
configUpload Save switch config to a server
configure Set switch config parameters
crossporttest Functional test of port external
transmit and receive path
datatypeshow Display available diagnostic data types
date Print/set the system date and time
dbgshow Display debug levels of various modules
diagHelp Print diagnostic help info
dlsReset Turn off the dynamic load sharing (DLS) option
dlsSet Turn on the dynamic load sharing (DLS) option
dlsShow Display the state of the dynamic
load sharing option
dnsconfig Configure DNS service
enclosureShow Display the switch enclosure attributes
errClear Clear error log
errDelimiterSet Sets the error log start and end delimiter
for messages sent to the console and syslog
errDump Print error log (no page breaks)
errFilterSet Sets a filter for an error log destination
errModuleShow Displays all the defined modules in the system
errShow Print error log
exit logout from a shell session
fabPortShow Display contents of a particular port's data
fabRetryShow Display retry count of various fabric commands
fabricLog Displays or manipulates the fabric log
fabricPrincipal Displays/Enables/Disables Principal Switch
Selection mode
fabricShow Print fabric membership info
fabStateClear Clears the fabric state information
fabStateResize Changes the number of state entries
fabStateShow Displays the fabric state information
fabStatsShow Displays the fabric statistics information
fabSwitchShow Display fabric switch state information
fanShow Print fan status
fastboot Reboot this switch, bypassing POST
fciphelp Print FCIP help info
fcPing Sends a FC ELS ECHO request to a port
fcpLogClear Clear the FCP log
fcplogdisable Disable logging of FCP events
fcpLogEnable Enable logging of FCP events
fcpLogShow Display FCP probing log information
fcpProbeShow Display FCP probing information
fcpRlsShow Display FCP RLS (read link state) information
fcrconfigure Sets FC Router configuration parameters
fcrfabricshow Displays FC Routers on a backbone fabric
fcrphydevshow Displays FC Router physical device information
fcrproxyconfig Displays or configures proxy devices presented
by an FC Router
fcrproxydevshow Display FC Router proxy device information
fcrresourceshow Display FC Router physical resource usage
fcrrouteshow Display FC Router route information
fcrxlateconfig Display or persistently configure a translate
(xlate) domain's domain ID
fdmiCacheShow Display abbreviated remote FDMI device
information according to remote domain ID
fdmiShow Display detailed FDMI device information
ficonClear Clears contents of the specified FICON
management database
ficoncupset Sets FICON-CUP parameters for a switch
ficoncupshow Displays FICON-CUP parameters for a switch
ficonShow Displays contents of the specified FICON
management database
filtertest Run frame filter test for bloom ASIC
firmwareCommit Commit firmware to stable storage
firmwareDownload Download firmware into switch
firmwareDownloadStatus Display the progress and status of
firmwareDownload
firmwareRestore Restore the old firmware in the switch
firmwareShow Display firmware versions in the switch
fPortTest Verify the functional operation of the switch
fruReplace Replace a Field Replacable Unit
fspfShow Print FSPF global information
fwHelp Print Fabric Watch help info
h Print shell history
help Print this list
historyLastShow Displays last history record
historyMode Display the mode of the history log
historyShow Displays entire history log
httpcfgShow Used to show the version of the Java
plug-in used by the Webtools
i Display process summary
ifModeSet Set the link operating mode for a
network interface
ifModeShow Display the link operating mode for a
network interface
interfaceShow Display the FSPF (TM) interface information
interopMode Displays/enables/disables Brocade
switch interoperability with switches
from other manufacturers
iodReset Turn off the in-order delivery (IOD) option
iodSet Turn on the in-order delivery (IOD) option
iodShow Display the state of the in-order
delivery option
ipAddrSet Set ethernet and FC IP addresses
ipAddrShow Print ethernet and FC IP addresses
islshow Display the current connections and status
killtelnet Terminate telnet/serial login sessions
interactively
licenseAdd Adds license keys to switch
licenseHelp Print license help info
licenseIdShow Displays the system license ID
licenseRemove Removes a license key from this system
licenseShow Displays current license keys
linkcost Set or print the FSPF cost of a link
login Login as a new user
logout Logout from remote session
loopporttest Functional test of L-port M->M path
on a loop
lsanzoneshow Display Logical SAN Zone Information
lsdbshow Displays the FSPF link state database
memShow Display memory usage in the system.
miniCycle Functional test of internal and external trans-
mit and receive paths at full speed
minisPropShow Displays ASIC pair properties
msCapabilityShow Display Management Server Capability.
msConfigure Configure Management Server
msPlatShow Display the Management Server Platform Database
msPlatShowDBCB Display the Management Server Database
Control Block
msPlClearDB Clear the Management Server Platform
Database fabric-wide
msPlMgmtActivate Activate the Management Server Platform
Database fabric-wide
msPlMgmtDeactivate Deactivate the Management Server Platform
Database fabric-wide
msTdDisable Disables the Management Server Topology
Discovery Management Service
msTdEnable Enables the Management Server Topology
Discovery Management Service
msTdReadConfig Display status of Management Server
Topology Discovery Service
myid Display the current login session details
nbrStateShow Display FSPF (TM) neighbors' states
nbrStatsClear Reset the FSPF (TM) interface counters
nodeFind Display all the devices' PID matching
the given world wide name
nsAliasShow Display local Name Server information
with Aliases
nsAllShow Print global Name Server information
nscamShow Print local Name Server Cache information
nsShow Print local Name Server information
information
nsZoneMember Display the information of all the online
devices which are zoned with the given device.
openSource Displays all licenses for open source code
passwd Set usernames and passwords
pathInfo Display routing information between two ports
pdshow Show information from Panic Dump file
perfHelp Print Performance Monitoring help info
pkiCreate Creates public key infrastructure (PKI)
objects
pkiRemove Removes existing public key infrastructure
(PKI) objects
pkiShow Displays existing public key infrastructure
(PKI) objects
portAlpaShow Show the ALPAs of a port
portBufferShow Print the buffer allocations for the ports
of a quad
portCamShow Display filter utilization
portCfg Set a port's configuration to be disabled
or enabled
portCfgDefault Restore the port configuration to defaults
portCfgEport Enable/Disable a port from becoming E_Port
portcfgexport Enable/Disable a port from becoming EX_Port
portCfgGport Lock a port as a G_Port
portCfgISLMode Configure a port to be ISL R_RDY Mode
enabled/disabled
portCfgLongDistance Configure a Long Distance Port
portCfgLport Lock a port as a L_Port
portCfgNPIVPort Enables/Disable NPIV functionality on a port
portCfgPersistentDisable Persistently disable a port
portCfgPersistentEnable Enable a persistently disabled port
portCfgShow Displays port configuration settings.
portCfgSpeed Configure a port to a particular speed level
portCfgTrunkPort Configure a port for trunking
portcfgvexport Enable/Disable a port from becoming VEX_Port
portDebug Set debug level and verbosity level of port
modules
portDisable Disable a specified port
portEnable Enable a specified port
portErrShow Print port error summary
portFlagsShow Display the port status bitmaps of all
ports in a switch
portLedTest Cycle user port LEDs
portLogClear Clear port activity log
portLogConfigShow Display portlog configuration
portLogDump Print port log (no page breaks)
portLogDumpPort Print port log (no page breaks)
portLogEventShow Display information about port log events
portLoginShow Display port login information
portLogPdisc Set or clear the debug_pdisc_flag
portLogPortShow Displays information about port log
port settings
portLogReset Enable portlog facility
portLogResize Resize the port log
portLogShow Print port activity log
portLogShowPort Print port activity log
portLogTypeDisable Disable port logging
portLogTypeEnable Enable port logging
portLoopBackTest Functional test of port N->N path
portName Assign or display the name associated with
a port
portPerfShow Print port throughput numbers
portRegTest Reads and writes test of the ASIC SRAMs
and registers
portRouteShow Display various routing tables for a port
portShow Print state of specified port
portStats64Show Display the 64-bit hardware statistics for
a port
portStatsClear Clear the status of a specified switch port
portStatsShow Print hardware statistics
portSwap Swaps area numbers
portSwapDisable Disable portswap feature
portSwapEnable Enable portswap feature
portSwapShow Display port and area information
portTest Functional test on a live fabric.
Starts porttest
portTestShow Retreive information from porttest
psShow Print power supply status
qloopAdd add a member to a qloop
qloopCreate create a qloop
qloopDelete delete a qloop
qloopRemove remove a member from a qloop
qloopShow display qloop information
quietMode Displays/enables/disables quietmode on
telnet session
reboot Reboot this processor
routeHelp Print routing help info
savecore FTP or Remove core files generated by daemons
secHelp Displays information about security commands
sensorShow Display sensor readings
setDbg Set debug level of the specified module
setEsdMode Set or display ESD mode
setGbicMode Set or display media mode
setMediaMode Set or display media mode
setMfgMode Set or display diagnostic MFG mode
setModem Enables or disables modem login to a control
processor (CP)
setSfpMode Set or display diagnostic MFG mode
setSplbMode Sets or displays SPLB mode
setVerbose Set verbosity level of the specified module
sfpShow Print Serial ID SFP information
shellFlowControlDisable Disable xon-xoff flow control on console
serial port
shellFlowControlEnable Enable xon-xoff flow control on console
serial port
slTest Tests the serial link of port N->N path
snmpConfig Configure SNMP
snmpMibCapSet Set options for configuring SNMP
Mib/Trap Capability
snmpMibCapShow Show SNMP Mib/Trap Configuration
spinFab Functional test of switch to switch ISL cabling
and trunk group operation
spinJitter line-speed jitter measurement
spinSilk Functional test of internal and external transmit
and receive paths at full speed
sramRetentionTest Performs a data retention test of the
miscellaneous SRAMs in ASIC.
statsClear Clear port and diagnostic statistics
statsTest Statistics counter test for the ASICs
supportFtp set support Ftp parameters
supportSave retrieve support data from switch to host
supportShow Prints switch information for debugging purposes
supportShowCfgDisable Disables a group of commands under
the supportShow command
supportShowCfgEnable Enables a group of commands under the
supportShow command.
supportShowCfgShow Displays the groups of commands enabled for
display by the supportShow command
switchBeacon Set switch beacon on or off
switchCfgPersistentDisable Persistently disable a switch
switchCfgPersistentEnable Enable a persistently disabled switch
switchCfgSpeed Configures all ports of the switch
to a particular speed level
switchCfgTrunk Configure all ports on the switch for trunking
switchDisable Disable this switch
switchEnable Enable this switch
switchName Print/set this switch's name
switchShow Print switch and port status
switchStatusPolicySet Set policy parameters for overall switch status
switchStatusPolicyShow Print policy parameters for overall switch status
switchStatusShow Print overall switch status
switchUptime Display the amount of time for
which the switch is up
syslogdFacility Change the syslog facility
syslogdIpAdd Add syslog daemon IP address
syslogdIpRemove Remove syslog daemon IP address
syslogdIpShow Print the syslog daemon targets
sysshutdown Shutdown the operating systems on your switch
systemVerification Run a suit of diagnostic tests on all
switches in a system
tempShow Print temperature readings
timeout Set/show the IDLE timeout value
for a login session
topologyShow Display the unicast fabric topology
traceDump generate/remove trace dump or display
trace dump status
traceFtp enable/disable trace auto-FTP or transfer
trace dump
traceTrig add/remove/display trace triggers
trackChangesHelp Print Track Changes help info
trunkDebug Debug a trunk link failure
trunkShow Display trunking information
tsClockServer Displays or sets the NTP server address
tsTimeZone Displays or sets the time zone
turboramtest Turbo SRAM test for bloom ASICs
txdpath Functional test of ASIC pair TXA,
TXD connections
uptime Print how long switch has been up
uRouteConfig Configure a static route
uRouteRemove Remove a static route
uRouteShow Display unicast routing information
userConfig Display or configure user accounts
userRename Rename user login name
version Print firmware version
wwn Display world wide name
zoneHelp Print zoning help info
NOTE: If a reboot was not automatically performed after a
firmwaredownload operation, then a reboot is required in
order to receive the latest information for the help command.
IBM_2005_B16:admin> zonehelp
aliAdd Add a member to a zone alias
aliCreate Create a zone alias
aliDelete Delete a zone alias
aliRemove Remove a member from a zone alias
aliShow Print zone alias information
cfgAdd Add a member to a configuration
cfgCreate Create a zone configuration
cfgDelete Delete a zone configuration
cfgRemove Remove a member from a configuration
cfgShow Print zone configuration information
zoneAdd Add a member to a zone
zoneCreate Create a zone
zoneDelete Delete a zone
zoneRemove Remove a member from a zone
zoneShow Print zone information
fazoneAdd Add a member to a fabric assist zone
fazoneCreate Create a fabric assist zone
fazoneDelete Delete a fabric assist zone
fazoneRemove Remove a member from a fabric assist zone
fazoneShow Print Fabric Assist Zone information
cfgClear Clear all zone configurations
cfgDisable Disable a zone configuration
cfgEnable Enable a zone configuration
cfgSave Save zone configurations in flash
cfgSize Print size details of zone database
cfgTransAbort Abort zone configuration transaction
cfgTransShow Print zone configurations in transaction buffer
cfgActvShow Display Effective zone configuration information
zoneObjectRename Rename a zoning Object
zoneObjectCopy Copies a zone object
zoneObjectExpunge Expunges a zone object
defZone Set default zone options
[[i] 本帖最后由 小猪 于 2008-4-11 20:03 编辑 [/i]]
2008-4-10 18:22
小猪
在IBM 2109光纤通道交换机上设置分区(Zoning)的步骤
2007年09月09日
环境
SAN 2109
如何在IBM 2109光纤通道交换机上设置分区(Zoning)
在存储区域网络中划分分区(Zoning)可以适应不同的服务器对存储的需求,可以提高网络存储数据的完整性和安全性。在IBM 2109光纤交换机上划分分区需要如下的步骤。
1、创建成员(Member)
创建分区中的成员,实际上是帮助管理员对分区进行管理,即是为分区中的成员(交换机端口或WWPN)分配较容易记忆的名字。创建的命令是 aliCreate “助记名称”,“端口;或WWPN”。
例如
aliCreate “TechSvr”,“1,1”
aliCreate “TechDisk”,“D1WWPN;D2WWPN”
aliCreate “Sales”,“1,5;D3WWPN;D4WWPN”
在上面,我们创建了三个成员,名称分别为“TechSvr,TechDisk和Sales”,它们所对应的成员分别为“端口1(包括交换机的域信息)”、“D1的WWPN和D2的WWPN”、“端口5、D3的WWPN和D4的WWPN”。
2、创建分区(Zone)
创建分区是针对助记名称,将它们划分为不同的分区。同一分区内的设备,可以相互通讯;不同分区内的设备,不能相互通讯。创建的命令是 zoneCreate “Zone的名称”,“成员的助记名称;(成员的助记名称)”。
例如
zoneCreate “ZoneTech”,“TechSvr;TechDisk”
zoneCreate “ZoneSales”,“Sales”
在上面,我们创建了两个分区,分别为“ZoneTech和ZoneSales”,其中ZoneTech包括TechSvr和TechDisk所代表的成员,ZoneSales包括Sales所代表的成员。具体的成员请参见上面成员的定义。
3、创建配置文件(Configuration)
下面的工作是创建分区配置文件,对应不同的分区配置。创建的命令是 cfgCreate “配置文件名称”,“Zone的名称;(Zone的名称)”。
例如
cfgCreate “cfgTechSales”,“ZoneTech;ZoneSales”
我们创建了一个配置文件,包括两个分区ZoneTech和ZoneSales的信息。
4、启动配置文件
在同一个2109光纤交换机上,可以有多个分区配置文件,但只能有一个生效。启动配置文件使之生效的命令是 cfgEnable “配置文件名”。
例如
cfgEnable “cfgTechSales”
5、保存配置文件
在2109上保存配置文件的命令是 cfgSave。
这样,我们就在IBM 2109上配置了分区(Zoning)。其它有关分区配置的命令信息,可以在交换机上通过 ZoneHelp 命令查阅。
[url]http://soft.zdnet.com.cn/stor-age/2007/0909/497015.shtml[/url]
2008-4-10 19:37
小猪
Brocade does not support upgrading from more than two previous releases, for example,
upgrading from Fabric OS v5.1.x to v5.3.x is supported but upgrading from Fabric OS v5.0.x
or a previous release directly to v5.3.x is not.
[url]ftp://service.boulder.ibm.com/storage/san/fos5/v5.3.0c_ReleaseNotes_v1.0.pdf[/url]
[url]http://ibm.brocadeassist.com/content/For%20Technical%20Professionals/Documentation%20Library/Product%20Manuals/SWUsersGuides/Version530/53_1000436_01.pdf[/url]
命令行手册.;P
2008-4-10 21:09
小猪
看文档很有意思.;P
[[i] 本帖最后由 小猪 于 2008-4-10 21:10 编辑 [/i]]
2008-4-11 08:08
attach
辛苦了,感谢!
2008-4-11 10:34
lj_cd
小猪真好,有没有cisco的文档,谢谢
2008-4-11 10:39
shahand
我有三个mcdata的,当时不能web access,只能用命令行
在博科的网站上一阵好找
也放到小猪的这个帖子里把~
McDATA 4416 Command Line Interface Guide.pdf
2008-4-11 10:40
shahand
想对mcdata,博科的资料好找一些。
McDATA EFCM Basic User Manual.pdf 太大[attach]28720[/attach]
[[i] 本帖最后由 shahand 于 2008-4-11 10:45 编辑 [/i]]
2008-4-11 10:43
lj_cd
我要思科的:'( :'( :'( :'( :'( :'( :'(
2008-4-11 10:46
shahand
McDATA OPENconnectors Command Line Interace User Manual.zip
2008-4-11 10:49
shahand
[quote]原帖由 [i]lj_cd[/i] 于 2008-4-11 10:43 发表 [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=774643&ptid=83163][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url]
我要思科的:'( :'( :'( :'( :'( :'( :'( [/quote]
思科的网站上没有么~?
2008-4-11 20:01
小猪
[quote]原帖由 [i]lj_cd[/i] 于 2008-4-11 10:34 发表 [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=774635&ptid=83163][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url]
小猪真好,有没有cisco的文档,谢谢 [/quote]
思科的.偶有全套.:lol 要啥文档.小猪帮你找找.;P 资料太多,懒得整理.
2008-4-11 20:03
小猪
谢谢shahand 哥哥.:D
2008-4-11 20:17
小猪
[url]http://bbs.loveunix.net/thread-79567-1-1.html[/url]
WEB管理界面下划ZONE.;P
2008-4-12 06:16
sugo
蛮好的东西,受了
2008-4-12 10:00
myfuller
太谢谢啦
2008-4-12 10:01
myfuller
好人哪
:'( :'( :'(
2008-4-12 12:46
cinord
admin>cfgcreate "zoneConfig" ,"zone1;zone2"
admin>
admin>zonecreate "zone1","1,0;1,1"
admin>
admin>zonecreate "zone2","1,4;1;5"
admin>
admin>cfgsave "zoneConfig"
admin>
admin>cfgenable "zoneConfig"
admin>
划zone的时候建议一个主机端口与一个存储端口划一个,即:
zonecreate "zone1","1,0“
zonecreate "zone2","1,2”
zonecreate "zone3","1,4“
zonecreate "zone4","1,5“
zonecreate "zone1","1,0;1,1" 这个没看明白你这个的用途?
[[i] 本帖最后由 cinord 于 2008-4-12 13:45 编辑 [/i]]
2008-4-12 13:57
cinord
哈哈,我看错了,小猪是对的,指正了我的错误!谢谢哈!
2008-4-12 18:24
wxhanshan
谢谢啦
好人
2008-4-14 13:58
五“宅”一生
啥都不说了,全部收藏!
2008-5-4 13:04
chengsir
谢谢啦,楼主!!!!
2008-5-13 00:05
liuxs
;P
不错 的资料
谢谢分享。
2008-5-13 10:20
caiwen
WEB比较省事,呵呵
页:
[1]
2
Powered by Discuz! Archiver 5.5.0
© 2001-2006 Comsenz Inc.