77范文网 - 专业文章范例文档资料分享平台

brocade交换机的常用命令

来源:网络收集 时间:2020-06-17 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

brocade交换机的常用命令

1、switchshow:可以查看交换机的名称、型号、状态、角色、domain ID、wwn、zone状态、zone配置名等。

2、cfgshow:可以查看zone的相关信息、端口的alias等。 3、新建一个zoning:

alicreate \

zonecreate \cfgadd \cfgsave

cfgenable \

4、licenseshow:查看当前交换机的license

5、switchdisable:将当前交换机禁用,一般用于设置交换机配置时使用 6、switchenable:启用当前交换机 7、日常交换机检查命令:

switchshow (交换机、端口状态) hashow (CP卡状态) slotshow (slot状态) psshow (电源状态) tempshow (温度状态) fanshow (风扇状态) firmwareshow (微码状态) licenseshow (license状态) cfgshow (zoning状态)

uptime (交换机自上次重启到现在的时间) porterrshow (查看端口的错误信息) errshow (查看交换机的报错信息) 8、zone相关命令: zonecreate:创建一个zone

zoneobjectcopy:复制一个zone到一个新的zong zoneobjectrename:重新命名一个zone zoneobjectexpunge:删除一个zone cfgclear:删除所有zone信息 cfgsize:查看zone数据库大小

cfgtransshow:查看是否有未被保存的zone相关信息 cfgtransabort:放弃未被保存的zone相关信息 cfgactvshow:显示激活中的zone配置

configupload:将交换机的配置信息保存到指定的FTP服务器上 9、fabricshow:查看当前fabric中有哪些交换机 10、nsshow:查看当前交换机中有哪些node(设备) 11、nsallshow:查看当前fabric中有哪些node(设备)

博科Brocade SAN交换机常用命令

查看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>

设置博科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>

博科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>

博科brocade交换机添加license授权信息

swd77:admin> licenseadd XXXXXXXX(博科的激活号) 查看博科brocade交换机license授权信息

在命令行模式下使用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交换机是没有的。 博科Brocade Slikworm 300交换机

swd77:admin> licenseshow

XSCJBCmH3SARFa7BXrVVBGGFFRRXBArGR: Fabric license //级联License

Enhanced Group Management license //增强组管理授权 8 Gig FC license //8Gb的授权 swd77:admin>

博科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>

查看博科Brocade交换机状态

swd77:admin> swtichshow

rbash: swtichshow: command not found swd77:admin> switchshow switchName: swd77 switchType: 34.0

switchState: Online switchMode: Native switchRole: Principal switchDomain: 1

switchId: fffc01

switchWwn: 10:00:00:05:1e:09:xx:xx zoning: OFF switchBeacon: OFF

Area Port Media Speed State Proto ===================================== 0 0 id N4 No_Light 1 1 id N4 No_Light 2 2 id N4 No_Light 3 3 id N4 No_Light 4 4 id N4 No_Light 5 5 id N4 No_Light 6 6 id N4 No_Light 7 7 id N4 No_Light 8 8 id N4 No_Light 9 9 id N4 No_Light 10 10 id N4 No_Light 11 11 id N4 No_Light 12 12 id N4 No_Light 13 13 id N4 No_Light 14 14 id N4 No_Light 15 15 id N4 No_Light swd77:admin>

博科 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 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 登陆后是用passwddefault命令恢复出厂密码

swd77:root> passwddefault

Password policies are already set to default.

All account passwords have been successfully set to factory default. swd77:root>

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库brocade交换机的常用命令在线全文阅读。

brocade交换机的常用命令.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/1106088.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: