Brocade 8000 Hardware Reference Manual
Fabric OS Administrator's Guide
Access Switch(FOS)
# ssh admin@myswitch admin@myswitch's password: ----------------------------------------------------------------- myswitch:admin> cmsh
Change from FOS to CEE level
myswitch:admin> cmsh switch#
FOS commands
Use "help" command to get all the commands you want. eg: myswitch:admin> help|grep show agshow Displays the Access Gateway information registered alishow Print zone alias information bannershow Display security banner (......)
Basic Info of switch
myswitch:admin> switchshow switchName: myswitch switchType: 76.7 switchState: Online switchMode: Native switchRole: Principal switchDomain: 1 switchId: ffffff switchWwn: xx:xx:xx:xx:xx:xx:xx:xx zoning: OFF switchBeacon: OFF FC Router: OFF FC Router BB Fabric ID: 1 Index Port Address Media Speed State Proto ============================================== 0 0 010000 id N8 No_Light FC 1 1 010100 id N8 No_Light FC 2 2 010200 id N8 No_Light FC 3 3 010300 id N8 No_Light FC 4 4 010400 id N8 No_Light FC 5 5 010500 id N8 No_Light FC 6 6 010600 id N8 No_Light FC 7 7 010700 id N8 No_Light FC 8 8 010800 -- 10G Online FCoE VF-Port 0 VN-Port(s) 9 9 010900 -- 10G Online FCoE VF-Port 0 VN-Port(s) 10 10 010a00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 11 11 010b00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 12 12 010c00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 13 13 010d00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 14 14 010e00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 15 15 010f00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 16 16 011000 -- 10G Online FCoE VF-Port 0 VN-Port(s) 17 17 011100 -- 10G Online FCoE VF-Port 0 VN-Port(s) 18 18 011200 -- 10G Online FCoE VF-Port 0 VN-Port(s) 19 19 011300 -- 10G Online FCoE VF-Port 0 VN-Port(s) 20 20 011400 -- 10G Online FCoE VF-Port 0 VN-Port(s) 21 21 011500 -- 10G Online FCoE VF-Port 0 VN-Port(s) 22 22 011600 -- 10G Online FCoE VF-Port 0 VN-Port(s) 23 23 011700 -- 10G Online FCoE VF-Port 0 VN-Port(s) 24 24 011800 -- 10G Online FCoE VF-Port 0 VN-Port(s) 25 25 011900 -- 10G Online FCoE VF-Port 0 VN-Port(s) 26 26 011a00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 27 27 011b00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 28 28 011c00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 29 29 011d00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 30 30 011e00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 31 31 011f00 -- 10G Online FCoE VF-Port 0 VN-Port(s)
Port errors
statsclear command clears counters;
portstatschear x clears counters for one port (x=port number);
Large amount of CRC and enc_out errors typically indicate a physical layer issue (cable, sfp, etc).
myswitch:admin> porterrshow frames enc crc crc too too bad enc disc link loss loss frjt fbsy tx rx in err g_eof shrt long eof out c3 fail sync sig ========================================================================================================= 0: 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 1: 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 14: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 17: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 19: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 21: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 22: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 23: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 24: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 25: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 26: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 27: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 28: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 29: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 30: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 31: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Events info
myswitch:admin> errdump|more Fabric OS: v6.3.0b 2012/07/07-14:50:04, [NSM-1001], 1655, FID 128, INFO, myswitch, Interface TenGigabitEthernet 0/11 is online. 2012/07/07-14:53:34, [NSM-1002], 1656, FID 128, INFO, myswitch, Interface TenGigabitEthernet 0/11 is protocol down. 2012/07/07-14:53:34, [NSM-1003], 1657, FID 128, INFO, myswitch, Interface TenGigabitEthernet 0/11 is link down (......)
FOS version
myswitch:admin> firmwareshow Appl Primary/Secondary Versions ------------------------------------------ FOS v6.3.0b v6.3.0b myswitch:admin> version Kernel: 2.6.14.2 Fabric OS: v6.3.0b Made on: Thu Oct 29 19:41:08 2009 Flash: Tue Apr 13 18:23:23 2010 BootProm: 1.0.15
Basic health status
myswitch:admin> switchstatusshow Switch Health Report Report time: 11/09/2012 07:07:33 AM Switch Name: myswitch IP address: 172.172.172.172 SwitchState: HEALTHY Duration: 14501:41 Power supplies monitor HEALTHY Temperatures monitor HEALTHY Fans monitor HEALTHY Flash monitor HEALTHY Marginal ports monitor HEALTHY Faulty ports monitor HEALTHY Missing SFPs monitor HEALTHY Fabric Watch is not licensed Detailed port information is not included
Disable or Enable a port
myswitch:admin> portdisable 1 myswitch:admin> switchshow switchName: myswitch switchType: 76.7 switchState: Online switchMode: Native switchRole: Principal switchDomain: 1 switchId: ffffff switchWwn: xx:xx:xx:xx:xx:xx:xx:xx zoning: OFF switchBeacon: OFF FC Router: OFF FC Router BB Fabric ID: 1 Index Port Address Media Speed State Proto ============================================== 0 0 010000 id N8 No_Light FC 1 1 010100 id N8 No_Light FC Disabled 2 2 010200 id N8 No_Light FC 3 3 010300 id N8 No_Light FC 4 4 010400 id N8 No_Light FC 5 5 010500 id N8 No_Light FC 6 6 010600 id N8 No_Light FC 7 7 010700 id N8 No_Light FC 8 8 010800 -- 10G Online FCoE VF-Port 0 VN-Port(s) 9 9 010900 -- 10G Online FCoE VF-Port 0 VN-Port(s) 10 10 010a00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 11 11 010b00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 12 12 010c00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 13 13 010d00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 14 14 010e00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 15 15 010f00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 16 16 011000 -- 10G Online FCoE VF-Port 0 VN-Port(s) 17 17 011100 -- 10G Online FCoE VF-Port 0 VN-Port(s) 18 18 011200 -- 10G Online FCoE VF-Port 0 VN-Port(s) 19 19 011300 -- 10G Online FCoE VF-Port 0 VN-Port(s) 20 20 011400 -- 10G Online FCoE VF-Port 0 VN-Port(s) 21 21 011500 -- 10G Online FCoE VF-Port 0 VN-Port(s) 22 22 011600 -- 10G Online FCoE VF-Port 0 VN-Port(s) 23 23 011700 -- 10G Online FCoE VF-Port 0 VN-Port(s) 24 24 011800 -- 10G Online FCoE VF-Port 0 VN-Port(s) 25 25 011900 -- 10G Online FCoE VF-Port 0 VN-Port(s) 26 26 011a00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 27 27 011b00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 28 28 011c00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 29 29 011d00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 30 30 011e00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 31 31 011f00 -- 10G Online FCoE VF-Port 0 VN-Port(s) myswitch:admin> portenable 1 myswitch:admin> switchshow switchName: myswitch switchType: 76.7 switchState: Online switchMode: Native switchRole: Principal switchDomain: 1 switchId: ffffff switchWwn: xx:xx:xx:xx:xx:xx:xx:xx zoning: OFF switchBeacon: OFF FC Router: OFF FC Router BB Fabric ID: 1 Index Port Address Media Speed State Proto ============================================== 0 0 010000 id N8 No_Light FC 1 1 010100 id N8 No_Light FC 2 2 010200 id N8 No_Light FC 3 3 010300 id N8 No_Light FC 4 4 010400 id N8 No_Light FC 5 5 010500 id N8 No_Light FC 6 6 010600 id N8 No_Light FC 7 7 010700 id N8 No_Light FC 8 8 010800 -- 10G Online FCoE VF-Port 0 VN-Port(s) 9 9 010900 -- 10G Online FCoE VF-Port 0 VN-Port(s) 10 10 010a00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 11 11 010b00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 12 12 010c00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 13 13 010d00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 14 14 010e00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 15 15 010f00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 16 16 011000 -- 10G Online FCoE VF-Port 0 VN-Port(s) 17 17 011100 -- 10G Online FCoE VF-Port 0 VN-Port(s) 18 18 011200 -- 10G Online FCoE VF-Port 0 VN-Port(s) 19 19 011300 -- 10G Online FCoE VF-Port 0 VN-Port(s) 20 20 011400 -- 10G Online FCoE VF-Port 0 VN-Port(s) 21 21 011500 -- 10G Online FCoE VF-Port 0 VN-Port(s) 22 22 011600 -- 10G Online FCoE VF-Port 0 VN-Port(s) 23 23 011700 -- 10G Online FCoE VF-Port 0 VN-Port(s) 24 24 011800 -- 10G Online FCoE VF-Port 0 VN-Port(s) 25 25 011900 -- 10G Online FCoE VF-Port 0 VN-Port(s) 26 26 011a00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 27 27 011b00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 28 28 011c00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 29 29 011d00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 30 30 011e00 -- 10G Online FCoE VF-Port 0 VN-Port(s) 31 31 011f00 -- 10G Online FCoE VF-Port 0 VN-Port(s)
Show configuration for CEE portion
myswitch:admin> cmsh switch#show running-config
Show CEE events
switch#show logging
Show port info and counters
switch#show interface tengigabitethernet 0/11 TenGigabitEthernet 0/11 is up, line protocol is up (connected) Hardware is Ethernet, address is 0005.xxxx.xxxx Current address is 0005.xxxx.xxxx Pluggable media present, Media type is sfp Wavelength is 3072nm Interface index (ifindex) is 403374339 MTU 2500 bytes LineSpeed: 10000 Mbit, Duplex: Full Flowcontrol rx: on, tx: on Last clearing of show interface counters: 86w2d05h Queueing strategy: fifo Receive Statistics: 5727580420 packets, 7161226699097 bytes Unicasts: 5725958641, Multicasts: 1619949, Broadcasts: 1830 64-byte pkts: 1127966, Over 64-byte pkts: 756163716, Over 127-byte pkts: 139287553 Over 255-byte pkts: 34264156, Over 511-byte pkts: 268948380, Over 1023-byte pkts: 4527788649 Over 1518-byte pkts(Jumbo): 0 Runts: 0, Jabbers: 0, CRC: 0, Overruns: 0 Errors: 0, Discards: 0 Transmit Statistics: 6440692017 packets, 8274802212896 bytes Unicasts: 0, Multicasts: 62311834, Broadcasts: 845353 Underruns: 0 Errors: 0, Discards: 0 Rate info (interval 299 seconds): Input 0.000000 Mbits/sec, 0 packets/sec, 0.00% of line-rate Output 0.000256 Mbits/sec, 0 packets/sec, 0.00% of line-rate Time since last interface status change: 5w6d01h
Sensor health
myswitch:admin> sensorshow sensor 1: (Temperature ) is Ok, value is 42 C sensor 2: (Temperature ) is Ok, value is 36 C sensor 3: (Temperature ) is Ok, value is 42 C sensor 4: (Temperature ) is Ok, value is 31 C sensor 5: (Fan ) is Ok,speed is 3483 RPM sensor 6: (Fan ) is Ok,speed is 3447 RPM sensor 7: (Fan ) is Ok,speed is 3557 RPM sensor 8: (Power Supply) is Ok sensor 9: (Power Supply) is Ok
Brief summary of IP status and configuration
switch#show ip int brief Interface IP-Address Status Protocol ========= ========== ====== ======== TenGigabitEthernet 0/0 unassigned up up TenGigabitEthernet 0/1 unassigned up up TenGigabitEthernet 0/2 unassigned up up TenGigabitEthernet 0/3 unassigned up up TenGigabitEthernet 0/4 unassigned up up TenGigabitEthernet 0/5 unassigned up up TenGigabitEthernet 0/6 unassigned up up TenGigabitEthernet 0/7 unassigned up up TenGigabitEthernet 0/8 unassigned up down TenGigabitEthernet 0/9 unassigned up up TenGigabitEthernet 0/10 unassigned up up TenGigabitEthernet 0/11 unassigned up up TenGigabitEthernet 0/12 unassigned up up TenGigabitEthernet 0/13 unassigned up up TenGigabitEthernet 0/14 unassigned up up TenGigabitEthernet 0/15 unassigned up up TenGigabitEthernet 0/16 unassigned up up TenGigabitEthernet 0/17 unassigned up up TenGigabitEthernet 0/18 unassigned up down TenGigabitEthernet 0/19 unassigned up down TenGigabitEthernet 0/20 unassigned up down TenGigabitEthernet 0/21 unassigned up down TenGigabitEthernet 0/22 unassigned up down TenGigabitEthernet 0/23 unassigned up down Vlan 1 unassigned administratively down down Vlan 9 unassigned administratively down down
LACP(Link Aggregation Control Protocol)
switch#show lacp counter % Traffic statistics Port LACPDUs Marker Pckt err Sent Recv Sent Recv Sent Recv % Aggregator Po 1 1000002 Te 0/0 615752 615174 0 0 0 0 Te 0/1 615740 615162 0 0 0 0 Te 0/2 615750 615181 0 0 0 0 Te 0/3 615749 615181 0 0 0 0 % Aggregator Po 2 1000001 Te 0/8 0 0 0 0 0 0 <<<<<<<<<<<<<<<<<<<< Te 0/9 615746 615047 0 0 0 0 Te 0/10 615749 615053 0 0 0 0 Te 0/11 615736 615047 0 0 0 0 % Aggregator Po 3 1000000 Te 0/16 615735 615121 0 0 0 0 Te 0/17 615740 615121 0 0 0 0 Te 0/18 615744 615127 0 0 0 0 Te 0/19 615728 615122 0 0 0 0
supportsave
# ssh admin@myswitch admin@myswitch's password: ----------------------------------------------------------------- myswitch:admin> supportsave This command collects RASLOG, TRACE, supportShow, core file, FFDC data and other support information from both active and standby CPs and then transfer them to a FTP/SCP 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: xxx.xxx.xxx.xxx User Name: root Password: Protocol (ftp or scp): scp Remote Directory: /data/ Saving support information for chassis:MP_8000B, module:RAS... ................ Saving support information for chassis:MP_8000B, module:CTRACE_OLD... Saving support information for chassis:MP_8000B, module:CTRACE_NEW... Saving support information for chassis:MP_8000B, module:FABRIC... (...)
No comments:
Post a Comment