【Brocade FC SW】各種確認コマンドまとめ

ネットワーク
スポンサーリンク

システム状態表示コマンド

すべてのコンフィグ情報を表示

  • configshow -all
switch:admin> configshow -all
[Configuration upload Information]
Configuration Format = 4.0
Minimum Compatible Format = 3.0
Excluding Format = 0.0
date = Fri Jan 12 07:01:59 2018
FOS version = v8.2.0
Number of LS = 2
[Chassis Configuration Begin]
[fcRouting]
fcRoute.backboneFabricId:100
fcRoute.fcrState:2
fcRouteParam.maxLsanCount:3000
fcRoute.port.8.xportAdmin:DISABLED
fcRoute.port.8.fabricId:4
fcRoute.port.8.ratov:10000
fcRoute.port.8.edtov:2000
fcRoute.port.8.frontConfigDid:160
fcRoute.port.8.portType:400
fcRoute.port.8.portMode:0
fcRoute.port.8.autoElp:7
fcRoute.port.9.xportAdmin:DISABLED

#略

[Chassis Configuration]
passwdcfg.minlength:8
passwdcfg.lowercase:0
passwdcfg.uppercase:0
passwdcfg.digits:0
passwdcfg.punctuation:0
passwdcfg.history:1
passwdcfg.minpasswordage:0
passwdcfg.maxpasswordage:0
passwdcfg.warning:0
passwdcfg.lockoutthreshold:0
passwdcfg.lockoutduration:30
passwdcfg.adminlockout:0
passwdcfg.repeat:1
passwdcfg.sequence:1
passwdcfg.status:0
fips.mode:0
fips.selftests:0
ipfilter.0.name:default_ipv4

#略

スイッチとポートの状態を表示

  • switchshow
switch:admin> switchshow

switchName :Wedg57
switchType :162.0
switchState :Online
switchMode :Native
switchRole :Subordinate
switchDomain :5
switchId :fffc05
switchWwn :10:00:00:27:f8:f0:f6:90
zoning :ON (cfga_1)
switchBeacon :OFF
FC Router :OFF
Fabric Name :SNMP
HIF Mode :OFF
Allow XISL Use:ON
LS Attributes:[FID: 128, Base Switch: No, Default Switch: Yes, Ficon Switch: No,
Address Mode 0]
Index Port Address Media Speed State Proto
==================================================
0 0 050000 id N16 No_Light FC
1 1 050100 id N16 No_Light FC
2 2 050200 id N16 Online FC F-Port 1 N Port + 20 NPIV public
4 4 050400 id N16 No_Light FC
5 5 050500 -- N32 No_Module FC
6 6 050600 id N16 No_Light FC
7 7 050700 id N16 No_Light FC
8 8 050800 id N16 No_Light FC
9 9 050900 id N16 No_Light FC
10 10 050a00 id N16 Online FC F-Port 30:13:00:05:33:5b:7d:86
11 11 050b00 id N8 Online FC F-Port 30:12:00:05:33:5b:7d:86 (AoQ)
12 12 050c00 -- N32 No_Module FC
#略

ポート設定一覧を表示

  • portcfgshow [[slot/]port]
  • portcfgshow -i [index1[-index2] […] [-f]]
  • portcfgshow -slot [slot1[-slot2] […]]
switch:admin> portcfgshow 10/38
Area Number:             11
Octet Speed Combo:       2(10G|8G|4G)
Eth Speed Level:         10G
FC Speed Level:          AUTO(HW)
AL_PA Offset 13:         OFF
Trunk Port               ON
Long Distance            OFF
VC Link Init             OFF
Locked L_Port            OFF
Locked G_Port            OFF
Disabled E_Port          OFF
Locked E_Port            OFF
ISL R_RDY Mode           OFF
RSCN Suppressed          OFF
Persistent Disable       OFF
LOS TOV mode             0(OFF)
NPIV capability          ON
QOS Port                 AE
Port Auto Disable:       OFF
EX Port                  OFF
Mirror Port              OFF
SIM Port                 OFF
Credit Recovery          ON
F_Port Buffers           OFF
E_Port Credits           OFF
Fault Delay:             0(R_A_TOV)
NPIV PP Limit:           126
NPIV FLOGI Logout:       OFF
CSCTL mode:              OFF
TDZ mode:                OFF
D-Port mode:             OFF
D-Port over DWDM:        OFF
Compression:             OFF
Encryption:              OFF
10G/16G FEC:             ON
16G FEC via TTS:         OFF
Flex Port:               ETH
Breakout mode            ON

#その他の指定方法
switch:admin> portcfgshow -i 0-15
switch:admin> portcfgshow -slot 1

ポート状態(統計情報)を表示

  • portstatsshow [[slot/]port]
  • portstatsshow -i [index1[-index2] […] [-f]]
  • portstatsshow -slot [slot1[-slot2] […]]
