2024年5月30日发(作者:)

Brocade SAN交换机常用命令

默认用户名:admin,默认密码password

1. switchStatusShow

查看交换机的总体健康状态

switch:admin> switchstatusshow

Switch Health Report

Switch Name: SWFCR

SwitchState: MARGINAL

Duration: 863:23

Power supplies monitor MARGINAL

Temperatures monitor HEALTHY

Fans monitor HEALTHY

WWN servers monitor HEALTHY

Standby CP monitor HEALTHY

Blades monitor HEALTHY

Flash monitor HEALTHY

Marginal ports monitor HEALTHY

Faulty ports monitor HEALTHY

Missing SFPs monitor HEALTHY

All ports are healthy

switch:admin>

2. switchShow

查看交换机根本配置信息

Enter the switchShow command, which displays the following information for a switch:

- switchname - The switch name.

- switchtype - The switch model and firmware version numbers.

- switchstate - The switch state: Online, Offline, Testing, or Faulty.

- switchrole - Displays the switch role: Principal, Subordinate, or Disabled.

- switchdomain - Displays the switch Domain ID.

- switchid - The embedded port D_ID of the switch.

- switchwwn - The switch World Wide Name.

- switchbeacon - The switch beaconing state: either ON or OFF.

The switchShow command also displays the following information for ports on the specified

switch:

- Module type - The SFP type if an SFP is present.

- Port speed - The speed of the Port (1G, 2G, 4G, N1, N2, N4, or AN). The speed can be

fixed, negotiated, or auto-negotiated.

- Port state - The port status.

- Comment - About the port. This section may be blank or display the WWN for an F_Port or

an E_Port, the trunking state, or upstream or downstream status

3. portShow

查看端口状态

switch:admin> switch:user> portshow 0

portName:

portHealth: OFFLINE

Authentication: None

portDisableReason: None

portCFlags: 0x1

portFlags: 0x4001 PRESENT U_PORT LED

portType: 4.1

portState: 2 Offline

portPhys: 2 No_Module

portScn: 0

port generation number: 0

portId: 010000

portIfId: 43020020

portWwn: 20:00:00:60:69:00:02:53

portWwn of device(s) connected:

Distance: normal

portSpeed: N2Gbps

LE domain: 0

Interrupts: 0 Link_failure: 0 Frjt: 0

Unknown: 0 Loss_of_sync: 0 Fbsy: 0

Lli: 0 Loss_of_sig: 0

Proc_rqrd: 0 Protocol_err: 0

Timed_out: 0 Invalid_word: 0

Rx_flushed: 0 Invalid_crc: 0

Tx_unavail: 0 Delim_err: 0

Free_buffer: 0 Address_err: 0

Port part of other ADs: Yes

4. fanShow

查看交换机散热风扇的状态

Enter the fanShow command:

switch:admin> fanshow

Fan 1 is OK speed is 7010 RPM

Fan 2 is OK speed is 7180 RPM