HP StorageWorks SN6000 HP StorageWorks 8/20q Fibre Channel Switch command line
HP StorageWorks SN6000 - Fibre Channel Switch Manual
View all HP StorageWorks SN6000 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP StorageWorks SN6000 manual content summary:
- HP StorageWorks SN6000 | 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-7517 Second edition: July 2008 - HP StorageWorks SN6000 | 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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 3
security association database 34 Creating an association 35 Deleting an association 35 Modifying a user-defined association 36 Renaming a user-defined association 37 Copying an association 37 Resetting the IP security configuration 37 8/20q Fibre Channel Switch command line interface guide 3 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 4
information 45 Firmware information 45 Managing switch services 46 Managing switch configurations 48 Displaying a list of switch configurations 48 Activating a switch configuration 48 Copying a switch configuration 48 Deleting a switch configuration 48 Modifying a switch configuration 49 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 5
alias 84 7 Connection security configuration 85 Managing SSL and SSH services 85 Displaying SSL and SSH services 86 Creating an SSL security certificate 87 8 Device security 94 Managing security sets 94 Creating a security set 94 8/20q Fibre Channel Switch command line interface guide 5 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 6
Displaying RADIUS server information 99 Configuring a RADIUS server on the switch 100 10Event log configuration 103 Starting and stopping event logging 103 109 Call Home messages 110 Technical support interface 111 Configuring the Call Home service 112 Managing the Call Home database 113 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 7
206 set pagebreak 209 set port 210 set setup callhome 211 set setup radius 213 set setup services 216 set setup snmp 219 set setup system 222 set switch state 229 set timezone 230 show about 231 show alarm 233 show broadcast 234 8/20q Fibre Channel Switch command line interface guide 7 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 8
261 show setup mfg 262 show setup radius 263 show setup services 264 show setup snmp 265 show setup system 266 show steering 268 show switch 269 show system 271 show testlog 272 show timezone 273 show topology 274 show users 275 show version 276 shutdown 278 snmpv3user 279 test cancel - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 9
DNS host name configuration parameters 222 54 IPv4 Ethernet configuration parameters 223 55 IPv6 Ethernet configuration parameters 223 56 Event logging configuration parameters 224 8/20q Fibre Channel Switch command line interface guide 9 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 10
filter parameters 248 63 Name server display parameters 252 64 Show port display entries 256 65 Switch operational parameters 269 66 Show version display entries 276 67 SNMP version 3 user account parameters 279 68 Offline port loopback types 283 69 Port test parameters 283 70 Connectivity - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 11
This guide is for users who are responsible for installing and servicing Fibre Channel equipment using the command line interface. Related documentation The following manuals and materials are referenced in the text and/or provide additional information. • HP StorageWorks 8/20q Fibre Channel Switch - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 12
Medium blue text: Figure 1 Medium blue, underlined text (http://www.hp.com) Bold font Italics font Monospace font Monospace, italic font Monospace or data. IMPORTANT: Provides clarifying information or specific instructions. NOTE: Provides additional information. TIP: Provides helpful hints and - HP StorageWorks SN6000 | 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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 14
14 About this guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 15
each time you log in until you 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 8/20q Fibre Channel Switch command line interface guide 15 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 16
2. Enter an account name and password when prompted. The default account name is admin, and its password is password. NOTE: A switch supports a combined maximum of 19 logins that perform monitoring tasks are available to all user accounts. Commands that perform configuration tasks are available - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 17
breaks. By default, page breaks are 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 18
directory where you want to download the support file. 2. Enter the ftp command and the switch IP address or symbolic name. >ftp 10.0.0.1 3. When prompted for a user and password, enter the FTP account name and password (images, images). user: images password: images 4. Set binary mode and use the - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 19
creating support and log files: • See "Installing firmware" on page 54. • See "Backing up and restoring a switch configuration" on page 50. • See "Creating and downloading a log file" on page 107. • See "Creating a support file" on page 17. 8/20q Fibre Channel Switch command line interface guide 19 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 20
20 Command line interface usage - HP StorageWorks SN6000 | 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 SN6000 | 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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 23
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 23 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 24
24 User account configuration - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 25
information, enter the show setup system ipv6 command: 8/20q FC Switch #> show setup system ipv6 System Information EthIPv6NetworkEnable EthIPv6NetworkDiscovery EthIPv6NetworkAddress EthIPv6GatewayAddress False Static 2001::1/64 fe80::1 8/20q Fibre Channel Switch command line interface guide 25 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 26
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 discovery from the following server types: • Bootstrap Protocol (BootP) • Reverse Address Resolution Protocol (RARP) • Dynamic Host Configuration Protocol - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 27
/ False) : EthIPv6Discovery (1=Static, 2=Dhcpv6, 3=Ndp) : EthIPv6NetworkAddress (IPv6 Address/Mask Length format) : EthIPv6GatewayAddress (IPv6 Address) : Do you want to save and activate this system setup? (y/n): [n] 8/20q Fibre Channel Switch command line interface guide 27 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 28
IP address. To configure a DNS server, enter the set setup system dns command in an Admin session, as shown in the following example: 8/20q FC Switch (admin) #> set setup system dns A list of attributes with formatting and current values will follow. Enter a new value or simply press the ENTER key - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 29
If a host name resolves to more than one IP address, the switch creates the necessary policies and associations. You can recognize these dynamic policies and associations because their names begin with DynamicSP_ and DynamicSA_ respectively. 8/20q Fibre Channel Switch command line interface guide 29 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 30
(TCP), or the User Datagram Protocol (UDP). switch in maintenance mode, and correct the problem through the serial port interface. For information about using maintenance mode and connecting through the serial port, see the HP StorageWorks 8/20q Fibre Channel Switch installation and reference guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 31
and copy user-defined policies. Dynamic policies can only be copied. • Creating a policy, page 32 • Deleting a policy, page 32 • Modifying a user-defined policy, page 33 • Renaming a user-defined policy, page 34 • Copying a policy, page 34 8/20q Fibre Channel Switch command line interface guide 31 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 32
esp Encapsulating Security Payload 3=both : 2 *espRuleLevel (1=default, 2=use, 3=require) : 3 The security policy user-defined policy, enter the ipsec policy delete command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> ipsec edit 8/20q FC Switch - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 33
Security Payload 3=both : *ahRuleLevel (1=default, 2=use, 3=require) : *espRuleLevel (1=default, 2=use, 3=require) : The Switch (admin-ipsec) #> ipsec save The IPsec configuration will be saved and activated. Please confirm (y/n): [n] y 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 34
activated. Please confirm (y/n): [n] y Managing the security association database The security association database is made up of user-defined associations and dynamic associations (associations created by the switch). In addition to creating an association, you can delete, modify, rename, and copy - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 35
) #> ipsec association delete association_1 The security association will be deleted. Please confirm (y/n): [n] y 8/20q FC Switch (admin-ipsec) #> ipsec save The IPsec configuration will be saved and activated. Please confirm (y/n): [n] y 8/20q Fibre Channel Switch command line interface guide 35 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 36
-defined association To modify an existing user-defined association, enter the ipsec association edit command in an Admin session and an Ipsec Edit session as shown in the following example. An asterisk (*) indicates a required entry. 8/20q FC Switch (admin-ipsec) #> ipsec association edit h2h-sh - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 37
can copy both user-defined and dynamic Switch #> admin start 8/20q FC Switch (admin) #> reset ipsec The IPsec configuration will be reset and the default values activated. Please confirm (y/n): [n] y Reset and activation in progress .... 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 38
38 Network configuration - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 39
information, page 40 • Switch operational information, page 41 • System process information, page 42 • Elapsed time between resets, page 42 • Configuration information, page 42 • Hardware information, page 45 • Firmware information, page 45 8/20q Fibre Channel Switch command line interface guide 39 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 40
of worldwide names (WWNs) in the fabric, as shown in the following example. The show ns command displays the WWNs that are local to the switch. 8/20q FC Switch #> show ns all Seq Domain Port Port No ID ID Type COS PortWWN No entries found for domain ID 1. NodeWWN ------- Seq Domain Port - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 41
.x.x.x-0 (day month date time year) 0 19 (0x13) 130000 128 Critical 20 15 PowerUp Vx.x.x.0 (day month date time year) Vx.x.x.0 (day month date time year) default Online False Off Online False 00000000 Passed 00000000 NeverRun 32 Normal 8/20q Fibre Channel Switch command line interface guide 41 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 42
2-03:02:26 qfsApp 2-03:02:25 cim_server The uptime command displays the elapsed time since the switch was last reset and the reset method. Note that a hot reset or non-disruptive firmware activation does not reset the elapsed time reported by this command. The following example displays the time - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 43
to the switch. See Table 39 for descriptions of these parameters. 8/20q FC Switch #> show config zoning Configuration Name: default Zoning Configuration Information MergeAutoSave True DefaultZone Allow DiscardInactive False 8/20q Fibre Channel Switch command line interface guide 43 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 44
configuration parameters. See Table 36 for descriptions of the port binding parameters. 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 45
, 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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 46
of switch services using the set setup services commands. To display the status of the switch services, use the show setup services command. See Table 50 for descriptions of the switch services setttings. IMPORTANT: Simple SAN Connection Manager version 1.0 does not support the SSL service. If - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 47
) (True / False) (True / False) (True / False) [True ] [False] [True ] [False] [True ] [True ] [False] [False] [True ] [True ] [True ] Do you want to save and activate this services setup? (y/n): [n] 8/20q Fibre Channel Switch command line interface guide 47 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 48
that the config list command does not require an Admin session. 8/20q FC Switch #> config list Current list of configurations default config_1 config_2 Activating a switch configuration To activate a switch configuration (config_1), enter the config activate command in an Admin session, as shown - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 49
value, 100-100000 msec) (decimal value, 10-20000 msec) (decimal value, 1-255) (string, max=64 chars) [Online ] [True ] [True ] [True ] [1000 ] [2 ] [False ] [8/20q FC Switch] [10000 ] [2000 ] [254 ] [Default Config] 8/20q Fibre Channel Switch command line interface guide 49 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 50
the configdata file, open an FTP session on the switch and login with the account name images and password images. Transfer the file in binary mode with the get command, as shown in the following example: >ftp ip_address user:images password: images ftp>bin ftp>get configdata xxxxx bytes sent - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 51
the date command, you can set the time zone using the set timezone command. The default time zone is Universal Time (UTC) also known as Greenwich Mean Time (GMT). Changing following example: 8/20q FC Switch #> date Mon Apr 07 07:51:24 2008 8/20q Fibre Channel Switch command line interface guide 51 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 52
, for example), enter the set timezone command in an Admin session, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> set timezone Africa Antarctica Atlantic America Asia Australia Europe Indian Pacific UTC Press ENTER for more options or 'q' to - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 53
afterwards Clears the event log X X X Deletes supports files, firmware image files that have not been unpacked, and configuration backup files X X Closes all management sessions X X X Performs power-on self test (POST) X 8/20q Fibre Channel Switch command line interface guide 53 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 54
will perform a disruptive activation. A disruptive activation interrupts Fibre Channel data traffic on the switch, while a non-disruptive activation does not. For information about non-disruptive firmware versions, see the Firmware Release Notes. To ensure a successful non-disruptive activation - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 55
ready. 5. Enter the password for your account name (FTP only). 331 Password required for johndoe. Password:****** 230 User johndoe logged in. The firmware will now be downloaded from the remote host to the switch, installed, and activated. 8/20q Fibre Channel Switch command line interface guide 55 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 56
ftp ip_address 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 57
32-bit hex value or 'Default') [Default] (True / False) [True ] (True / False) [False ] Do you want to start the test? (y/n) [n] y Offline tests for switches An offline test is a disruptive a loopback plug is required for all ports. 8/20q Fibre Channel Switch command line interface guide 57 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 58
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 When the test is complete, remember to place the switch back online. The switch resets when it leaves the diagnostics state. 8/20q FC - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 59
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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 60
To configure idle login and Admin session limits, enter the set setup system timers command as shown in the following example: 8/20q FC Switch (admin) #> set setup system timers A list of attributes with formatting and current values will follow. Enter a new value or simply press the ENTER key to - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 61
for descriptions of these parameters. 8/20q FC Switch #> show config port 3 Configuration Name: default Port Number: 3 -----------AdminState LinkSpeed PortType SymbolicName False 0 0 True False False True False True False Disabled True 8/20q Fibre Channel Switch command line interface guide 61 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 62
port operational information, enter the show port command. 8/20q FC Switch #> show port 1 Port Number: 1 ------------ AdminState Online OperationalState Offline MaxCredit 16 UpstreamISL False MediaSpeeds 2Gb/s, 4Gb/s, 8Gb/s XmitterEnabled True ALInit 1 ALInitError 0 BadFrames 0 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 63
parameters. 8/20q FC Switch #> show config threshold Configuration Name: default ------------ Threshold Configuration Information LOSMonitoringEnabled True RisingTrigger 100 FallingTrigger 5 SampleWindow 10 8/20q Fibre Channel Switch command line interface guide 63 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 64
in bytes and frames. Values are expressed in thousands (K) and millions (M) of bytes or frames per 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 65
switch reset, or until you activate a configuration. IMPORTANT: 8 Gb/s SFPs do not support the 1 Gb/s setting. Setting a Fibre Channel 4Gb/s, 8=8Gb/s, A=Auto Switch (admin-config) #> config save 8/20q FC Switch (admin-config) #> config activate 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 66
configuration for all ports, enter the show config security portbinding command, as shown in the following example: 8/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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 67
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 67 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 68
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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 69
[429496729] (decimal value, 40-2148) [256 ] (32-bit hex value or 'Default') [Default ] (True / False) [True ] (True / False) [False ] Do you 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 69 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 70
(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 you wish to terminate this process before reaching - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 71
The active zone set determines the current fabric zoning. Displaying zoning database information A switch maintains three zoning databases: • Non-volatile-This zoning database is permanent and , page 76 • Zoning database limits, page 77 8/20q Fibre Channel Switch command line interface guide 71 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 72
the non-volatile zoning database. To display a list of the zone sets, enter the zoneset list command, as shown in the following example: 8/20q FC Switch #> zoneset list Current List of ZoneSets alpha beta To display all zone sets, zones, and zone members in the active zone set and configured zone - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 73
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 73 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 74
database" on page 77. To display merged zone set information, enter the zoning merged command, as shown in the following example: 8/20q FC Switch #> zoning merged To permanently save the merged database locally, execute the 'zoning merged capture' command. To edit the merged database use the - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 75
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:04 8/20q FC Switch #> zone orphans Current list of orphan zones zone3 zone4 8/20q Fibre Channel Switch command line interface guide 75 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 76
alias, enter the alias members command, as shown in the following example: 8/20q FC Switch #> alias members alias1 Current list of members for Zone Alias: alias1 50:06:04:82 zone set activation or deactivation and the user account that performed it • Time of the most recent modifications to the zoning - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 77
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 77 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 78
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) #> set config zoning A list of attributes with formatting and current values will - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 79
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 79 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 80
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 currently active. Please confirm - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 81
the zoneset activate command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> zoneset activate zoneset_1 Deactivating a zone set To deactivate the an Admin session and a Zoning Edit session. 8/20q Fibre Channel Switch command line interface guide 81 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 82
zone_a, enter the zone rename 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 rename zone_1 zone_a 8/20q FC Switch (admin-zoning) #> zoning save Copying a zone To copy the contents of an existing - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 83
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 83 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 84
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 84 Zoning configuration - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 85
the following tasks: • Managing SSL and SSH services, page 85 • Displaying SSL and SSH services, page 86 • Creating an SSL security certificate, page 87 The 8/20q Fibre Channel Switch supports secure connections with Telnet and switch management applications. The Secure Shell protocol (SSH) secures - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 86
before reaching the end of the list press 'q' or 'Q' and the ENTER key to do so. PLEASE NOTE Further configuration may be required after 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 87
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 51. 8/20q Fibre Channel Switch command line interface guide 87 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 88
88 Connection security configuration - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 89
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 89 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 90
set. To display component groups 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 91
following example: 8/20q FC Switch #> securityset groups alpha Current 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 92
the most recent security set activation or deactivation, and the user account that performed it • Time of the most recent modifications to limits command, as shown in the following example: 8/20q FC Switch #> security limits Security Attribute Maximum Current MaxSecuritySets 4 1 MaxGroups - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 93
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 93 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 94
Modifying the security database To modify the security database: 1. Open an Admin session with the admin start command. 8/20q FC Switch #> admin start An Admin session prevents other accounts from making changes at the same time either through Telnet, QuickTools, or Simple SAN Connection Manager. 2. - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 95
enter the securityset add command, as shown in the following example: 8/20q FC Switch (admin-security) #> securityset add securityset_1 group_isl group_port Removing groups from a security an Admin session and a Security Edit session. 8/20q Fibre Channel Switch command line interface guide 95 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 96
group add command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> security edit 8/20q FC Switch (admin-security) #> group add Group_1 A list of attributes with formatting and default values will follow Enter a new value or simply press the ENTER key - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 97
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 97 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 98
98 Device security configuration - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 99
switch's security database, or remotely using a Remote Dial-In User Service switch or both the switch and the initiator device, if the device supports authentication. A RADIUS server can also be configured to authenticate user accounts. See "User Fibre Channel Switch command line interface guide 99 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 100
configures the common RADIUS server configuration parameters: 8/20q FC Switch (admin) #> set setup radius common A list of be enabled in order to configure RADIUS User Authentication SSL can be enabled using the 'set setup services' command. Current Values: DeviceAuthOrder UserAuthOrder TotalServers - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 101
be enabled in order to configure RADIUS User Authentication SSL can be enabled using the 'set setup services' command. Server 1 Current Values: characters, recommend 22+) : Do you want to save and activate this radius setup? (y/n): [n] 8/20q Fibre Channel Switch command line interface guide 101 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 102
102 RADIUS server configuration - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 103
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 messages reference guide. Events are classified by the following severity levels: • Alarm-The alarm level describes events - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 104
time the alarm was issued in the format . For events that originate with the switch, the time stamp comes from the switch; for events that original with Simple SAN Connection Manager or QuickTools, the time stamp comes from the workstation. The event severity - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 105
can choose from the following component events: • E_Port events • Management server events • Name server events • 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 105 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 106
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 syslog protocol. This, however, requires - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 107
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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 108
108 Event log configuration - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 109
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 119. 8/20q Fibre Channel Switch command line interface guide 109 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 110
Call Home messages The Call Home service generates e-mail messages for the specified event severity level and the following switch actions: • Switch comes online • Switch goes offline • Reboot • Power up • Power down • SFP failure NOTE: For a power-down event, if the switch is forced to power down - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 111
. The capture command enables you to add instructions to the Tech_Support_Center profile to specify the frequency with which to e-mail the collected data. For more information, see "Adding a data capture configuration" on page 118. 8/20q Fibre Channel Switch command line interface guide 111 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 112
shown in the following example. See Table 47 for a description of the Call Home service configuration entries. 8/20q FC Switch (admin) #> set setup callhome A list of attributes with formatting and current values attribute must be configured or the switch will not attempt to deliver messages. - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 113
for other administrators, enter the admin end command. To remove all Call Home profiles and restore the Call Home service configuration to its factory state, enter the reset callhome command. 8/20q FC Switch (admin) #> reset callhome 8/20q Fibre Channel Switch command line interface guide 113 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 114
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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 115
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 115 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 116
Switch #> admin start 8/20q FC Switch (admin) #> callhome edit 8/20q FC Switch (admin-callhome) #> profile create profile_1 A list of attributes with formatting and default EmailSubject (string, max=64 chars, N=None) : Technical problem RecipientEmail (ex: [email protected], N=None) 1. - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 117
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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 118
not exist, you must create it using the profile create command. 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> callhome edit 8/20q FC Switch (admin-callhome) #> capture add A list of attributes with formatting and default values will follow. Enter a value or simply press the ENTER key to - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 119
start 8/20q FC Switch (admin) #> callhome queue clear The callhome queue will be cleared. Please confirm (y/n): [n] y To display the contents of the Call Home message queue, see "Displaying Call Home database information" on page 114. 8/20q Fibre Channel Switch command line interface guide 119 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 120
[n] y To clear all Call Home profiles and reset the Call Home service configuration to the factory defaults, enter the reset callhome command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> reset callhome The callhome configuration will be reset and the - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 121
[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 121 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 122
SNMP Information SNMPEnabled True Contact Location N_107 System Test Lab Description HP StorageWorks 8/20q FC Switch ObjectID 1.3.6.1.4.1.3873.1.11 AuthFailureTrap True ProxyEnabled True SNMPv3Enabled False Trap1Enabled False Trap1Address 10.0.0.254 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 123
following example sets the common trap parameters for all SNMP traps: 8/20q FC Switch (admin) #> set setup snmp common A list of attributes with formatting and False) : Do you want to save and activate this snmp setup? (y/n): [n] 8/20q Fibre Channel Switch command line interface guide 123 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 124
The following example configures SNMP trap 1: 8/20q FC Switch (admin) #> set setup snmp trap 1 A list setup? (y/n): [n] Resetting the SNMP configuration To reset the SNMP configuration back to the factory defaults, enter the reset snmp command in an Admin session, as shown in the following example. - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 125
sections describe how to create, display, and modify SNMP version 3 user accounts: • Creating an SNMP version 3 user account, page 126 • Displaying SNMP version 3 user accounts, page 126 • Modifying an SNMP version 3 user account, page 127 8/20q Fibre Channel Switch command line interface guide 125 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 126
account, enter the snmpv3user add command as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> snmpv3user add A list of SNMPV3 user attributes with formatting and default values as applicable will follow. Enter a new value OR simply press the ENTER key where - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 127
so. Username (8-32 chars) : snmpuser1 Group (0=ReadOnly, 1=ReadWrite) [ReadWrite ] : 1 Authentication (True/False) [True ] : f Do you want to save and activate this setup ? (y/n): [n] y SNMPV3 user account edited and activated. 8/20q Fibre Channel Switch command line interface guide 127 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 128
128 Simple Network Management Protocol configuration - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 129
These command include the group, security, and securityset commands. • Commands that modify the switch configuration require a Config Edit session, which is opened by the config edit command. These captures of the command and its output. 8/20q Fibre Channel Switch command line interface guide 129 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 130
session end or stop Closes the Admin session. The hardreset, hotreset, quit, shutdown, and reset switch commands will also end an Admin session. cancel Terminates an Admin session opened by another user. Use this operand with care because it terminates the Admin session without warning the other - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 131
database supports a 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 132
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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 133
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 Home database modification and the user who performed it. • Fibre Channel Switch command line interface guide 133 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 134
Home profile given by [profile]. Examples The following is an example of the callhome history command: 8/20q FC Switch #> callhome history CallHome Database History ConfigurationLastEditedBy admin@OB-session2 ConfigurationLastEditedOn day mmm dd hh:mm:ss yyyy DatabaseChecksum 000014a3 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 135
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 176 reset, page 181 8/20q Fibre Channel Switch command line interface guide 135 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 136
and trend data are collected from the switch and sent to recipients specified in the remove Operands add Adds data capture instructions to the Tech_Support_Center profile. Table recipients. The format is hh:mm on a 24-hour clock. The default 02:00. Day of the week to send status and trend data to - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 137
end of the list press 'q' or 'Q' and the ENTER key to do so. Value (press ENTER to accept the default, 'q' to quit): TimeOfDay (HH:MM) [02:00] DayOfWeek (Sun,Mon,Tue,Wed,Thu,Fri,Sat) [Sat configuration use the 'callhome cancel' command. 8/20q Fibre Channel Switch command line interface guide 137 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 138
The following is an example of the capture remove command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> callhome edit 8/20q FC Switch (admin-callhome) #> capture remove Capture Entries for Profile: Tech_Support_Center Index TimeOfDay DayOfWeek Interval 1 02:00 Sat 1 (weeks) - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 139
a password if the server requires one. You must enter the config restore command to apply the configuration to the switch. list Displays a list of all available configurations on the switch. This operand does not require an Admin session. 8/20q Fibre Channel Switch command line interface guide 139 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 140
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 workstation. 8/20q FC Switch #> config backup 8/20q FC Switch #> exit #>ftp symbolic_name or ip_address user: images password: images ftp> bin - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 141
] 8/20q FC Switch (admin) #> Alarm Msg: [day month date time year][A1000.0005][SM][The switch is being reset] See also set config port, page 196 show config port, page 236 set config switch, page 201 show config switch, page 239 8/20q Fibre Channel Switch command line interface guide 141 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 142
to a remote host. Otherwise, you can use FTP to download the support file from the switch to your workstation. The support file is useful to technical support personnel for troubleshooting switch problems. Use this command when directed by your authorized maintenance provider. This operand does - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 143
18) ready. 331 Password required for johndoe. Password: xxxxxxx 230 User johndoe logged in. cd bin/support 250 CWD command successful. service on localhost.localdomain. See also date, page 144 set setup system, page 222 set timezone, page 230 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 144
the workstation time. Otherwise, the connection will fail. Examples To display the date, enter the date command, as shown in the following example: 8/20q FC Switch #> date Mon Apr 07 07:51:24 200x To set the date and time (January 31, 10:15 AM, 2008), enter the date command, as - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 145
exit Description Closes the switch connection. Authority None Syntax exit Notes You can also press Control-D to close the switch connection. 8/20q Fibre Channel Switch command line interface guide 145 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 146
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) #> feature add - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 147
18) ready. 331 Password required for johndoe. Password: xxxxxxxxx 230 User johndoe logged in. bin 200 Type set to I. verbose Verbose mode off. This may take several seconds... The switch will now reset. Connection closed by foreign host. 8/20q Fibre Channel Switch command line interface guide 147 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 148
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, you may log in to the switch again. Do you want to continue? [y/n]: y Press 'q' and the ENTER key to abort this command. FTP or - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 149
default is None. The preferred hash function to use to decipher the encrypted primary secret sent by the ISL member. The hash functions are MD5 or SHA-1. If the ISL member does not support the primary hash, the switch cannot be the same. 8/20q Fibre Channel Switch command line interface guide 149 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 150
(None) authentication using the Challenge Handshake Authentication Protocol. The default is None. PrimaryHash The preferred hash function to use to or SHA-1. If the Port group member does not support the primary hash, the switch will use the secondary hash. PrimarySecret Hexadecimal string that - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 151
hash functions are MD5 or SHA-1. If the member does not support the primary hash, the switch will use the secondary hash. The hash function to use to decipher the encrypted Secret sent by the MS group member. Hash values are MD5 or SHA-1. 8/20q Fibre Channel Switch command line interface guide 151 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 152
group members. The string has the following lengths depending on the hash function: • MD5 hash: 16-byte • SHA-1 hash: 20-byte Domain ID of the switch to which to bind the ISL group member worldwide name. This option is available only if FabricBindingEnabled is set to True using the set config - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 153
. To discard this configuration use the security cancel command. The following is an example of the group list command: 8/20q FC Switch #> group list Group SecuritySet ----- ----------- group1 (ISL) alpha group2 (Port) alpha 8/20q Fibre Channel Switch command line interface guide 153 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 154
The following is an example of the group members command: 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 189 154 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 155
session Syntax hardreset Notes To reset the switch without a power-on self test, see the reset command. To reset the switch without disrupting traffic, see the hotreset command. See also hotreset, page 158 set log, page 206 reset, page 181 8/20q Fibre Channel Switch command line interface guide 155 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 156
| backup | cancel | copy | delete | edit | list | restore | save } The following is an example of the help config edit command: 8/20q FC Switch #> help config edit config edit [CONFIG_NAME] This command initiates a configuration session and places the current session into config edit mode. If - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 157
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 | 8/20q Fibre Channel Switch command line interface guide 157 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 158
to try again later. Otherwise, the switch will perform a disruptive activation. Verify that the current firmware version supports the installation and non-disruptive activation of the new firmware version. For information about compatible firmware versions, see the Firmware Release Notes. To ensure - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 159
consistent performance throughout the fabric, ensure that all switches are running the same version of firmware. To install firmware when the workstation has an FTP server, use the image install command or the firmware install command. 8/20q Fibre Channel Switch command line interface guide 159 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 160
10.0.0.254 7.6.00.11_epc >ftp 10.0.0.254 user:johndoe password: ******** ftp>bin ftp>put 7.6.00.11_epc ftp>quit 8/20q FC Switch (admin) $>image list 8/20q FC Switch (admin) $>image unpack 7.6.00.11_epc Image unpack command result: Passed See also firmware install, page 147 160 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 161
and the user who performed Switch #> ipsec history IPsec Database History ConfigurationLastEditedBy ConfigurationLastEditedOn Active Database Checksum Inactive Database Checksum johndoe@OB-session5 Sat Mar 8 07:14:36 2008 00000144 00000385 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 162
The following is an example of the ipsec limits command: 8/20q FC Switch #> ipsec limits Configured (saved) IPsec Information IPsec Attribute MaxConfiguredSAs MaxConfiguredSPs See also ipsec association, page 163 ipsec list, page 166 ipsec policy, page 169 Maximum ------- - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 163
are alphanumeric, _, $, ^, and -. The Security Association database supports a maximum of 512 user-defined associations. You must enter the Ipsec Save command afterwards to string to use for authentication such as "12345678901234567890" 8/20q Fibre Channel Switch command line interface guide 163 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 164
for the association given by [association]. active Displays the configuration for all active associations. configured Displays the configuration for all user-defined associations. edited Displays the configuration for all associations that have been modified, but not saved. rename [association_old - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 165
specify value, 'q' to quit): Description (string value, 0-127 bytes) : Host-to-host:switch->host *SourceAddress (hostname, IPv4, or IPv6 Address) : fe80::2c0:ddff:fe03:d4c1 *DestinationAddress list, page 166 ipsec policy, page 169 8/20q Fibre Channel Switch command line interface guide 165 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 166
Displays a summary of active associations and policies. This is the default. association [option] Displays the configuration for the associations given by modified, but not saved. configured Displays a summary of the user-defined associations and policies. edited Displays a summary of the - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 167
: 3des-cbc ******** h2h-hs-sa Description: Host-to-host: host->switch Source: fe80::250:daff:feb7:9d02 Destination: fe80::2c0:ddff:fe03:d4c1 Protocol: esp SPI: 444 (0x1bc) Authentication: hmac-sha1 ******** Encryption: 3des-cbc ******** 8/20q Fibre Channel Switch command line interface guide 167 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 168
128 Protocol: any Direction: in Priority: 0 Action: ipsec Rule Protocol Mode Level 1 esp transport require h2h-sh-sp Description: Host-to-host: switch->host Source: fe80::2c0:ddff:fe03:d4c1/128 Destination: fe80::250:daff:feb7:9d02/128 Protocol: any Direction: out Priority: 0 Action: ipsec - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 169
-. The Security Policy database supports a maximum of 128 user-defined policies. You must User Datagram Protocol (UDP) • Any protocol ICMP number (0-255). You are prompted for this parameter only if you specify ICMP6 for the Protocol parameter. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 170
with the policy Rule level to apply for ESP protection: • Default-Use the system wide default for the protocol • Use-Use a security association if one is for all active policies. configured Displays the configuration for all user-defined policies. edited Displays the configuration for all policies - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 171
only) 1=ah Authentication Header 2=esp Encapsulating Security Payload 3=both : 2 *espRuleLevel (1=default, 2=use, 3=require) : 3 The security policy has been created. This configuration association, page 163 ipsec list, page 166 8/20q Fibre Channel Switch command line interface guide 171 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 172
] 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 172 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 173
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 145 logout, page 173 8/20q Fibre Channel Switch command line interface guide 173 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 174
8/20q FC Switch #> admin 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 290 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 175
10.20.11.57. The following is an example of a ping command for which there was no response from the other switch: 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 175 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 176
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 is reserved. The Call Home database supports a maximum of 25 profiles. You must default is 2,000,000. Subject of the e-mail; up - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 177
key to do so. Default Values: Level Format MaxSize EmailSubject N=None) : Technical problem RecipientEmail (ex: admin@ 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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 178
the end of the list press 'q' or 'Q' and the ENTER key to do so. Current Values: Level Alarm Format ShortText MaxSize 1000 EmailSubject Switch Problem RecipientEmail (up to 10 entries allowed) 1. [email protected] New Value (press ENTER to accept current value, 'q' to quit): Level - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 179
system process information. Authority None Syntax ps 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 00:00:04 245 224 0.0 0.3 00 03:02:26 qfsApp 2-03:02:25 cim_server 8/20q Fibre Channel Switch command line interface guide 179 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 180
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 145 logout, page 173 180 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 181
unchanged. services Resets the switch services configuration to the default values as described in Table 24. snmp Resets the SNMP configuration settings to the factory default values. See Table 22 for SNMP configuration default values. 8/20q Fibre Channel Switch command line interface guide 181 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 182
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 following system configuration settings to the factory default values: • DNS host (Table 25) • IPv4 Ethernet - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 183
to display the RADIUS configuration. The default values are shown in Table 23. • Enter the show setup services command to display the switch service configuration. The default values are shown in Table 24. ThrottleDupsEnabled True 8/20q Fibre Channel Switch command line interface guide 183 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 184
InteropCredit ExtCredit FANEnable AutoPerfTuning LCFEnable MFSEnable MSEnable NoClose IOStreamGuard VIEnable PDISCPingEnable Default Online True True True 1,000 1 (0x Hex) False 8/20q FC Switch 10000 2000 254 Config Default Port Defaults Online Auto GL Port n, where n is the port number False True - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 185
configuration defaults Parameter MergeAutoSave DefaultZone DiscardInactive Default True Allow False Table 22 SNMP configuration defaults Parameter SNMPEnabled Contact Location Default True 8/20q Fibre Channel Switch command line interface guide 185 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 186
SNMP configuration defaults (continued) Parameter Default Description HP StorageWorks 8/20q FC Switch ObjectID Switch services configuration defaults Parameter TelnetEnabled SSHEnabled GUIMgmtEnabled SSLMgmtEnabled EmbeddedGUIEnabled SNMPEnabled NTPEnabled CIMEnabled FTPEnabled Default - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 187
defaults Parameter EthIPv6NetworkEnable EthIPv6NetworkDiscovery EthIPv6NetworkAddress EthIPv6GatewayAddress Default True Static Table 28 Event logging configuration defaults Parameter LocalLogEnabled Default True 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 188
False 10.0.0.254 True Table 30 Timer configuration defaults Parameter AdminTimeout InactivityTimeout Default 30 0 Table 31 Security configuration defaults Parameter AutoSave FabricBindingEnabled PortBindingEnabled Default True False False See also hardreset, page 155 reset, page 181 188 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 189
non-volatile security database will be cleared from the switch. NOTE: The preferred method for clearing the security database from the switch is the reset security command. edit Initiates a This operand does not require an Admin session. 8/20q Fibre Channel Switch command line interface guide 189 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 190
the AutoSave parameter is False, you can use this operand to revert changes to the volatile security database that were propagated from another switch in the fabric through security set activation or merging fabrics. See Table 31 for information about the AutoSave parameter. save Saves the changes - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 191
following is an example of the security list command: 8/20q FC Switch #> security list Active Security Information SecuritySet Group GroupMember No active securityset ******** Binding 0 See also group, page 149 securityset, page 192 8/20q Fibre Channel Switch command line interface guide 191 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 192
set name must begin with a letter and be no longer than 64 characters. Valid characters are alphanumeric, _, $, ^, and -. The security database supports a maximum of four security sets. deactivate Deactivates the active security set. Close the Security Edit session before using this operand. delete - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 193
Groups for SecuritySet: alpha group1 (ISL) group2 (Port) The following is an example of the securityset list command 8/20q FC Switch #> securityset list Current list of SecuritySets alpha beta See also group, page 149 security, page 189 8/20q Fibre Channel Switch command line interface guide 193 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 194
alarms in the output stream allows command scripts to run without interruption. Examples The following is an example of the set alarm command: 8/20q FC Switch #> set alarm on 194 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 195
or disables the flashing of the Logged-In LEDs for the purpose of locating a switch. Authority None Syntax set beacon [state] Operands [state] Table 33 describes the an example of the set beacon command: 8/20q FC Switch #> set beacon on 8/20q Fibre Channel Switch command line interface guide 195 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 196
command are not retained when you reset or power-cycle the switch unless you save them using the config save command. Authority lasers. Transmission speed: 2 Gb/s, 4 Gb/s, 8 Gb/s, or Auto. The default is Auto. 8-Gb/s SFPs do not support the 1-Gb/s setting. Settting a port to 1 Gb/s that has an 8- - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 197
. 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. 8/20q Fibre Channel Switch command line - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 198
the set config port command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> config edit 8/20q FC Switch (admin-config) #> set config port AdminState (1=Online, 2=Offline, 3=Diagnostics, 4=Down) LinkSpeed (2=2Gb/s, 4=4Gb/s, 8=8Gb/s, A=Auto) PortType (GL / G / F / FL / Donor) - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 199
disables (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 command. See also config, page 139 show config security, page 237 8/20q Fibre Channel Switch command line interface guide 199 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 200
(False) port binding for the port given by [port_number]. The default is False. Worldwide port name for the port/device that is allowed config security portbinding command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) config edit 8/20q FC Switch (admin-config) #> set config security - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 201
switch selection algorithm. 1 is high, 255 is low. The default is 254. Switch configuration description. The configuration description can be up to 32 characters excluding #, semicolon (;), and comma (,). The default is Config Default. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 202
Examples The following is an example of the set config switch command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> config edit 8/20q FC Switch (admin-config) #> set config switch A list of attributes with formatting and default values will follow. Enter a new value or simply press the - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 203
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 203 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 204
Examples The following is an example of 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. Enter a new value or simply - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 205
set config zoning command. 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 zoning config, page 139 show config zoning, page 241 8/20q Fibre Channel Switch command line interface guide 205 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 206
account name/password of images for both, and type get logfile. clear Clears all log entries. component [filter_list] Specifies one or more components given by [filter_list] to monitor for events. A component is a firmware module that is responsible for a particular portion of switch operation. Use - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 207
or operation of the fabric, but require no action. This is the default severity level. Monitors warning and critical events. The warning level describes events , 13, 14, and 15. Specifies all ports Disables monitoring on all ports 8/20q Fibre Channel Switch command line interface guide 207 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 208
restore Restores and saves the port, component, and level settings to the default values. save Saves the log settings for the component, severity level, port, and display level. These settings remain in effect after a switch reset. The log settings can be viewed using the show log settings command. - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 209
FC Switch #> set pagebreak on 8/20q FC Switch #> zone list Zone ---Zone1 ZoneSet ------- alpha beta Zone2 delta echo Zone3 sierra tango Zone4 gamma delta Press any key to continue, 'q' to quit ... See also show pagebreak, page 253 8/20q Fibre Channel Switch command line interface guide 209 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 210
and speed for the specified port temporarily until the next switch reset or new configuration activation. This command also clears port the transmission speed parameters. Table 45 Transmission speed parameters Parameter 2Gb/s 4Gb/s 8Gb/s Auto Description The port speed is 2 Gb/s. The port speed is - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 211
of fabric problems. Authority default is 0.0.0.0. Service port number that the primary SMTP server is monitoring for SMTP agents. The default is 25. Enables (True) or disables (False) the primary SMTP server. The default default is True. 8/20q Fibre Channel Switch command line interface guide 211 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 212
Notes • The Callhome service must be active to support Call Home e-mail notification. See the set setup services command. • The primary, secondary, or both SMTP servers must be properly addressed and enabled on the switch to activate Call Home e-mail notification. If both SMTP servers are enabled, - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 213
DNS host name 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. The default is False. 8/20q Fibre Channel Switch command line interface guide 213 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 214
. The default is False. 22-byte ASCII string (1-63 characters) used as a password for authentication purposes between the switch and the enabled in order to configure RADIUS User Authentication SSL can be enabled using the 'set setup services' command. Current Values: DeviceAuthOrder UserAuthOrder - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 215
must be enabled in order to configure RADIUS User Authentication SSL can be enabled using the 'set setup services' command. Server 1 Current Values: ServerIPAddress this radius setup? (y/n): [n] See also show setup radius, page 263 8/20q Fibre Channel Switch command line interface guide 215 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 216
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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 217
. The default is True. NOTE: The 8/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. 8/20q Fibre Channel Switch command line interface guide 217 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 218
reaching the end of the list press 'q' or 'Q' and the ENTER key to do so. PLEASE NOTE Further configuration may be required after 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 219
to trap authentication failures. The default is False. Enables (True) or disables (False) SNMP communication with other switches in the fabric. The default is True. Enables (True) or disables (False) SNMP version 3. The default is False. 8/20q Fibre Channel Switch command line interface guide 219 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 220
is 2. Specifies whether traps (event information) are enabled (True) or disabled (False). The default is False. Examples The following is an example of the set setup snmp common command: 8/20q FC Switch (admin) #> set setup snmp common A list of attributes with formatting and current values will - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 221
following is an example of the set setup snmp trap command: 8/20q FC Switch (admin) #> set setup snmp trap 1 A list of attributes with formatting and want to save and activate this snmp setup? (y/n): [n] See also show setup snmp, page 265 8/20q Fibre Channel Switch command line interface guide 221 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 222
logging, NTP server, and timer configurations on the switch. Authority Admin session Syntax set setup system dns ipv4 . DNS search list discovery method: • Static • DHCP for IPv4 • DHCP for IPv6 The default is Static. A suffix that is appended to unqualified host names to extend the DNS search. You - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 223
Ethernet boot method: • 1-Static • 2-DHCPv6 (Dynamic Host Configuration Protocol) • 3-NDP (Neighbor Discovery Protocol) The default is Static. EthIPv6NetworkAddress Ethernet IP address EthIPv6GatewayAddress Ethernet IP address gateway. 8/20q Fibre Channel Switch command line interface guide 223 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 224
Enables (True) or disables (False) the saving of log information on the switch. The default is True. Enables (True) or disables (False) the recording of the switch event log on a remote host that supports the syslog protocol. The default is False. The IP address (version 4 or 6) or DNS host name of - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 225
the time out threshold. The default is 30, the maximum is 1440. InactivityTimeout Amount of time in minutes the switch waits before terminating an idle Telnet name) : Do you want to save and activate this system setup? (y/n): [n] 8/20q Fibre Channel Switch command line interface guide 225 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 226
: Do you want to save and activate this system setup? (y/n): [n] The following is an example of the set setup system ipv6 command: 8/20q FC Switch (admin) #> set setup system ipv6 A list of attributes with formatting and current values will follow. Enter a new value or simply press the ENTER key - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 227
[n] The following is an example of the set setup system ntp command: 8/20q FC Switch (admin) #> set setup system ntp A list of attributes with formatting and current values Do you want to save and activate this system setup? (y/n): [n] 8/20q Fibre Channel Switch command line interface guide 227 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 228
The following is an example of the set setup system timers command: 8/20q FC Switch (admin) #> set setup system timers A list of attributes with formatting and current values will follow. Enter a new value or simply press the ENTER key to - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 229
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 269 8/20q Fibre Channel Switch command line interface guide 229 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 230
timezone Description Specifies the time zone for the switch and the workstation. The default is Universal Time (UTC), also known as following is an example of the set timezone command: 8/20q FC Switch (admin) #> set timezone Africa America Antarctica Asia Atlantic Australia Europe Indian - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 231
switch Firmware version Date and time that the firmware was activated Results of the power-on self test Number of licensed ports Full Fabric indicates that the switch operates with the standard Fibre Channel port types: G, GL, F, FL, E. 8/20q Fibre Channel Switch command line interface guide 231 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 232
following is an example of the show about command: 8/20q FC Switch #> show about * * * Command Line Interface SHell (CLISH) ActiveTimestamp POSTStatus LicensedPorts SwitchMode See also show version, page 276 HP StorageWorks 8/20q Fibre Channel Switch 10.20.11.192 :: 00:c0:dd:00 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 233
21 07:59:29.367 UTC 2007][A][1004.0030][Topology change, lost route to switch with domain ID 101] The following is an example of the show alarm settings command: 8/20q FC Switch #> show alarm settings Current settings for alarm display ON 8/20q Fibre Channel Switch command line interface guide 233 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 234
are currently 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 234 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 235
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 8/20q Fibre Channel Switch command line interface guide 235 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 236
The following is an example of the show config port command for port 3: 8/20q FC Switch #> show config port 3 Configuration Name: default Port Number: 3 -----------AdminState LinkSpeed PortType SymbolicName ALFairness DeviceScanEnabled ForceOfflineRSCN ARB_FF InteropCredit ExtCredit FANEnabled - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 237
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 config security, page 199 8/20q Fibre Channel Switch command line interface guide 237 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 238
for all ports is displayed. Examples The following is an example of the show config security port command: 8/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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 239
FC Switch R_A_TOV 10000 E_D_TOV 2000 PrincipalPriority 254 ConfigDescription Default Config ConfigLastSavedBy admin@OB-session5 ConfigLastSavedOn day month date time year InteropMode Standard See also set config switch, page 201 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 240
is an example of the show config threshold command: 8/20q FC Switch #> show config threshold Configuration Name: default ------------ Threshold Configuration Information ThresholdMonitoringEnabled False CRCErrorsMonitoringEnabled True RisingTrigger 25 FallingTrigger 1 SampleWindow - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 241
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 205 8/20q Fibre Channel Switch command line interface guide 241 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 242
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:60:69:50:0b:6c Upstream Principal ISL is : 1 Domain ID List: Domain 97 (0x61) WWN = 10:00 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 243
The following is an example of the show donor command: 8/20q FC Switch #> show donor Port Config Ext Credit Max Credit Donated Member of Valid None 0 0 18 GL 0 16 None 0 0 19 G 0 16 None 0 0 Donor Group Credit Pool 0 0 8/20q Fibre Channel Switch command line interface guide 243 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 244
name, worldwide name, node IP address, and port IP address in the fabric. Authority None Syntax show fabric brief Operands brief Displays a table of switches in the fabric including domain ID, WWN, and symbolic name. If you omit the brief operand, the command displays information for the local - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 245
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 HostName FCP 2Gb/s 2Gb/s 2048 8/20q Fibre Channel Switch command line interface guide 245 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 246
the 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 eth0 Link encap:Ethernet HWaddr 00:C0:DD:00:00:27 inet addr:10.20.116.131 Bcast:10.20.116.255 Mask - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 247
Home service events SNMP events Switch management events Zoning conflict events display [filter] Displays log events on the screen according to the component or severity level filter given by [filter].Table 62 describes the event log display filter parameters. 8/20q Fibre Channel Switch command - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 248
[port_number] Displays all events related to the port given by [port_number] Snmp Displays all events related to SNMP Switch Displays all events related to switch management Zoning Displays all events related to zoning level Displays the severity level settings for event logging setting and - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 249
The following is an 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] [ year][I][Eport Port: 0/8][LSDB Xchg timer set] See also set log, page 206 8/20q Fibre Channel Switch command line interface guide 249 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 250
state database information, Authority None Syntax show lsdb 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, Incarnation=0x800000e5 NeighborDomain=36, LocalPort=6, RemotePort=7, Cost=500 NeighborDomain=35 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 251
Switch #> show mem procs -----------memory swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 1 0 0 334464 55932 18728 0 0 1 0 401 57 1 2 97 0 Filesystem space in use: 41138/53188 KB (77%) 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 252
the WWNs for the devices connected to the 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 No ID ID Type COS PortWWN NodeWWN ------- 1 19 (0x13 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 253
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 209 8/20q Fibre Channel Switch command line interface guide 253 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 254
show perf Description Displays port performance in frames/second and bytes/second. If you omit the operand, the command displays data transmitted (out), data received (in), and total data transmitted and received in frames/second and bytes/second. Transmission rates are expressed in thousands (K) - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 255
0 0 0 0 0 135M 58K 0 0 0 0 7K 135M 0 0 0 0 0 0 0 0 137M 58K 0 0 0 0 8K 137M 0 0 0 0 0 0 0 0 136M 58K 0 0 0 0 7K 136M 0 0 0 0 0 0 0 0 137M 58K 0 0 0 0 8K 137M 0 0 0 0 0 0 0 0 136M 58K 0 0 0 0 8K 136M 0 0 0 0 0 0 0 0 136M 58K 0 0 0 0 7K 136M 8/20q Fibre Channel Switch command line interface guide 255 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 256
power-on self test Status from the most 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 Number of times the - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 257
failure is a loss of synchronization or a loss of signal while online. A loss of signal causes the switch to attempt to re-establish the link. If the link is not re-established, a link failure is part number Transceiver revision number 8/20q Fibre Channel Switch command line interface guide 257 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 258
supports both multimode 50 and 62.5 micron. Transceiver manufacturer Transceiver manufacturer identifier Operational state AutoPerfTuning status Fibre Channel since the last port or switch reset Total number of link resets since the last port or switch reset Number of loop initialization primitive - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 259
MaxCredit 16 UpstreamISL False MediaSpeeds 2Gb/s, 4Gb/s, 8Gb/s XmitterEnabled True ALInit 1 ALInitError 0 BadFrames 0 0 TotalRxFrames 0 TotalRxWords 0 TotalTxFrames 0 TotalTxWords 0 TxLinkResets 0 TxOfflineSeq 0 8/20q Fibre Channel Switch command line interface guide 259 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 260
self test (POST). Authority None 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 Count: Success Count: Failed Count: Records: POST 467 452 42 53 Record: 1 of 53 Time: day mmm dd hh:mm:ss - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 261
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 SMTP server See also set setup callhome, page 211 8/20q Fibre Channel Switch command line interface guide 261 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 262
0729c00137 LicensedPorts 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 262 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 263
is an example of the show setup radius common command: 8/20q FC Switch #> show setup radius common Radius Information DeviceAuthOrder Local UserAuthOrder Local TotalServers 2 0 False ******** See also set setup radius, page 213 8/20q Fibre Channel Switch command line interface guide 263 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 264
Examples The following is an example of the show setup services command: 8/20q FC Switch #> show setup services System Services TelnetEnabled True SSHEnabled False GUIMgmtEnabled True SSLEnabled False EmbeddedGUIEnabled True SNMPEnabled True NTPEnabled True CIMEnabled True - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 265
HP StorageWorks 8/20q FC Switch ObjectID Switch #> show setup snmp trap 1 SNMP Information Trap1Enabled False Trap1Address 10.0.0.254 Trap1Port 162 Trap1Severity warning Trap1Version 2 See also set setup snmp, page 219 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 266
all system configuration parameters, omit the operand. See Table 53 for descriptions of the DNS host name configuration parameters. ipv4 Displays switch IPv4 Ethernet configuration parameters. To display all system configuration parameters, omit the operand. See Table 54 for descriptions of the IPv4 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 267
False Static 51.68.85.102 The following example of the show setup system timers command: 8/20q FC Switch #> show setup system timers System Information AdminTimeout 30 InactivityTimeout 0 See also set setup system, page 222 8/20q Fibre Channel Switch command line interface guide 267 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 268
to display route information. If you omit [domain_id], the system displays routes 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 269
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 SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 270
time year) 0 19 (0x13) 130000 128 Critical 20 15 PowerUp Vx.x.x.0 (day month date time year) Vx.x.x.0 (day month date time year) default Online False Off Online False 00000000 Passed 00000000 NeverRun 32 Normal See also set config switch, page 201 set switch state, page 229 270 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 271
following is an example of the show system command: 8/20q FC Switch #> show system Assigned System Network Information Hostname EthIPv4NetworkAddress 10. See also set setup system, page 222 show setup system, page 266 8/20q Fibre Channel Switch command line interface guide 271 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 272
Authority None Syntax show testlog or show test log Examples The following is an example of the show testlog command: 8/20q FC Switch #> show testlog Queue: UID Sequence Count: 676 Success Count: 420 Failed Count: 2023 Records: 127 Record: Time: Sequence Number: Test: Subtest: Fault - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 273
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 230 8/20q Fibre Channel Switch command line interface guide 273 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 274
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 PortNumber 1 PortID 650100 PortWWN 20:01:00:c0:dd:00:91:11 PortType F Remote Link Information Device - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 275
example of the show users brief command: 8/20q FC Switch #> show users brief User Client ---- ------ cim@OB-session1 cim snmp@IB-session2 Unknown snmp@OB-session3 Unknown admin@OB-session5 10.33.21.27 See also user, page 290 8/20q Fibre Channel Switch command line interface guide 275 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 276
name of the switch Serial number of the switch Symbolic name of the switch Firmware version Date and time that the firmware was activated Results of the power-on self test Number of licensed ports Full Fabric indicates that the switch operates with the standard Fibre Channel port types: G, GL - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 277
is an example of the show version command. 8/20q FC Switch #> show version * * * Command Line Interface SHell (CLISH) * * * SystemDescription HP StorageWorks 8/20q Fibre Channel Switch HostName EthIPv4NetworkAddress 10.20.11.192 EthIPv6NetworkAddress :: MACAddress - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 278
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. 278 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 279
privacy. The default is False. Privacy type. The default is DES. user account parameters, see Table 67. list Displays SNMP version 3 user accounts, group, authentication type, and privacy type. This operand does not require an Admin session. 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 280
Examples The following is an example of the snmpv3user add command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> snmpv3user add A list of SNMPV3 user attributes with formatting and default values as applicable will follow. Enter a new value OR simply press the ENTER key where-ever - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 281
is an example of the snmpv3user list command: 8/20q FC Switch #> snmpv3user list Username -------snmpuser1 See also set setup snmp, page 219 show setup snmp, page 265 Group ----ReadWrite AuthType -------MD5 PrivType -------DES 8/20q Fibre Channel Switch command line interface guide 281 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 282
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 283 test status, page 285 282 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 283
, or default, which defines random data Stops the test when an error occurs (True). Otherwise, the test continues to completion. Restarts the test after completion and continues until you cancel it (True). Otherwise, the test ends normally after completion. 8/20q Fibre Channel Switch command line - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 284
performs an online test on port 1: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> test port 1 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. If you wish to terminate this process - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 285
Passed Passed Passed Passed Passed Passed Passed Passed Passed Passed Passed 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 8/20q Fibre Channel Switch command line interface guide 285 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 286
See also test cancel, page 282 test port, page 283 test switch, page 287 286 Command reference - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 287
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 8/20q Fibre Channel Switch command line interface guide 287 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 288
: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #>set switch state diagnostics 8/20q FC Switch (admin) #> test switch 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 you - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 289
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 sec(s) Reason last reset: NormalReset 8/20q Fibre Channel Switch command line interface guide 289 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 290
operand is available to all account names without an Admin session. add Add a user account to the switch. You will be prompted for an account name, a password, authority, and an expiration date. • A switch can have a maximum of 15 user accounts. An account name can be up to 15 characters: the first - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 291
date time year User snmp@OB-session3 Client Unknown Logged in Since day month date time year User admin@OB-session8 Client 10.33.21.27 Logged in Since day month date time year See also passwd, page 174 show users, page 275 8/20q Fibre Channel Switch command line interface guide 291 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 292
name, session number, and switch domain ID for the Telnet session. 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 293
be no longer than 64 characters. Valid characters are alphanumeric, _, $, ^, and -. The zoning database supports a maximum of 2,000 zones. You must enter the zoning save command to save your changes. delete are not members of any zone set. 8/20q Fibre Channel Switch command line interface guide 293 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 294
Domain IDs can be 1-239; port numbers can be 0-255. • 6-character hexadecimal device Fibre Channel address (hex) • 16-character hexadecimal WWPN with the format xx:xx:xx:xx:xx:xx is an example of the zone members command: 8/20q FC Switch #> zone members wwn_b0241f Current List of Members for Zone: - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 295
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 296 zoning edit, page 303 8/20q Fibre Channel Switch command line interface guide 295 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 296
A zone set name must begin with a letter and be no longer than 64 characters. Valid characters are alphanumeric, _, $, ^, and -. The zoning database supports a maximum of 256 zone sets. You must enter the zoning save command to save your changes. deactivate Deactivates the active zone set. Close the - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 297
List of ZoneSets alpha beta The following is an example of the Zoneset Zones command: 8/20q FC Switch #> zoneset zones ssss Current List of Zones for ZoneSet: ssss zone1 zone2 zone3 See also zoning edit, page 303 zoning save, page 310 8/20q Fibre Channel Switch command line interface guide 297 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 298
Saves the active zone set to the non-volatile zoning data base. Examples The following is an example of the zoning active command: 8/20q FC Switch #> zoning active Active (enforced) ZoneSet Information ZoneSet Zone ZoneMember wwn wwn_b0241f 50:06:04:82:bf:d2:18:c2 50:06:04:82:bf:d2 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 299
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 edit, page 303 8/20q Fibre Channel Switch command line interface guide 299 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 300
command followed by the zoning save command, the non-volatile zoning database will be cleared from the switch. TIP: The preferred method for clearing the zoning database from the switch is the reset zoning command. Authority Admin session and a Zoning Edit session. Syntax zoning clear Examples The - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 301
configured 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 ------- ---- 18:d2 10:00:00:00:c9:22:15:16 8/20q Fibre Channel Switch command line interface guide 301 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 302
Admin session Syntax zoning delete orphans Examples The following is an example of 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 currently active. Please - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 303
. . 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 293 zoneset, page 296 zoning cancel, page 299 8/20q Fibre Channel Switch command line interface guide 303 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 304
session and a Zoning Edit session Syntax zoning edited Examples The following is an example of the zoning edited command: 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 305
most recent zone set activation or deactivation and the user who performed it • Time of the most recent modifications to the zoning database and the user who made them. • Checksum for the zoning session17 day mon date hh:mm:ss yyyy 00000000 8/20q Fibre Channel Switch command line interface guide 305 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 306
this maximum. Maximum number of zones that are components of zone sets, excluding those in the orphan zone set, that can be stored in the 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 307
zoning list Examples The following is an example of the zoning list command: 8/20q FC Switch #> zoning list Active (enforced) ZoneSet Information ZoneSet Zone ZoneMember wwn wwn_23bd31 50:06: page 304 zoning configured, page 301 8/20q Fibre Channel Switch command line interface guide 307 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 308
:dd:00:b9:fb 10:00:00:c0:dd:00:b9:fc The following is an example of the zoning merged capture command: 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. See - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 309
is False (see Table 21), 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 8/20q Fibre Channel Switch command line interface guide 309 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 310
zoning save Examples The following is an example of the zoning save command: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> zoning 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 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 311
129 account name 21 activation firmware 54, 158 security 94, 95 switch configuration 48, 49 zoning 110 queue 110 requirements 109 resetting 113 service 109, 112, 217 technical support interface 111 Callhome command 133 Changeover example Clear Fibre Channel Switch command line interface guide 311 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 312
example 87 Support example 17 67 defaults, switch configuration 183 device access 71 security configuration 89 312 Index DHCP See Dynamic Host Configuration Protocol discovery method 25 display control 17 disruptive activation 54 DNS - See Domain Name System documentation conventions 12 HP - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 313
19, 50 downloading firmware 55 restoring configuration file 50 service 217 user account 21 firmware 54, 158 hot reset 53 Hotreset command 158 HP storage web site 13 Subscriber's choice web site 13 technical support 13 I I/O Stream Guard 197 Fibre Channel Switch command line interface guide 313 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 314
19 uploading 19 logged in users 275 login errors 67 , 96, 151 service 217 manufacturer information switch 287 online test port 283 switch 287 operands 129 operational information 41 orphan zones 75 output stream control 105 P page break 17 Passwd command 23, 174 password changing 23, 174 default - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 315
180 R rack stability, warning 13 RADIUS See Remote Authentication Dial-In User Service RADIUS server configuration 213 RARP See Reverse Address Resolution Protocol Registered State Change 95, 192 creating 94, 192 deactivating 95, 192 8/20q Fibre Channel Switch command line interface guide 315 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 316
command 216 example 47 NTP service 53 SNMP service 121 SSH and SSL services 86 Set Setup SNMP command 219 Set Setup System command 222 316 Index Ethernet configuration 26 NTP configuration 53 remote logging 107 Timers example 60 Set Switch State command 229 Set Timezone command 230 severity - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 317
42 user account adding 22, 290 configuration 21 deleting 290 displaying 21, 290 list 290 logged in 275 modifying 22, 290 password 23 user administration 290 User command 290 Accounts example 21 Add example 22 Delete example 22 Edit example 22 8/20q Fibre Channel Switch command line interface guide - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 318
List example 21 User Datagram Protocol 213 UTC See Universal Time V Virtual Interface preference routing 197 W warning rack stability 13 severity level 103 web applet service 216 web sites HP documentation 11 HP storage 13 HP Subscriber's choice 13 Whoami command 292 workstation date and time 87 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 319
Zoning Merged command 308 Capture example 79 Zoning Restore command 309 Zoning Save command 310 8/20q Fibre Channel Switch command line interface guide 319 - HP StorageWorks SN6000 | HP StorageWorks 8/20q Fibre Channel Switch command line - Page 320
320 Index
HP StorageWorks
8/20q Fibre Channel Switch command line
interface guide
Part number: 5697-7517
Second edition: July 2008