In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Common commands for Brocade SAN switches
Common commands for connecting a Brocade SAN switch with a computer
Use the computer connection to manage the network port. The default IP address is 192.168.0.1 and the mask is 255.255.255.0.
Default user name: admin, default password password
1. SwitchStatusShow
View the overall health status of the switch
Switch:admin > switchstatusshow
Switch Health Report
Switch Name: SWFCR
IP address: 10.33.54.176
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
View basic switch configuration information
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 switchstate: Online, Offline, Testing, or Faulty.
-switchrole-Displays the switchrole: 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
View port statu
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
Check the status of the switch cooling fan
Enter the fanShow command:
Switch:admin > fanshow
Fan 1 is OK speed is 7010 RPM
Fan 2 is OK speed is 7180 RPM
Fan 3 is OK speed is 7068 RPM
Fan 4 is OK speed is 7116 RPM
Fan 5 is OK speed is 7155 RPM
Fan 6 is OK speed is 7001 RPM
Switch:admin >
5. PsShow
View the power status of the switch
Note: if FR4-18i, FC4-16IP, FC10-6, FC8-48 boards are installed, 4 power supplies are required.
Enter the psShow command:
Switch:admin > psshow
Power Supply # 1 is OK
0335, FF2Z0007161, 60-0000739-02, DCJ3002-01p, Brecory, FF2Z0007161
Power Supply # 2 is faulty
0335 FF2Z0007176, 60-0000739-02, DCJ3002-01p, B, FF2Z0007176
Switch:admin >
6. TempShow
View the ambient temperature of the switch
Enter the tempShow command:
Switch:admin > tempshow
Index Status Centigrade Fahrenheit
1 OK 21 70
2 OK 22 72
3 OK 29 84
4 OK 24 75
5 OK 25 77
Switch:admin >
7. ErrDump 、 errShow 、 errClear
View the internal message log of the switch
To display the system message log, with no page breaks
Enter the errDump command.
To display the system message log one at a time
Enter the errShow command.
To clear the system message log
Enter the errClear command.
8. SupportShow 、 supportSave 、 pdShow
Collect the diagnostic data of the switch
SupportShow
Display diagnostic and status information
SupportSave
Package and upload data to a designated FTP server
The command prompts for an FTP server, packages the following files, and sends them to the specified server:
? The output of the supportShow command
? The contents of any trace dump files on the switch
? System message logs (for Brocade directors, supportSave saves the system message logs
From both of the CP blades)
PdShow
Display the contents of the panic dump file to help diagnose the cause of the system panic
9. NsShow 、 nsAllShow 、 fabricShow
Check the devices connected to the switch
NsShow
Displays all devices connected to the switch
NsAllShow
Show all devices connected to the Fabric
FabricShow
Show all switches in Fabric
10. LicenseShow 、 wwn
Check the license file and the switch WWN number
11. Version
Check the version of Fabric OS and the following message is displayed:
-Kernel: displays the version of switch kernel operating system.
-Fabric OS: displays the version of switch Fabric OS.
-Made on: displays the build date of firmware running in switch.
-Flash: displays the install date of firmware stored in nonvolatile memory.
-BootProm: displays the version of the firmware stored in the boot PROM.
12. HaShow
View the status of Control Blade
SwDir: admin > haShow
Local CP (Slot 6, CP1): Active
Remote CP (Slot 5, CP0): Standby
HA Enabled, Heartbeat Up, State Synchronized
13. SlotShow
View the status of each Blade
14. PortCfgSpeed
Modify the rate of the port
15. PortEnable or portCfgPersistentEnable
Reset port
16. Check the status of WWN card
If the following commands are not executed correctly, the WWN card needs to be replaced:
Www,chassisShow: displays the WWN number of the switch
ChassisShow: displays the status of chassis and WWN cards
IpAddrShow,ipAddrSet: displays the IP address of the CP Blades
HistoryShow, historyLastShow: display history log information
SwitchName: displays the name of the switch
Modify Domain ID
1. View the current Domain ID
Enter the command fabricShow and the Switch ID in the output includes the Domain ID of the switch.
two。 Shut down the switch first
Enter the command swichDisable
3. Configure DomainID
Enter the command configure
Enter y after the Fabric Parameters prompt:
Fabric parameters (yes, y, no, n): [no] y
Enter a unique domain ID at the Domain prompt. Use a domain ID value from 1 through 239 for normal operating mode (FCSW compatible):
Domain: (1.. 239) [1] 3
Respond to the remaining prompts, or press Ctrl-d to accept the other settings and exit.
4. Re-enable the switch
Enter the command swichEnable
Upgrade Firmware
FC10-6 Blade requires Firmware Version 5.3 or above
FC4-16IP Blade and FC4-48 Port Blade require Firmware Version 5.2 or above
FR4-18i router blade requires Firmware Version 5.1 or above
If M48 has an active / standby Control Processor and the active / standby CP is in the synchronized state, the upgrade process can be carried out online without interfering with data traffic.
If the M48 has only one CP, the reboot switch is required to activate the new Firmware during the microcode upgrade process, and data access is interrupted.
It takes about 15 minutes to upgrade M48 Firmware
1. Save configuration information of the switch
ConfigUpload
two。 Save the supportsave of the active and standby Control Processor Blade
Use the command ipAddrShow to view the IP address of the master / slave CP
Use telent to log in to the master and slave CP, and use the command supportSave to collect the supportsave files of the master and slave CP.
3. Look at the XXX_SUPPORTSHOW file in supportsave and find the following fields:
/ bin/df:
Filesystem 1k-blocks Used Available Use% Mounted on
/ dev/root 120112 61128 58984 51%
/ dev/hda2 120128 72356 47772 60% / mnt
Verify that the utilization of Flash memory does not exceed 90%. Otherwise, you need to contact the second line Support.
4. Clear the error report information currently saved in the switch
ErrClear
5. Check the current Firmware version of each CP Blades
FirmwareShow
6. Check whether the status of the active / standby CP is synchronized.
HaShow: check whether the master / slave CP is in Synchronized state.
If the active / standby CP is not in the synchronized state, use the command haSyncStart to synchronize the active / standby CP.
Switch:admin > hashow
Local CP (Slot 5, CP0): Active, Warm Recovered
Remote CP (Slot 6, CP1): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
7. Upgrade Firmware
If the SAN switch supports HA, use the command firmwareDownload and upgrade the active and standby Control Blade.
If the SAN switch does not support HA, use the command firmwareDownload-s to upgrade each Control Blade separately.
8. Check whether the Firmware upgrade is complete
FirmwareDownloadStatus
9. Check the current Firmware version of each CP Blades again
FirmwareShow
Activate the software License
1. View the currently activated License
LicenseShow
SwDir:admin > licenseShow
AAbbccDDeeFFeeGG:
Web license
Zoning license
Extended Fabric license
Fabric Watch license
Performance Monitor license
Trunking license
Security license
two。 To obtain and activate License, you need to provide 64-bit ChasisID. Check the ChasisID:
LicenseIdShow
3. Activate a new License
LicenseAdd "key"
4. Delete the old License
LicenseRemove "key"
The reboot switch is required after deleting the License, or the switchDisable/switchEnable restarts the switch to invalidate the License that needs to be deleted.
Back up the configuration information of the switch
1. Use the configUpload command to save the configuration file on your computer
Note: configUpload cannot save the user's password information.
two。 Use the Telnet command to view the configuration information and Session Log
ConfigShow
IpaddrShow
LicenseShow
SwitchShow
3. Save the SupportSave file
SupportSave
Install / replace Port Blade
1. View the status of the current Port Blade
SwitchShow
two。 Check the part number of the Port Blade that needs to be replaced
ChassisShow
Contains the spare number, serial number, and status of the Port Blade.
3. Confirm that there is no data traffic on the Port Blade that needs to be replaced
Check the Port Blade status LED to make sure that all Port Speed and Port Status status lights are in the OFF state.
4. Check after installation / replacement
NsShow
NsAllShow
FabricShow
Replace the M48 CP (Control Processor) Blade
It is estimated to take 30 minutes.
Note:
1. Do not remove the faulty CP Blade before you get the new CP Blade spare parts and you can start physical replacement, so as not to affect the heat dissipation.
2. The CP Blade of Acitve status will automatically mirror the configuration information to the CP Blade of Standby status. The CP Blade must be replaced online to achieve automatic synchronization of configuration information.
3. The newly replaced CP Blade inherits the IP address and hostname of the old CP Blade.
4. Make sure that both CP Blade are in the same FOS version.
Check before replacement:
1. Check to see if the Status LED on the CPBlade is × × and the PowerLED is lit.
two。 Use the slotShow command to see if CP Blade is in the Enabled state.
3. Whether an error is reported using the hsShow command.
4. Use the errShow command to view the error log.
Backup configuration information:
1. Switch the healthy CPBlade to the CPBlade in the current Active state.
Use the command haFailover to achieve manual switching between CP Blade.
Use the command haShow to confirm that the CPBlade in the current Active state is a healthy CPBlade.
Wait for the Status LED on the CP Blade to turn off, indicating that the HA Failover is complete.
two。 Use the firmwareShow command to check the Firmware version
3. Use the haDisable command to temporarily cancel the Failover function.
4. Use the configUpload command to save configuration information.
SwDir:admin > configUpload
Protocol (scp or ftp) [ftp]: ftp
Server Name or IP Address [host]: 123.456.78.90
User Name [None]: user
File Name [config.txt]: config.txt
Password: xxxxxxxx
Upload complete
Replace the CP Blade
1. Turn the power switch on the CPBlade to the Down position and turn off the power to the CPBlade.
two。 Unplug the CPBlade.
3. Insert a new CP Blade.
4. Turn the power switch on the CPBlade to the Up position to power the CPBlade.
Verification after replacement:
1. Wait for the Status LED on both CP Blade to go off.
two。 Use the command haEnable to enable the HA Failover feature.
3. Use the command haShow to check the HA status and confirm "HAEnabled Heartbeat Up" and "HA-statein sync".
4. Use the command slotShow to check that all CP Blade are in the Enabled state.
SwDir:admin > slotShow
Slot Blade Type ID Status--
1 SW BLADE 17 ENABLED
2 SW BLADE 17 ENABLED
3 SW BLADE 17 ENABLED
4 SW BLADE 17 ENABLED
5 CP BLADE 16 ENABLED
6 CP BLADE 16 ENABLED
7 SW BLADE 17 ENABLED
8 SW BLADE 17 ENABLED
9 SW BLADE 17 ENABLED
10 SW BLADE 17 ENABLED
SwDir:admin >
5. Use the command firmwareShow command to check that the FW version is consistent
SwDir:admin > firmwareShow
Local CP (Slot 6, CP1): Active
Primary partition: v5.0.1
Secondary Partition: v5.0.1
Remote CP (Slot 5, CP0): Standby
Primary partition: v5.0.1
Secondary Partition: v5.0.1
Note: If Local CP and Remote CP have different versions of firmware, please retry firmwaredownload command.
SwDir:admin >
6. Use the firmwareDownload-s command to upgrade only the microcode of a single CP Blade.
7. Use the firmwareDownloadStatus command to verify that the microcode installation is successful.
ZONE configuration
1. Concept
Zone configuration:
Is a collection of zone. A zone can belong to different zone configuration at the same time. When a zone configuration takes effect, all zone belonging to that zone configuration take effect.
Basic steps for creating a zone configuration:
Create alias-> create zone-> create zone configuration-> cfgSave-> cfgEnable
two。 Common command
ConfigUpload: backing up zone configuration
ConfigDownload: restoring zone configuration
3. Create an alias
(1) aliCreate
(2) cfgSave
Switch:admin > alicreate "array1", "2pr 32; 2jr 33; 2pr 34; 4pr 4"
Switch:admin > alicreate "array2", "21000000140000150015003700c140566 23; 4jue 3"
Switch:admin > alicreate "loop1", "4je 6"
Switch:admin > cfgsave
You are about to save the Defined zoning configuration. This
Action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
Take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
4. Add a member to the alias
(1) aliAdd
(2) cfgSave
Switch:admin > aliadd "array1", "1pm 2"
Switch:admin > aliadd "array2", "21:00:00:20:37:0c:72:51"
Switch:admin > aliadd "loop1", "5jue 6"
Switch:admin > cfgsave
You are about to save the Defined zoning configuration. This
Action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
Take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
5. Delete a member from an alias
(1) aliRemove
(2) cfgSave
Switch:admin > aliremove "array1", "1pm 2"
Switch:admin > aliremove "array2", "21:00:00:20:37:0c:72:51"
Switch:admin > aliremove "loop1", "4je 6"
Switch:admin > cfgsave
You are about to save the Defined zoning configuration. This
Action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
Take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
6. Delete alias
Switch:admin > alidelete "array1"
Switch:admin > cfgsave
7. View aliases in the definition configuration
Switch:admin > alishow "arr*"
Alias: array1 21:00:00:20:37:0c:76:8c
Alias: array2 21:00:00:20:37:0c:66:23
8. Create zone
Switch:admin > zonecreate "greenzone", "2pr 32; 2jr 33; 2pr 34; 4pr 4"
Switch:admin > zonecreate "redzone", "21000000140000150015003700c140566 23; 4jue 3"
Switch:admin > zonecreate "broadcast", "1 recorder 2; 2 pr 33; 2 pr 34"
Switch:admin > cfgsave
9. Add equipment to zone
Switch:admin > zoneadd "greenzone", "1pm 2"
Switch:admin > zoneadd "redzone", "21:00:00:20:37:0c:72:51"
Switch:admin > zoneadd "broadcast", "1jue 3"
Switch:admin > cfgsave
10. Remove a device from zone
Switch:admin > zoneremove "greenzone", "1pm 2"
Switch:admin > zoneremove "redzone", "21:00:00:20:37:0c:72:51"
Switch:admin > zoneremove "broadcast", "2jue 34"
Switch:admin > cfgsave
11. Delete a zone
Switch:admin > zonedelete "redzone"
Switch:admin > cfgsave
twelve。 View the zone in the currently defined configuration
The following command looks at all zone that begin with the letters A, B, and C.
Switch:admin > zoneshow "[Amurc] *"
Zone: Blue_zone 1, array1; 1, 2; array2
Zone: Bobs_zone 4, 5; 4, 6; 4, 7; 4, 8; 4, 9
13. Create a zone configuration
Switch:admin > cfgcreate "NEW_cfg", "redzone; bluezone; greenzone"
Switch:admin > cfgsave
14. Add zone to the zone configuration member
Switch:admin > cfgadd "newcfg", "bluezone"
Switch:admin > cfgsave
15. Remove zone from zone configuration member
Switch:admin > cfgremove "NEW_cfg", "redzone"
Switch:admin > cfgsave
16. Delete zone configuration
Switch:admin > cfgdelete "testcfg"
Switch:admin > cfgsave
17. Undo changes to the zone configuration
The command cfgTransAbort undoes all unsaved changes and reverts to the state it was in the last time cfgSave was executed.
18. View zone configuration information
CfgShow takes no parameters: displays all zone configuration information in the defined and effective states
Switch:admin > cfgshow
Defined configuration:
Cfg: USA1 Blue_zone
Cfg: USA_cfg Red_zone; Blue_zone
Zone: Blue_zone
1dint 1; array1; 1p2; array2
Zone: Red_zone
1 loop1 0;
Alias: array1 21JV 0000Rd 20Rd 37Rd 0cRG 76Rd 8cTory 000000VOV 37VOCLAR 71RO 02
Alias: array2 21V 0000R 20R 37R 0c 76R 22; 21:00:00:20:37:0c:76:28
Alias: loop1 21JV 0000Rd 20Rd 37Vl0cRU 76 Rd 85th th 21Rd 0000Rd 0cRL 71DF
Effective configuration:
Cfg: USA_cfg
Zone: Blue_zone
1,1
21:00:00:20:37:0c:76:8c
21:00:00:20:37:0c:71:02
1,2
21:00:00:20:37:0c:76:22
21:00:00:20:37:0c:76:28
Zone: Red_zone
1,0
21:00:00:20:37:0c:76:85
21:00:00:20:37:0c:71:df
19. Save zone configuration
Switch:admin > cfgenable "USA_cfg"
You are about to enable a new zoning configuration.
This action will replace the old zoning configurationwith the
Current configuration selected.
Do you want to enable 'USA_cfg' configuration (yes, yjimin no, n): [no] y
Zone config "USA_cfg" is in effect
Updating flash...
Manage the network port. The default IP address is 192.168.0.1 and the mask is 255.255.255.0.
Default user name: admin, default password password
1. SwitchStatusShow
View the overall health status of the switch
Switch:admin > switchstatusshow
Switch Health Report
Switch Name: SWFCR
IP address: 10.33.54.176
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
View basic switch configuration information
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 switchstate: Online, Offline, Testing, or Faulty.
-switchrole-Displays the switchrole: 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
View port statu
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
Check the status of the switch cooling fan
Enter the fanShow command:
Switch:admin > fanshow
Fan 1 is OK speed is 7010 RPM
Fan 2 is OK speed is 7180 RPM
Fan 3 is OK speed is 7068 RPM
Fan 4 is OK speed is 7116 RPM
Fan 5 is OK speed is 7155 RPM
Fan 6 is OK speed is 7001 RPM
Switch:admin >
5. PsShow
View the power status of the switch
Note: if FR4-18i, FC4-16IP, FC10-6, FC8-48 boards are installed, 4 power supplies are required.
Enter the psShow command:
Switch:admin > psshow
Power Supply # 1 is OK
0335, FF2Z0007161, 60-0000739-02, DCJ3002-01p, Brecory, FF2Z0007161
Power Supply # 2 is faulty
0335 FF2Z0007176, 60-0000739-02, DCJ3002-01p, B, FF2Z0007176
Switch:admin >
6. TempShow
View the ambient temperature of the switch
Enter the tempShow command:
Switch:admin > tempshow
Index Status Centigrade Fahrenheit
1 OK 21 70
2 OK 22 72
3 OK 29 84
4 OK 24 75
5 OK 25 77
Switch:admin >
7. ErrDump 、 errShow 、 errClear
View the internal message log of the switch
To display the system message log, with no page breaks
Enter the errDump command.
To display the system message log one at a time
Enter the errShow command.
To clear the system message log
Enter the errClear command.
8. SupportShow 、 supportSave 、 pdShow
Collect the diagnostic data of the switch
SupportShow
Display diagnostic and status information
SupportSave
Package and upload data to a designated FTP server
The command prompts for an FTP server, packages the following files, and sends them to the specified server:
? The output of the supportShow command
? The contents of any trace dump files on the switch
? System message logs (for Brocade directors, supportSave saves the system message logs
From both of the CP blades)
PdShow
Display the contents of the panic dump file to help diagnose the cause of the system panic
9. NsShow 、 nsAllShow 、 fabricShow
Check the devices connected to the switch
NsShow
Displays all devices connected to the switch
NsAllShow
Show all devices connected to the Fabric
FabricShow
Show all switches in Fabric
10. LicenseShow 、 wwn
Check the license file and the switch WWN number
11. Version
Check the version of Fabric OS and the following message is displayed:
-Kernel: displays the version of switch kernel operating system.
-Fabric OS: displays the version of switch Fabric OS.
-Made on: displays the build date of firmware running in switch.
-Flash: displays the install date of firmware stored in nonvolatile memory.
-BootProm: displays the version of the firmware stored in the boot PROM.
12. HaShow
View the status of Control Blade
SwDir: admin > haShow
Local CP (Slot 6, CP1): Active
Remote CP (Slot 5, CP0): Standby
HA Enabled, Heartbeat Up, State Synchronized
13. SlotShow
View the status of each Blade
14. PortCfgSpeed
Modify the rate of the port
15. PortEnable or portCfgPersistentEnable
Reset port
16. Check the status of WWN card
If the following commands are not executed correctly, the WWN card needs to be replaced:
Www,chassisShow: displays the WWN number of the switch
ChassisShow: displays the status of chassis and WWN cards
IpAddrShow,ipAddrSet: displays the IP address of the CP Blades
HistoryShow, historyLastShow: display history log information
SwitchName: displays the name of the switch
Modify Domain ID
1. View the current Domain ID
Enter the command fabricShow and the Switch ID in the output includes the Domain ID of the switch.
two。 Shut down the switch first
Enter the command swichDisable
3. Configure DomainID
Enter the command configure
Enter y after the Fabric Parameters prompt:
Fabric parameters (yes, y, no, n): [no] y
Enter a unique domain ID at the Domain prompt. Use a domain ID value from 1 through 239 for normal operating mode (FCSW compatible):
Domain: (1.. 239) [1] 3
Respond to the remaining prompts, or press Ctrl-d to accept the other settings and exit.
4. Re-enable the switch
Enter the command swichEnable
Upgrade Firmware
FC10-6 Blade requires Firmware Version 5.3 or above
FC4-16IP Blade and FC4-48 Port Blade require Firmware Version 5.2 or above
FR4-18i router blade requires Firmware Version 5.1 or above
If M48 has an active / standby Control Processor and the active / standby CP is in the synchronized state, the upgrade process can be carried out online without interfering with data traffic.
If the M48 has only one CP, the reboot switch is required to activate the new Firmware during the microcode upgrade process, and data access is interrupted.
It takes about 15 minutes to upgrade M48 Firmware
1. Save configuration information of the switch
ConfigUpload
two。 Save the supportsave of the active and standby Control Processor Blade
Use the command ipAddrShow to view the IP address of the master / slave CP
Use telent to log in to the master and slave CP, and use the command supportSave to collect the supportsave files of the master and slave CP.
3. Look at the XXX_SUPPORTSHOW file in supportsave and find the following fields:
/ bin/df:
Filesystem 1k-blocks Used Available Use% Mounted on
/ dev/root 120112 61128 58984 51%
/ dev/hda2 120128 72356 47772 60% / mnt
Verify that the utilization of Flash memory does not exceed 90%. Otherwise, you need to contact the second line Support.
4. Clear the error report information currently saved in the switch
ErrClear
5. Check the current Firmware version of each CP Blades
FirmwareShow
6. Check whether the status of the active / standby CP is synchronized.
HaShow: check whether the master / slave CP is in Synchronized state.
If the active / standby CP is not in the synchronized state, use the command haSyncStart to synchronize the active / standby CP.
Switch:admin > hashow
Local CP (Slot 5, CP0): Active, Warm Recovered
Remote CP (Slot 6, CP1): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
7. Upgrade Firmware
If the SAN switch supports HA, use the command firmwareDownload and upgrade the active and standby Control Blade.
If the SAN switch does not support HA, use the command firmwareDownload-s to upgrade each Control Blade separately.
8. Check whether the Firmware upgrade is complete
FirmwareDownloadStatus
9. Check the current Firmware version of each CP Blades again
FirmwareShow
Activate the software License
1. View the currently activated License
LicenseShow
SwDir:admin > licenseShow
AAbbccDDeeFFeeGG:
Web license
Zoning license
Extended Fabric license
Fabric Watch license
Performance Monitor license
Trunking license
Security license
two。 To obtain and activate License, you need to provide 64-bit ChasisID. Check the ChasisID:
LicenseIdShow
3. Activate a new License
LicenseAdd "key"
4. Delete the old License
LicenseRemove "key"
The reboot switch is required after deleting the License, or the switchDisable/switchEnable restarts the switch to invalidate the License that needs to be deleted.
Back up the configuration information of the switch
1. Use the configUpload command to save the configuration file on your computer
Note: configUpload cannot save the user's password information.
two。 Use the Telnet command to view the configuration information and Session Log
ConfigShow
IpaddrShow
LicenseShow
SwitchShow
3. Save the SupportSave file
SupportSave
Install / replace Port Blade
1. View the status of the current Port Blade
SwitchShow
two。 Check the part number of the Port Blade that needs to be replaced
ChassisShow
Contains the spare number, serial number, and status of the Port Blade.
3. Confirm that there is no data traffic on the Port Blade that needs to be replaced
Check the Port Blade status LED to make sure that all Port Speed and Port Status status lights are in the OFF state.
4. Check after installation / replacement
NsShow
NsAllShow
FabricShow
Replace the M48 CP (Control Processor) Blade
It is estimated to take 30 minutes.
Note:
1. Do not remove the faulty CP Blade before you get the new CP Blade spare parts and you can start physical replacement, so as not to affect the heat dissipation.
2. The CP Blade of Acitve status will automatically mirror the configuration information to the CP Blade of Standby status. The CP Blade must be replaced online to achieve automatic synchronization of configuration information.
3. The newly replaced CP Blade inherits the IP address and hostname of the old CP Blade.
4. Make sure that both CP Blade are in the same FOS version.
Check before replacement:
1. Check to see if the Status LED on the CPBlade is × × and the PowerLED is lit.
two。 Use the slotShow command to see if CP Blade is in the Enabled state.
3. Whether an error is reported using the hsShow command.
4. Use the errShow command to view the error log.
Backup configuration information:
1. Switch the healthy CPBlade to the CPBlade in the current Active state.
Use the command haFailover to achieve manual switching between CP Blade.
Use the command haShow to confirm that the CPBlade in the current Active state is a healthy CPBlade.
Wait for the Status LED on the CP Blade to turn off, indicating that the HA Failover is complete.
two。 Use the firmwareShow command to check the Firmware version
3. Use the haDisable command to temporarily cancel the Failover function.
4. Use the configUpload command to save configuration information.
SwDir:admin > configUpload
Protocol (scp or ftp) [ftp]: ftp
Server Name or IP Address [host]: 123.456.78.90
User Name [None]: user
File Name [config.txt]: config.txt
Password: xxxxxxxx
Upload complete
Replace the CP Blade
1. Turn the power switch on the CPBlade to the Down position and turn off the power to the CPBlade.
two。 Unplug the CPBlade.
3. Insert a new CP Blade.
4. Turn the power switch on the CPBlade to the Up position to power the CPBlade.
Verification after replacement:
1. Wait for the Status LED on both CP Blade to go off.
two。 Use the command haEnable to enable the HA Failover feature.
3. Use the command haShow to check the HA status and confirm "HAEnabled Heartbeat Up" and "HA-statein sync".
4. Use the command slotShow to check that all CP Blade are in the Enabled state.
SwDir:admin > slotShow
Slot Blade Type ID Status--
1 SW BLADE 17 ENABLED
2 SW BLADE 17 ENABLED
3 SW BLADE 17 ENABLED
4 SW BLADE 17 ENABLED
5 CP BLADE 16 ENABLED
6 CP BLADE 16 ENABLED
7 SW BLADE 17 ENABLED
8 SW BLADE 17 ENABLED
9 SW BLADE 17 ENABLED
10 SW BLADE 17 ENABLED
SwDir:admin >
5. Use the command firmwareShow command to check that the FW version is consistent
SwDir:admin > firmwareShow
Local CP (Slot 6, CP1): Active
Primary partition: v5.0.1
Secondary Partition: v5.0.1
Remote CP (Slot 5, CP0): Standby
Primary partition: v5.0.1
Secondary Partition: v5.0.1
Note: If Local CP and Remote CP have different versions of firmware, please retry firmwaredownload command.
SwDir:admin >
6. Use the firmwareDownload-s command to upgrade only the microcode of a single CP Blade.
7. Use the firmwareDownloadStatus command to verify that the microcode installation is successful.
ZONE configuration
1. Concept
Zone configuration:
Is a collection of zone. A zone can belong to different zone configuration at the same time. When a zone configuration takes effect, all zone belonging to that zone configuration take effect.
Basic steps for creating a zone configuration:
Create alias-> create zone-> create zone configuration-> cfgSave-> cfgEnable
two。 Common command
ConfigUpload: backing up zone configuration
ConfigDownload: restoring zone configuration
3. Create an alias
(1) aliCreate
(2) cfgSave
Switch:admin > alicreate "array1", "2pr 32; 2jr 33; 2pr 34; 4pr 4"
Switch:admin > alicreate "array2", "21000000140000150015003700c140566 23; 4jue 3"
Switch:admin > alicreate "loop1", "4je 6"
Switch:admin > cfgsave
You are about to save the Defined zoning configuration. This
Action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
Take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
4. Add a member to the alias
(1) aliAdd
(2) cfgSave
Switch:admin > aliadd "array1", "1pm 2"
Switch:admin > aliadd "array2", "21:00:00:20:37:0c:72:51"
Switch:admin > aliadd "loop1", "5jue 6"
Switch:admin > cfgsave
You are about to save the Defined zoning configuration. This
Action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
Take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
5. Delete a member from an alias
(1) aliRemove
(2) cfgSave
Switch:admin > aliremove "array1", "1pm 2"
Switch:admin > aliremove "array2", "21:00:00:20:37:0c:72:51"
Switch:admin > aliremove "loop1", "4je 6"
Switch:admin > cfgsave
You are about to save the Defined zoning configuration. This
Action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
Take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y
6. Delete alias
Switch:admin > alidelete "array1"
Switch:admin > cfgsave
7. View aliases in the definition configuration
Switch:admin > alishow "arr*"
Alias: array1 21:00:00:20:37:0c:76:8c
Alias: array2 21:00:00:20:37:0c:66:23
8. Create zone
Switch:admin > zonecreate "greenzone", "2pr 32; 2jr 33; 2pr 34; 4pr 4"
Switch:admin > zonecreate "redzone", "21000000140000150015003700c140566 23; 4jue 3"
Switch:admin > zonecreate "broadcast", "1 recorder 2; 2 pr 33; 2 pr 34"
Switch:admin > cfgsave
9. Add equipment to zone
Switch:admin > zoneadd "greenzone", "1pm 2"
Switch:admin > zoneadd "redzone", "21:00:00:20:37:0c:72:51"
Switch:admin > zoneadd "broadcast", "1jue 3"
Switch:admin > cfgsave
10. Remove a device from zone
Switch:admin > zoneremove "greenzone", "1pm 2"
Switch:admin > zoneremove "redzone", "21:00:00:20:37:0c:72:51"
Switch:admin > zoneremove "broadcast", "2jue 34"
Switch:admin > cfgsave
11. Delete a zone
Switch:admin > zonedelete "redzone"
Switch:admin > cfgsave
twelve。 View the zone in the currently defined configuration
The following command looks at all zone that begin with the letters A, B, and C.
Switch:admin > zoneshow "[Amurc] *"
Zone: Blue_zone 1, array1; 1, 2; array2
Zone: Bobs_zone 4, 5; 4, 6; 4, 7; 4, 8; 4, 9
13. Create a zone configuration
Switch:admin > cfgcreate "NEW_cfg", "redzone; bluezone; greenzone"
Switch:admin > cfgsave
14. Add zone to the zone configuration member
Switch:admin > cfgadd "newcfg", "bluezone"
Switch:admin > cfgsave
15. Remove zone from zone configuration member
Switch:admin > cfgremove "NEW_cfg", "redzone"
Switch:admin > cfgsave
16. Delete zone configuration
Switch:admin > cfgdelete "testcfg"
Switch:admin > cfgsave
17. Undo changes to the zone configuration
The command cfgTransAbort undoes all unsaved changes and reverts to the state it was in the last time cfgSave was executed.
18. View zone configuration information
CfgShow takes no parameters: displays all zone configuration information in the defined and effective states
Switch:admin > cfgshow
Defined configuration:
Cfg: USA1 Blue_zone
Cfg: USA_cfg Red_zone; Blue_zone
Zone: Blue_zone
1dint 1; array1; 1p2; array2
Zone: Red_zone
1 loop1 0;
Alias: array1 21JV 0000Rd 20Rd 37Rd 0cRG 76Rd 8cTory 000000VOV 37VOCLAR 71RO 02
Alias: array2 21V 0000R 20R 37R 0c 76R 22; 21:00:00:20:37:0c:76:28
Alias: loop1 21JV 0000Rd 20Rd 37Vl0cRU 76 Rd 85th th 21Rd 0000Rd 0cRL 71DF
Effective configuration:
Cfg: USA_cfg
Zone: Blue_zone
1,1
21:00:00:20:37:0c:76:8c
21:00:00:20:37:0c:71:02
1,2
21:00:00:20:37:0c:76:22
21:00:00:20:37:0c:76:28
Zone: Red_zone
1,0
21:00:00:20:37:0c:76:85
21:00:00:20:37:0c:71:df
19. Save zone configuration
Switch:admin > cfgenable "USA_cfg"
You are about to enable a new zoning configuration.
This action will replace the old zoning configurationwith the
Current configuration selected.
Do you want to enable 'USA_cfg' configuration (yes, yjimin no, n): [no] y
Zone config "USA_cfg" is in effect
Updating flash...
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.