admin 管理员组文章数量: 887021
2024年1月5日发(作者:java培训班学费便宜吗)
博科BrocadeSAN交换机常用命令
博科BrocadeSAN交换机常用命令
编辑整理:
尊敬的读者朋友们:
这里是精品文档编辑中心,本文档内容是由我和我的同事精心编辑整理后发布的,发布之前我们对文中内容进行仔细校对,但是难免会有疏漏的地方,但是任然希望(博科BrocadeSAN交换机常用命令)的内容能够给您的工作和学习带来便利。同时也真诚的希望收到您的建议和反馈,这将是我们进步的源泉,前进的动力。
本文可编辑可修改,如果觉得对您有帮助请收藏以便随时查阅,最后祝您生活愉快 业绩进步,以下为博科BrocadeSAN交换机常用命令的全部内容。
博科BrocadeSAN交换机常用命令
博科Brocade SAN交换机常用命令
1.查看IP地址命令 ............................................. 3
2。查看firmware版本 .......................................... 3
3.查看交换机状态 .............................................. 3
4.查看交换机license—id ...................................... 4
5.配置ZONE ................................................... 4
6。查看zone配置文件 .......................................... 5
7.查看ZONE ................................................... 6
8.查看系统日志信息 ............................................ 7
9.关机 ........................................................ 7
10.设置博科Brocade交换机IP地址 .............................. 7
11。博科brocade交换机查看OS版本信息 ......................... 7
12。博科brocade交换机添加license授权信息 .................... 7
13。查看博科brocade交换机license授权信息 .................... 7
14。博科Brocade Slikworm 300交换机license ................... 8
15。博科Brocade交换机修改密码命令 ............................ 8
16。博科 brocade SAN交换机密码重置 ........................... 8
17。登陆后是用passwddefault命令恢复出厂密码 .................. 9
18。交换机升级 ............................................... 10
19.帮助信息 .................................................. 14
博科BrocadeSAN交换机常用命令
1.查看IP地址命令
swd77:admin> ipaddrshow
SWITCH
Ethernet IP Address: 10.77.77。77
Ethernet Subnetmask: 255。255.255.0
Fibre Channel IP Address: none
Fibre Channel Subnetmask: none
Gateway IP Address: none
DHCP: Off
swd77:admin〉
2.查看firmware版本
swd211:admin〉
swd211:admin〉 firmwareshow
Appl Primary/Secondary Versions
-—-——--——-——------————-—---———-—-—---——-—-
FOS v6。2。1
v6。2.1
3。查看交换机状态
swd211:admin> switchoshow
rbash: switchoshow: command not found
swd211:admin〉 switchshow
switchName: swd211
switchType: 34。0
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1e:02:a2:10
zoning: ON (FC01)
switchBeacon: OFF
Area Port Media Speed State Proto
=====================================
0 0 id N2 Online F—Port 50:08:05:f3:00:1b:4e:91
1 1 id N4 Online F-Port 10:00:00:00:c9:53:b2:8d
2 2 id N4 Online F-Port 10:00:00:00:c9:53:b3:c1
3 3 id N4 Online F—Port 10:00:00:00:c9:53:b3:c2
4 4 id N4 Online F-Port 50:06:0b:00:00:66:00:c4
5 5 id N4 Online F-Port 50:06:0b:00:00:66:01:1e
6 6 id N2 Online F—Port 50:05:08:b3:00:93:b2:81
7 7 —- N4 No_Module
8 8 id N4 Online F—Port 50:01:43:80:04:c7:87:d8
9 9 id N4 Online F-Port 50:01:43:80:04:c7:87:dc
博科BrocadeSAN交换机常用命令
10 10 id N4 Online F—Port 50:01:43:80:06:31:cf:7c
11 11 —— N4 No_Module
12 12 -— N4 No_Module
13 13 —- N4 No_Module
14 14 —- N4 No_Module
15 15 —— N4 No_Module
swd211:admin〉
4.查看交换机license-id
swd211:admin>
swd211:admin> licenseidshow
10:00:00:05:1e:02:a2:10
swd211:admin〉
5。配置ZONE
案例:
1) Create Aliases
〉alicreate “Eng_Host",“1,0”
>alicreate “Eng_Stor”,“1,4; 1,5”
>alicreate “Mkt_Host”,“Mktwwn”
〉alicreate “Mkt_Stor”,“s3wwn; s4wwn; s5wwn"
2) Create Zones
〉zonecreate “Zone_Eng”,“Eng_Host; Eng_Stor”
〉zonecreate “Zone_Mkt”,“Mkt_Host; Mkt_Stor"
3) Create Configuration
〉cfgcreate “Cfg_EngMkt",“Zone_Eng; Zone_Mkt"
sw4100:admin〉 cfgshow
Defined configuration:
cfg: Cfg_EngMkt
Zone_Eng; Zone_Mkt
zone: Zone_Eng Eng_Host; Eng_Stor
zone: Zone_Mkt Mkt_Host; Mkt_Stor
alias: Eng_Stor 1,4; 1,5
alias: Eng_Host 1,0
alias: Mkt_Stor 21:00:00:20:37:87:49:29; 21:00:00:20:37:87:e5:20;
21:00:00:20:37:87:20:c5
alias: Mkt_Host 21:00:00:20:37:87:23:e2
Effective configuration:
no configuration in effect
4) Enable Configuration
〉cfgenable “Cfg_EngMkt”
sw4100:admin〉 cfgshow
Defined configuration:
博科BrocadeSAN交换机常用命令
cfg: Cfg_EngMkt
one_Eng; Zone_Mkt
zone: Zone_Eng Eng_Host; Eng_Stor
zone: Zone_Mkt Mkt_Host; Mkt_Stor
alias: Eng_Stor 1,4; 1,5
alias: Eng_Host 1,0
alias: Mkt_Stor 21:00:00:20:37:87:49:29; 21:00:00:20:37:87:e5:20; 21:00:00:20:37:87:20:c5
alias: Mkt_Host 21:00:00:20:37:87:23:e2
Effective configuration:
cfg: Cfg_EngMkt
zone: Zone_Eng 1,0; 1,4; 1,5
zone: Zone_Mkt 21:00:00:20:37:87:23:e2; 21:00:00:20:37:87:e5:20;
21:00:00:20:37:87:49:29; 21:00:00:20:37:87:20:c5
6。查看zone配置文件
swd211:admin>
swd211:admin> cfgshow
Defined configuration:
cfg: FC01 OADB_ML6030; SPC_MSA1000; SFDB_EVA4400; SFDB04_MSA1500;
SFEVA4400_SMA
zone: OADB_ML6030
1,7; 1,14; 1,15
zone: SFDB04_MSA1500
1,10; 1,6
zone: SFDB_EVA4400
1,3; 1,4; 1,5; 1,7; 1,8; 1,9
zone: SFEVA4400_SMA
1,8; 1,9; 1,11
zone: SPC_MSA1000
1,0; 1,1; 1,2; 1,7
Effective configuration:
cfg: FC01
zone: OADB_ML6030
1,7
1,14
1,15
zone: SFDB04_MSA1500
1,10
1,6
zone: SFDB_EVA4400
1,3
1,4
1,5
1,7
博科BrocadeSAN交换机常用命令
1,8
1,9
zone: SFEVA4400_SMA
1,8
1,9
1,11
zone: SPC_MSA1000
1,0
1,1
1,2
1,7
swd211:admin〉
swd211:admin〉
7.查看ZONE
swd211:admin〉 zoneshow
Defined configuration:
cfg: FC01 OADB_ML6030; SPC_MSA1000; SFDB_EVA4400; SFDB04_MSA1500;
SFEVA4400_SMA
zone: OADB_ML6030
1,7; 1,14; 1,15
zone: SFDB04_MSA1500
1,10; 1,6
zone: SFDB_EVA4400
1,3; 1,4; 1,5; 1,7; 1,8; 1,9
zone: SFEVA4400_SMA
1,8; 1,9; 1,11
zone: SPC_MSA1000
1,0; 1,1; 1,2; 1,7
Effective configuration:
cfg: FC01
zone: OADB_ML6030
1,7
1,14
1,15
zone: SFDB04_MSA1500
1,10
1,6
zone: SFDB_EVA4400
1,3
1,4
1,5
1,7
1,8
博科BrocadeSAN交换机常用命令
1,9
zone: SFEVA4400_SMA
1,8
1,9
1,11
zone: SPC_MSA1000
1,0
1,1
1,2
1,7
swd211:admin〉
8。查看系统日志信息
swd211:admin〉 supportshow
日志比较多,建议log出来查看.
9。关机
swd211:admin> sysshutdown
10。设置博科Brocade交换机IP地址
博科交换机的默认IP地址是10.77.77.77,在命令行模式下可以通过ipaddrset命令对交换机的IP地址进行设置和修改
swd77:admin> ipaddrset
Ethernet IP Address [10.77.77.77]: #输入交换机需要设置的IP地址
Ethernet Subnetmask [255。255.255。0]: #输入掩码
Fibre Channel IP Address [none]:
Fibre Channel Subnetmask [none]:
Gateway IP Address [none]: # 输入网关
DHCP [Off]:
#是否开启DHCP
swd77:admin〉
11.博科brocade交换机查看OS版本信息
swd77:admin> version
Kernel: 2.6。14.2 //linux内核版本
Fabric OS: v6.1。0a // 交换机OS版本
Made on: Thu Apr 17 21:45:31 2008 // 生产日期
Flash: Tue Jan 13 23:33:44 2009
BootProm: 4.6.6
swd77:admin>
12.博科brocade交换机添加license授权信息
swd77:admin> licenseadd XXXXXXXX(博科的激活号)
13。查看博科brocade交换机license授权信息
博科BrocadeSAN交换机常用命令
在命令行模式下使用licenseshow命令可以查看博科交换机的授权情况,使用licenseadd命令可以添加授权。
博科Brocade Slikworm 210E交换机授权情况
swd77:admin> licenseshow
RzcQSXXXCS0RTc:
Unknown1 license
S9zXXXCSzRTScl:
Unknown2 license
b9QQGGHJHARRdF:
Fabric license
swd77:admin〉
其中两个Unknown1 和Unknown2这两个授权应该是两个4端口的授权。Fabric license是级联license授权,是我后来添加的,默认的210E交换机是没有的.
14。博科Brocade Slikworm 300交换机license
swd77:admin〉 licenseshow
XSCJBCmH3SARFa7BXrVVBGGFFRRXBArGR:
Fabric license //级联License
Enhanced Group Management license //增强组管理授权
8 Gig FC license //8Gb的授权
swd77:admin〉
15.博科Brocade交换机修改密码命令
Brocade交换机在命令行模式下可以通过passwd命令来修改用户密码:
以brocade 300为例:
swd77:admin> passwd #使用passwd命令修改当前用户密码
Changing password for admin
Enter old password: #输入目前使用的密码
Enter new password: #输入新密码
Re—type new password: #确认新密码
passwd: all authentication tokens updated successfully
Saving password to stable storage.
Password saved to stable storage successfully。
swd77:admin〉
16.博科 brocade SAN交换机密码重置
博科300的默认用户名是admin,默认密码是password。由于这台机器用户做过设置,密码改过了需要重设一下。博科交换机是没有reset按钮的,必须通过console线连接通过命令重置.
博科300的os是用的linux 2。6的核心,最高权限的管理帐号是root。重置交换机密码就是用这个帐号。
swd77 login: root
Password: fibranne
使用该帐号登陆后会出现下面的信息:
Disclaimer for Root and Factory Accounts Usage!
This Fibre Channel switch is equipped with Root and Factory accounts
that are intended for diagnostics and debugging purposes solely by
博科BrocadeSAN交换机常用命令
the Equipment vendor's trained engineers。 Improper use of the
functionality made available through the Root or Factory account could
cause significant harm and disruption to the operation of the SAN fabric.
Your use of the functionality made available through the Root or Factory
account is at your sole risk and you assume all liability resulting from
such use. The Equipment vendor shall have no liability for any losses
or damages arising from or relating to the use of the Root or Factory
account (and the functionality enabled thereby) by anyone other than
the Equipment vendor’s authorized engineers。
Proceeding with the usage of this switch as the Root or Factory user
explicitly indicates your agreement to the terms of this disclaimer。
Please change passwords for switch default accounts now.
Use Control-C to exit or press ’Enter' key to proceed.
这里用Control-C结束就行了,如果回车会让分别设置各个帐号的密码,出现如下信息:
Warning: Access to the Root and Factory accounts may be required for
proper support of the switch. Please ensure the Root and Factory
passwords are documented in a secure location. Recovery of a lost Root
or Factory password will result in fabric downtime。
for user — root
Changing password for root
Enter new password:
Password unchanged.
passwd: Authentication token manipulation error
Please change passwords for switch default accounts now。
for user — factory
Changing password for factory
Enter new password:
Password unchanged。
passwd: Authentication token manipulation error
Please change passwords for switch default accounts now.
for user - admin
Changing password for admin
Enter new password:
Password unchanged。
passwd: Authentication token manipulation error
Please change passwords for switch default accounts now。
for user - user
Changing password for user
Enter new password:
Password unchanged。
passwd: Authentication token manipulation error
17.登陆后是用passwddefault命令恢复出厂密码
swd77:root> passwddefault
Password policies are already set to default.
博科BrocadeSAN交换机常用命令
All account passwords have been successfully set to factory default.
swd77:root〉
18.交换机升级
将Brocade 200E交换机现有微码版本v5。0。1b 升级至v6。2.1,具体操作步骤如下:
1、 资源准备:网线一根,BROCADE 200E firmware version ,控制台(PC或笔记本),要安装Java JRE 1。5版本以上
2、 设备连接:用网线将控制台(PC 或笔记本)的网卡连接到交换机的管理口上。
3、 控制台环境设置:将控制台的网卡IP地址设备为10.77.77.1,子网掩码为255.255.255。0。然后在控制台的安装FTP服务或软件,FTP的根目录设置为版本软件所在的目录,并设置一个用户lab,密码为lab123。
确认控制台与交换机(brocade)的网络连接正常.执行以下命令:
Ping 10.77.77.77 (默认管理口地址)
4、 登陆交换机:输入telnet 10。77.77。77 ,用户名为:admin,密码为:password,登录到交换机。登陆进入后,会提示更改admin帐户的密码,如需更改直接回车,不更改则按ctrl
+ c 。
5、 登录后输入firmwareshow,回车,可以查看现有的微码版本,如果不是v6。2.1,则需要升级到v6。2.1。
Concept
1). Every Brocade switch has 2 partitions (one is master, the other is slave)。
2). Switch can be upgrade online
3). Slave upgrade first, after the slave partition upgraded, slave partition
become master, master become slave, then firmware copy from master to slave
Version Information:
Port Speed Product Firmware Version Upgrade info
2GB 3900 4.x or 5。x v5。2。0a or v5。3.0c
2GB 12000 4.x or 5.x v5.2.0a or v5.3。0c
4GB 42000 4。x or 5.x v5.2.0a or v5。3。0c
NOTICE:
1> when current Version is 4。4。2 or later, Please Online Upgrade。
2〉 Before Upgrade firmware, please backup current configuration.
3> Copy new version firmware packages to ftp server directory.
Upgrade Firmware process (Step by Step)
This is demo switch from Brocade Shanghai office。 Don’t change IP address
please。 If you meeproblem
swd77 login: admin
Password:
swd77:admin〉 version
Kernel: 2.4。19
博科BrocadeSAN交换机常用命令
Fabric OS: v4。4.0d
// Please check current version
Made on: Wed May 18 21:08:14 2007
Flash: Mon Jun 6 06:35:26 2007
BootProm: 4。5.0
swd77:admin> configupload //backup
the switch configuration
Protocol (scp or ftp) [ftp]: ftp
Server Name or IP Address [host]: 202。134。79.36 //ftp server ip—address
User Name [user]: lab //ftp server user name
File Name []: config。txt // specify configuration file
name
Password:
//ftp server user password
Upload complete
swd77:admin> firmwaredownload //download new version firmware
You can run firmwareDownloadStatus to get the status of this command。
This command will cause the switch to reset and will
require that existing telnet, secure telnet or SSH
sessions be restarted。
Do you want to continue [Y]: y
Server Name or IP Address: 10.77.77.1 //ftp server ip—address
User Name: admin
//ftp server user name
File Name:
/v5。1。0/v5。1.0/
/v5.2.0/v5.2.0/release。plist
/v5。3。0/v5.3。0/
/v6。0.0/v6.0。0/release。plist
/v6。1。0/v6。1.0/release。plist
/v6.2.1/v6.2.1/
Password:
//ftp server user password
注意: 升级需要30分钟的格式化,需要10分钟的备分区同步版本,总共花销时间需:40分钟
[0]: Sun Feb 19 05:59:40 2012 Firmware is being downloaded to the switch. This
step may take up to 30 minutes。
[1]: Sun Feb 19 06:04:35 2012 Firmware has been downloaded to the secondary
partition of the switch。
[2]: Sun Feb 19 06:06:15 2012 The firmware commit operation has started。 This
may take up to 10 minutes。
博科BrocadeSAN交换机常用命令
firmwareshow 检查版本是否主分区与备分区同步
Firmwaredownload has started。
Start to install packages。。。。。.
dir ##################################################
ldconfig ##################################################
glibc ##################################################
bash ##################################################
readline ##################################################
terminfo ##################################################
termcap ##################################################
setup ##################################################
swbd12-setup ##################################################
which ##################################################
findutils ##################################################
bzip ##################################################
zlib ##################################################
chkconfig ##################################################
fileutils ##################################################
sed ##################################################
textutils ##################################################
procps ##################################################
博科BrocadeSAN交换机常用命令
psmisc ##################################################
modutils ##################################################
sin ##################################################
rcinit ##################################################
misc ##################################################
pam ##################################################
util—linux ##################################################
sh—utils ##################################################
popt ##################################################
grep ##################################################
rpm ##################################################
sysvinit ##################################################
man ##################################################
less ##################################################
gzip ##################################################
tar ##################################################
rsync ##################################################
cpio ##################################################
dev ##################################################
swbd23—bootenv ##################################################
wdtd ##################################################
wget ##################################################
博科BrocadeSAN交换机常用命令
fwdl ##################################################
swbd23—prom ##################################################
Please avoid powering off the system during prom update.
kernel ##################################################
swbd21-drivers ##################################################
pcmcia—cs ##################################################
sysklogd ##################################################
Write kernel image into flash。
..。...。.。...。...。.。.。..。。..。。。
Verification SUCCEEDED
Removing unneeded files, please wait 。..
Finished removing unneeded files.
All packages have been downloaded successfully。
Firmwaredownload has completed successfully。
HA Rebooting 。.。 // waiting for upgrade another
controller
Fabric OS (swd77)
Firmwaredownload command has completed successfully.
swd77:admin〉 firmwareshow //check firmware version for all
controller
Primary partition: v4.4。2
Secondary Partition: v4。4.2
swd77:admin〉
-End-
19。帮助信息
swd211:admin〉 help
aaaconfig Configure RADIUS for AAA services
ad Specifies all administration domain (AD)—level
operations
ag Configure the Access Gateway feature
agshow Displays the Access Gateway information registered
with the fabric
agtcfgdefault Reset SNMP agent to factory default
aliadd Add a member to a zone alias
博科BrocadeSAN交换机常用命令
alicreate Create a zone alias
alidelete Delete a zone alias
aliremove Remove a member from a zone alias
alishow Print zone alias information
aptpolicy Get and set Advanced Performance Tuning policy
auditcfg Modifies and displays audit log filter
configuration。
auditdump Display audit log
authutil Get and set authentication configuration
backplanetest Backplane connection test for multi—blade systems。
backport Test for back-end ASIC pair to ASIC pair linksbannerset Set security bannerbannershow Display security bannerbcastshow Display broadcast routing informationbladedisable Disables all user ports on a bladebladeenable Enables all User Ports on a blade. bpportloopbacktest Functional test of port via blade processor oramtest MBIST test for AP blade BP ASICsburninerrclear Clear errors that are stored in the non-volatile
storageburninerrshow Display errors that are stored in the non-volatile
storageburninstatus Display the diagnostics burnin t Verify QuickLoop's Content Addressable Memory
(CAMcentralmemorytest Test ASIC central memory vshow Display Effective zone configuration informationcfgadd Add a member to a configurationcfgclear Clear all zone configurationscfgcreate Create a zone configurationcfgdelete Delete a zone configurationcfgdisable Disable a zone configurationcfgenable Enable a zone configurationcfgmcdtmode Configure legacy MCDT zoning behaviorcfgremove Remove a member from a configurationcfgsave Save zone configurations in flashcfgsaveactivetodefined Moves the effective configuration to the defined
configurationcfgshow Print zone configuration informationcfgsize Print size details of zone databasecfgtransabort Abort zone configuration transactioncfgtransshow Print zone configurations in transaction bufferchassisbeacon Set chassis beacon on or offchassisconfig Display or set the chassis configurationchassisdisable Disable all ports in chassis。
。
).SID translation
博科BrocadeSAN交换机常用命令
chassisenable Enable all ports in chassis
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。
clihistory Displays a log of most recently executed CLI
commands
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 serverconfiglist List the stored config filesconfigremove Remove a stored config fileconfigshow Print switch config parametersconfigupload Save switch config to a serverconfigure Set logical switch config parametersconfigurechassis Set chassis config parameterscryptocfg Configure encryption node functionsdatatypeshow Display available diagnostic data Print/set the system date and timedbgshow Display debug levels of various modulesdefzone Activates or deactivates a default zone
configuration. diagclearerror Clears diagnostics failure mmandshow Display diagnostic command sablepost Disable diagnostic ablepost Enable diagnostic lp Display diagnostic command opid Select the diagnostics loop deshow Displays diagnostic mode configurationdiagpost Displays the contents of port registers and
memoriesdiagretry Sets diagnostic retry modediagsetcycle Set diagnostic script parametersdiagsetesdmode Set or display ESD tshowtime Set or display diagnostic showdiagshow Display diagnostic statusdiagshowtime Set or display diagnostic showdiagstatus Display currently running diagnostic bute Distributes data to switches in a et Turn off the dynamic load sharing (DLS) optiondlsset Turn on the dynamic load sharing
dlsshow Display the state of the dynamic load sharing
optiondnsconfig Configure DNS service
。
。
。
—time mode。
。
—time mode。
(DLS) option
博科BrocadeSAN交换机常用命令
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
fabportshow Display contents of a particular port’s data
fabretryshow Display retry count of various fabric commands
fabriclog Displays or manipulates the fabric logfabricprincipal Configure Principal Switch Selection modefabricshow Print fabric membership infofabstateclear Clears the fabric state informationfabstateresize Changes the number of state entriesfabstateshow Displays the fabric state informationfabstatsshow Displays the fabric statistics informationfabswitchshow Display fabric switch state information fandisable Disables a fan unitfanenable Enables a fan unitfanshow Print fan statusfastboot Reboot this switch and bypass POSTfastwritecfg Configure FC fastwrite featurefcipchiptest Functional Test of Components in FCIP Complexfciphelp Print FCIP help infofcippathtest Data Path Test of the FCIP Sends a FC ELS ECHO request to a portfcplogclear Clear the FCP logfcplogdisable Disable logging of FCP eventsfcplogenable Enable logging of FCP eventsfcplogshow Display FCP probing log informationfcpprobeshow Display FCP probing informationfcprlsshow Display FCP RLS
fcrbcastconfig Configure interfabric broadcast frame forwardingfcrchiptest Functional Test of FCR figure Sets FC Router configuration ricshow Displays FC Routers on a backbone n Configure LSAN policiesfcrlsancount Display maximum LSAN zone limitfcrlsanmatrix Manage LSAN fabric matrix configurationfcrpathtest Data Path Test on Connection between FCR FPGA and
Central ASICfcrphydevshow Displays FC Router physical device xyconfig Displays or configures proxy devices presented by
an FC Router
。
。
。
(read link state) information
。
。
。
。
博科BrocadeSAN交换机常用命令
fcrproxydevshow Displays FC Router proxy device information。
fcrresourceshow Displays FC Router physical resource usage。
fcrrouterportcost Modify FC Router port cost configuration。
fcrrouteshow Displays FC Router route information.
fcrxlateconfig Displays or persistently configures a translate
(xlate) domain's domain ID for both
EX_Port-attached fabric and backbone fabric.
fddcfg fddcfg manages the fabric data distribution
configuration parameters.
fdmicacheshow Display abbreviated remote FDMI device information
according to remote domain IDfdmishow Display detailed FDMI device informationficonclear Clears contents of the specified FICON management
databaseficoncupset Sets FICONficoncupshow Displays FICON-CUP parameters for a switchficonhelp Displays FICON commandsficonshow Displays contents of the specified FICON management databasefiltertest Run frame filter test for bloom ASICs. fipscfg Configure FIPS mode operationfirmwarecommit Commit firmware to stable storagefirmwaredownload Download firmware into switchfirmwaredownloadstatus Display the progress and status of firmwareDownloadfirmwarekeyshow Manage the keys used to check firmware signaturesfirmwarekeyupdate Manage the keys used to check firmware signaturesfirmwarerestore Restore the old firmware in the switchfirmwareshow Display firmware versions in the switchfosconfig Enable/disable FabOS servicesfosexec Invoke command in alternate VF contextfporttest Functional test of F-framerpathtest Tests data path between ASICsfrureplace Replace a Field Replacable Unitfspfshow Print FSPF global informationfwalarmsfilterset Configure alarms filtering for Fabric Watchfwalarmsfiltershow Show alarms filtering for Fabric Watchfwclassinit Initialize all Fabric Watch classesfwconfigreload Reload Fabric Watch configurationfwconfigure Configure Fabric Watchfwfrucfg Configure FRU state and notificationfwhelp Print Fabric Watch help infofwmailcfg Configure Fabric Watch Email Alertfwportdetailshow Create a report with detailed port informationfwsamshow Show availability monitor informationfwset Set port persistence time
—CUP parameters for a switch
〉N N—〉F point to point path.
博科BrocadeSAN交换机常用命令
fwsettocustom Set boundary & alarm level to custom
fwsettodefault Set boundary & alarm level to default
fwshow Show thresholds monitored and port persistence time
grep Linux grep command
h Print shell history
hadisable Disables the High Availability feature in the
switch.
hadump Displays information about the status of the High
Availability feature in the switch.
haenable Enables the High Availability feature in the switch
hafailover Forces the failover mechanism so that the Standby
Control Processor (CP)becomes the Active Displays control processor (CP) statushasyncstart Enables HA state stop Disables the HA state Print this listhistorylastshow Displays last history recordhistorymode Display or set the mode of the history loghistoryshow Displays entire history log httpcfgshow Used to show the version of the Java plug by the Webtoolsi Display process summaryiclcfg Configure ICL stateifmodeset Set the link operating mode for a network interfaceifmodeshow Display the link operating mode for a network
interfaceinterfaceshow Display the FSPF (TM) interface informationinteropmode Displays/enables/disables Brocade switch
interoperability with switches from other
manufacturersioddelayreset Configure in-orderioddelayshow Configure in-orderiodreset Turn off the in-order delivery
iodset Manage the iniodshow Display the state of the in-order delivery optionipaddrset Set ethernet and FC IP addressesipaddrshow Print ethernet and FC IP addressesipfilter Manage/display IP filtersipsecconfig Configure IPSec featureiscsihelp Print iSCSI help infoislshow Display the current connections and statuskilltelnet Terminate telnet/serial login sessions
interactivelyldapcfg Configure LDAP role mappingledtest Cycle system LEDs.
—in used
—delivery (IOD) delay parameter
—delivery (IOD) delay parameter
(IOD) option
—order delivery (IOD) option
博科BrocadeSAN交换机常用命令
lfcfg Configure logical fabrics
lfexec Invoke command in alternate VF context
licenseadd Adds license keys to switch
licensehelp Print license help info
licenseidshow Displays the system license ID
licenseport Configure per-port POD license assignments
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 sessionloopporttest Functional test of L-port M->M path on a Configure logical switcheslsdbshow Displays the FSPF link state databasememshow Display memory usage in the ropshow Displays ASIC pair properties. more Linux more commandmscapabilityshow Display Management Server Capabilitymsconfigure Configure Management Servermsplatshow Display the Management Server Platform Databasemsplatshowdbcb Display the Management Server Database Control
Blockmsplcleardb Clear the Management Server Platform Database
fabricmsplmgmtactivate Activate the Management Server Platform Database
fabricmsplmgmtdeactivate Deactivate the Management Server Platform Database
fabricmstddisable Disables the Management Server Topology Discovery
Management Servicemstdenable Enables the Management Server Topology Discovery
Management Servicemstdreadconfig Display status of Management Server Topology
Discovery Servicemyid Display the current login session detailsnbrstateshow Display FSPF (TM) neighbors’ statenbrstatsclear Reset the FSPF (TMnetstat Display network connections and statisticsnodefind Display all the devices' PID matching the given
world wide namensaliasshow Display local Name Server information with Aliasesnsallshow Print global Name Server informationnscamshow Print local Name Server Cache informationnsshow Print local Name Server information informationnszonemember Display the information of all the online devices
。
—wide
—wide
—wide
s
) interface counters
博科BrocadeSAN交换机常用命令
which are zoned with the given device。
opensource Display information on open source software
utilized in FabOS
passwd Set usernames and passwords
passwdcfg passwdcfg manages the password policies。
pathinfo Display routing information between two ports
pdshow Show information from Panic Dump file
perfaddeemonitor Add end-to—end monitor
perfaddipmonitor Add monitor for IP trafic frame count
perfaddreadmonitor Add filter-based monitor - SCSI Read
perfaddrwmonitor Add monitor - SCSI Read and Writeperfaddscsimonitor Add monitor for SCSI frame countperfaddusermonitor Add filterperfaddwritemonitor Add filterperfcfgclear Clear Performance settings from FLASHperfcfgrestore Restore Performance configuration from FLASHperfcfgsave Save Performance configuration to FLASHperfclearalpacrc Clears the CRC error count associated with a port
and Arbitrated Loop Physical Address (AL_PAperfcleareemonitor Clears statistics counters of one or more
endperfclearfiltermonitor Clears counters of one or more filter performance monitorsperfdeleemonitor Delete endperfdelfiltermonitor Delete filterperfhelp Print Performance Monitoring help infoperfmonitorclear Clear endperfmonitorshow Show endperfsetporteemask Set overall mask for end-toperfshowalpacrc Get ALPA CRC count by port and ALPAperfshoweemonitor Show userperfshowfiltermonitor Show filterperfshowporteemask Show the current end-to-end maskperfttmon Configure bandwidth usage monitorping Display the link operating mode for a network
interfaceping6 Display the link operating mode for a network
interfacepkicreate Creates public key infrastructure
pkiremove Removes existing public key infrastructure (PKI)
objectspkishow Displays existing public key infrastructure (PKI objectspolicy Configure IPSec encryption and authentication
algorithms
—based monitor
—based monitor — SCSI Write
).
—to—end performance monitors.
—based
。
—to-end monitor
—based monitor
—to—end/filter—based/ISL monitors
—to-end/filter-based/ISL monitors
—end monitors
—defined end—to—end monitors
—based monitors
(PKI) objects
)
博科BrocadeSAN交换机常用命令
portaddress Configure low 16 bits of Fibre Channel Porrt ID
portalpashow Show the ALPAs of a port
portbuffershow Print the buffer allocations for the ports of a
quad
portcamshow Display filter utilization
portcfg Create/Delete a new ip interface/route/arp entry on
the GigE port
portcfgalpa Set AL_PA to 0x0 (default) or 0x13
portcfgautodisable Configure auto disable
portcfgcreditrecovery Configure credit recovery
portcfgdefault Restore the port configuration to defaultsportcfgeport Enable/Disable a port from becoming E_Portportcfgexport Sets a port to be an EX_Port and sets and displays
EX_Port configuration acon Configure a port to do port beaconportcfgfillword Configure a port to a particular fill wordportcfgfportbuffers Configure F_Port buffersportcfggport Lock a port as a G_Portportcfgislmode Configure a port to be ISL R_RDY Mode
enabled/disabledportcfglongdistance Configure a Long Distance Portportcfglosstov Configure frontend port signal debounceportcfglport Lock a port as a L_Portportcfgnpivport Enables and disables NPIV functionality on a gnport Enable/disable N_Port capability for a portportcfgpersistentdisable Persistently disable a portportcfgpersistentenable Enable a persistently disabled portportcfgqos Configure QoS featureportcfgshow Displays port configuration gspeed Configure a port to a particular speed levelportcfgtrunkport Configure a port for trunkingportcfgvexport Sets a port to be an VEX_Port connected to FC-IP
and sets and displays VEX_Port configuration
parametersportcmd Execute commands
portdebug Set debug level and verbosity level of port modulesportdisable Disable a specified portportenable Enable a specified portporterrshow Print port error summaryportflagsshow Display the port status bitmaps of all ports in a
switchportledtest Cycle user port gclear Clear port activity logportlogconfigshow Display portlog configurationportlogdisable Disable portlog facility
。
(ping etc) on the GigE port
博科BrocadeSAN交换机常用命令
portlogdump Print port log (no page breaks)
portlogdumpport Print port log (no page breaks)
portlogenable Enables port log facility
portlogeventshow Display information about port log events
portloginshow Display port login information
portlogpdisc Set or clear the debug_pdisc_flag
portlogreset Enable portlog facility
portlogresize Resize the port log
portlogshow Print port activity log
portlogshowport Print port activity log
portlogtypedisable Disable port loggingportlogtypeenable Enable port loggingportloopbacktest Functional test of port N-portmirror Set a port’s configuration to be disabled or
enabledportname Assign or display the name associated with a portportperfshow Print port throughput numbersportregtest Write/read test of the ASIC SRAMs portregtestportrouteshow Display various routing tables for a portportshow Show configured ip interfaces/routes/arp entries on the GigE Portportstats64show Display the 64-bit hardware statistics for a portportstatsclear Clear the status of a specified switch portportstatsshow Print hardware statisticsportswap Swaps area numbersportswapdisable Disable portswap featureportswapenable Enable portswap featureportswapshow Display port and area informationporttest Functional test on a live fabricporttestshow Retreive information from unkarea Configure area trunkingportzoneshow Displays the enforced zone type of the F/FL of a switchpowerofflistset sets slot power off list orderpowerofflistshow Displays slot powerpsshow Print power supply statusquietmode Displays/enables/disables quietmode on telnet
sessionreboot Reboot this processorroutehelp Print routing help infosaschiptest Functional Test of Components in SAS Complexsaspathtest Data Path Test of the SAS ivesize Displays size of the active (security) databasesecauthsecret Creates/Manages DHCHAP secret key detailsseccertutil Creates/Manages/Displays third party PKI
〉N path。
。
。 Starts porttest.
—ports
。
—off order。
。
博科BrocadeSAN交换机常用命令
certificates
secdefinesize Displays size of the defined (security) database
secglobalshow Displays current internal security state
information
sechelp Displays information about security commands
secpolicyabort Aborts changes to defined policy
secpolicyactivate Activates all policy sets
secpolicyadd Adds members to an existing policy
secpolicycreate Creates a new policy
secpolicydelete Deletes an existing policy
secpolicydump Displays all members of existing policiessecpolicyfcsmove Moves a member in the FCS policysecpolicyremove Removes members from an existing policysecpolicysave Saves defined policy set and sends to all switchessecpolicyshow Shows members of one or more policiessecstatsreset Resets security statisticssecstatsshow Displays security statisticssensorshow Display sensor readingssetdbg Set debug level of the specified modulesetesdmode Set or display ESD modesetmfgmode Set or display diagnostic MFG modesetmodem Enables or disables modem login to a control
processor (CPsetsplbmode Set or display SPLB modesetverbose Set verbosity level of the specified modulesfpshow Print Serial ID SFP informationshellflowcontroldisable Disable xon-xoff flow control on console serial
portshellflowcontrolenable Enable xonslotpoweroff Removes power from a weron Restores power to a ow Displays the status of all slots in the systemsltest Serial link test of port Nsnmpconfig Configure SNMPsnmpmibcapset Set options for configuring SNMP Mib/Trap
Capabilitysnmpmibcapshow Show SNMP Mib/Trap Configurationspinfab Functional test of switch to switch ISL cabling and trunk group tter linespinsilk Functional test of internal and external transmit
and receive paths at full speedsramretentiontest Data retention test of the miscellaneous SRAMs in
ASICsshutil Configure SSH authentication options
。
。
)
。
—xoff flow control on console serial port
。
—>N path.
—speed jitter measurement
。
博科BrocadeSAN交换机常用命令
statsclear Clear port and diagnostic statistics。
statstest Statistics counter test for the ASICs.
stopporttest Terminate the running porttest。
supportffdc Modifies or displays first—failure data capture
(FFDC) configuration。
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 supportshow
command.
supportshowcfgenable Enables a group of commands under 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
switchviolation Display policy violations recorded in RAS log
syslogdfacility Change the syslog facility
syslogdipadd Add syslog daemon IP address
syslogdipremove Remove syslog daemon IP address
syslogdipshow Print the syslog daemon targets
sysshutdown Provides a graceful shutdown to protect the switch
file systems。
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
博科BrocadeSAN交换机常用命令
trackchangeshelp Print Track Changes help info
trackchangesset Configure alert for login/logout/config update
trackchangesshow Displays status of track changes
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
usbstorage Manage USB storage device (available on Brocade
Data Center Director only)。
userconfig Display or configure user accounts
userrename Rename user login name
version Print firmware version
wwn Display or set the world wide name
zone Configure zone objects
zoneadd Add a member to a zone
zonecreate Create a zone
zonedelete Delete a zone
zonehelp Print zoning help info
zoneobjectcopy Copies a zone object
zoneobjectexpunge Expunges a zone object
zoneobjectrename Rename a zoning Object
zoneremove Remove a member from a zone
zoneshow Print zone information
博科BrocadeSAN交换机常用命令
版权声明:本文标题:博科BrocadeSAN交换机常用命令 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/free/1704452707h460389.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论