博科BrocadeSAN交换机常用命令
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
博科Brocade SAN交换机常用命令
1.查看IP地址命令 (2)
2.查看firmware版本 (2)
3.查看交换机状态 (2)
4.查看交换机license-id (3)
5.配置ZONE (3)
6.查看zone配置文件 (4)
7.查看ZONE (5)
8.查看系统日志信息 (6)
9.关机 (6)
10.设置博科Brocade交换机IP地址 (6)
11.博科brocade交换机查看OS版本信息 (6)
12.博科brocade交换机添加license授权信息 (7)
13.查看博科brocade交换机license授权信息 (7)
14.博科Brocade Slikworm 300交换机license (7)
15.博科Brocade交换机修改密码命令 (7)
16.博科 brocade SAN交换机密码重置 (8)
17.登陆后是用passwddefault命令恢复出厂密码 (9)
18.交换机升级 (9)
19.帮助信息 (13)
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 N
4 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
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