switch:admin> portstatsshow 1/13
stat_wtx              0           4-byte words transmitted
stat_wrx              0           4-byte words received
stat_ftx              0           Frames transmitted
stat_frx              0           Frames received
stat_c2_frx           0           Class 2 frames received
stat_c3_frx           0           Class 3 frames received
stat_lc_rx            0           Link control frames received
stat_mc_rx            0           Multicast frames received
stat_mc_to            0           Multicast timeouts
stat_mc_tx            0           Multicast frames transmitted
tim_rdy_pri           0           Time R_RDY high priority
tim_txcrd_z           0           Time TX Credit Zero (2.5Us ticks)
tim_txcrd_z_vc  0- 3: 0           0           0           0
tim_txcrd_z_vc  4- 7: 0           0           0           0
tim_txcrd_z_vc  8-11: 0           0           0           0
tim_txcrd_z_vc 12-15: 0           0           0           0
#略

ファームウェアバージョンを表示

  • firmwareshow
switch:admin> firmwareshow
Appl Primary/Secondary Versions
------------------------------------------
FOS v7.2.0
v7.2.0

  • version
switch:admin> version
Kernel: 2.6.34.6
Fabric OS: v8.2.0a
Made on: Tue Jan 9 01:53:49 2018
Flash: Wed Jan 10 06:37:24 2018
BootProm: 3.0.20

ファブリックを構成するスイッチの情報を表示

  • fabricshow
switch:admin> fabricshow
Switch ID Worldwide Name Enet IP Addr FC IP Addr Name
----------------------------------------------------------------------
64:fffc40 10:00:00:60:69:00:06:56 192.168.64.59 192.168.65.59 "sw5"
65:fffc41 10:00:00:60:69:00:02:0b 192.168.64.180 192.168.65.180>"sw180"
66:fffc42 10:00:00:60:69:00:05:91 192.168.64.60 192.168.65.60 "sw60"
67:fffc43 10:00:00:60:69:10:60:1f 192.168.64.187 0.0.0.0 "sw187"
The Fabric has 4 switches
Fabric Name: mainFabricA

トポロジ情報を表示

  • topologyshow
switch:admin> topologyshow
6 domains in the fabric; Local Domain ID: 7
Domain: 	1
Metric: 	10500
Name: 	fcr_xd_1_1
Path Count: 	1

        Hops: 		2
        Out Port: 		11
        In Ports: 		0 1 2 3 4 5 6 7 8 9 15
        Total 	Bandwidth: 	8.000 Gbps
        Bandwidth Demand: 	1275 %
   Flags: D

Domain: 	2
Metric: 	1000
Name: 	fcr_fd_2
Path Count: 	1
#略

Name Server に登録されたノードの表示

  • nsshow
