《博科340存储交换机命令.docx》由会员分享,可在线阅读,更多相关《博科340存储交换机命令.docx(15页珍藏版)》请在三一办公上搜索。
1、博科340存储交换机命令portcmd Execute commands (ping etc) on the GigE port GigE端口执行命令 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 打印端口错误总结 portflagssho
2、w Display the port status bitmaps of all ports in a switch 显示在交换机的所有端口的端口状态的位图 portledtest Cycle user port LEDs. 周期用户端口指示灯,测试端口LED指示灯 portlogclear Clear port activity log 清除端口的活动日志 portlogconfigshow Display portlog configuration 显示portlog配置 portlogdisable Disable portlog facility 禁用portlog设施 portlog
3、dump 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 clea
4、r the debug_pdisc_flag 设置或清除的debug_pdisc_flag portlogreset Enable portlog facility 启用portlog设施 portlogresize Resize the port log 调整端口日志 portlogshow Print port activity log 打印端口活动日志 portlogshowport Print port activity log 打印端口活动日志 portlogtypedisable Disable port logging 禁用端口日志 portlogtypeenable Enabl
5、e port logging 启用端口日志 portloopbacktest Functional test of port N-N path. 功能测试从端口N - N时的路径 portmirror Set a ports configuration to be disabled or enabled 设置端口的配置,要禁用或启用 portname Assign or display the name associated with a port 指定或显示与端口关联的名称 portperfshow Print port throughput numbers 显示端口吞吐量数字,默认每秒钟刷
6、新一次 portrouteshow Display various routing tables for a port 显示各种端口的路由表 portshow Show configured ip interfaces/routes/arp entries on the GigE Port portstats64show Display the 64-bit hardware statistics for a port 显示端口的64位硬件统计 portstatsshow Print hardware statistics portswap Swaps area numbers portswa
7、pdisable Disable portswap feature 禁用portswap功能 portswapenable Enable portswap feature 启用portswap功能 portswapshow Display port and area information 显示端口个区域的信息 porttest Functional test on a live fabric. Starts porttest. porttestshow Retreive information from porttest. portzoneshow Displays the enforced
8、 zone type of the F/FL-ports of a switch. 显示的交换机F /FL端口执行的区域类型 powerofflistset sets slot power off list order 设置插槽电源关闭名单的顺序 powerofflistshow Displays slot power-off order. 显示插槽断电顺序 psshow Print power supply status 显示电源状态 reboot Reboot this processor 重启 routehelp Print routing help info 显示路由帮助信息 sasc
9、hiptest Functional Test of Components in SAS Complex. SAS单项功能测试 saspathtest Data Path Test of the SAS complex. SAS复杂数据路径测试 secactivesize Displays size of the active (security) database 显示活动的安全数据库的大小 secauthsecret Creates/Manages DHCHAP secret key details 创建/管理DHCHAP密钥 seccertutil Creates/Manages/Dis
10、plays third party PKI certificates 创建/管理/显示第三方的PKI证书 secdefinesize Displays size of the defined (security) database 显示定义的安全数据库的大小 secglobalshow Displays current internal security state 显示当前的内部安全状态 sechelp Displays information about security commands 显示有关安全命令的相信信息 secmodedisable Disables secure mode
11、禁用安全模式 secmodeenable Enables secure mode 启用安全模式 secmodeshow Displays whether secure mode is enabled or disabled 显示安全模式,禁用或启用 secnonfcspasswd Sets the admin passwd for non-FCS switches 为non-FCS 交换机设置管理员密码 secpolicyabort Aborts changes to defined policy 禁止更改已经明确的策略 secpolicyactivate Activates all poli
12、cy sets 激活所有策略设定 secpolicyadd Adds members to an existing policy 在现有策略中添加成员 secpolicycreate Creates a new policy 新建策略 secpolicydelete Deletes an existing policy 删除现有策略 secpolicydump Displays all members of existing policies 显示现有策略的所有成员 secpolicyfcsmove Moves a member in the FCS policy 在FCS策略中移动成员 se
13、cpolicyremove Removes members from an existing policy 从现有的策略中删除成员 secpolicysave Saves defined policy set and sends to all switches 保存定义的策略集并发送给所有的交换机 secpolicyshow Shows members of one or more policies 显示成员的一个或多个策略 secstatsreset Resets security statistics 重置安全统计 secstatsshow Displays security statis
14、tics 显示安全统计 sectemppasswdreset Resets temporary password 重置临时密码 sectemppasswdset Sets temporary password 设置临时密码 sectransabort Aborts current transaction 终止当前正在执行的操作 secversionreset Resets version stamp 重置版本信息 sensorshow Display sensor readings 显示传感器数据信息 setdbg Set debug level of the specified module
15、 设置指定模块的调试级别 setesdmode Set or display ESD mode. setmfgmode Set or display diagnostic MFG mode. setmodem Enables or disables modem login to a control processor (CP) 启用或禁用调制解调器登录到控制 setsplbmode Set or display SPLB mode. 设置或显示SPLB 模式 setverbose Set verbosity level of the specified module sfpshow Print
16、 Serial ID SFP information 显示序列编号SFP信息 shellflowcontroldisable Disable xon-xoff flow control on console serial port shellflowcontrolenable Enable xon-xoff flow control on console serial port slotpoweroff Removes power from a slot. 停止一个扩展卡的通电 slotpoweron Restores power to a slot. 恢复一个扩展卡的通电 slotshow
17、Displays the status of all slots in the system. 显示系统上所有扩展卡的状态信息 sltest Serial link test of port N-N path. 从端口NN的串行链路测试 snmpconfig Configure SNMP 配置SNMP snmpmibcapset Set options for configuring SNMP Mib/Trap Capability snmpmibcapshow Show SNMP Mib/Trap Configuration 显示SNMP Mib/Trap 结构信息 spinfab Func
18、tional test of switch to switch ISL cabling and trunk group operation. 交换机ISL cabling和 trunk group 功能测试 sshutil Configure SSH authentication options 配置ssh连接选项 sshutil importpubkey - Imports the public key from users machine to the switch sshutil exportpubkey - Exports the public key from switch to u
19、ser machine sshutil delpubkeys - Deletes all the ssh public keys associated to a user sshutil delprivkey - Deletes the ssh private key related to out going connection sshutil allowuser - Allows the user to generate key pair, export public key and delete the private key sshutil help - shows the usage
20、 sshutil showpubkeys - shows the users public keys sshutil showuser - shows the allowed user sshutil genkey - Generates the key pair in the switch statsclear Clear port and diagnostic statistics. 清除端口的诊断信息 stopporttest Terminate the running porttest. 终止正在运行的端口测试 supportffdc Modifies or displays firs
21、t-failure data capture 修改或者显示首次故障的数据捕获 supportftp set support Ftp parameters 设置支持ftp的参数 supportsave retrieve support data from switch to host 检索支持数据从交换机到主机 supportshow Prints switch information for debugging purposes. 显示交换机详细信息 supportshowcfgdisable Disables a group of commands under supportshow 禁用p
22、ortshow 中显示的命令组 supportshowcfgenable Enables a group of commands under supportshow 启用supportshow 中显示的命令组 supportshowcfgshow Displays the groups of commands enabled for 显示可用的命令组 switchbeacon Set switch beacon on or off 设置switch beacon的开关 switchcfgpersistentdisable rsistently disable a switch switchcf
23、gpersistentenable Enable a persistently disabled switch switchcfgspeed Configures all ports of the switch to a particular 交换机端口详细配置 switchcfgtrunk Configure all ports on the switch for trunking 为交换机所有端口做trunk配置 switchdisable Disable this switch 禁用交换机 switchenable Enable this switch 启用交换机 switchname
24、Print/set this switchs name 显示活设置交换机名字,同linux下hostname的用法 switchshow Print switch and port status 显示交换机端口状态 switchstatuspolicyset Set policy parameters for overall switch status 设置交换机策略参数状态信息 switchstatuspolicyshow Print policy parameters for overall switch status 显示交换机策略参数状态信息 switchstatusshow Prin
25、t overall switch status 显示交换机状态 switchuptime Display the amount of time for which the switch is switchviolation Display policy violations recorded in RAS log syslogdfacility Change the syslog facility 更改系统日志设备 syslogdipadd Add syslog daemon IP address 添加系统日志记录IP地址 syslogdipremove Remove syslog daemo
26、n IP address syslogdipshow Print the syslog daemon targets sysmonitor Configure system memory usage monitor sysshutdown Provides a graceful shutdown to protect the switch 关闭系统 tempshow Print temperature readings 显示温度信息 thconfig Configure Fabric Watch thresholds thmonitor Configure Fabric Watch thres
27、hold monitors timeout Set/show the IDLE timeout value for a login session 设置session空闲的超时时间 后跟要设置的时间,单位是分钟,比如要设置超时时间为20分钟 top Linux top command 查看系统进程及资源利用率,同linux系统的top命令的用法 topologyshow Display the unicast fabric topology 显示单播路由拓扑 tracedump generate/remove trace dump or display trace dump trackchan
28、geshelp Print Track Changes help info 显示有关trackchanges的帮助信息 trackchangesset Configure alert for login/logout/config update trackchangesshow Displays status of track changes 显示路由状态和改变 trunkdebug Debug a trunk link failure 对trunk连接进行调试 trunkshow Display trunking information 显示trunk信息 tsclockserver Dis
29、plays or sets the NTP server address 显示或设置NTP服务器IP tstimezone Displays or sets the time zone 显示或设置时区信息 turboramtest Turbo SRAM test for bloom ASICs. 内存测试 uptime Print how long switch has been up 显示设备运行时间 urouteconfig Configure a static route 配置静态路由 urouteremove Remove a static route 删除一个静态路由条目 urout
30、eshow Display unicast routing information 显示单播路由信息 usbstorage Manage USB storage device (available on Brocade 配置USB存储设备 -e | -enable ,enable usbstorage -d | -disable ,disable usbstorage -l | -list ,list file in usbstorage -r | -remove area target ,remove target from usbstorage area: Can be firmware,
31、 firmwarekey, support or config. target: Specific file or folder element under area. -h | -help ,help userconfig Display or configure user accounts 显示和设置用户的帐号信息 -show | -a | -r : display current account information -showad -a : display account names corresponds to ad list -add -r rolename (admin | u
32、ser | switchadmin | zoneadmin | fabricadmin | basicswitchadmin | operator | securityadmin -h -a | -a -d -p -x: creates a new account -delete : delete an existing account -change -r rolename (admin | user | switchadmin | zoneadmin | fabricadmin | basicswitchadmin | operator | securityadmin -h -a -d -
33、e yes | no -x -u: modify existing account attributes -addad -h -a : adds ads to a users ad list -deletead -h -a : deletes ads from a users ad list -help: display the userconfig synopsis userrename Rename user login name version Print firmware version 显示设备版本信息 wwn Display or set the world wide name 显
34、示或设置设备的wwn号 wwnaddress Configure persistent PID assignments zone Configure zone objects 配置zone对象 zoneadd Add a member to a zone 在一个zone中添加zone成员 zonecreate Create a zone 创建一个zone zonedelete Delete a zone 删除一个zone zonehelp Print zoning help info 打印zone的帮助信息,该命令会显示所有与zone配置有关的命令 zoneobjectcopy Copies a zone object 复制zone对象 zoneobjectexpunge Expunges a zone object 删除zone对象 zoneobjectrename Rename a zoning Object 重命名zone对象 zoneremove Remove a member from a zone 删除zone成员 zoneshow Print zone information 查看区域的信息