HP StorageWorks 8/20q HP StorageWorks 8/20q Fibre Channel Switch command line
HP StorageWorks 8/20q - Fibre Channel Switch Manual
View all HP StorageWorks 8/20q manuals
Add to My Manuals
Save this manual to your list of manuals |
HP StorageWorks 8/20q manual content summary:
- HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 1
HP StorageWorks 8/20q Fibre Channel Switch command line interface guide Part number: 5697-7198 First edition: February 2008 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 2
an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Microsoft, Windows, Windows XP, and Windows NT and Internet Explorer are U.S. registered trademarks of Microsoft Corporation. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 3
a switch configuration 38 Backing up and restoring a switch configuration 39 Creating the backup file 39 Downloading the configuration file 39 Restoring the configuration file 39 Paging a switch 40 Managing the date and time 40 8/20q Fibre Channel Switch command line interface guide 3 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 4
activation 43 One-step firmware installation 44 Custom firmware installation 45 Testing a switch 45 Online tests for switches 46 Offline tests for switches 46 Connectivity tests for switches 46 Displaying switch test status 47 Canceling a switch test 47 Managing switch feature upgrades - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 5
on the switch 88 10Event log configuration 89 Starting and stopping event logging 89 Displaying the event log 90 Filtering the event log display 91 Controlling messages in the output stream 91 Managing the event log configuration 91 8/20q Fibre Channel Switch command line interface guide 5 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 6
Home messages 96 Configuring the Call Home service 98 Managing the Call Home database 99 Displaying reference 109 Access authority 109 Syntax and operands 109 Notes and examples 109 admin 110 alias 111 callhome 113 config 116 create 119 date 121 exit 122 feature 123 firmware install - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 7
services 221 show setup snmp 222 show setup system 223 show steering 224 show switch 225 show testlog 227 show timezone 228 show topology 229 show users 230 show version 231 shutdown 232 test cancel 233 test port 234 test status 236 test switch 238 uptime 240 8/20q Fibre Channel - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 8
Home service configuration defaults 149 15 Switch configuration defaults 149 16 Port configuration defaults 149 17 Port threshold alarm configuration defaults 150 18 Zoning configuration defaults 151 19 SNMP configuration defaults 151 20 RADIUS configuration defaults 151 21 Switch services - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 9
entries 231 52 Offline port loopback types 234 53 Port test parameters 234 54 Connectivity loopback types 238 55 Offline loopback types 238 56 Switch test parameters 238 57 Zoning database parameters 254 58 Zoning database limits 257 8/20q Fibre Channel Switch command line interface guide 9 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 10
10 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 11
Fibre Channel Switch installation and reference guide • HP StorageWorks 8/20q Fibre Channel Switch QuickTools switch management user guide • HP StorageWorks Simple SAN Connection Manager user guide • HP StorageWorks 8/20q Fibre Channel Switch event message guide • HP StorageWorks 8/20q Fibre Channel - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 12
underlined text (http://www.hp.com) Bold font Italics font Monospace font Monospace, italic font Monospace, bold font Element Cross-reference links and e-mail addresses : Provides clarifying information or specific instructions. NOTE: Provides additional information. TIP: Provides helpful hints - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 13
/support/ • http://www.docs.hp.com Documentation feedback HP welcomes your feedback. To make comments and suggestions about product documentation, please send a message to [email protected]. All submissions become the property of HP. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 14
14 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 15
change the default password. Warning: Your user account password has not been changed. It is strongly recommended that you do so before proceeding. To log off, enter the exit command: 8/20q FC Switch #> exit To log in to a switch through the serial port: 1. Configure the workstation port with the - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 16
command to open an Admin session. A user account must have Admin authority to enter the admin start command. The following is an example of how to open and close an Admin session: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> . . . 8/20q FC Switch (admin) #> admin end Entering commands - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 17
prompts to send the file from the switch to a remote host. Otherwise, you can use FTP to download the support file from the switch to your workstation. NOTE: Support files are deleted from the switch during a power-cycle or switch reset. 8/20q Fibre Channel Switch command line interface guide 17 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 18
20q FC Switch #> create support Log Msg:[Creating the support file - this will take several seconds] FTP the dump support file to another machine? (y/n): y Enter IP 18) ready. 331 Password required for johndoe. Password: xxxxxxx 230 User johndoe logged in. cd bin/support 250 CWD command successful - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 19
creating support and log files: • See "Installing firmware" on page 43. • See "Backing up and restoring a switch configuration" on page 39. • See "Creating and downloading a log file" on page 93. • See "Creating a support file" on page 17. 8/20q Fibre Channel Switch command line interface guide 19 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 20
20 Command line interface usage - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 21
mode, see the HP StorageWorks 8/20q Fibre Channel Switch installation and reference guide. This section describes the following user account configuration tasks: • Displaying user account information, page 21 • Creating user accounts, page 22 • Modifying user accounts and passwords, page 22 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 22
accounts can change their own passwords. • The user command edits and deletes user accounts. • The passwd command changes passwords. The following example removes the expiration date and admin authority for the user account named user1. 8/20q FC Switch (admin) #> user edit Press 'q' and the ENTER - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 23
20q FC Switch (admin) #> passwd user2 Press 'q' and the ENTER key to abort this command. account OLD password : ******** account NEW password (8-20 chars) : ******** please confirm account NEW password: ******** password has been changed. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 24
24 User account configuration - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 25
the switch acquires its IP address. The IP address can come from the IP address that resides on the switch or from a server. The switch supports network 26 • Configuring the Ethernet port, page 27 • Verifying a switch in the network, page 27 8/20q Fibre Channel Switch command line interface guide 25 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 26
) 12 8 (0x8) 13 8 (0x8) Port Port ID Type COS PortWWN NodeWWN ------- 0824ba NL 3 fabric command displays IP addresses (Enet IP Addr) for all switches in the fabric, as shown in the following example. 8/20q FC Switch #> show fabric Domain WWN Enet IP Addr ------ --- ------------ 16 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 27
Response successfully received from 10.20.11.57. If the switch was unreachable, you would see the following display: 8/20q FC Switch #> ping 10.20.11.57 Ping command issued. Waiting for response... No response from 10.20.11.57. Unreachable. 8/20q Fibre Channel Switch command line interface guide 27 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 28
28 Network and fabric configuration - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 29
the switch information: • Switch operational information, page 30 • System process information, page 31 • Elapsed time between resets, page 31 • Configuration information, page 31 • Hardware information, page 34 • Firmware information, page 34 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 30
switch operational information. These include the switch WWN, domain ID, firmware version, administrative state, and operational state, as shown in the following example: 8/20q FC Switch #> show switch Switch BoardTemp (1) - Degrees Celsius SwitchTemperatureStatus 8/20q FC Switch 10:00:00:c0:dd:00: - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 31
command displays the following types of information: • Switch configuration parameters, page 32 • Zoning configuration parameters, page 32 • Security configuration parameters, page 33 See also "Displaying port information" on page 49. 8/20q Fibre Channel Switch command line interface guide 31 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 32
. These parameters determine the operational characteristics of the switch. See Table 29 for descriptions these parameters. 8/20q FC Switch #> show config switch Configuration Name: default Switch Configuration Information AdminState Online BroadcastEnabled False InbandEnabled True - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 33
binding entries found. No port binding entries found. No port binding entries found. No port binding entries found. No port binding entries found. No port binding entries found. No port binding entries found. No port binding entries found. 8/20q Fibre Channel Switch command line interface guide 33 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 34
, see the HP StorageWorks 8/20q Fibre Channel Switch installation and reference guide. Table 4 Heartbeat LED activity HeartBeatCode-HeartBeatStatus Description 1-Normal One blink per second-Normal operation 2-AppDied 3-PostFailed 4-CorruptFilesystem Two blink cluster-Internal firmware failure - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 35
does not support the SSL service. If SSL is enabled, you will be unable to manage the switch using this version of Simple SAN Connection Manager. To display the current switch services settings, enter the show setup services command, as shown in the following example: 8/20q FC Switch #> show setup - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 36
in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> set setup services A list of attributes with enabling a service. * If services are disabled, the connection to the switch may be lost. * When enabling SSL, please verify that the date/time settings on this switch - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 37
the switch, enter the config delete command in an Admin session, as shown in the following example. You cannot delete either the active configuration or the default configuration (Default Config). 8/20q FC Switch (admin) config delete config_2 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 38
: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> config edit The config named default is being edited. 8/20q FC Switch (admin-config)#> set config port . . . 8/20q FC Switch (admin-config)#> set config switch . . . 8/20q FC Switch (admin-config)#> set config security . . . 8/20q FC Switch - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 39
binary mode with the put command, as shown in the following example: ftp ip_address user: images password: images ftp> bin ftp> put config_switch_169_10112003 configdata Local file config_switch_169_10112003 Remote file configdata ftp>quit 8/20q Fibre Channel Switch command line interface guide 39 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 40
, page 40 • Setting the date and time explicitly, page 41 • Setting the time through an NTP server, page 42 Displaying the date and time To display the date and time, enter the date command, as shown in the following example: 8/20q FC Switch #> date Mon Apr 07 07:51:24 2008 40 Switch configuration - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 41
set the date and time (January 31, 10:15 AM, 2008), enter the date command, as shown in the following example: 8/20q FC Switch (admin) #> date 013110152008 8/20q FC Switch (admin) #> date Thu Jan 31 10:15:03 america/north_dakota/center 2008 8/20q Fibre Channel Switch command line interface guide 41 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 42
server, enter the set setup system command in an Admin session to enable the NTP client on the switch and specify the NPT server IP address, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> set setup system A list of attributes with formatting and current - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 43
changes to QuickTools, a QuickTools session that was open during the upgrade may indicate that the new firmware is not supported. To correct this, close the QuickTools session and the browser window, then open a new QuickTools session. 8/20q Fibre Channel Switch command line interface guide 43 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 44
and password on the remote host (FTP only) • Pathname for the firmware image file To install the firmware: 1. Enter the following commands to download the firmware from a remote host to the switch, install the firmware, and then reset the switch to activate the firmware. 8/20q FC Switch #> admin - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 45
or switchname user:images password: images ftp>bin ftp>put filename ftp>quit 2. Display the list of firmware image files on the switch to confirm that the file was loaded: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) $> image list 3. Unpack the firmware image file to install the new - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 46
for all ports that are online. The following is an example of an online test: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> test switch online A list of attributes with formatting and current values will follow. Enter a new value or simply press the ENTER key to accept the default value - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 47
Passed Passed Passed Passed Passed Loop Count ----- 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 Test Failures -------- 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 To cancel a switch test that is in progress, enter the test cancel switch command. 8/20q Fibre Channel Switch command line interface guide 47 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 48
switch feature upgrades The HP StorageWorks 8/20q 4-port Upgrade License enables additional Fibre Channel (FC) ports in four port increments up to the 20-port maximum. Installing a feature license key is not disruptive, nor does it require a switch reset. To order a license key, contact your switch - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 49
characteristics of the port. See Table 26 for descriptions of these parameters. 8/20q FC Switch #> show config port 3 Configuration Name: default Port Number: 3 True False False 0 0 True False False True False True False Disabled True 8/20q Fibre Channel Switch command line interface guide 49 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 50
operational information To display port operational information, enter the show port command. 8/20q FC Switch #> show port 1 Port Number: 1 ------------ TestFaultCode 00000000 LoginStatus NotLoggedIn TestStatus NeverRun MaxCredit 16 UpstreamISL False MediaSpeeds 2Gb/s, 4Gb/s, 8Gb/s - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 51
of these parameters. 8/20q FC Switch #> show config threshold Configuration Name: default ------------ Threshold Configuration Information 10 LOSMonitoringEnabled True RisingTrigger 100 FallingTrigger 5 SampleWindow 10 8/20q Fibre Channel Switch command line interface guide 51 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 52
second. 8/20q FC Switch #> show perf Port Bytes/s Bytes/s Number (in) (out) 0 7K 136M 1 58K 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 7K 7 136M 58K 8 7K 136M 9 58K 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 7K 15 136M 58K 16 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 53
8/20q FC Switch (admin)#> config activate 8/20q FC Switch (admin)#> admin end The following example temporarily changes the administrative state of port 1 to down: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> set port 1 state down 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 54
in the following example: 8/20q FC Switch #> show config security portbinding Configuration Name: default Port Binding Status WWN 0 True 10:20:30:40:50:60:70:80 1 True 10:20:30:40:50:60:70:80 2 False No port binding entries found. 3 True 10:20:30:40:50:60:70:80 4 True 10:20:30 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 55
is not cleared within three consecutive sampling windows (by default, 30 seconds). Reset the port to bring it back online. An alarm is cleared when the threshold monitoring detects that the error rate has fallen below the falling trigger. 8/20q Fibre Channel Switch command line interface guide 55 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 56
To enable and configure port threshold monitoring on the switch, enter the set config threshold command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> config edit 8/20q FC Switch (admin-config) #> set config threshold A list of attributes with formatting and current values will follow. - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 57
want to start the test? (y/n) [n] y The test has been started. A notification with the test result(s) will appear on the screen when the test has completed. 8/20q FC Switch (admin) #> Test for port 1 Passed. 8/20q Fibre Channel Switch command line interface guide 57 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 58
test: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> set port 1 state diagnostics 8/20q FC Switch (admin) #> test port 1 offline internal A list of attributes with formatting and current values will follow. Enter a new value or simply press the ENTER key to accept the default value. If - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 59
ports/devices to a zone individually or as a group by creating an alias. A zone can be a component of more than one zone set. Several zone sets can be defined for a fabric, but only one zone set can be active at one time. The active , page 65 8/20q Fibre Channel Switch command line interface guide 59 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 60
following example. Merged and edited zone sets are displayed if they exist. 8/20q FC Switch #> zoning list Active (enforced) ZoneSet Information ZoneSet Zone ZoneMember wwn wwn_23bd31 50:06:04:82 :04:82:bf:d2:18:d2 10:00:00:00:c9:22:14:16 wwn_2215c3 50:06:04:82:bf:d2:18:c2 50:06:04:82: - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 61
history, enter the zoneset active command, as shown in the following example: 8/20q FC Switch #> zoneset active Active ZoneSet Information ActiveZoneSet Bets LastActivatedBy admin@OB-session6 LastActivatedOn day month date time year 8/20q Fibre Channel Switch command line interface guide 61 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 62
when a change occurred to the active zone set or a fabric merge occurred. To display the unsaved edited zone set information, enter the zoning edited command in an Admin session and a Zoning Edit session, as shown in the following example: 8/20q FC Switch (admin-zoning) #> zoning edited Edited - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 63
, enter the zone members command, as shown in the following example: 8/20q FC Switch #> zone members wwn_b0241f Current List of Members for Zone: wwn_b0241f 50:06 : 8/20q FC Switch #> zone orphans Current list of orphan zones zone3 zone4 8/20q Fibre Channel Switch command line interface guide 63 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 64
shown in the following example: 8/20q FC Switch #> zoning history Active Database Information ZoneSetLastActivated/DeactivatedBy ZoneSetLastActivated/DeactivatedOn 00000000 • Time of the most recent zone set activation or deactivation and the user account that performed it • Time of the most recent - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 65
non-volatile zoning database. • DefaultZone-Allows or denies communication among ports/devices that are not defined in the active zone set. • DiscardInactive-Enables or disables the discarding of all zone sets except the active zone set. 8/20q Fibre Channel Switch command line interface guide 65 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 66
name, the active configuration is assumed. The Config Edit session provides access to the set config zoning command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> config edit The config named default is being edited. 8/20q FC Switch (admin-config - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 67
capture command, as shown in the following example: 8/20q FC Switch (admin) #> zoning merged capture This command will overwrite the configured zoning database in NVRAM. Please confirm (y/n): [n] y The merged zoning database has been saved. 8/20q Fibre Channel Switch command line interface guide 67 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 68
sets, zones, and aliases To delete all objects from the zoning database except those in the active zone set, enter the zoning delete orphans command. 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> zoning delete orphans This command will remove all zonesets, zones, and aliases that are not - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 69
70 • Adding members to a zone, page 70 • Removing members from a zone, page 70 All of these tasks require an Admin session and a Zoning Edit session. 8/20q Fibre Channel Switch command line interface guide 69 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 70
copy command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> zoning edit 8/20q FC Switch (admin-zoning) #> zone copy zone_1 zone_2 8/20q FC Switch (admin-zoning) #> zoning save Adding members to a zone To add ports/devices to zone_1, enter the zone add - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 71
the alias add command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> zoning edit 8/20q FC Switch (admin-zoning) #> alias add alias_1 8/20q FC Switch (admin-zoning) #> zoning save 1,4 1,5 8/20q Fibre Channel Switch command line interface guide 71 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 72
from an alias To remove ports/devices from alias_1, enter the alias remove command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> zoning edit 8/20q FC Switch (admin-zoning) #> alias remove alias_1 1,4 1,5 8/20q FC Switch (admin-zoning) #> zoning save 72 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 73
Service (RADIUS) server. See "Configuring a RADIUS server on the switch" on page 88. • To disable SSL when using a user authentication RADIUS server, the RADIUS server authentication order must be local. • Enabling SSL automatically creates a security certificate on the switch. 8/20q Fibre Channel - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 74
want to save and activate this services setup? (y/n): [n] y Displaying SSL and SSH services To display the status of the SSH and SSL services, enter the show setup services command, as shown in the following example: 8/20q FC Switch #> show setup services System Services TelnetEnabled True - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 75
and time correct? (y/n): [n] y Certificate generation successful. To ensure that the security certificate will be valid, be sure that the switch and the workstation date and time are the same. See "Managing the date and time" on page 40. 8/20q Fibre Channel Switch command line interface guide 75 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 76
76 Connection security configuration - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 77
all security sets in the security database. To display a list of the security sets, enter the securityset list command, as shown in the following example: 8/20q FC Switch #> securityset list Current list of SecuritySets alpha beta 8/20q Fibre Channel Switch command line interface guide 77 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 78
and group members, enter the security active command, as shown in the following example: 8/20q FC Switch #> security active Active Security Information SecuritySet ----------alpha Group GroupMember group1 (ISL) 10:00:00:00:00:10:21:16 Authentication Chap Primary Hash MD5 Primary Secret - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 79
in the following example: 8/20q FC Switch #> group members group_1 Current list of members for Group: group_1 10:00:00:c0:dd:00:71:ed 10:00:00:c0:dd:00:72:45 10:00:00:c0:dd:00:90:ef 10:00:00:c0:dd:00:b8:b7 8/20q Fibre Channel Switch command line interface guide 79 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 80
: 8/20q FC Switch #> security history Active Database Time of the most recent security set activation or deactivation, and the user account that performed it • Time of example: 8/20q FC Switch #> security limits Security Attribute Maximum Current MaxSecuritySets 4 1 MaxGroups 16 2 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 81
see config activate command) before it can take effect. To discard this configuration use the config cancel command. 8/20q FC Switch (admin-config)#> config save 8/20q FC Switch (admin)#> config activate 8/20q FC Switch (admin)#> admin end 8/20q Fibre Channel Switch command line interface guide 81 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 82
saving changes, enter the security cancel command. 8/20q FC Switch (admin-security)#> security cancel 4. To activate the changes to the active security set, enter the security activate command. 8/20q FC Switch (admin)#> security activate 5. To release the Admin session for other administrators - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 83
, page 84 • Modifying a group member, page 85 • Removing members from a group, page 85 All of these tasks require an Admin session and a Security Edit session. 8/20q Fibre Channel Switch command line interface guide 83 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 84
, and fabric binding, depending on the group type. • For ISL member attributes, see Table 8. • For Port member attributes, see Table 9. • For MS member attributes, see Table 10. To add a member to a group, enter the group add command, as shown in the following example: 8/20q FC Switch #> admin - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 85
the security cancel command. Removing members from a group To remove a member from a group, enter the group remove command, as shown in the following example: 8/20q FC Switch (admin-security) #> group remove group_1 10:00:00:c0:dd:00:90:a3 8/20q Fibre Channel Switch command line interface guide 85 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 86
86 Device security configuration - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 87
switch's security database, or remotely using a Remote Dial-In User Service (RADIUS) server such as Microsoft RADIUS. With a RADIUS server, the security database for the entire fabric parameters, see Table 40. 8/20q FC Switch #> show setup 8/20q Fibre Channel Switch command line interface guide 87 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 88
. See Table 40 for a description of the RADIUS server configuration parameters. 8/20q FC Switch (admin) #> 0-5) [1 ] Server: 1 ServerIPAddress (dot-notated IP Address) [10.20.11.8] ServerUDPPort (decimal value to save and activate this radius setup? (y/n): [n] 88 RADIUS server configuration - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 89
or from the management application in response to events that occur in the fabric. For a complete listing of switch event messages, see the HP StorageWorks 8/20q Fibre Channel Switch event message guide. Events are classified by the following severity levels: • Alarm-The alarm level describes events - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 90
that originate with the switch, the time stamp comes from the switch; for events that original with Simple SAN Connection Manager or QuickTools, 20q FC Switch #> show log [327][day month date time year][I][Eport Port:0/8][Eport State= E_A0_GET_DOMAIN_ID] [328][day month date time year][I][Eport Port - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 91
and critical level messages in the output stream: 8/20q FC Switch (admin) #> set log display warn Managing the event Port events • Switch management events • Simple Network Management Protocol (SNMP) events • Zoning events • Call Home events 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 92
example: 8/20q FC Switch (admin) #> set log clear Logging to a remote host The switch comes from the factory with local logging enabled, which instructs the switch firmware to maintain an event log in switch memory. The switch can also be configured to log events to a remote host that supports the - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 93
the switch and log in with the account name images and password images. Transfer the file logfile in binary mode with the get command. >ftp ip_address user:images password: images ftp>bin ftp>get logfile xxxxx bytes sent in xx secs. ftp>quit 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 94
94 Event log configuration - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 95
that each switch that is to support Call Home e-mail notification has its own Ethernet connection. To test your Call Home service and database configurations, enter the callhome test command. See "Testing a Call Home profile" on page 104. 8/20q Fibre Channel Switch command line interface guide 95 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 96
activity in the queue using the callhome queue stats command. You can also clear the queue of e-mail messages using the callhome queue clear command. There are two e-mail message formats: short text and full text. The short-text format contains basic switch 10.20.30.40 10:00:00:c0:dd:0c:66:f2 Alarm - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 97
The following is an example of a full-text e-mail, including profile and SNMP 40.343 CDT 2007 Switch Location Room 123; Rack 9; Bay 3 Contact Information George Smith 12345 4th Street, City, State 952-999-9999 [email protected] 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 98
for a description of the Call Home service configuration entries. 8/20q FC Switch (admin) #> set setup callhome A enabled, the FromEmailAddress attribute must be configured or the switch (dot-notated IP Address) : want to save and activate this Callhome setup? (y/n): 98 Call Home - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 99
indicates active SMTP Simple SAN Connection Manager, or any other management application. 8/20q FC Switch #> Call Home service configuration to its factory state, enter the reset callhome command. 8/20q FC Switch (admin) a profile, page 103 8/20q Fibre Channel Switch command line interface guide 99 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 100
Home data base change history information, enter the callhome history command, as shown in the following example: 8/20q FC Switch #> callhome history CallHome Database History ConfigurationLastEditedBy admin@OB-session2 ConfigurationLastEditedOn day mmm dd hh:mm:ss yyyy DatabaseChecksum - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 101
mail messages in the Call Home queue, enter the callhome queue stats command, as shown in the following example: 8/20q FC Switch #> callhome queue stats Callhome Queue Information FileSystemSpaceInUse 534 (bytes) EntriesInQueue 3 8/20q Fibre Channel Switch command line interface guide 101 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 102
8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> callhome edit 8/20q FC Switch (admin-callhome) #> profile delete profile_1 The profile will be deleted. Please confirm (y/n): [n] y 8/20q FC Switch (admin-callhome) #> callhome save The CallHome database profiles will be saved and activated - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 103
FC Switch (admin) #> callhome edit 8/20q FC Switch (admin-callhome) #> profile copy profile_1 profile_a 8/20q FC Switch (admin-callhome) #> callhome save The CallHome database profiles will be saved and activated. Please confirm (y/n): [n] y 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 104
the test has completed. 8/20q FC Switch (admin) #> Test for Callhome Profile group4 Passed. Changing Simple Mail Transfer Protocol servers The Call Home service configuration enables you to specify a primary and a secondary SMTP server to which the switch connects. The active server is the server - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 105
[True ] [False] [True ] [True ] [False] [False] [True ] [True ] [True ] Do you want to save and activate this services setup? (y/n): [n] You can display the SNMPEnabled parameters using the show setup snmp or show setup services commands. 8/20q Fibre Channel Switch command line interface guide 105 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 106
snmp SNMP Information SNMPEnabled True Contact Location N_107 System Test Lab Description HP StorageWorks 8/20q FC Switch Trap1Address 10.0.0.254 Trap1Port 162 Trap1Severity warning Trap1Version 2 Trap1Enabled False Trap2Address 0.0.0.0 Trap2Port 162 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 107
(dot-notated IP Address) [10 defaults, enter the reset snmp command in an Admin session, as shown in the following example. See Table 19 for a listing of the SNMP configuration factory defaults. 8/20q FC Switch (admin) #> reset snmp 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 108
108 Simple Network Management Protocol configuration - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 109
13 Command reference This section provides an alphabetical listing of the commands of the CLI and provides the following information for on other commands. The Examples paragraph presents sample screen captures of the command and its output. 8/20q Fibre Channel Switch command line interface guide 109 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 110
the fabric and switch configurations. Only one Admin session can be open on the switch at user. Use this operand with care because it terminates the Admin session without warning the other user session: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> . . . 8/20q FC Switch (admin) #> admin - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 111
hexadecimal device Fibre Channel address (hex) • 16-character hexadecimal WWPN for the device with the format xx:xx:xx:xx:xx:xx:xx:xx. rename [alias_old] [alias_new] Renames the alias given by [alias_old] to the alias given by [alias_new]. 8/20q Fibre Channel Switch command line interface guide 111 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 112
list Current list of Zone Aliases alias1 alias2 The following is an example of the alias members command: 8/20q FC Switch #> alias members alias1 Current list of members for Zone Alias: alias1 50:06:04:82:bf:d2:18:c4 50:06:04:82:bf:d2: - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 113
20q Fibre Channel Switch Call Home service provides an e-mail notification capability for the switch. This service has no relationship with the HP Call Home feature, which notifies HP services activation between the primary SMTP server and the secondary SMTP server. Though the active the user who - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 114
The following is an example of the callhome history command: 8/20q FC Switch #> callhome history CallHome Database History ConfigurationLastEditedBy admin@OB-session2 an example of the callhome list command: 8/20q FC Switch #> callhome list Configured Profiles group4 group5 114 Command - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 115
y The following is an example of the callhome queue stats command: 8/20q FC Switch #> callhome queue stats Callhome Queue Information FileSystemSpaceInUse 534 (bytes) EntriesInQueue 3 See also profile, page 142 reset, page 147 8/20q Fibre Channel Switch command line interface guide 115 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 116
config Description Manages the Fibre Channel configurations on a switch. Authority Admin session for all operands except backup and list Syntax config activate [config_name] backup export cancel copy [config_source] [config_destination] delete [config_name] edit [config_name] export [account_name] [ - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 117
mode and reset the network configuration to restore the default IP address 10.0.0.1. For information about using maintenance mode, see the HP StorageWorks 8/20q Fibre Channel Switch installation and reference guide. • Configuration archive files created with the QuickTools Archive function - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 118
) from the workstation to the switch and then restore the configuration. #> ftp symbolic_name or ip_address user: images password: images ftp> bin ftp> put configdata ftp> quit 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> config restore The switch will be reset after restoring the - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 119
: 8/20q FC Switch (admin) #> create certificate The current date and time is day mon date hh:mm:ss UTC yyyy. This is the time used to stamp onto the certificate. Is the date and time correct? (y/n): [n] y Certificate generation successful. 8/20q Fibre Channel Switch command line interface guide 119 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 120
20q FC Switch #> create support Log Msg:[Creating the support file - this will take several seconds] FTP the dump support file to another machine? (y/n): y Enter IP Password required for johndoe. Password: xxxxxxx 230 User johndoe logged in. cd bin/support service on localhost.localdomain. See also date, - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 121
, 2008), enter the date command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> date 013110152008 8/20q FC Switch (admin) #> date Thu Jan 31 10:15:03 UTC 2008 See also set setup system, page 185 8/20q Fibre Channel Switch command line interface guide 121 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 122
exit Description Closes the switch connection. Authority None Syntax exit Notes You can also press Control-D to close the switch connection. 122 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 123
list of installed license key features. Notes The HP StorageWorks 8/20q 4-port Upgrade License enables additional Fibre Channel ports in 4-port increments up to the 20-port maximum. Examples The following is an example of the feature add command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 124
• IP address of the remote host • An account name and password on the remote host (FTP only) • Pathname for the firmware image file Authority Admin session Syntax firmware install Examples The following is an example of the firmware install command using FTP: 8/20q FC Switch #> admin start 8/20q FC - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 125
TFTP: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> firmware install The switch will be reset. This process will cause a disruption to I/O traffic. Continuing with this action will terminate all management sessions, including any Telnet sessions. When the firmware activation is complete - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 126
that would attach to the switch. A member cannot belong to more than one group. Enables (Chap) or disables (None) authentication using the Challenge Handshake Authentication Protocol (CHAP). The default is None. The preferred hash function to use to decipher the encrypted primary secret sent by - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 127
Member CTAuthentication Port worldwide name for the N_Port device that would attach to the switch. Common Transport (CT) authentication. Enables (True) or disables (False) authentication for MS group members. The default is False. 8/20q Fibre Channel Switch command line interface guide 127 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 128
. Enables (True) or disables (False) authentication for MS group members. The default is False. The preferred hash function to use to decipher the encrypted primary secret sent by the member. The hash functions are MD5 or SHA-1. If the member does not support the primary hash, the switch will - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 129
a switch configuration, you must re-enter the primary and secondary secrets. Otherwise, the switch will isolate because of an authentication failure. For more information about managing groups in security sets, see the securityset command. 8/20q Fibre Channel Switch command line interface guide 129 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 130
MD5 ] PrimarySecret (32 hex or 16 ASCII char value) [ ] 0123456789abcdef SecondaryHash (MD5 / SHA-1 / None) [ ] SecondarySecret (40 hex or 20 ASCII char value) 20q FC Switch #> group list Group SecuritySet ----- ----------- group1 (ISL) alpha group2 (Port) alpha 130 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 131
: 8/20q FC Switch #> group members group_1 Current list of members for Group: group_1 10:00:00:c0:dd:00:71:ed 10:00:00:c0:dd:00:72:45 10:00:00:c0:dd:00:90:ef 10:00:00:c0:dd:00:b8:b7 See also security, page 154 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 132
-on self test (POST). This reset disrupts I/O traffic, activates the pending firmware, and clears the alarm log. To save the alarm log before resetting, see the set log command. Authority Admin session Syntax hardreset Notes To reset the switch without a power-on self test, see the reset command - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 133
: 8/20q FC Switch #> help config config CONFIG_OPTIONS The config command operates on configurations. Usage: config { activate | backup active configuration is edited. Admin mode is required for this command. Usage: config edit [CONFIG_NAME] 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 134
show switch 2 date 3 help set 4 history 8/20q FC Switch #> !3 help set set SET_OPTIONS There are many attributes that can be set. Type help with one of the following to get more information: Usage: set { alarm port | beacon | setup | config | log | switch } | pagebreak | 134 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 135
during the upgrade may indicate that the new firmware is not supported. To correct this, close the QuickTools session and the browser window, then open a new QuickTools session. See also hardreset, page 132 reset, page 147 set log, page 171 8/20q Fibre Channel Switch command line interface guide 135 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 136
from the host IP address given by [ip_address]. If an account name needs a password to access the FTP server, the system will prompt you for it. install Downloads firmware from a remote host to the switch, installs the firmware, then resets the switch to activate the firmware. This is disruptive - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 137
254 user:johndoe password: ******** ftp>bin ftp>put 6.9.00.11_epc ftp>quit 8/20q FC Switch (admin) $>image list 8/20q FC Switch (admin) $>image unpack 6.9.00.11_epc Image unpack command result: Passed See also firmware install, page 124 8/20q Fibre Channel Switch command line interface guide 137 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 138
the specified loop port. Authority Admin session Syntax lip [port_number] Operands [port_number] The number of the port to be reinitialized. Ports are numbered beginning with 0. Examples The following is an example of the lip command: 8/20q FC Switch (admin) #> lip 2 138 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 139
logout Description Closes the switch connection. Authority None Syntax logout Notes You can also press Control-D to close the switch connection. See also exit, page 122 logout, page 139 8/20q Fibre Channel Switch command line interface guide 139 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 140
start 8/20q FC Switch (admin) #> passwd user2 Press 'q' and the ENTER key to abort this command. account OLD password : ******** account NEW password (8-20 chars) : ******** please confirm account NEW password: ******** password has been changed. See also user, page 241 140 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 141
Switch #> Response successfully received from 10.20.11.57. This following is an example of an unsuccessful ping command: 8/20q FC Switch #> ping 10.20.11.57 Ping command issued. Waiting for response... No response from 10.20.11.57. Unreachable. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 142
service provides an e-mail notification capability for the switch. This service has no relationship with the HP Call Home feature, which notifies HP services are 0-9, A-Z, a-z, _, $, ^, and -. The Call Home database supports a maximum of 25 profiles. You must enter the callhome save command to - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 143
command before it can take effect, or to discard this configuration use the callhome cancel command. 8/20q FC Switch (admin-callhome) #> callhome save The CallHome database profiles will be saved and activated. Please confirm (y/n): [n] y 8/20q Fibre Channel Switch command line interface guide 143 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 144
20q FC Switch #> admin start 8/20q FC Switch (admin) #> callhome edit 8/20q FC Switch Alarm Format ShortText MaxSize 1000 EmailSubject Switch Problem RecipientEmail (up to 10 entries 20q FC Switch (admin-callhome) #> callhome save The CallHome database profiles will be saved and activated - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 145
Examples The following is an example of the ps command: 8/20q FC Switch #> ps PID PPID %CPU %MEM TIME 244 224 0.0 0.3 2.8 00:09:59 249 224 0.0 0.3 00:00:16 251 224 0.0 0.4 00:00:06 252 224 0.0 0.6 00:00:16 253 224 0.0 0.8 00:00:08 254 224 0.0 20q Fibre Channel Switch command line interface guide 145 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 146
quit Description Closes the switch connection. Authority None Syntax quit Notes You can also press Control-D to close the switch connection. See also exit, page 122 logout, page 139 146 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 147
, and fabric binding remain unchanged. services Resets the switch services configuration to the default values as described in Table 21. snmp Resets the SNMP configuration settings to the factory default values. See Table 19 for SNMP configuration default values. 8/20q Fibre Channel Switch command - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 148
135. NOTE: The following files are deleted from the switch during a switch reset: • Firmware image files that have not been unpacked • Configuration backup files • Support files system Resets the system configuration settings to the factory default values as described in Table 22. NOTE: Because this - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 149
Hex) False 8/20q FC Switch 10000 2000 254 Config Default Standard Table 16 Port configuration defaults Parameter AdminState LinkSpeed PortType SymbolicName ALFairness Port Defaults Online Auto GL Port n, where n is the port number False 8/20q Fibre Channel Switch command line interface guide 149 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 150
Table 16 Port configuration defaults (Continued) Parameter Port Defaults DeviceScanEnabled True ForceOfflineRSCN False ARB_FF False • FallingTrigger • SampleWindow True 2 0 10 LoginMonitoringEnabled • RisingTrigger • FallingTrigger • SampleWindow True 5 1 10 150 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 151
Contact Location Description Trap [1-5] Address Trap [1-5] Port Trap [1-5] Severity Trap [1-5] Version Trap [1-5] Enabled ObjectID AuthFailureTrap ProxyEnabled Default True HP StorageWorks 8/20q FC Switch Trap 1: 10.0.0.254; Traps 2-5: 0.0.0.0 162 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 152
SignPackets False Table 21 Switch services configuration defaults Parameter TelnetEnabled SSHEnabled GUIMgmtEnabled Table 22 System configuration defaults Parameter EthernetNetworkEnable EthernetNetworkDiscovery NTPClientEnabled NTPServerAddress EmbeddedGUIEnabled Default True Static 10.0.0.1 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 153
Table 23 Security configuration defaults Parameter AutoSave FabricBindingEnabled PortBindingEnabled See also hardreset, page 132 reset, page 147 Default True False False 8/20q Fibre Channel Switch command line interface guide 153 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 154
switch is the reset security command. edit Initiates a Security Edit session in which to make changes to the security database. A Security Edit session enables Displays history information about the security database and the active security set, including the account name that made changes reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 155
of the security limits command: 8/20q FC Switch #> security limits Security Attribute Maximum Current MaxSecuritySets 4 1 MaxGroups 16 2 MaxTotalMembers 1000 19 MaxMembersPerGroup 1000 4 15 [Name] ------ group1 group2 8/20q Fibre Channel Switch command line interface guide 155 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 156
20q FC Switch #> security list Active Security Information SecuritySet Group GroupMember No active securityset defined. Configured Security Information SecuritySet Group GroupMember alpha group1 (ISL) 10:00:00:00:00:10:21:16 also group, page 126 securityset, page 157 156 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 157
the active security set, the group will not be removed until the security set has been deactivated. rename [security_set_old] [security_set_new] Renames the security set given by [security_set_old] to the name given by [security_set_new]. 8/20q Fibre Channel Switch command line interface guide 157 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 158
Active SecuritySet Information ActiveSecuritySet alpha LastActivatedBy Remote LastActivatedOn day month date time year The following is an example of the securityset groups command 8/20q FC Switch #> securityset groups alpha Current list of Groups for SecuritySet: alpha group1 (ISL) group2 (Port - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 159
24 describes the output stream alarm parameters. Table 24 Output stream alarm parameters Parameter clear on off Description Clears the alarm log history. This value requires an Admin session. Enables : 8/20q FC Switch #> set alarm on 8/20q Fibre Channel Switch command line interface guide 159 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 160
[state] Table 25 describes the beacon state parameters. Table 25 Beacon state parameters Parameter on off Description Enables the flashing beacon. Disables the flashing beacon. Examples The following is an example of the set beacon command: 8/20q FC Switch #> set beacon on 160 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 161
a device is interrupted. If enabled, the RSCN message is delayed for 200 ms for locally attached devices and 400 ms for devices connected through other switches. The default is False. This parameter is ignored if IOStreamGuard is enabled. 8/20q Fibre Channel Switch command line interface guide 161 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 162
with a QLogic HBA. For older QLogic HBAs, such as the QLA2200, the DeviceScanEnabled parameter must also be enabled. The default is Auto. Enables (True) or disables (False) the transmission of ping messages from the switch to all devices on a loop port. The default is True. 162 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 163
configuration must be saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration use the config cancel command. See also config, page 116 show config port, page 193 8/20q Fibre Channel Switch command line interface guide 163 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 164
(False) the saving of changes to active security set in the switch's permanent memory. The default is True. Enables (True) or disables (False) the configuration and enforcement of fabric binding on all switches in the fabric. Fabric binding associates switch worldwide names with a domain ID in - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 165
configuration must be saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration use the config cancel command. See also show config security portbinding, page 195 8/20q Fibre Channel Switch command line interface guide 165 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 166
to 32 characters excluding #, semicolon (;), and comma (,). The default is 8/20q FC Switch. Resource Allocation Timeout Value. The number of milliseconds the switch waits to allow two ports to allocate enough resources to establish a link. The default is 10000. Error Detect Timeout Value. The number - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 167
(decimal value, 1-255) (string, max=64 chars) [Online ] [True ] [True ] [True ] [1000 ] [2 ] [False ] [8/20q FC Switch] [10000 ] [2000 ] [254 ] [Default Config] See also config, page 116 show config switch, page 196 8/20q Fibre Channel Switch command line interface guide 167 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 168
the falling trigger. The time in seconds in which to count events Notes The switch will down a port if an alarm condition is not cleared within three consecutive sampling windows (by default, 30 seconds). Reset the port to bring it back online. An alarm is cleared when the threshold monitoring - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 169
. This configuration must be saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration use the config cancel command. See also show config threshold, page 197 8/20q Fibre Channel Switch command line interface guide 169 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 170
The default is Allow. Enables (True) or disables (False) the discarding of all inactive zone sets from that zoning database. Inactive zone sets are all zone sets except the active zone set. The default is False. Examples The following is an example of the set config zoning command. 8/20q FC Switch - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 171
events Monitors all port events Monitors all fabric service events. QFS governs Call Home e-mail notification. Monitors all SNMP events Monitors switch management events Monitors ]. Table 33 describes the event display filter parameters. 8/20q Fibre Channel Switch command line interface guide 171 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 172
events. Monitors informative, warning, and critical events. The informative level describes routine events associated with a normal fabric. NOTE: Logging events at the Info severity level can deplete switch resources because of the high volume of events. None Monitors none of the severity levels - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 173
is alarm. The alarm level describes events that are disruptive to the administration or operation of a fabric and require administrator intervention. Alarms are always logged and always displayed on the screen. See also show log, page 204 8/20q Fibre Channel Switch command line interface guide 173 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 174
(list, members) • zoneset (list, zones) • zoning (active, list) Allows continuous display of information without a break. This is the default. Examples The following is an example of the set pagebreak command: 8/20q FC Switch #> set pagebreak on 8/20q FC Switch #> zone list Zone ---Zone1 ZoneSet - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 175
Prevents the port from receiving signal and accepting a device login Prepares the port for testing and prevents the port from accepting a device login Disables the port by removing power from the port lasers See also show port, page 213 8/20q Fibre Channel Switch command line interface guide 175 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 176
Home database for managing e-mail notifications of fabric problems. Authority Admin session Syntax set setup callhome Prompts default is 25. Enables (True) or disables (False) the primary SMTP server. The default is False. IP address of the secondary SMTP server. The default is 0.0.0.0. Service port - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 177
.com) : ReplyToEmailAddress (ex: [email protected]) : ThrottleDupsEnabled (True / False) : Do you want to save and activate this Callhome setup? (y/n): See also callhome, page 113 profile, page 142 set setup services, page 180 8/20q Fibre Channel Switch command line interface guide 177 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 178
. Setting TotalServers to 0 disables all RADIUS authentication. The default is 0. IP address of the RADIUS server. The default is 10.0.0.1. User Datagram Protocol (UDP) port number on the RADIUS server. The default is 1812. Enable (True) or disable (False) this server for device authentication - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 179
) [10 ] Retries (decimal value, 1-3, 0=None) [0 ] SignPackets (True / False) [False ] Secret (1-63 characters, recommend 22 Do you want to save and activate this radius setup? (y/n): [n] See also show setup radius, page 220 8/20q Fibre Channel Switch command line interface guide 179 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 180
and SMI-S. The default is False. • Simple SAN Connection Manager version 1.0 does not support the SSL service. If SSL is enabled, you will be unable to manage the switch using this version of Simple SAN Connection Manager. • This service must be enabled to authenticate users through a RADIUS server - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 181
control for the set config port command parameter, MSEnable. The default is True. Enables (True) or disables (False) the Call Home service which controls e-mail notification. The default is True. NOTE: The 8/20q Fibre Channel Switch Call Home service provides an e-mail notification capability - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 182
of the set setup services command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> set setup services A list of attributes [False] [False] [True ] [True ] [True ] Do you want to save and activate this services setup? (y/n): [n] See also show setup services, page 221 182 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 183
to receive traps. This is a write-only field. The value on the switch and the SNMP management server must be the same. The trap community password can be up to 32 characters excluding #, semicolon (;), and comma (,). The default is public. 8/20q Fibre Channel Switch command line interface guide 183 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 184
default is False. ProxyEnabled Enables (True) or disables (False) SNMP communication with other switches in the fabric. The default is True. Examples The following is an example of the set setup snmp command: 8/20q FC Switch undefined>] Trap1Address (dot-notated IP Address) [10.20.71 reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 185
supports NTP version 4 and is compatible with version 3. An Ethernet connection to the server is required and you must first set an initial time and date on the switch. The synchronized time becomes effective immediately. The default is False. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 186
Enables (True) or disables (False) the QuickTools management application. Changing this parameter to False while QuickTools is running will terminate the application. The default is True. Examples The following is an example of the set setup system command: 8/20q FC Switch (admin - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 187
leave the diagnostics state, the switch automatically resets. Examples The following is an example of the set switch command: 8/20q FC Switch #>admin start 8/20q FC Switch (admin) #>set switch state offline See also show switch, page 225 8/20q Fibre Channel Switch command line interface guide 187 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 188
Description Specifies the time zone for the switch and the workstation. The default is Universal Time (UTC), also known following is an example of the set timezone command: 8/20q FC Switch (admin) #> set timezone Africa America Antarctica Asia Atlantic page 228 188 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 189
, page 231 HP StorageWorks 8/20q Fibre Channel Switch 10.20.11.192 (use 'set setup system' to update) 00:c0:dd:00:71:ee 10:00:00:c0:dd:00:71:ed FAM033100024 8/20q FC Switch V6.9.x.x.xx.xx day month date time year Passed 20 Full Fabric 8/20q Fibre Channel Switch command line interface guide 189 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 190
is reset or power-cycled. Examples The following is an example of the show alarm command: 8/20q FC Switch #> show alarm [1][Fri Jan 19 13:50:26.508 UTC 2007][A][1004.000F][Port: 4][Eport Isolating due to Merge Zone Failure] [2][Fri Jan 19 13:50:26.513 UTC 2007][A][1004.0030][Topology change, lost - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 191
transmitting and receiving broadcast frames. Authority None Syntax show broadcast Examples The following is an example of the show broadcast command: 8/20q FC Switch #> show broadcast Group Member Ports ISL Ports 0 3 16 15 16 8/20q Fibre Channel Switch command line interface guide 191 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 192
status and temperature. Authority None Syntax show chassis Examples The following is an example of the show chassis command. 8/20q FC Switch #> show chassis Chassis Information BoardTemp (1) - Degrees Celsius PowerSupplyStatus (1) HeartBeatCode HeartBeatStatus 36 Good 1 Normal 192 Command - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 193
of the show config port command for port 3: 8/20q FC Switch #> show config port 3 Configuration Name: default Port Number: 3 -----------AdminState False False True False True False Disabled True See also set config port, page 161 8/20q Fibre Channel Switch command line interface guide 193 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 194
example of the show config security command: 8/20q FC Switch #> show config security Configuration Name: default Switch Security Configuration Information FabricBindingEnabled False AutoSave True Port ---0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Binding Status True True False - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 195
20q FC Switch #> show config security portbinding Configuration Name: default Port ---0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Binding Status True True False True True False True False True False False False False False False False False False False False WWN 10:20:30:40:50:60:70:80 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 196
show config switch command: 8/20q FC Switch #> show config switch Configuration Name: default Switch Configuration Information True SymbolicName 8/20q FC Switch R_A_TOV 10000 E_D_TOV 2000 PrincipalPriority 254 ConfigDescription Default Config ConfigLastSavedBy admin - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 197
config threshold command: 8/20q FC Switch #> show config threshold Configuration Name: default ------------ Threshold Configuration Information 100 FallingTrigger 5 SampleWindow 10 See also set config threshold, page 168 8/20q Fibre Channel Switch command line interface guide 197 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 198
show config zoning Examples The following is an example of the show config zoning command: 8/20q FC Switch #> show config zoning Configuration Name: default Zoning Configuration Information MergeAutoSave True DefaultZone Allow DiscardInactive False See also set config zoning, page - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 199
domain and its WWN in the fabric. Authority None Syntax show domains Examples The following is an example of the show domains command: 8/20q FC Switch #> show domains Principal switch is (remote): 10:00:00 0x68) WWN = 10:00:00:c0:dd:00:b8:b7 8/20q Fibre Channel Switch command line interface guide 199 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 200
command: 8/20q FC Switch #> show donor Port Config Ext Credit Max Credit Donated Member of Valid Groups to Number Type Requested Available to Port Donor Group Extend Credit 0 GL 0 16 None 0 0 1 GL 0 16 None 0 0 2 GL 0 16 None 0 0 3 GL 0 16 None 0 0 4 GL 0 16 None - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 201
:00:00:c0:dd:00:c3:04 10.20.68.160 19 (0x13) 10:00:00:c0:dd:00:bc:56 10.20.68.108 FC IP Addr ---------- 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 SymbolicName gui sw1 sw12 sw .160 Sb2 .108 8/20q Fibre Channel Switch command line interface guide 201 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 202
QLA2342 QL2330 Ports ----2 2 The following is an example of the show fdmi wwn command: 8/20q FC Switch #> show fdmi 21:00:00:e0:8b:09:3b:17 FDMI Information Manufacturer QLogic Corporation SerialNumber [04202 Model QLA2342 ModelDescription QLogic QLA2342 PCI Fibre Channel Adapter - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 203
status of the active network interfaces. Authority None Syntax show interface Examples The following is an example of the show interface command: 8/20q FC Switch #> show interface RX bytes:101932 (99.5 KiB) TX bytes:101932 (99.5 KiB) 8/20q Fibre Channel Switch command line interface guide 203 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 204
Command line interface events E_Port events Management server events Name server events Miscellaneous events Port events Fabric service events. QFS governs Call Home e-mail notification. SNMP events Switch management events Zoning conflict events display [filter] Displays log events on the screen - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 205
: 8/20q FC Switch #> show log options Allowed options for log FilterComponent All,None,NameServer,MgmtServer,Zoning,Switch,Blade,Port,Eport,Snmp,CLI,Qfs FilterLevel Critical,Warn,Info,None DisplayLevel Critical,Warn,Info,None 8/20q Fibre Channel Switch command line interface guide 205 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 206
example of the show log command: 8/20q FC Switch #> show log [327][day month date time year][I][Eport Port:0/8][Eport State= E_A0_GET_DOMAIN_ID] [328][day month date time year][I][Eport Port: 0/8][FSPF PortUp state=0] [329][day month date time year][I][Eport Port: 0/8][Sending init hello] [330][day - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 207
Examples The following is an example of the show lsdb command: 8/20q FC Switch #> show lsdb Link State Database Information LsID 34: Age=1176 =500 NeighborDomain=35, LocalPort=4, RemotePort=5, Cost=250 Route: OutPort=16, Hops=2, Cost=350 8/20q Fibre Channel Switch command line interface guide 207 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 208
block units. NOTE: This operand will display memory activity updates until [count] is reached-it cannot be interrupted. Therefore, avoid using large values for [count]. Examples The following is an example of the show mem command: 8/20q FC Switch #> show mem procs -----------memory swap-- -----io - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 209
port given by [port_id]. [port_id] is a port Fibre Channel address. Examples The following is an example of the show ns (local domain) command: 8/20q FC Switch #> show ns Seq Domain Port Port c0:dd:00:bc:56 FC4Type FCP FC4Desc (NULL) 8/20q Fibre Channel Switch command line interface guide 209 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 210
to 20 lines (ON) or allows the continuous display of information without a break (OFF). Examples The following is an example of the show pagebreak command: 8/20q FC Switch #> show pagebreak current setting: ON See also set pagebreak, page 174 210 Command - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 211
of port numbers and ranges delimited by spaces. For example, 0 2 10-15 specifies ports 0, 2, 10, 11, 12, 13, 14, and 15. If you omit [port_list], the command displays performance data for ports 0-15. Type q and press Enter to stop the display. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 212
20q FC Switch #> show perf Port Bytes/s Bytes/s Number (in) (out) 0 7K 136M 1 58K 0 2 0 0 3 0 0 4 0 0 5 0 0 6 0 7K 7 136M 58K 8 7K 136M 9 58K 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 7K 15 136M 58K 16 212 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 213
recent power-on self test Downstream ISL state. True indicates a connection to another switch that is not the principal switch. Number of times an E_Port connected through ISL negotiation E_Port connection status E_Port isolation reason 8/20q Fibre Channel Switch command line interface guide 213 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 214
switch sent a fabric busy switch to attempt to re-establish the link. If the link is not re-established, a link failure is counted. A link reset is performed after a link failure. Port transmission speed Port activity by FC-AL-2 Number of synchronization losses (>100 ms) detected by this port. A - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 215
of words received by this port Total number of frames issued by this port Total number of words issued by this port Number of link resets issued by this port Number of offline sequences issued by this port Transmitter status: True, False. 8/20q Fibre Channel Switch command line interface guide 215 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 216
is an example of the show port command: 8/20q FC Switch #> show port 1 Port Number: 1 ------------ AdminState Online OperationalState TestStatus NeverRun MaxCredit 16 UpstreamISL False MediaSpeeds 2Gb 0 TotalTxWords 0 TxLinkResets 0 TxOfflineSeq 0 216 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 217
Syntax show postlog or show port log Examples The following is an example of the show postlog command: 8/20q FC Switch #> show postlog Queue: Sequence (0x72) DIAGS_ERR_CPORT_VERIFY (0x34) 0 0/0 0x00000005 0x0082202b 0x00a2202b 8/20q Fibre Channel Switch command line interface guide 217 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 218
20q Fibre Channel Switch Call Home service provides an e-mail notification capability for the switch. This service has no relationship with the HP Call Home feature, which notifies HP services @localhost.localdomain ThrottleDupsEnabled True + indicates active SMTP server See also set setup - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 219
20 MACAddress 00:c0:dd:0d:53:e7 PlanarPartNumber 31894-00 A SwitchSymbolicName 8/20q FC Switch SwitchWWN 10:00:00:c0:dd:0d:53:e7 SystemDescription HP StorageWorks 8/20q Fibre Channel Switch SystemObjectID 1.3.6.1.4.1.3873.1.11 8/20q Fibre Channel Switch command line interface guide 219 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 220
The following is an example of the show setup radius command: 8/20q FC Switch #> show setup radius Radius Information DeviceAuthOrder RadiusLocal UserAuthOrder RadiusLocal TotalServers 1 .8 1812 False True False 2 0 False ******** See also set setup radius, page 178 220 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 221
example of the show setup services command: 8/20q FC Switch #> show setup services System Services TelnetEnabled True SSHEnabled False GUIMgmtEnabled True CallHomeEnabled True See also set setup services, page 180 8/20q Fibre Channel Switch command line interface guide 221 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 222
sysContact undefined> Location N_107 System Test Lab Description HP StorageWorks 8/20q FC Switch Trap1Address 10.0.0.254 Trap1Port 162 Trap1Severity warning Trap1Version 2 3873.1.11 AuthFailureTrap True ProxyEnabled True See also set setup snmp, page 183 222 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 223
following is an example of the show setup system command: 8/20q FC Switch #> show setup system System Information EthNetworkDiscovery Static EthNetworkAddress 10.20. EmbeddedGUIEnabled True See also set setup system, page 185 8/20q Fibre Channel Switch command line interface guide 223 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 224
for all switches in the fabric. Examples The following is an example of the show steering command: 8/20q FC Switch #> show steering 35 DomainID -------35 DefaultOutPort 18 InPort OutPort 3 16/18/16/18 5 18/16/18/16 6 16/18/16/18 7 16/18/16/18 15 18/16/18/16 224 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 225
ID Fibre Channel address of switch port 0 Size of the flash memory, in megabytes Event severity level, used to record events in the event log Number of ports available on the switch Number of times the switch has been reset over its service life Action that caused the last reset Active firmware - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 226
TestStatus BoardTemp (1) - Degrees Celsius SwitchTemperatureStatus 8/20q FC Switch 10:00:00:c0:dd:00:bc day month date time year) default Online False Off Online False 00000000 Passed 00000000 NeverRun 32 Normal See also set config switch, page 166 set switch state, page 187 226 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 227
an example of the show testlog command: 8/20q FC Switch #> show testlog Queue: UID Sequence Count: Port: . . . 2 of 127 day mon dd hh:mm:ss yyyy 211 TEST_SUITE_BLADE_OFFLINE (0x12) TEST_FLOW_TC (0x97) DIAGS_ERR_DATA_VERIFY (0x1e) 1 0/0/0 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 228
show timezone Description Displays the current time zone setting. Authority None Syntax show timezone Examples The following is an example of the show timezone command: 8/20q FC Switch #> show timezone America/Chicago See also set timezone, page 188 228 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 229
10:00:00:c0:dd:00:80:21 Unique ID -----010500 P 4(0x4) D The following is an example of the show topology command for port 1: 8/20q FC Switch #> show topology 1 Local Link Information PortType NL Description (NULL) IPAddress 0.0.0.0 8/20q Fibre Channel Switch command line interface guide 229 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 230
The following is an example of the show users command: 8/20q FC Switch #> show users User ---cim@OB-session1 admin@OB-session2 admin@OB-session3 snmp@IB-session4 snmp@OB-session5 admin@OB-session8 admin@OB-session11 admin@OB-session14 ms@OB-session16 Ethernet Addr-Port cim 10.20.34.42-3720 10.20 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 231
, page 189 HP StorageWorks 8/20q Fibre Channel Switch 10.20.11.192 (use 'set setup system' to update) 00:c0:dd:00:71:ee 10:00:00:c0:dd:00:71:ed FAM033100024 8/20q FC Switch V6.9.x.x.xx.xx day month date time year Passed 20 Full Fabric 8/20q Fibre Channel Switch command line interface guide 231 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 232
shutdown Description Terminates all data transfers on the switch at convenient points and closes the switch connection. Always power-cycle the switch after entering this command. Authority Admin session Syntax shutdown Notes When the shutdown is complete, the Heartbeat LED is extinguished. 232 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 233
the test for the port given by [port_number]. [port_number] can be 0-19. Examples The following example cancels the test running on port 15: 8/20q FC Switch (admin) #> test cancel port 15 See also test port, page 234 test status, page 236 8/20q Fibre Channel Switch command line interface guide 233 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 234
. Table 53 describes the port test parameters. Table 53 Port test parameters Parameter LoopCount FrameSize DataPattern StopOnError LoopForever Description Number of frames sent: 1-4294967295. The default is 100. Number of bytes in each test frame: 40-2148. The default is 256. 32-bit hexadecimal - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 235
has been started. A notification with the test result(s) will appear on the screen when the test has completed. 8/20q FC Switch (admin) #> Test for port 1 Passed. See also test cancel, page 233 test status, page 236 test switch, page 238 8/20q Fibre Channel Switch command line interface guide 235 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 236
switch command: 8/20q FC Switch #> test status switch Test Level ----Switch Test Type ---Offline internal Test Status -----Passed Loop Count ----- 4 Test Failures -------- 0 Port Num ---0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 236 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 237
See also test cancel, page 233 test port, page 234 test switch, page 238 8/20q Fibre Channel Switch command line interface guide 237 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 238
56 Switch test parameters Parameter LoopCount FrameSize DataPattern Description Number of frames sent: 1-4294967295. The default is 100. Number of bytes in each test frame: 40-2148. The default is 256. 32-bit hexadecimal test value, or default, which defines random data 238 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 239
value, 40-2148) [256 ] (32-bit hex value or 'Default') [Default] (True / False) [True ] (True / False) [False ] Do you want to start the test? (y/n) [n] y See also test cancel, page 233 test status, page 236 test switch, page 238 8/20q Fibre Channel Switch command line interface guide 239 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 240
and the reset method. A hot reset or non-disruptive firmware activation does not reset the elapsed up time reported by this command. Authority None Syntax uptime Examples The following is an example of the uptime command: 8/20q FC Switch #> uptime Elapsed up time : 0 day(s), 2 hour(s), 28 min(s), 44 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 241
= True , never expires) chuckca (admin authority = False, expires in < 50 days) gregj (admin authority = True , expires in < 100 days) fred (admin authority = True , never expires) 8/20q Fibre Channel Switch command line interface guide 241 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 242
(y/n): [n] y The following is an example of the user list command: 8/20q FC Switch (admin) #> user list User ---admin@OB-session1 admin@OB-session2 snmp@OB-session3 snmp@IB-session4 admin@OB-session5 See also passwd, page 140 show users, page 230 Ethernet Addr-Port 10.20.68.108-1031 10.20.68.108 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 243
. Authority None Syntax whoami Examples The following is an example of the whoami command: 8/20q FC Switch #> whoami User name : admin@session2 Switch name : HP StorageWorks 8/20q Fibre Channel Switch Switch domain ID: 21 (0x15) 8/20q Fibre Channel Switch command line interface guide 243 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 244
switch port number pair (Domain ID, Port Number). Domain IDs can be 1-239; port numbers can be 0-255. • 6-character hexadecimal device Fibre Channel address (hex) • 16 zoning database supports a maximum active zone set, the zone will not be removed from the active zone set until the active reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 245
and port number pair (Domain ID, Port Number). Domain IDs can be 1-239; port numbers can be 0-255. • 6-character hexadecimal device Fibre Channel address (hex) • 16- 20q FC Switch #> zone orphans Current list of orphan zones zone3 zone4 8/20q Fibre Channel Switch command line interface guide 245 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 246
The following is an example of the zone zonesets command: 8/20q FC Switch #> zone zonesets zone1 Current List of ZoneSets for Zone: zone1 zone_set_1 See also zoneset, page 247 zoning edit, page 254 246 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 247
A-Z, a-z, _, $, ^, and -. The zoning database supports a maximum of 256 zone sets. You must enter active zone set, the zone will not be removed until the zone set has been deactivated. You must enter the zoning save command to save your changes. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 248
to be applied to the fabric. • Only one zone set can be active at one time. • A zone can be a component of more than one zone set. Examples The following is an example of the zoneset active command: 8/20q FC Switch #> zoneset active Active ZoneSet Information ActiveZoneSet Bets LastActivatedBy - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 249
: 8/20q FC Switch (admin) #> zoning active capture This command will overwrite the configured zoning database in NVRAM. Please confirm (y/n): [n] y The active zoning database has been saved. See also zone, page 244 zoneset, page 247 8/20q Fibre Channel Switch command line interface guide 249 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 250
session. Syntax zoning cancel Examples The following is an example of the zoning cancel command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> zoning edit . . . 8/20q FC Switch (admin-zoning) #> zoning cancel Zoning edit mode will be canceled. Please confirm (y/n): [n] y See also zoning - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 251
is an example of the zoning clear command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> zoning edit 8/20q FC Switch (admin-zoning) #> zoning clear 8/20q FC Switch (admin-zoning) #> zoning save See also zoning save, page 261 8/20q Fibre Channel Switch command line interface guide 251 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 252
Examples The following is an example of the zoning configured command: 8/20q FC Switch #> zoning configured Configured (saved in NVRAM) Zoning Information ZoneSet Zone ZoneMember 50:06:04:82:bf:d2:18:d2 10:00:00:00:c9:22:14:16 wwn_2215c3 50:06:04:82:bf:d2:18:c2 50:06:04:82:bf:d2:18: - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 253
: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> zoning delete orphans This command will remove all zonesets, zones, and aliases that are not currently active. Please confirm (y/n): [n] y 8/20q FC Switch (admin) #> zoning save 8/20q Fibre Channel Switch command line interface guide 253 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 254
edit 8/20q FC Switch (admin-zoning) #> . . 8/20q FC Switch (admin-zoning) #> zoning save The changes have been saved; however, they must be activated before they can take effect -- see Zoneset Activate command. See also zone, page 244 zoneset, page 247 zoning cancel, page 250 254 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 255
: 8/20q FC Switch (admin-zoning) #> zoning edited Edited (unsaved) Zoning Information ZoneSet Zone ZoneMember ------- ---- ---------- ZS1 Z1 10:00:00:c0:dd:00:b9:f9 10:00:00:c0:dd:00:b9:fa See also zoning configured, page 252 8/20q Fibre Channel Switch command line interface guide 255 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 256
user who made them. • Checksum for the zoning database Authority None Syntax zoning history Examples The following is an example of the zoning history command: 8/20q FC Switch #> zoning history Active Database Checksum admin@OB-session17 day mon date hh:mm:ss yyyy 00000000 256 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 257
(non-volatile or active). If you omit this switch's zoning database is 2,000. Each instance of a zone in a zone set counts toward this maximum. Maximum number of members in a zone is 2,000. Maximum number of members in an alias is 2,000. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 258
an example of the zoning list command: 8/20q FC Switch #> zoning list Active (enforced) ZoneSet Information ZoneSet Zone ZoneMember wwn bf:d2:18:d2 10:00:00:00:c9:22:14:16 wwn_2215c3 50:06:04:82:bf:d2:18:c2 50: d2:18:d2 10:00:00:00:c9:22:14:16 wwn_2215c3 50:06:04:82:bf:d2:18:c2 50: - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 259
set. Examples The following is an example of the zoning merged command: 8/20q FC Switch #> zoning merged To permanently save the merged database locally, execute the 'zoning page 252 zoning edited, page 255 zoning list, page 258 8/20q Fibre Channel Switch command line interface guide 259 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 260
MergeAutoSave parameter is False (see Table 18), you can use this command to revert changes to the merged zone set that were propagated from another switch in the fabric through zone set activation or merging fabrics. Authority Admin session Syntax zoning restore 260 Command - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 261
8/20q FC Switch (admin-zoning) #> . . 8/20q FC Switch (admin-zoning) #> zoning save The changes have been saved; however, they must be activated before they can take effect -- see zoneset activate command. See also zoning edit, page 254 8/20q Fibre Channel Switch command line interface guide 261 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 262
262 Command reference - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 263
109 reference 109 rules and conventions 109 syntax 109 command-line completion 16 common transport authentication 127 Config command 116 Activate example 37 Backup example 39 Copy example 37 Delete example 37 Edit example 38, 66 List example 37 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 264
48 Log example 48 feature upgrade 48, 123 file downloading and uploading 18 File Transfer Protocol downloading files 18, 39 downloading firmware 44 restoring configuration file 39 service 181 user account 21 firmware 43, 135 activation 43 custom installation 45 displaying image files 136 image - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 265
77, 84, 128 service 181 manufacturer information 219 mask address 185 MD5 authentication 126 Media Access Control address 189 memory activity 208 message format 96 queue 101, 104 MS See Management Server Multi-Frame Sequence bundling 162 8/20q Fibre Channel Switch command line interface guide 265 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 266
203 IP address 185 mask 185 resetting configuration 148 Network Time Protocol client 185 description 40 interaction with Date command 121 server address 186 service 181 non-disruptive activation 43, 135 NTP See Network Time Protocol O offline test port 58, 234 switch 238 online test port 234 switch - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 267
27 NTP configuration 42 remote logging 93 Set Switch State command 187 Set Timezone command 188 severity level 89 SHA-1 authentication 126 short-text format 96 Show About command 189 Show Alarm command 190 Show Broadcast command 191 8/20q Fibre Channel Switch command line interface guide 267 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 268
test 46 operational information 30, 225 paging 40 reset 31, 240 resetting 42, 148 services 35, 147, 180, 221 testing 45, 46, 238 user accounts 21 syntax 109 system configuration changing 185 displaying 223 system process information 31 T technical support, HP 13, 17 Telnet connection security 73 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 269
member zone 247 displaying 245, 247, 248 information 60 managing 68 membership 62 merged 62, 67 removing zones 69 renaming 69, 248 Zoneset command 247 Activate example 69 Active example 61 Add example 69 Copy example 69 8/20q Fibre Channel Switch command line interface guide 269 - HP StorageWorks 8/20q | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 270
68 List example 60 Merged example 62 Remove example 69 Rename example 69 Zones example 62 zoning edit session 109 hardware-enforced 59 Zoning Active command 249 Capture example 67 example 61 Zoning Cancel command 250 Zoning Clear command 251 example 68 Zoning Configured command 252 zoning database
HP StorageWorks
8/20q Fibre Channel Switch command line
interface guide
Part number: 5697-7198
First edition: February 2008