swd77:admin> switchshow
switchName: swd77
switchType: 71.2
switchState: Online
switchMode: Native
switchRole: Principal
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:50:eb:1a:3f:0b:98
zoning: ON (newconfig)
switchBeacon: OFF
Index Port Address Media Speed State Proto
==============================================
0 0 010000 id N8 Online FC F-Port 50:05:07:68:03:09:fb:d8
1 1 010100 id N8 Online FC F-Port 50:05:07:68:03:09:fb:d9
2 2 010200 id N8 Online FC F-Port 21:00:00:24:ff:0e:19:66
3 3 010300 id N8 Online FC F-Port 21:00:00:24:ff:65:e2:49
4 4 010400 id N8 Online FC F-Port 10:00:00:05:1e:fd:98:8c
5 5 010500 id N8 Online FC F-Port 10:00:00:05:1e:fd:97:48
6 6 010600 id N8 No_Light FC
7 7 010700 id N8 No_Light FC
8 8 010800 – N8 No_Module FC (No POD License) Disabled
9 9 010900 – N8 No_Module FC (No POD License) Disabled
10 10 010a00 – N8 No_Module FC (No POD License) Disabled
11 11 010b00 – N8 No_Module FC (No POD License) Disabled
12 12 010c00 – N8 No_Module FC (No POD License) Disabled
13 13 010d00 – N8 No_Module FC (No POD License) Disabled
14 14 010e00 – N8 No_Module FC (No POD License) Disabled
15 15 010f00 – N8 No_Module FC (No POD License) Disabled
16 16 011000 – N8 No_Module FC (No POD License) Disabled
17 17 011100 – N8 No_Module FC (No POD License) Disabled
18 18 011200 – N8 No_Module FC (No POD License) Disabled
19 19 011300 – N8 No_Module FC (No POD License) Disabled
20 20 011400 – N8 No_Module FC (No POD License) Disabled
21 21 011500 – N8 No_Module FC (No POD License) Disabled
22 22 011600 – N8 No_Module FC (No POD License) Disabled
23 23 011700 – N8 No_Module FC (No POD License) Disabled
Brocade:admin>ipaddrset
Ethernet IP Address [10.77.77.77]: 192.168.1.1
Ethernet Subnetmask [0.0.0.0]: 255.255.255.0
Fibre Channel IP Address [none]:
Fibre Channel Subnetmask [none]:
Gateway Address [172.17.1.1]:192.168.1.254
Set IP address now? [y = set now, n = next reboot]: y
2.修改密码
Brocade:admin>passwd admin
3.查看当前管理地址
ipaddrshow
4.查看版本
version
5.查看wwn
switchshow
6.查看zone
zoneshow
7.查看配置文件
cfgshow
8.查看光功率
一般:光衰值,RX/TX,同机房4dm,异地机房光纤在7dm
sfpshow 1 -f //查看1口的光功率
sfpshow -all | grep -E "RX|TX|Port" //全部端口
9. 设置日期和时间
设置命令:
Date “mmddHHMMyy”
参数描述:
mm:: 代表月份、设置值为01到12
dd:代表日期,设置值为01到31
hh:代表时间,设置值从00到23
MM:代表分钟,设置值从00到59
yy:代表年,设置值从00到99(大于69代表1970-1999,小于70代表2000-2069)
查看时间
switch:admin> date
Fri Jan 29 17:01:48 UTC 2000
switch:admin> date "0227123003"
Thu Feb 27 12:30:00 UTC 200
switch:admin>
configuplocad
Protocol (scp or ftp):ftp
host:
user name:
filename:
password:
恢复
switchdisable 停用交换机
configdownload
Protocol (scp or ftp):ftp
Server Name or IP Address [host]:
User Name [user]:
File Name [config.txt]:config.txt
.........
Do you want to continue [y/n]:y
Password: