影评网站怎么做,中铁建设集团有限公司梅洪亮,wordpress为什么慢,珠海定制网站建设推广Brocade SAN交换机常用命令使用电脑连接Brocade SAN交换机常用命令使用电脑连接管理网口#xff0c;默认IP地址为#xff1a;192.168.0.1#xff0c;掩码#xff1a;255.255.255.0默认用户名#xff1a;admin#xff0c;默认密码password1. switchStatusShow查看交换机的… Brocade SAN交换机常用命令使用电脑连接Brocade SAN交换机常用命令使用电脑连接管理网口默认IP地址为192.168.0.1掩码255.255.255.0默认用户名admin默认密码password1. switchStatusShow查看交换机的总体健康状态switch:admin switchstatusshowSwitch Health ReportSwitch Name: SWFCRIP address: 10.33.54.176SwitchState: MARGINALDuration: 863:23Power supplies monitor MARGINALTemperatures monitor HEALTHYFans monitor HEALTHYWWN servers monitor HEALTHYStandby CP monitor HEALTHYBlades monitor HEALTHYFlash monitor HEALTHYMarginal ports monitor HEALTHYFaulty ports monitor HEALTHYMissing SFPs monitor HEALTHYAll ports are healthyswitch:admin2. 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 specifiedswitch:- 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 befixed, 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 oran E_Port, the trunking state, or upstream or downstream status3. portShow查看端口状态switch:admin switch:user portshow 0portName:portHealth: OFFLINEAuthentication: NoneportDisableReason: NoneportCFlags: 0x1portFlags: 0x4001 PRESENT U_PORT LEDportType: 4.1portState: 2 OfflineportPhys: 2 No_ModuleportScn: 0port generation number: 0portId: 010000portIfId: 43020020portWwn: 20:00:00:60:69:00:02:53portWwn of device(s) connected:Distance: normalportSpeed: N2GbpsLE domain: 0Interrupts: 0 Link_failure: 0 Frjt: 0Unknown: 0 Loss_of_sync: 0 Fbsy: 0Lli: 0 Loss_of_sig: 0Proc_rqrd: 0 Protocol_err: 0Timed_out: 0 Invalid_word: 0Rx_flushed: 0 Invalid_crc: 0Tx_unavail: 0 Delim_err: 0Free_buffer: 0 Address_err: 0Port part of other ADs: Yes4. fanShow查看交换机散热风扇的状态Enter the fanShow command:switch:admin fanshowFan 1 is OK speed is 7010 RPMFan 2 is OK speed is 7180 RPMFan 3 is OK speed is 7068 RPMFan 4 is OK speed is 7116 RPMFan 5 is OK speed is 7155 RPMFan 6 is OK speed is 7001 RPMswitch:admin5. psShow查看交换机的电源状态注如果安装FR4-18i、FC4-16IP、FC10-6、FC8-48板需要满配4个电源Enter the psShow command:switch:admin psshowPower Supply #1 is OK0335,FF2Z0007161,60-0000739-02, B,,DCJ3002-01P, B,FF2Z0007161Power Supply #2 is faulty0335,FF2Z0007176,60-0000739-02, B,,DCJ3002-01P, B,FF2Z0007176switch:admin6. tempShow查看交换机的环境温度Enter the tempShow command:switch:admin tempshowIndex Status Centigrade Fahrenheit----------------------------------------------------1 OK 21 702 OK 22 723 OK 29 844 OK 24 755 OK 25 77switch:admin7. errDump、errShow、errClear查看交换机的内部消息日志To display the system message log, with no page breaksEnter the errDump command.To display the system message log one at a timeEnter the errShow command.To clear the system message logEnter the errClear command.8. supportShow、supportSave、pdShow收集交换机的诊断数据supportShow显示诊断信息和状态信息supportSave将数据打包、上传至指定的FTP服务器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 logsfrom both of the CP blades)pdShow显示panic dump文件的内容帮助诊断系统panic的原因9. nsShow、nsAllShow、fabricShow检查连接到交换机的设备nsShow显示连接到交换机的所有设备nsAllShow显示连接到Fabric的所有设备fabricShow显示Fabric中的所有交换机10. licenseShow、wwn检查license文件和交换机的WWN号11. version检查Fabric OS的版本将显示如下信息- 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查看Control Blade的状态swDir: admin haShowLocal CP (Slot 6, CP1): ActiveRemote CP (Slot 5, CP0): StandbyHA Enabled, Heartbeat Up, State Synchronized13. slotShow查看各个Blade的状态14. portCfgSpeed修改端口的速率15. portEnable或portCfgPersistentEnableReset端口16. 检查WWN卡状态下列命令如果不能正确执行则说明WWN卡需要更换wwwchassisShow显示交换机的WWN号chassisShow显示chassis和WWN卡的状态ipAddrShowipAddrSet显示CP Blades的IP地址historyShow、historyLastShow显示历史日志信息switchName显示交换机的名字修改Domain ID1. 查看当前的Domain ID输入命令fabricShow输出结果中的Switch ID即包括交换机的Domain ID。2. 先关闭交换机输入命令swichDisable3. 配置DomainID输入命令configureEnter y after the Fabric Parameters prompt:Fabric parameters (yes, y, no, n): [no] yEnter 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] 3Respond to the remaining prompts, or press Ctrl-d to accept the other settings and exit.4. 重新启用交换机输入命令swichEnable升级FirmwareFC10-6 Blade需要Firmware Version 5.3以上FC4-16IP Blade、FC4-48 Port Blade需要Firmware Version 5.2以上FR4-18i router blade需要Firmware Version 5.1以上如果M48有主备Control Processor且主备CP处于synchronized状态则升级过程可在线进行不干扰数据流量。如果M48只有一个CP则升级微码过程中需要reboot交换机来激活新的Firmware数据访问会中断。升级M48 Firmware约需15分钟1. 保存交换机的配置信息configUpload2. 保存主备Control Processor Blade的supportsave使用命令ipAddrShow查看主备CP的IP地址使用telent分别登录主备CP使用命令supportSave分别收集主备CP的supportsave文件。3. 查看supportsave中的XXX_SUPPORTSHOW文件查找如下字段/bin/df:Filesystem 1k-blocks Used Available Use% Mounted on/dev/root 120112 61128 58984 51% //dev/hda2 120128 72356 47772 60% /mnt确认Flash存储器的使用率不超过90%。否则需联系二线Support。4. 清除交换机中当前保存的error report信息errClear5. 检查当前各个CP Blades的Firmware版本firmwareShow6. 检查主备CP状态是否处于同步状态haShow查看主备CP是否处于Synchronized状态如果主备CP不处于同步状态则使用命令haSyncStart同步主备CP。switch:admin hashowLocal CP (Slot 5, CP0): Active, Warm RecoveredRemote CP (Slot 6, CP1): Standby, HealthyHA enabled, Heartbeat Up, HA State synchronized7. 升级Firmware如果SAN交换机支持HA则使用命令firmwareDownload同时升级主备Control Blade。如果SAN交换机不支持HA则使用命令firmwareDownload-s分别升级每个Control Blade。8. 检查Firmware升级是否完成firmwareDownloadStatus9. 再次检查当前各个CP Blades的Firmware版本firmwareShow激活软件License1. 查看当前已经激活的LicenselicenseShowswDir:admin licenseShowAAbbccDDeeFFeeGG:Web licenseZoning licenseExtended Fabric licenseFabric Watch licensePerformance Monitor licenseTrunking licenseSecurity license2. 获取和激活License时需要提供64位的ChasisID查看Chasis IDlicenseIdShow3. 激活新的LicenselicenseAdd “key”4. 删除旧的LicenselicenseRemove “key”删除License后需要reboot交换机或者switchDisable/switchEnable重启交换机以使需要删除的License失效。备份交换机的配置信息1. 使用configUpload命令将配置文件保存在自己的电脑上注configUpload无法保存用户的密码信息。2. 使用Telnet命令查看配置信息并做Session LogconfigShowipaddrShowlicenseShowswitchShow3. 保存SupportSave文件supportSave安装/更换Port Blade1. 查看当前Port Blade的状态switchShow2. 查看需要更换的Port Blade的备件号chassisShow包含有Port Blade的备件号、序列号和状态。3. 确认需要更换的Port Blade上已经没有数据流量查看Port Blade状态LED确保所有的Port Speed和Port Status状态灯处于OFF状态。4. 安装/更换完毕后检查nsShownsAllShowfabricShow更换M48 CP(Control Processor) Blade估计用时30分钟注意事项1. 在拿到新CP Blade备件可以开始物理更换前不要将故障CP Blade取出以免影响散热。2. Acitve状态的CP Blade将自动把配置信息镜像到Standby状态的CP Blade上。必须在线更换CP Blade才能实现配置信息的自动同步。3. 新换上的CP Blade将继承旧CP Blade的IP地址和主机名。4. 确保两个CP Blade处于同一FOS版本。更换前的检查1. 查看CPBlade上的Status LED是否为×××PowerLED是否点亮。2. 使用slotShow命令查看CP Blade是否处于Enabled状态。3. 使用hsShow命令是否报错。4. 使用errShow命令查看错误日志。备份配置信息1. 切换健康的CP Blade为当前Active状态的CPBlade。使用命令haFailover实现CP Blade间的手动切换。使用命令haShow确认当前Active状态的CPBlade为健康的CP Blade。等待CP Blade上的Status LED熄灭表明HA Failover已经完成。2. 使用firmwareShow命令检查Firmware版本3. 使用haDisable命令暂时取消Failover功能。4. 使用configUpload命令保存配置信息。swDir:admin configUploadProtocol (scp or ftp) [ftp]: ftpServer Name or IP Address [host]: 123.456.78.90User Name [None]: userFile Name [config.txt]: config.txtPassword: xxxxxxxxupload complete更换CP Blade1. 将CPBlade上的电源开关拨至Down位置切断CP Blade的电源。2. 拔下CPBlade。3. 插入新的CP Blade。4. 将CPBlade上的电源开关拨至Up位置给CP Blade供电。更换后的验证1. 等待两个CP Blade上的Status LED都熄灭。2. 使用命令haEnable启用HA Failover功能。3. 使用命令haShow检查HA状态确认“HAEnabled Heartbeat Up” and “HA-statein sync”。4. 使用命令slotShow检查所有的CP Blade都处于Enabled状态。swDir:admin slotShowSlot Blade Type ID Status ---------------------------------1 SW BLADE 17 ENABLED2 SW BLADE 17 ENABLED3 SW BLADE 17 ENABLED4 SW BLADE 17 ENABLED5 CP BLADE 16 ENABLED6 CP BLADE 16 ENABLED7 SW BLADE 17 ENABLED8 SW BLADE 17 ENABLED9 SW BLADE 17 ENABLED10 SW BLADE 17 ENABLEDswDir:admin5. 使用命令firmwareShow命令检查FW版本是否一致swDir:admin firmwareShowLocal CP (Slot 6, CP1): ActivePrimary partition: v5.0.1Secondary Partition: v5.0.1Remote CP (Slot 5, CP0): StandbyPrimary partition: v5.0.1Secondary Partition: v5.0.1Note: If Local CP and Remote CP have different versions of firmware, please retry firmwaredownload command.swDir:admin6. 使用firmwareDownload-s命令只升级单独某个CP Blade的微码。7. 使用firmwareDownloadStatus命令验证微码安装是否成功。ZONE配置1. 概念zone configuration为一组zone的集合。一个zone可以同时属于不同的zone configuration之中。当一个zone configuration生效时属于该zone configuration的所有zone都生效。创建zone配置基本步骤创建alias - 创建zone - 创建zone configuration - cfgSave - cfgEnable2. 常用命令configUpload备份zone configurationconfigDownload恢复zone configuration3. 创建别名1aliCreate2cfgSaveswitch:admin alicreate array1, 2,32; 2,33; 2,34; 4,4switch:admin alicreate array2, 21:00:00:20:37:0c:66:23; 4,3switch:admin alicreate loop1, 4,6switch:admin cfgsaveYou are about to save the Defined zoning configuration. Thisaction will only save the changes on the Defined configuration.Any changes made on the Effective configuration will nottake effect until it is re-enabled.Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y4. 向别名中增加成员1aliAdd2cfgSaveswitch:admin aliadd array1, 1,2switch:admin aliadd array2, 21:00:00:20:37:0c:72:51switch:admin aliadd loop1, 5,6switch:admin cfgsaveYou are about to save the Defined zoning configuration. Thisaction will only save the changes on the Defined configuration.Any changes made on the Effective configuration will nottake effect until it is re-enabled.Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y5. 删除别名中的成员1aliRemove2cfgSaveswitch:admin aliremove array1, 1,2switch:admin aliremove array2, 21:00:00:20:37:0c:72:51switch:admin aliremove loop1, 4,6switch:admin cfgsaveYou are about to save the Defined zoning configuration. Thisaction will only save the changes on the Defined configuration.Any changes made on the Effective configuration will nottake effect until it is re-enabled.Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y6. 删除别名switch:admin alidelete array1switch:admin cfgsave7. 查看定义配置中的别名switch:admin alishow arr*alias: array1 21:00:00:20:37:0c:76:8calias: array2 21:00:00:20:37:0c:66:238. 创建zoneswitch:admin zonecreate greenzone,2,32; 2,33; 2,34; 4,4switch:admin zonecreate redzone,21:00:00:20:37:0c:66:23; 4,3switch:admin zonecreate broadcast,1,2; 2,33; 2,34switch:admin cfgsave9. 向zone中增加设备switch:admin zoneadd greenzone,1,2switch:admin zoneadd redzone,21:00:00:20:37:0c:72:51switch:admin zoneadd broadcast,1,3switch:admin cfgsave10. 从zone中删除设备switch:admin zoneremove greenzone,1,2switch:admin zoneremove redzone,21:00:00:20:37:0c:72:51switch:admin zoneremove broadcast,2,34switch:admin cfgsave11. 删除一个zoneswitch:admin zonedelete redzoneswitch:admin cfgsave12. 查看当前定义配置中的zone以下命令查看所有以字母A、B、C开头的zoneswitch:admin zoneshow [A-C]*zone: Blue_zone 1,1; array1; 1,2; array2zone: Bobs_zone 4,5; 4,6; 4,7; 4,8; 4,913. 创建zone配置switch:admin cfgcreate NEW_cfg,redzone; bluezone; greenzoneswitch:admin cfgsave14. 向zone配置成员中加入zoneswitch:admin cfgadd newcfg,bluezoneswitch:admin cfgsave15. 从zone配置成员中删除zoneswitch:admin cfgremove NEW_cfg, redzoneswitch:admin cfgsave16. 删除zone配置switch:admin cfgdelete testcfgswitch:admin cfgsave17. 撤销对zone配置的修改命令cfgTransAbort将撤销所有未保存的修改及恢复到上次执行cfgSave时的状态。18. 查看zone配置信息cfgShow不带任何参数显示处于defined和effective状态的所有zone配置信息switch:admin cfgshowDefined configuration:cfg: USA1 Blue_zonecfg: USA_cfg Red_zone; Blue_zonezone: Blue_zone1,1; array1; 1,2; array2zone: Red_zone1,0; loop1alias: array1 21:00:00:20:37:0c:76:8c;21:00:00:20:37:0c:71:02alias: array2 21:00:00:20:37:0c:76:22; 21:00:00:20:37:0c:76:28alias: loop1 21:00:00:20:37:0c:76:85;21:00:00:20:37:0c:71:dfEffective configuration:cfg: USA_cfgzone: Blue_zone1,121:00:00:20:37:0c:76:8c21:00:00:20:37:0c:71:021,221:00:00:20:37:0c:76:2221:00:00:20:37:0c:76:28zone: Red_zone1,021:00:00:20:37:0c:76:8521:00:00:20:37:0c:71:df19. 保存zone配置switch:admin cfgenable USA_cfgYou are about to enable a new zoning configuration.This action will replace the old zoning configurationwith thecurrent configuration selected.Do you want to enable USA_cfg configuration (yes, y,no, n): [no] yzone config USA_cfg is in effectUpdating flash ...管理网口默认IP地址为192.168.0.1掩码255.255.255.0默认用户名admin默认密码password1. switchStatusShow查看交换机的总体健康状态switch:admin switchstatusshowSwitch Health ReportSwitch Name: SWFCRIP address: 10.33.54.176SwitchState: MARGINALDuration: 863:23Power supplies monitor MARGINALTemperatures monitor HEALTHYFans monitor HEALTHYWWN servers monitor HEALTHYStandby CP monitor HEALTHYBlades monitor HEALTHYFlash monitor HEALTHYMarginal ports monitor HEALTHYFaulty ports monitor HEALTHYMissing SFPs monitor HEALTHYAll ports are healthyswitch:admin2. 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 specifiedswitch:- 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 befixed, 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 oran E_Port, the trunking state, or upstream or downstream status3. portShow查看端口状态switch:admin switch:user portshow 0portName:portHealth: OFFLINEAuthentication: NoneportDisableReason: NoneportCFlags: 0x1portFlags: 0x4001 PRESENT U_PORT LEDportType: 4.1portState: 2 OfflineportPhys: 2 No_ModuleportScn: 0port generation number: 0portId: 010000portIfId: 43020020portWwn: 20:00:00:60:69:00:02:53portWwn of device(s) connected:Distance: normalportSpeed: N2GbpsLE domain: 0Interrupts: 0 Link_failure: 0 Frjt: 0Unknown: 0 Loss_of_sync: 0 Fbsy: 0Lli: 0 Loss_of_sig: 0Proc_rqrd: 0 Protocol_err: 0Timed_out: 0 Invalid_word: 0Rx_flushed: 0 Invalid_crc: 0Tx_unavail: 0 Delim_err: 0Free_buffer: 0 Address_err: 0Port part of other ADs: Yes4. fanShow查看交换机散热风扇的状态Enter the fanShow command:switch:admin fanshowFan 1 is OK speed is 7010 RPMFan 2 is OK speed is 7180 RPMFan 3 is OK speed is 7068 RPMFan 4 is OK speed is 7116 RPMFan 5 is OK speed is 7155 RPMFan 6 is OK speed is 7001 RPMswitch:admin5. psShow查看交换机的电源状态注如果安装FR4-18i、FC4-16IP、FC10-6、FC8-48板需要满配4个电源Enter the psShow command:switch:admin psshowPower Supply #1 is OK0335,FF2Z0007161,60-0000739-02, B,,DCJ3002-01P, B,FF2Z0007161Power Supply #2 is faulty0335,FF2Z0007176,60-0000739-02, B,,DCJ3002-01P, B,FF2Z0007176switch:admin6. tempShow查看交换机的环境温度Enter the tempShow command:switch:admin tempshowIndex Status Centigrade Fahrenheit----------------------------------------------------1 OK 21 702 OK 22 723 OK 29 844 OK 24 755 OK 25 77switch:admin7. errDump、errShow、errClear查看交换机的内部消息日志To display the system message log, with no page breaksEnter the errDump command.To display the system message log one at a timeEnter the errShow command.To clear the system message logEnter the errClear command.8. supportShow、supportSave、pdShow收集交换机的诊断数据supportShow显示诊断信息和状态信息supportSave将数据打包、上传至指定的FTP服务器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 logsfrom both of the CP blades)pdShow显示panic dump文件的内容帮助诊断系统panic的原因9. nsShow、nsAllShow、fabricShow检查连接到交换机的设备nsShow显示连接到交换机的所有设备nsAllShow显示连接到Fabric的所有设备fabricShow显示Fabric中的所有交换机10. licenseShow、wwn检查license文件和交换机的WWN号11. version检查Fabric OS的版本将显示如下信息- 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查看Control Blade的状态swDir: admin haShowLocal CP (Slot 6, CP1): ActiveRemote CP (Slot 5, CP0): StandbyHA Enabled, Heartbeat Up, State Synchronized13. slotShow查看各个Blade的状态14. portCfgSpeed修改端口的速率15. portEnable或portCfgPersistentEnableReset端口16. 检查WWN卡状态下列命令如果不能正确执行则说明WWN卡需要更换wwwchassisShow显示交换机的WWN号chassisShow显示chassis和WWN卡的状态ipAddrShowipAddrSet显示CP Blades的IP地址historyShow、historyLastShow显示历史日志信息switchName显示交换机的名字修改Domain ID1. 查看当前的Domain ID输入命令fabricShow输出结果中的Switch ID即包括交换机的Domain ID。2. 先关闭交换机输入命令swichDisable3. 配置DomainID输入命令configureEnter y after the Fabric Parameters prompt:Fabric parameters (yes, y, no, n): [no] yEnter 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] 3Respond to the remaining prompts, or press Ctrl-d to accept the other settings and exit.4. 重新启用交换机输入命令swichEnable升级FirmwareFC10-6 Blade需要Firmware Version 5.3以上FC4-16IP Blade、FC4-48 Port Blade需要Firmware Version 5.2以上FR4-18i router blade需要Firmware Version 5.1以上如果M48有主备Control Processor且主备CP处于synchronized状态则升级过程可在线进行不干扰数据流量。如果M48只有一个CP则升级微码过程中需要reboot交换机来激活新的Firmware数据访问会中断。升级M48 Firmware约需15分钟1. 保存交换机的配置信息configUpload2. 保存主备Control Processor Blade的supportsave使用命令ipAddrShow查看主备CP的IP地址使用telent分别登录主备CP使用命令supportSave分别收集主备CP的supportsave文件。3. 查看supportsave中的XXX_SUPPORTSHOW文件查找如下字段/bin/df:Filesystem 1k-blocks Used Available Use% Mounted on/dev/root 120112 61128 58984 51% //dev/hda2 120128 72356 47772 60% /mnt确认Flash存储器的使用率不超过90%。否则需联系二线Support。4. 清除交换机中当前保存的error report信息errClear5. 检查当前各个CP Blades的Firmware版本firmwareShow6. 检查主备CP状态是否处于同步状态haShow查看主备CP是否处于Synchronized状态如果主备CP不处于同步状态则使用命令haSyncStart同步主备CP。switch:admin hashowLocal CP (Slot 5, CP0): Active, Warm RecoveredRemote CP (Slot 6, CP1): Standby, HealthyHA enabled, Heartbeat Up, HA State synchronized7. 升级Firmware如果SAN交换机支持HA则使用命令firmwareDownload同时升级主备Control Blade。如果SAN交换机不支持HA则使用命令firmwareDownload-s分别升级每个Control Blade。8. 检查Firmware升级是否完成firmwareDownloadStatus9. 再次检查当前各个CP Blades的Firmware版本firmwareShow激活软件License1. 查看当前已经激活的LicenselicenseShowswDir:admin licenseShowAAbbccDDeeFFeeGG:Web licenseZoning licenseExtended Fabric licenseFabric Watch licensePerformance Monitor licenseTrunking licenseSecurity license2. 获取和激活License时需要提供64位的ChasisID查看Chasis IDlicenseIdShow3. 激活新的LicenselicenseAdd “key”4. 删除旧的LicenselicenseRemove “key”删除License后需要reboot交换机或者switchDisable/switchEnable重启交换机以使需要删除的License失效。备份交换机的配置信息1. 使用configUpload命令将配置文件保存在自己的电脑上注configUpload无法保存用户的密码信息。2. 使用Telnet命令查看配置信息并做Session LogconfigShowipaddrShowlicenseShowswitchShow3. 保存SupportSave文件supportSave安装/更换Port Blade1. 查看当前Port Blade的状态switchShow2. 查看需要更换的Port Blade的备件号chassisShow包含有Port Blade的备件号、序列号和状态。3. 确认需要更换的Port Blade上已经没有数据流量查看Port Blade状态LED确保所有的Port Speed和Port Status状态灯处于OFF状态。4. 安装/更换完毕后检查nsShownsAllShowfabricShow更换M48 CP(Control Processor) Blade估计用时30分钟注意事项1. 在拿到新CP Blade备件可以开始物理更换前不要将故障CP Blade取出以免影响散热。2. Acitve状态的CP Blade将自动把配置信息镜像到Standby状态的CP Blade上。必须在线更换CP Blade才能实现配置信息的自动同步。3. 新换上的CP Blade将继承旧CP Blade的IP地址和主机名。4. 确保两个CP Blade处于同一FOS版本。更换前的检查1. 查看CPBlade上的Status LED是否为×××PowerLED是否点亮。2. 使用slotShow命令查看CP Blade是否处于Enabled状态。3. 使用hsShow命令是否报错。4. 使用errShow命令查看错误日志。备份配置信息1. 切换健康的CP Blade为当前Active状态的CPBlade。使用命令haFailover实现CP Blade间的手动切换。使用命令haShow确认当前Active状态的CPBlade为健康的CP Blade。等待CP Blade上的Status LED熄灭表明HA Failover已经完成。2. 使用firmwareShow命令检查Firmware版本3. 使用haDisable命令暂时取消Failover功能。4. 使用configUpload命令保存配置信息。swDir:admin configUploadProtocol (scp or ftp) [ftp]: ftpServer Name or IP Address [host]: 123.456.78.90User Name [None]: userFile Name [config.txt]: config.txtPassword: xxxxxxxxupload complete更换CP Blade1. 将CPBlade上的电源开关拨至Down位置切断CP Blade的电源。2. 拔下CPBlade。3. 插入新的CP Blade。4. 将CPBlade上的电源开关拨至Up位置给CP Blade供电。更换后的验证1. 等待两个CP Blade上的Status LED都熄灭。2. 使用命令haEnable启用HA Failover功能。3. 使用命令haShow检查HA状态确认“HAEnabled Heartbeat Up” and “HA-statein sync”。4. 使用命令slotShow检查所有的CP Blade都处于Enabled状态。swDir:admin slotShowSlot Blade Type ID Status ---------------------------------1 SW BLADE 17 ENABLED2 SW BLADE 17 ENABLED3 SW BLADE 17 ENABLED4 SW BLADE 17 ENABLED5 CP BLADE 16 ENABLED6 CP BLADE 16 ENABLED7 SW BLADE 17 ENABLED8 SW BLADE 17 ENABLED9 SW BLADE 17 ENABLED10 SW BLADE 17 ENABLEDswDir:admin5. 使用命令firmwareShow命令检查FW版本是否一致swDir:admin firmwareShowLocal CP (Slot 6, CP1): ActivePrimary partition: v5.0.1Secondary Partition: v5.0.1Remote CP (Slot 5, CP0): StandbyPrimary partition: v5.0.1Secondary Partition: v5.0.1Note: If Local CP and Remote CP have different versions of firmware, please retry firmwaredownload command.swDir:admin6. 使用firmwareDownload-s命令只升级单独某个CP Blade的微码。7. 使用firmwareDownloadStatus命令验证微码安装是否成功。ZONE配置1. 概念zone configuration为一组zone的集合。一个zone可以同时属于不同的zone configuration之中。当一个zone configuration生效时属于该zone configuration的所有zone都生效。创建zone配置基本步骤创建alias - 创建zone - 创建zone configuration - cfgSave - cfgEnable2. 常用命令configUpload备份zone configurationconfigDownload恢复zone configuration3. 创建别名1aliCreate2cfgSaveswitch:admin alicreate array1, 2,32; 2,33; 2,34; 4,4switch:admin alicreate array2, 21:00:00:20:37:0c:66:23; 4,3switch:admin alicreate loop1, 4,6switch:admin cfgsaveYou are about to save the Defined zoning configuration. Thisaction will only save the changes on the Defined configuration.Any changes made on the Effective configuration will nottake effect until it is re-enabled.Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y4. 向别名中增加成员1aliAdd2cfgSaveswitch:admin aliadd array1, 1,2switch:admin aliadd array2, 21:00:00:20:37:0c:72:51switch:admin aliadd loop1, 5,6switch:admin cfgsaveYou are about to save the Defined zoning configuration. Thisaction will only save the changes on the Defined configuration.Any changes made on the Effective configuration will nottake effect until it is re-enabled.Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y5. 删除别名中的成员1aliRemove2cfgSaveswitch:admin aliremove array1, 1,2switch:admin aliremove array2, 21:00:00:20:37:0c:72:51switch:admin aliremove loop1, 4,6switch:admin cfgsaveYou are about to save the Defined zoning configuration. Thisaction will only save the changes on the Defined configuration.Any changes made on the Effective configuration will nottake effect until it is re-enabled.Do you want to save Defined zoning configuration only? (yes, y, no, n): [no] y6. 删除别名switch:admin alidelete array1switch:admin cfgsave7. 查看定义配置中的别名switch:admin alishow arr*alias: array1 21:00:00:20:37:0c:76:8calias: array2 21:00:00:20:37:0c:66:238. 创建zoneswitch:admin zonecreate greenzone,2,32; 2,33; 2,34; 4,4switch:admin zonecreate redzone,21:00:00:20:37:0c:66:23; 4,3switch:admin zonecreate broadcast,1,2; 2,33; 2,34switch:admin cfgsave9. 向zone中增加设备switch:admin zoneadd greenzone,1,2switch:admin zoneadd redzone,21:00:00:20:37:0c:72:51switch:admin zoneadd broadcast,1,3switch:admin cfgsave10. 从zone中删除设备switch:admin zoneremove greenzone,1,2switch:admin zoneremove redzone,21:00:00:20:37:0c:72:51switch:admin zoneremove broadcast,2,34switch:admin cfgsave11. 删除一个zoneswitch:admin zonedelete redzoneswitch:admin cfgsave12. 查看当前定义配置中的zone以下命令查看所有以字母A、B、C开头的zoneswitch:admin zoneshow [A-C]*zone: Blue_zone 1,1; array1; 1,2; array2zone: Bobs_zone 4,5; 4,6; 4,7; 4,8; 4,913. 创建zone配置switch:admin cfgcreate NEW_cfg,redzone; bluezone; greenzoneswitch:admin cfgsave14. 向zone配置成员中加入zoneswitch:admin cfgadd newcfg,bluezoneswitch:admin cfgsave15. 从zone配置成员中删除zoneswitch:admin cfgremove NEW_cfg,redzoneswitch:admin cfgsave16. 删除zone配置switch:admin cfgdelete testcfgswitch:admin cfgsave17. 撤销对zone配置的修改命令cfgTransAbort将撤销所有未保存的修改及恢复到上次执行cfgSave时的状态。18. 查看zone配置信息cfgShow不带任何参数显示处于defined和effective状态的所有zone配置信息switch:admin cfgshowDefined configuration:cfg: USA1 Blue_zonecfg: USA_cfg Red_zone; Blue_zonezone: Blue_zone1,1; array1; 1,2; array2zone: Red_zone1,0; loop1alias: array1 21:00:00:20:37:0c:76:8c;21:00:00:20:37:0c:71:02alias: array2 21:00:00:20:37:0c:76:22; 21:00:00:20:37:0c:76:28alias: loop1 21:00:00:20:37:0c:76:85;21:00:00:20:37:0c:71:dfEffective configuration:cfg: USA_cfgzone: Blue_zone1,121:00:00:20:37:0c:76:8c21:00:00:20:37:0c:71:021,221:00:00:20:37:0c:76:2221:00:00:20:37:0c:76:28zone: Red_zone1,021:00:00:20:37:0c:76:8521:00:00:20:37:0c:71:df19. 保存zone配置switch:admin cfgenable USA_cfgYou are about to enable a new zoning configuration.This action will replace the old zoning configurationwith thecurrent configuration selected.Do you want to enable USA_cfg configuration (yes, y,no, n): [no] yzone config USA_cfg is in effectUpdating flash ... 转载于:https://blog.51cto.com/sf1314/2104285