switch:admin> nsshow
{
Type Pid COS PortName NodeName SCR(sec)
N 010800; 2,3;30:03:50:eb:1a:bb:6c:fd;10:00:50:eb:1a:bb:6c:fd; 0x0000000f
SCR: Fabric-Detected Nx-Port-Detected Fabric-Name Peer-Zone
FC4s: FCP FC-NVMe Application-Services
Fabric Port Name: 20:08:c4:f5:7c:00:a3:20
Permanent Port Name: 30:03:50:eb:1a:bb:6c:fd
Device type: Physical Initiator
Port Index: 8
Share Area: No
#略

ファブリック上の全ノードの FC アドレスの表示

  • nsallshow
switch:admin> nsallshow
{
011000 011200 0118e2 0118e4 0118e8 0118ef 021200 021300
0214e2 0214e4 0214e8 0214ef
12 Nx_Ports in the Fabric }

Name Server cache にあるリモートデバイスの情報を表示

  • nscamshow
switch:admin> nscamshow
nscam show for remote switches:
Switch entry for 1
state rev owner cap_available
known v820 0xfffc65 1
Device list: count 4
Type Pid COS PortName NodeName
N 010800; 2,3;30:19:50:eb:1a:bb:6c:fd;10:00:50:eb:1a:bb:6c:fd;
FC4s: FCP FC-NVMe
NodeSymb: [31] "nvmehost:sw0"
Fabric Port Name: 20:08:50:eb:1a:88:bc:40
#略

ハードウェア状態表示コマンド

スイッチのパワーサプライの状態を表示

  • psshow
switch:admin> psshow
Power Supply #1 is OK
DELTA DPS-1001AB-1E 23000000601 S1 IXD0111000088
Power Supply #2 is faulty
DELTA DPS-1001AB-1E 23000000601 S1 IXD0111000162
Power Supply #3 is OK
DELTA DPS-1001AB-1E 23000000601 S1 IXD0111000120
Power Supply #4 is absent

スイッチ内のセンサの温度情報を表示

  • tempshow
switch:admin> tempshow
Sensor Slot State Centigrade Fahrenheit
ID
========================================================
1      1    Ok    38         100
2      1    Ok    28         82
3      1    Ok    40         104
4      1    Ok    31         87
5      1    Ok    43         109
6      2    Ok    39         102
7      2    Ok    28         82
8      2    Ok    40         104
9      2    Ok    30         86
10     2    Ok    43         109

スイッチ内のファンの回転数を表示

  • fanshow
switch:admin> fanshow
Fan #1 is OK, speed is 2721 RPM
Fan #2 is OK, speed is 2657 RPM
Fan #3 is OK, speed is 2700 RPM

SFP の情報を表示

  • sfpshow [[slot/]port]
  • sfpshow -all
switch:admin> sfpshow 3/44
QSFP No: 11 Channel No:0
Identifier: 13 QSFP+
Connector: 12 MPO Parallel Optic
Transceiver: 0000000000000000 16_Gbps sw Short_dist
Encoding: 5 64B66B
Baud Rate: 140 (units 100 megabaud)
Length 9u: 0 (units km)
#略
Vendor Name: BROCADE
Vendor OUI: 00:05:1e
#略
Temperature: 32 Centigrade
Current: 7.502 mAmps
Voltage: 3272.6 mVolts
RX Power: -1.8 dBm (659.9uW)
State transitions: 1
Last poll time: 02-16-2016 PST Tue 22:18:49

温度、ファン、電源の状態を簡易表示

  • sensorshow
switch:admin> sensorshow
sensor 1: (Temperature) is Ok, value is 39 C
sensor 2: (Temperature) is Absent
sensor 3: (Temperature) is Absent
sensor 4: (Temperature) is Absent
sensor 5: (Temperature) is Ok, value is 26 C
sensor 6: (Temperature) is Ok, value is 27 C
sensor 7: (Fan ) is Ok, speed is 2537 RPM
sensor 8: (Fan ) is Ok, speed is 2537 RPM
sensor 9: (Fan ) is Ok, speed is 2556 RPM
sensor 10: (Power Supply ) is Ok
sensor 11: (Power Supply ) is Absent
sensor 12: (Power Supply ) is Ok
sensor 13: (Power Supply ) is Absent

FRU (field replaceable unit) の情報を表示

  • chassisshow
switch:admin> chassisshow
Chassis Family: DCX8510-8
Chassis Backplane Revision: 0

SW BLADE Slot : 1
Header Version : 2
Power Consume Factor : -180
Power Usage (Watts) : -286
Factory Part Num : 60-1002144-02
Factory Serial Num : BQB0345F00G
Manufacture : Day: 9 Month: 11 Year: 2010
Update : Day: 19 Month: 2 Year: 2011
Time Alive : 41 days
Time Awake : 1 days

SW BLADE Slot : 2
#略

トラブルシューティング用コマンド

サポート/トラブルシューティングに必要な情報を表示

  • supportshow [slot[/port1-port2] [lines]]

メーカへエスカレーションする際に必要な情報を取得

対話的にFTP サーバへ保存する場合

  • supportsave
switch:admin> supportsave
This command collects RASLOG, TRACE, supportShow, core file, FFDC data
and then transfer them to a FTP/SCP/SFTP server or a USB device.
This operation can take several minutes.
NOTE: supportSave will transfer existing trace dump file first, then
automatically generate and transfer latest one. There will be two trace dump
files transferred after this command.
OK to proceed? (yes, y, no, n): [no] y
Host IP or Host Name: 192.168.126.115
User Name: admin
Password:*******
Network Protocol(1-auto-select, 2-FTP, 3-SCP, 4-SFTP) [1]: 4
Remote Directory: /temp/support
Do you want to continue with CRA (Y/N) [N]: Y
Saving support information for chassis:HL51,module:RAS...
#略

USB デバイスへ保存する場合

  • supportsave -U -d filename [-t timeout_multiplier]
    • -t → タイムアウト値を何倍にするかを 2-5 で指定。デフォルト 1
switch:admin> supportsave -U -d mysupportsave -t 2
Saving support information for switch:ras072, module:RAS...
.................................................................

Saving support information for switch:ras072, module:FTR_START...
Saving support information for switch:ras072, module:SSHOW_SYS...
............................................

Saving support information for switch:ras072, module:SSHOW_ISWITCH...

Saving support information for switch:ras072, module:FABRIC...
...............

Saving support information for switch:ras072, module:DIAG...
.......

Saving support information for switch:ras072, module:RTE...
Saving support information for switch:ras072, module:IF_TREE...
Saving support information for switch:ras072, module:ISCSID_DBG...
Saving support information for switch:ras072, module:AGDUMP...
Saving support information for switch:ras072, module:AGWWNS...
Saving support information for switch:ras072, module:AGWWN_CFG...
Saving support information for switch:ras072, module:VPWWN_CFG...
.....
#略

エラーログの表示

  • errshow
    • 1ページずつ表示
  • errdump
    • まとめて表示

指定したポートのログを表示

  • portlogdumpport port_index

ポートのエラー情報のサマリを表示

  • porterrshow
  • porterrshow [[slot/]port1[-[slot/]port2]]
  • porterrshow -i|-index [index1[-index2]]

統計情報をクリアする

  • statsclear
  • statsclear [[slot/]port]
  • statsclear -i [index1[-index2] […] [-f]]

―――――――――――――

タイトルとURLをコピーしました