HP SN6000 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G
HP SN6000 Manual
View all HP SN6000 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP SN6000 manual content summary:
- HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 1
HP StorageWorks SN6000 Fibre Channel Switch command line interface (CLI) describing fabric, switch, and port management tasks. This guide also provides an alphabetical listing of the CLI commands, including the command syntax, operands, and notes, and examples of their use. This guide is for users - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 2
as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Microsoft, Windows, and Internet Explorer are U.S. registered trademarks of Microsoft Corporation. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 3
process information 38 Elapsed time between resets 38 Configuration information 38 Switch configuration parameters 39 Zoning configuration parameters 39 Security configuration parameters 40 Hardware information 41 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 3 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 4
activation 50 One-step firmware installation 51 Custom firmware installation 52 Testing a switch 52 Online tests for switches 53 Offline tests for switches 53 Connectivity tests for switches 53 Displaying switch test status 54 Canceling a switch test 54 Verifying and tracing Fibre Channel - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 5
92 Deleting a security set 92 Renaming a security set 92 Copying a security set 93 Adding groups to a security set 93 Removing groups from a security set 93 Activating a security set 93 Deactivating a security set 93 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 5 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 6
Logging to a remote host 103 Creating and downloading a log file 104 11Call Home Configuration 105 Call Home concepts 105 Call Home requirements 105 Call Home messages 106 Technical support interface 107 Configuring the Call Home service 108 Managing the Call Home database 109 Displaying - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 7
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 show chassis 235 show config port 236 show config security 238 show config security portbinding 239 HP StorageWorks SN6000 Fibre Channel - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 8
285 snmpv3user 286 test cancel 289 test port 290 test status 292 test switch 294 uptime 296 user 297 whoami 299 zone 300 zoneset 303 zoning active 305 zoning cancel 306 zoning clear 307 zoning configured 308 zoning delete orphans 309 zoning edit 310 zoning edited 311 zoning history - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 9
level monitoring parameters 207 42 Port monitoring parameters 207 43 Pagebreak state parameters 209 44 Transmission speed parameters 210 45 Port administrative state parameters 210 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 9 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 10
46 Call Home service configuration attributes 211 47 Common RADIUS server configuration attributes 213 48 Server-specific RADIUS server configuration attributes 213 49 Switch services settings 216 50 Common SNMP configuration parameters 219 51 SNMP trap configuration parameters 220 52 DNS host - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 11
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: SN6000 FC Switch #> exit HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 11 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 12
configuration tasks are available only after entering the admin start command to open an Admin session. A user account must have Admin authority to enter the admin start command. The following is an example of how to open and close an Admin session: SN6000 FC Switch #> admin start SN6000 FC Switch - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 13
the file from the switch to a remote host. Otherwise, you can use FTP to download the support file from the switch to your workstation. NOTE: Support files are deleted from the switch during a power-cycle or switch reset. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 13 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 14
FTP service on localhost.localdomain. If your workstation does not have an FTP server, enter the create support command to create the support file, and then use FTP to download the support file from the switch to your workstation, as shown in the following example: SN6000 FC Switch #> create support - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 15
support and log files: • See "Installing firmware" (page 50). • See "Backing up and restoring a switch configuration" (page 46). • See "Creating and downloading a log file" (page 104). • See "Creating a support file" (page 13). HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 16
16 Command Line Interface Usage - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 17
mode, see the HP StorageWorks SN6000 Fibre Channel Switch Installation and Reference Guide. Displaying user account information You can display all user accounts defined on the switch (user accounts command) or just those user accounts that are logged on (user list or show users commands). The - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 18
user account 'user1' with no admin authority and to expire in 0 days? Please confirm (y/n): [n] The following example deletes the user account named user3. SN6000 FC Switch (admin) #> user delete user3 The user account will be deleted. Please confirm (y/n): [n] y 18 User Account Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 19
) #> 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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 19 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 20
20 User Account Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 21
configuration information, enter the show setup system ipv6 command: SN6000 FC Switch #> show setup system ipv6 System Information EthIPv6NetworkEnable EthIPv6NetworkDiscovery EthIPv6NetworkAddress EthIPv6GatewayAddress False Static 2001::1/64 fe80::1 HP StorageWorks SN6000 Fibre Channel Switch - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 22
switch supports network discovery from the following server types: • Bootstrap Protocol (BootP) • Reverse Address Resolution Protocol (RARP) • Dynamic Host Configuration Protocol (DHCP) To configure the IPv4 parameters, enter the set setup system ipv4 command: SN6000 FC Switch (admin) #> set setup - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 23
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] HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 23 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 24
fabric. This enables you to specify servers and switches by a meaningful name rather than IP address. To configure a DNS server, enter the set setup system dns command in an Admin session, as shown in the following example: SN6000 FC Switch (admin) #> set setup system dns A list of attributes with - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 25
traffic, or to allow all traffic without encryption. Both the AH and ESP security protocols provide source authentication, ensure data integrity, and protect against replay. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 25 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 26
through the serial port, see the HP StorageWorks SN6000 Fibre Channel Switch Installation and Reference Guide. Displaying IP security information You can display the security policy and security association databases sorted by the following parameters: • Active policies and associations; that is - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 27
made up of user-defined policies and dynamic policies (policies created by the switch). In addition to creating a policy, you can delete, modify, rename, and copy user-defined policies. Dynamic policies can only be copied. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 27 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 28
: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> ipsec edit SN6000 FC Switch (admin-ipsec) #> ipsec policy delete policy_1 The security policy will be deleted. Please confirm (y/n): [n] y SN6000 FC Switch (admin-ipsec) #> ipsec save The IPsec configuration will be saved and activated - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 29
before it can take effect, or to discard this configuration use the 'ipsec cancel' command. SN6000 FC Switch (admin-ipsec) #> ipsec save The IPsec configuration will be saved and activated. Please confirm (y/n): [n] y HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 29 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 30
The security policy will be renamed. Please confirm (y/n): [n] y SN6000 FC Switch (admin-ipsec) #> ipsec save The IPsec configuration will be saved and activated. Please confirm (y/n): [n] y Copying a policy You can copy both user-defined and dynamic policies. To copy a policy (policy_1), enter - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 31
delete association_1 The security association will be deleted. Please confirm (y/n): [n] y SN6000 FC Switch (admin-ipsec) #> ipsec save The IPsec configuration will be saved and activated. Please confirm (y/n): [n] y HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 31 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 32
been edited. This configuration must be saved with the 'ipsec save' command before it can take effect, or to discard this configuration use the 'ipsec cancel' command. SN6000 FC Switch (admin-ipsec) #> ipsec save The IPsec configuration will be saved and activated. Please confirm (y/n): [n] y 32 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 33
Edit session. SN6000 FC Switch #> admin start SN6000 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 .... HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 33 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 34
34 Network Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 35
36 • Switch operational information, page 37 • System process information, page 38 • Elapsed time between resets, page 38 • Configuration information, page 38 • Hardware information, page 41 • Firmware information, page 41 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 35 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 36
shown in the following example. The show ns command displays the WWNs that are local to the switch. SN6000 FC Switch #> show ns all Seq Domain Port Port No ID ID Type COS PortWWN No entries found for PortWWN No entries found for domain ID 34. NodeWWN ------- 36 Switch Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 37
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 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 37 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 38
non-disruptive firmware activation does not reset the elapsed time reported by this command. The following example displays the time since the last reset. SN6000 FC Switch #> uptime Elapsed up time : 0 day(s), 2 hour(s), 28 min(s), 44 sec(s) Reason last reset: NormalReset Configuration information - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 39
Table 38 for descriptions of these parameters. SN6000 FC Switch #> show config zoning Configuration Name: default Zoning Configuration Information MergeAutoSave True DefaultZone Allow DiscardInactive False HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 39 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 40
parameters. See Table 35 for descriptions of the port binding parameters. SN6000 FC Switch #> show config security Configuration Name: default Switch Security Configuration Information FabricBindingEnabled False AutoSave True Port ---0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 41
patterns, see the HP StorageWorks SN6000 Fibre Channel Switch Installation and Reference Guide. Table 3 Heartbeat LED activity HeartBeatCode-HeartBeatStatus Description 1-Normal 2-AppDied 3-PostFailed One blink per second-Normal operation Two blink cluster-Internal firmware failure Three blink - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 42
not support the SSL service. If SSL is enabled, you will be unable to manage the switch using this version of Simple SAN Connection Manager. To display the current switch services settings, enter the show setup services command, as shown in the following example: SN6000 FC Switch #> show setup - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 43
) (True / False) (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] HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 43 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 44
the config list command does not require an Admin session. SN6000 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 in the - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 45
msec) (decimal value, 10-20000 msec) (decimal value, 1-255) (string, max=64 chars) [Online ] [True ] [True ] [True ] [1000 ] [2 ] [False ] [SN6000 FC Switch] [10000 ] [2000 ] [254 ] [Default Config] HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 45 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 46
a switch. SN6000 FC Switch #> config backup The configdata file contains the following switch configuration information: • All named switch configurations including port, switch, port threshold alarm and zoning configurations. • All SNMP and network information defined with the set setup command - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 47
NTP server, page 49 Displaying the date and time To display the date and time, enter the date command, as shown in the following example: SN6000 FC Switch #> date Mon Apr 07 07:51:24 2008 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 47 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 48
(or 'q' to quit): q 2. To set the date and time (January 31, 10:15 AM, 2008), enter the date command, as shown in the following example: SN6000 FC Switch (admin) #> date 013110152008 SN6000 FC Switch (admin) #> date Thu Jan 31 10:15:03 america/north_dakota/center 2008 48 Switch Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 49
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 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 49 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 50
to try again later. Otherwise, the switch 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 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 51
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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 51 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 52
download the firmware image file by entering the following FTP commands: >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: SN6000 FC Switch #> admin start SN6000 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 53
inter-port connections. • An external loopback test exercises all internal ports, transceivers, and inter-port connections. A transceiver with a loopback plug is required for all ports. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 53 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 54
a switch: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> set switch state diagnostics SN6000 FC Switch (admin) #> test switch connectivity 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 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 55
to transmit at 20 Gb/s instead of the default 10 Gb/s. • The HP StorageWorks SN6000 Stackable 4-port FC Switch Upgrade LTU enables additional SFP ports in increments of four on the HP StorageWorks SN6000 Stackable 8Gb 12-port Single Power FC Switch for totals of 16, 20, or 24 ports. Installing - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 56
). By default, no timeout limit is enforced on idle login sessions; idle Admin sessions are ended after 30 minutes. To display the idle login and Admin session configuration, enter the show setup system timers command, as shown in the following example: SN6000 FC Switch #> show setup system timers - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 57
33 for descriptions of these parameters. SN6000 FC Switch #> show config port 3 Configuration Name: default Port Number: 3 -----------AdminState LinkSpeed Port3 False True False False 0 0 True True True False Auto True HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 57 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 58
SN6000 FC Switch #> show port 1 Port Number: 1 ------------ AdminState Online AsicNumber 0 AsicPort 2 ConfigType GL DownstreamISL False EpConnState Connected EpIsoReason NotApplicable IOStreamGuard Disabled Licensed True LinkSpeed 8Gb/s LinkState Active 58 Port Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 59
error thresholds at which the switch issues alarms. See Table 37 for descriptions of these parameters. SN6000 FC Switch #> show config threshold Configuration Name: default ------------ Threshold Configuration 10 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 59 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 60
data transmitted, data received, or errors, enter the show perf command. SN6000 FC Switch #> show media 4 Port Number: 4 MediaType 800-MX-SN-S MediaVendor FINISAR CORP. MediaPartNumber FTLF8528P2BNV MediaRevision A MediaSerialNumber P6G22RL MediaSpeeds 2Gb/s, 4Gb/s, 8Gb Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 61
start SN6000 FC Switch (admin) config edit SN6000 FC Switch (admin) #> set config ports 3 . . . SN6000 FC Switch (admin-config)#> config save SN6000 FC Switch (admin)#> config activate SN6000 FC Switch (admin)#> admin end HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 61 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 62
Switch #> admin start SN6000 FC Switch (admin) #> set port 1 state down Configuring transparent routing IMPORTANT: Simple SAN Connection Manager (SSCM) version 3.0 or later is required for the HP SN6000 Fibre Channel Switch. The SSCM application can manage SN6000 Fibre Channel Switches with active - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 63
are designed to simplify the configuration process. See the HP StorageWorks SN6000 Fibre Channel Switch QuickTools Switch Management User Guide and the HP StorageWorks 8/20q and SN6000 Fibre Channel Switch Enterprise Fabric Management Suite User Guide. To configure transparent routing: 1. Determine - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 64
effect -- see Zoneset Activate command. SN6000 FC Switch (admin) #> zoneset activate zoneset_alpha 5. Apply the same inter-fabric zone that was created on the local fabric to the active zoning on the remote HP StorageWorks B-series or C-series fabric. When modifications to the active zoning on both - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 65
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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 65 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 66
] Finished configuring attributes. This configuration must be saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration use the config cancel command. SN6000 FC Switch (admin-config) #> config save SN6000 FC Switch (admin - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 67
want to start the test? (y/n) [n] y The test has been started. A notification with the test result(s) will appear on the screen when the test has completed. SN6000 FC Switch (admin) #> Test for port 1 Passed. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 67 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 68
test: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> set port 1 state diagnostics SN6000 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 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 69
sets in the non-volatile zoning database. To display a list of the zone sets, enter the zoneset list command, as shown in the following example: SN6000 FC Switch #> zoneset list Current List of ZoneSets alpha beta HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 69 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 70
sets, zones, and zone members in the active zone set and configured zone sets, enter the zoning list command, as shown in the following example. Merged and edited zone sets are displayed if they exist. SN6000 FC Switch #> zoning list Active (enforced) ZoneSet Information ZoneSet Zone ZoneMember - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 71
the zoneset active command, as shown in the following example: SN6000 FC Switch #> zoneset active Active ZoneSet Information ActiveZoneSet Bets LastActivatedBy admin@OB-session6 LastActivatedOn day month date time year HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 71 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 72
False. For more information about the MergeAutoSave parameter, see "Configuring the zoning database" (page 75). To display merged zone set information, enter the zoning merged command, as shown in the following example: SN6000 FC Switch #> zoning merged To permanently save the merged database - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 73
information To display a list of zones that are not members of any zone set, enter the zone orphans command, as shown in the following example: SN6000 FC Switch #> zone orphans Current list of orphan zones zone3 zone4 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 73 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 74
example: SN6000 FC Switch #> zoning history Active Database Information activation or deactivation and the user account that performed it • Time of the most recent modifications to the zoning database and the user account that made them. • Checksum for the zoning database 74 Zoning Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 75
shown in the following example: SN6000 FC Switch #> zoning limits Configured (saved in NVRAM) Zoning active zone set. • DiscardInactive-Enables or disables the discarding of all zone sets except the active zone set. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 76
name, the active configuration is assumed. The Config Edit session provides access to the set config zoning command, as shown in the following example: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> config edit The config named default is being edited. SN6000 FC Switch (admin-config - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 77
as shown in the following example: SN6000 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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 77 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 78
the preferred method. SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> reset zoning The zoning configuration parameters, MergeAutoSave, database except those in the active zone set, enter the zoning delete orphans command. SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> zoning - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 79
delete command, as shown in the following example: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> zoning edit SN6000 FC Switch (admin-zoning) #> zone delete zone_1 SN6000 FC Switch (admin-zoning) #> zoning save HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 79 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 80
/devices from zone_1, enter the zone remove command, as shown in the following example: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> zoning edit SN6000 FC Switch (admin-zoning) #> zone remove zone_1 alias_1 1,4 1,5 SN6000 FC Switch (admin-zoning) #> zoning save 80 Zoning Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 81
, as shown in the following example: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> zoning edit SN6000 FC Switch (admin-zoning) #> alias remove alias_1 1,4 1,5 SN6000 FC Switch (admin-zoning) #> zoning save HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 81 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 82
82 Zoning Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 83
"Configuring a RADIUS server on the switch" (page 98). • To disable SSL when using a user authentication RADIUS server, the RADIUS server authentication order must be local. • Enabling SSL automatically creates a security certificate on the switch. HP StorageWorks SN6000 Fibre Channel Switch Command - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 84
want to save and activate this services setup? (y/n): [n] y Displaying SSL and SSH services To display the status of the SSH and SSL services, enter the show setup services command, as shown in the following example: SN6000 FC Switch #> show setup services System Services TelnetEnabled True - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 85
? (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" (page 47). HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 85 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 86
86 Connection Security Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 87
sets in the security database. To display a list of the security sets, enter the securityset list command, as shown in the following example: SN6000 FC Switch #> securityset list Current list of SecuritySets alpha beta HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 87 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 88
, enter the security list command, as shown in the following example: SN6000 FC Switch #> security list Active Security Information SecuritySet Group GroupMember No active securityset defined. Configured Security Information SecuritySet Group GroupMember alpha group1 (ISL) 10:00:00:00 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 89
in the following example: SN6000 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 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 89 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 90
: SN6000 FC Switch #> security history Active Database SN6000 FC Switch #> security limits Security Attribute Maximum Current MaxSecuritySets 4 1 MaxGroups 16 2 MaxTotalMembers 1000 19 MaxMembersPerGroup 1000 4 15 [Name] ------ group1 group2 90 Device Security Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 91
command) before it can take effect. To discard this configuration use the config cancel command. SN6000 FC Switch (admin-config)#> config save SN6000 FC Switch (admin)#> config activate SN6000 FC Switch (admin)#> admin end HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 91 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 92
security command, as shown in the following example. SN6000 FC Switch (admin) #> reset security The security configuration values, Autosave and FabricBindingEnabled, remain unchanged. Managing security sets All security set management tasks except Activating a security set, page 93 and Deactivating - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 93
a group To copy the contents of an existing group (group_port) to a new group (port_1), enter the group copy command, as shown in the following example: SN6000 FC Switch (admin-security) #> group copy group_port port_1 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 93 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 94
the group add command, as shown in the following example: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> security edit SN6000 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 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 95
configuration use the security cancel command. Removing members from a group To remove a member from a group, enter the group remove command, as shown in the following example: SN6000 FC Switch (admin-security) #> group remove group_1 10:00:00:c0:dd:00:90:a3 HP StorageWorks SN6000 Fibre Channel - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 96
96 Device Security Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 97
information about RADIUS server configuration parameters, see Table 47. SN6000 FC Switch #> show setup radius Radius Information DeviceAuthOrder Local :1234:bacd:1234:bacd:1234 1812 True True True 2 0 False ******** HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 97 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 98
configuration parameters. The following example configures the common RADIUS server configuration parameters: SN6000 FC Switch (admin) #> set setup be enabled in order to configure RADIUS User Authentication SSL can be enabled using the 'set setup services' command. Current Values: DeviceAuthOrder - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 99
configures RADIUS server 1: SN6000 FC Switch (admin) #> set setup order to configure RADIUS User Authentication SSL can be enabled using the 'set setup services' command. to save and activate this radius setup? (y/n): [n] HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 99 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 100
100 RADIUS Server Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 101
10 Event Log Configuration Event messages originate from the switch or from the management application in response to events that occur in the fabric. For a complete listing of switch event messages, see the HP StorageWorks 8/20q and SN6000 Fibre Channel Switch Event Message Reference Guide. Events - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 102
command includes warning and critical level messages in the output stream: SN6000 FC Switch (admin) #> set log display warn Managing the event log configuration Managing the event log configuration consists of configuring the event log, displaying the event log information, and restoring the - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 103
name (/var/adm/messages/messages.name). local0.info /var/adm/messages/messages.name Consult your host operating system documentation for information on how to configure remote logging. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 103 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 104
archive command. SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> set log archive 2. Open an FTP session on 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 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 105
each switch that supports Call Home email 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" (page 115). HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 106
switch action or event occurs, an email message is created and placed in the Call Home queue to be sent to the active SMTP server. You can monitor activity from the Call Home profile and SNMP configurations. The short-text and Tsc1 formats contain basic switch and event information; Tsc1 is formatted - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 107
command enables you to add instructions to the Tech_Support_Center profile to specify the frequency with which to email the collected data. For more information, see "Adding a data capture configuration" (page 114). HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 107 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 108
Table 46 for a description of the Call Home service configuration entries. SN6000 FC Switch (admin) #> set setup callhome A list of attributes with formatting and current ThrottleDupsEnabled (True / False) : Do you want to save and activate this Callhome setup? (y/n): 108 Call Home Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 109
@localhost.localdomain ThrottleDupsEnabled True + indicates active SMTP server Managing the Call Home service configuration to its factory state, enter the reset callhome command. SN6000 FC Switch (admin) #> reset callhome HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 110
history command, as shown in the following example: SN6000 FC Switch #> callhome history CallHome Database History ConfigurationLastEditedBy admin@OB- list command, as shown in the following example: SN6000 FC Switch #> callhome list Configured Profiles group4 group5 110 Call Home - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 111
Call Home queue, enter the callhome queue stats command, as shown in the following example: SN6000 FC Switch #> callhome queue stats Callhome Queue Information FileSystemSpaceInUse 534 (bytes) EntriesInQueue 3 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 111 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 112
command before it can take effect, or to discard this configuration use the callhome cancel command. SN6000 FC Switch (admin-callhome) #> callhome save The CallHome database profiles will be saved and activated. Please confirm (y/n): [n] y Deleting a profile To delete a Call Home profile, enter - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 113
callhome edit SN6000 FC Switch (admin-callhome) #> profile copy profile_1 profile_a SN6000 FC Switch (admin-callhome) #> callhome save The CallHome database profiles will be saved and activated. Please confirm (y/n): [n] y HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 113 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 114
Modifying a data capture configuration to modify a data capture configuration in the Tech_Support_Center profile, enter the capture edit command, as shown in the following example: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> callhome edit SN6000 FC Switch (admin-callhome) #> capture - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 115
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" (page 110). HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 116
reset the Call Home service configuration to the factory defaults, enter the reset callhome command, as shown in the following example: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> reset callhome The callhome configuration will be reset and the default values activated. Please confirm - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 117
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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 117 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 118
description of the SNMP parameters. SN6000 FC Switch #> show setup snmp SNMP Information SNMPEnabled True Contact Location N_107 System Test Lab Description HP StorageWorks SN6000 Stackable Dual Power Supply Fibre Channel Switch ObjectID 1.3.6.1.4.1.3873.1.25 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 119
, max=32 chars) : WriteCommunity (string, max=32 chars) : AuthFailureTrap (True / False) : ProxyEnabled (True / False) : SNMPv3Enabled (True / False) : Do you want to save and activate this snmp setup? (y/n): [n] HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 119 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 120
snmp 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. See Table 21 for a listing of the SNMP configuration factory defaults. SN6000 FC Switch (admin - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 121
: ProxyEnabled (True / False) : SNMPv3Enabled (True / False) : t Do you want to save and activate this snmp setup? (y/n): [n] y The following describe how to create, display, and modify SNMP version 3 user accounts. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 121 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 122
Do you want to save and activate this snmpv3user setup ? (y/n): [n] y SNMPV3 user added and activated. Displaying SNMP version 3 user accounts To display SNMP version 3 user accounts, enter the snmpv3user list command as shown in the following example: SN6000 FC Switch #> snmpv3user list Username - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 123
(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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 123 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 124
124 Simple Network Management Protocol Configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 125
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. of the command and its output. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 125 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 126
Admin session to time out, or use the admin cancel command. Examples The following example shows how to open and close an Admin session: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> . . . SN6000 FC Switch (admin) #> admin end See also set setup system, page 222 126 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 127
device Fibre Channel address (hex) • 16-character hexadecimal WWPN for the device with the format xx:xx:xx:xx:xx:xx:xx:xx. rename [alias_old] [alias_new] Renames the alias given by [alias_old] to the alias given by [alias_new]. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 128
list Current list of Zone Aliases alias1 alias2 The following is an example of the alias members command: SN6000 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 SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 129
[profile] Lists the configuration for the profile given by [profile]. If you omit [profile], the command lists all profiles and their configurations. If you omit the profile operand, the command lists the profile names. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 129 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 130
following is an example of the callhome history command: SN6000 FC Switch #> callhome history CallHome Database History ConfigurationLastEditedBy admin@OB- example of the callhome list command: SN6000 FC Switch #> callhome list Configured Profiles group4 group5 130 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 131
an example of the callhome queue stats command: SN6000 FC Switch #> callhome queue stats Callhome Queue Information FileSystemSpaceInUse 534 (bytes) EntriesInQueue 3 See also profile, page 175 reset, page 180 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 131 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 132
configuration determines the time and frequency by which status and trend data are collected from the switch instructions to the Tech_Support_Center profile. Table 7 describes the data capture parameters. Table 7 Data capture configuration can be Sun, Mon, Tue, Wed, Thur, Fri, Sat. The default is Sat - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 133
entry has been edited for profile Tech_Support_Center. This configuration must be saved with the 'callhome save' command before it can take effect, or to discard this configuration use the 'callhome cancel' command. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 133 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 134
capture remove command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> callhome edit SN6000 FC Switch (admin-callhome) #> The selected capture entry has been removed from profile Tech_Support_Center. This configuration must be saved with the 'callhome save' command before it can take - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 135
0 configuration will be cloned to ports 8-19. Please confirm (y/n): [n] y SN6000 FC Switch (admin-config)#> config save SN6000 FC Switch (admin)#> config activate SN6000 FC Switch (admin)#> admin end See also set config port, page 195 show config port, page 236 HP StorageWorks SN6000 Fibre Channel - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 136
config Description Manages the Fibre Channel configurations on a switch. Authority Admin session for all operands except backup and list Syntax config activate [config_name] backup export cancel copy [config_source] [config_destination] delete [config_name] edit [config_name] export [account_name] [ - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 137
file (configdata) and download the file to the workstation. SN6000 FC Switch #> config backup SN6000 FC Switch #> exit #>ftp symbolic_name or ip_address user: images password: images ftp> bin ftp> get configdata ftp> quit HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 137 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 138
) from the workstation to the switch and then restore the configuration. #> ftp symbolic_name or ip_address user: images password: images ftp> bin ftp> put configdata ftp> quit SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> config restore The switch will be reset after restoring the - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 139
(admin) #> create certificate The current date and time is day mon date hh:mm:ss UTC yyyy. This is the time used to stamp onto the certificate. Is the date and time correct? (y/n): [n] y Certificate generation successful. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 139 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 140
.tgz file in binary mode. SN6000 FC Switch (admin) #> create support Log Msg:[Creating the support file - this will take several seconds] FTP the dump support file to another machine? (y/n): n SN6000 FC Switch (admin) #> quit >ftp switch_ip_address user: images password: images ftp>bin ftp>get - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 141
command, as shown in the following example: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> date 013110152008 SN6000 FC Switch (admin) #> date Thu Jan 31 10:15:03 UTC 2008 See also set setup system, page 222 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 141 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 142
exit Description Closes the switch connection. Authority None Syntax exit Notes You can also press Control-D to close the switch connection. 142 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 143
970400 count 3 28 bytes from local switch to 0x970400 time = 10 usec 28 bytes from local switch to 0x970400 time = 11 usec 28 bytes from local switch to 0x970400 time = 119 usec See also fctrace, page 144 ping, page 174 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 143 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 144
] [port_destination] [hop_count] Operands [port_source] The Fibre Channel port from which to begin the trace. [port_source 20 hops is used. Examples The following is an example of the fctrace command: SN6000 FC Switch#> fctrace 970400 970e00 hops 5 36 bytes from 0x970400 to 0x970e00, 5 hops max - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 145
ports to transmit at 20 Gb/s instead of the default 10 Gb/s. • The HP StorageWorks SN6000 Stackable 4-port FC Switch Upgrade LTU enables additional SFP ports in increments of four on the HP StorageWorks SN6000 Stackable 8Gb 12-port Single Power FC Switch for totals of 16, 20, or 24 ports. Examples - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 146
TFTP) • IP address or DNS host name of the remote host • An account name and password on the remote host (FTP only) • Pathname for the firmware image file Authority Admin session Syntax firmware install Examples The following is an example of the firmware install command using FTP: SN6000 FC Switch - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 147
.localdomain FTP server (Version wu-2.6.1-18) ready. 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. See also image, page 158 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 147 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 148
Handshake Authentication Protocol (CHAP). The 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 will use the secondary hash - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 149
Port worldwide name for the N_Port device that would attach to the switch. Common Transport (CT) authentication. Enables (True) or disables (False) authentication for MS group members. The default is False. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 149 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 150
-. The security database supports a maximum of 16 groups. If you omit [type], ISL is used. Table 11 describes the group type parameters. Table 11 Group type parameters Parameter isl port ms Description Configures security for attachments to other switches. Configures security for attachments to - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 151
a switch configuration, you must re-enter the primary and secondary secrets. Otherwise, the switch will isolate because of an authentication failure. For more information about managing groups in security sets, see the securityset command. HP StorageWorks SN6000 Fibre Channel Switch Command - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 152
1-239, 0=None) [0 ] Finished configuring attributes. To discard this configuration use the security cancel command. The following is an example of the group edit command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> security edit SN6000 FC Switch (admin-security) #> group edit - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 153
: SN6000 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 188 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 154
-on self test (POST). This reset disrupts I/O traffic, activates the pending firmware, and clears the alarm log. To save the alarm log before resetting, see the set log command. Authority Admin session Syntax hardreset Notes To reset the switch without a power-on self test, see the reset command - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 155
CONFIG_NAME is given and it exists, it gets edited; otherwise, it gets created. If it is not given, the currently active configuration is edited. Admin mode is required for this command. Usage: config edit [CONFIG_NAME] HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 155 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 156
FC Switch #> history 1 show switch 2 date 3 help set 4 history SN6000 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 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 157
may indicate that the new firmware is not supported. To correct this, close the QuickTools session and the browser window, then open a new QuickTools session. See also hardreset, page 154 reset, page 180 set log, page 206 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 157 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 158
from the host IP address given by [ip_address]. If an account name needs a password to access the FTP server, the system will prompt you for it. install Downloads firmware from a remote host to the switch, installs the firmware, then resets the switch to activate the firmware. This is disruptive - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 159
10.0.0.254 user:johndoe password: ******** ftp>bin ftp>put 8.0.00.11_epc ftp>quit SN6000 FC Switch (admin) $>image list SN6000 FC Switch (admin) $>image unpack 8.0.00.11_epc Image unpack command result: Passed See also firmware install, page 146 HP StorageWorks SN6000 Fibre Channel Switch Command - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 160
Ipsec Edit session. Examples The following is an example of the ipsec history command: SN6000 FC Switch #> ipsec history IPsec Database History ConfigurationLastEditedBy ConfigurationLastEditedOn Active Database Checksum Inactive Database Checksum johndoe@OB-session5 Sat Mar 8 07:14:36 2008 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 161
limits Configured (saved) IPsec Information IPsec Attribute MaxConfiguredSAs MaxConfiguredSPs See also ipsec association, page 162 ipsec list, page 165 ipsec policy, page 168 Maximum ------- 512 128 Current ------- 0 0 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 162
Security Association database supports a maximum of 512 user-defined associations. You must enter the Ipsec Save command afterwards to save your changes. Table 13 describes the association configuration parameters. Table 13 Association configuration parameters Parameter Description SourceAddress - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 163
by [association_old] to the association given by [association_new]. You must enter the ipsec save command afterwards to save your changes. Dynamic associations cannot be renamed. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 163 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 164
ipsec association create command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> ipsec edit SN6000 FC Switch (admin-ipsec) #> ipsec bytes): "123456789012345678901234" The security association has been created. This configuration must be saved with the 'ipsec save' command before it - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 165
]. active Displays the configuration for all active policies. configured Displays the configuration for all user-defined policies. edited Displays the configuration for all policies that have been modified, but not saved. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 165 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 166
Security Policy Count: 2 The following is an example of the ipsec list association command: SN6000 FC Switch #> ipsec list association Active IPsec Information h2h-sh-sa Description: Host-to-host: switch->host Source: fe80::2c0:ddff:fe03:d4c1 Destination: fe80::250:daff:feb7:9d02 Protocol: esp - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 167
the ipsec list policy command: SN6000 FC Switch #> ipsec list policy Active IPsec Information h2h-hs-sp Description: Host-to-host: host->switch Source: fe80::250:daff: ipsec association, page 162 ipsec policy, page 168 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 167 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 168
, _, $, ^, and -. The Security Policy database supports a maximum of 128 user-defined policies. You must enter the ipsec save command afterwards to save your changes. Table 14 describes the policy parameters: Table 14 Policy configuration parameters Parameter Description SourceAddress SourcePort - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 169
]. active Displays the configuration for all active policies. configured Displays the configuration for all user-defined policies. edited Displays the configuration for all policies that have been modified, but not saved. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 169 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 170
of the ipsec policy create command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> ipsec edit SN6000 FC Switch (admin-ipsec) #> ipsec policy 3=both : 2 *espRuleLevel (1=default, 2=use, 3=require) : 3 The security policy has been created. This configuration must be saved with the ' - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 171
] Operands [port_number] The number of the port to be reinitialized. Ports are numbered beginning with 0. Examples The following is an example of the lip command: SN6000 FC Switch (admin) #> lip 2 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 171 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 172
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 142 logout, page 172 172 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 173
'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 297 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 173 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 174
255.255.255.255, are not valid. -ipv6 [host_address] IP address (version 6) or DNS host name of the switch you want to query. Examples The following is an example of a ping command that successfully communicated with another switch: SN6000 FC Switch #> ping 10.20.11.57 Ping command issued. Waiting - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 175
] Creates a new profile named [profile_destination] and copies the configuration into it from the profile given by [profile_source]. You must . The maximum and default is 2,000,000. Subject of the email; up to 64 characters HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 175 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 176
must be saved with the callhome save command before it can take effect, or to discard this configuration use the callhome cancel command. SN6000 FC Switch (admin-callhome) #> callhome save The CallHome database profiles will be saved and activated. Please confirm (y/n): [n] y 176 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 177
Switch Problem configuration use the 'callhome cancel' command. SN6000 FC Switch (admin-callhome) #> callhome save The CallHome database profiles will be saved and activated. Please confirm (y/n): [n] y See also callhome, page 129 capture, page 132 HP StorageWorks SN6000 Fibre Channel Switch - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 178
ps Description Displays current system process information. Authority None Syntax ps Examples The following is an example of the ps command: SN6000 FC Switch #> ps PID PPID %CPU %MEM TIME 244 224 0.0 0.3 00:00:04 245 224 0.0 0.3 00:00:06 246 224 0.0 0.3 00:00:09 247 224 0.0 0.6 00:00: - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 179
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 142 logout, page 172 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 179 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 180
configuration, SNMP configuration, system configuration, security configuration, RADIUS configuration, switch services configuration, zoning configuration, and Call Home configuration to the factory default values as described in Table 17 through Table 30. The switch configuration is activated - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 181
database and deactivates the active zone set. The zoning configuration parameters (MergeAutoSave, DefaultZone, DiscardInactive) remain unchanged. See Table 20 for information about the zoning configuration parameters. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 181 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 182
values are shown in Table 22. • Enter the show setup services command to display the switch service configuration. The default values are shown in Table 23. • Enter the show setup system dns command to display the DNS host configuration. The default values are shown in Table 24. • Enter the show - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 183
True NoClose False IOStreamGuard Auto VIEnable False PDISCPingEnable True XPAK Port Defaults Online Auto G 20-G n, where n is the port number N/A True False N/A 0 N/A N/A True False False False N/A Auto False N/A HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 183 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 184
• SampleWindow True 100 5 10 Table 20 Zoning configuration defaults Parameter MergeAutoSave DefaultZone DiscardInactive Default True Allow False Table 21 SNMP configuration defaults Parameter SNMPEnabled Contact Location Default True 184 Command - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 185
SNMP configuration defaults (continued) Parameter Default Description For AW575A and BK780A: HP StorageWorks SN6000 Stackable Single Power Supply Fibre Channel Switch For AW576A: HP StorageWorks SN6000 Stackable Dual Power Supply Fibre Channel Switch ObjectID HP StorageWorks SN6000 Stackable - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 186
Switch services configuration defaults Parameter GUIMgmtEnabled SSLMgmtEnabled EmbeddedGUIEnabled SNMPEnabled NTPEnabled CIMEnabled FTPEnabled MgmtServerEnabled CallHomeEnabled Default True False True True False True True True True Table 24 DNS host name configuration defaults Parameter Default - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 187
PortBindingEnabled Default True Static Default True False 10.0.0.254 Default False 10.0.0.254 True Default 30 0 Default True False False See also hardreset, page 154 reset, page 180 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 187 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 188
to manage the security database on a switch. Authority Admin session. The operands active, history, limits, and list are available without an Admin session. Syntax security active cancel clear edit history limits list restore save Operands active Displays the active security set, its groups, and - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 189
limits command: SN6000 FC Switch #> security limits Security Attribute Maximum Current MaxSecuritySets 4 1 MaxGroups 16 2 MaxTotalMembers 1000 19 MaxMembersPerGroup 1000 4 15 [Name] ------ group1 group2 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 189 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 190
The following is an example of the security list command: SN6000 FC Switch #> security list Active Security Information SecuritySet Group GroupMember No active securityset defined. Configured Security Information SecuritySet Group GroupMember alpha group1 (ISL) 10:00:00:00:00:10:21:16 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 191
] is the active security set, the group will not be removed until the security set has been deactivated. rename [security_set_old] [security_set_new] Renames the security set given by [security_set_old] to the name given by [security_set_new]. HP StorageWorks SN6000 Fibre Channel Switch Command Line - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 192
of the securityset active command SN6000 FC Switch #> securityset active Active SecuritySet Information ActiveSecuritySet alpha LastActivatedBy Remote LastActivatedOn day month date time year The following is an example of the securityset groups command SN6000 FC Switch #> securityset groups alpha - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 193
display of alarms in the output stream allows command scripts to run without interruption. Examples The following is an example of the set alarm command: SN6000 FC Switch #> set alarm on HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 193 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 194
Enables 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 32 describes the beacon Examples The following is an example of the set beacon command: SN6000 FC Switch #> set beacon on 194 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 195
(False) the switch's priority to arbitrate on the loop. The default is False. Enables (True) or disables (False) the scanning of the connected device for FC-4 descriptor information during login. The default is True. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 195 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 196
Table 33 Port configuration parameters (continued) Parameter ForceOfflineRSCN ARB_FF InteropCredit FANEnable default is unchanged. Default buffer-to-buffer credits are 16 per port. Changing interoperability credits is necessary only for E_Ports that are connected to non-FC-SW-2-compliant switches - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 197
configuring attributes. This configuration must be saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration use the config cancel command. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 197 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 198
an XPAK port: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> config edit SN6000 FC Switch (admin-config) configuring attributes. This configuration must be saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 199
saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration use the config cancel command. See also config, page 136 show config security, page 238 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 199 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 200
]. The default is False. Worldwide port name for the port/device that is allowed to connect to the port given by [port_number]. Examples The following is an example of the set config security portbinding command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) config edit SN6000 FC Switch - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 201
high, 255 is low. The default is 254. ConfigDescription Switch configuration description. The configuration description can be up to 32 characters excluding #, semicolon (;), and comma (,). The default is Config Default. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 201 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 202
Examples The following is an example of the set config switch command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> config edit SN6000 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 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 203
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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 203 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 204
threshold command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> config edit SN6000 FC Switch (admin- configuring attributes. This configuration must be saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 205
be saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration use the config cancel command. See also config, page 136 show config zoning, page 242 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 205 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 206
] restore save start (default) stop Operands archive Collects all log entries and stores the result in new file named logfile that is maintained in switch memory where it can be downloaded using FTP. To download logfile, open an FTP session, log in with account name/password of images for both - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - 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 13, 14, and 15. Specifies all ports Disables monitoring on all ports HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 207 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - 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 SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 209
on SN6000 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 258 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 209 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 210
the specified port temporarily until the next switch reset or new configuration activation. This command also clears port counters. Authority transmission speed parameters. Table 44 Transmission speed parameters Parameter 2Gb/s 4Gb/s 8Gb/s 10Gb/s 20Gb/s Auto Description The port speed is 2 Gb/s. - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 211
enter the queue within 15 seconds of the original are suppressed. The original message is sent with a report of the number of suppressed duplicates. The default is True. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 211 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 212
service must be active to support Call Home email 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 setup callhome command: SN6000 FC Switch (admin) #> set setup configured or the switch - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 213
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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 213 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 214
integrity. The default is False. 22-byte ASCII string (1-63 characters) used as a password for authentication purposes between the switch and the RADIUS server. Examples The following is an example of the set setup radius common command: SN6000 FC Switch (admin) #> set setup radius common A list - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 215
setup radius server command: SN6000 FC Switch (admin) #> set setup configure RADIUS User Authentication SSL can be enabled using the 'set setup services activate this radius setup? (y/n): [n] See also show setup radius, page 268 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 216
Fabric Management Suite, 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 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 217
default is True. NOTE: The SN6000 Fibre Channel Switch Call Home service provides an email notification capability for the switch. This service has no relationship with the HP Call Home feature, which notifies HP services. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 218
setup services command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> set setup services configuration may be required after enabling a service. * If services are disabled, the connection to the switch certificate may need to be created to ensure a secure connection to this switch - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 219
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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 219 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 220
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: SN6000 FC Switch (admin) #> set setup snmp common A list of attributes with formatting and current values will follow - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 221
3=alert 8=info 4=critical 9=debug 5=error 10=mark : Trap1Version (1 / 2) : Trap1Community (string, max=32 chars) : Do you want to save and activate this snmp setup? (y/n): [n] See also show setup snmp, page 270 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 221 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 222
is False. Name of local DNS server DNS server boot method: • 1-Static • 2-DHCP (Dynamic Host Configuration Protocol) • 3-DHCP version 6 The default is Static. IP addresses (version 4 or 6) of up to three DNS servers. DNS search list discovery method: • Static • DHCP for IPv4 • DHCP for IPv6 The - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 223
: • 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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 223 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 224
first set an initial time and date on the switch. The synchronized time becomes effective immediately. The default is False. NTP boot method: • 1-Static • 3-DHCP (Dynamic Host Configuration Protocol) • 3-DHCP version 6 The default is Static. The IP address (version 4 or 6) or DNS host name of the - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 225
The default is 0, the maximum is 1440. Examples The following is an example of the set setup system dns command: SN6000 FC Switch (admin) #> set setup : Do you want to save and activate this system setup? (y/n): [n] HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 225 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 226
-notated IP Address) : EthIPv4NetworkMask (dot-notated IP Address) : EthIPv4GatewayAddress (dot-notated IPv4 Address) : 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: SN6000 FC Switch (admin) #> set setup system - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 227
and activate this system setup? (y/n): [n] The following is an example of the set setup system ntp command: SN6000 FC Switch (admin) #> set setup system ntp : Do you want to save and activate this system setup? (y/n): [n] HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 227 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 228
following is an example of the set setup system timers command: SN6000 FC Switch (admin) #> set setup system timers A list of attributes with value 0-1440 minutes, 0=never) : Do you want to save and activate this system setup? (y/n): [n] See also show setup system, page 271 228 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 229
Suite and the CLI at the same time. Examples The following is an example of the set switch command: SN6000 FC Switch #>admin start SN6000 FC Switch (admin) #>set switch state offline See also show switch, page 274 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 229 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 230
timezone Description Specifies the time zone for the switch and the workstation. The default is Universal Time (UTC), also known as Examples The following is an example of the set timezone command: SN6000 FC Switch (admin) #> set timezone Africa America Antarctica Asia Atlantic Australia - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 231
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, TR HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 231 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 232
POSTStatus LicensedPorts SwitchMode See also show version, page 282 HP StorageWorks SN6000 Stackable Dual Power Supply Fibre Channel Switch 10.20.11.192 :: 00:c0:dd:00:71:ee 10:00:00:c0:dd:00:71:ed FAM033100024 SN6000 FC Switch V8.0.x.x.xx.xx day month date time year Passed 24 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 233
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: SN6000 FC Switch #> show alarm settings Current settings for alarm display ON HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 233 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 234
ports that are currently transmitting and receiving broadcast frames. Authority None Syntax show broadcast Examples The following is an example of the show broadcast command: SN6000 FC Switch #> show broadcast Group Member Ports ISL Ports 0 3 16 15 16 234 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 235
SN6000 FC Switch #> show chassis Chassis Information BoardTemp (1) - Degrees Celsius BoardTemp (2) - Degrees Celsius BoardTemp (3) - Degrees Celsius PowerSupplyStatus (1) HeartBeatCode HeartBeatStatus 26 31 31 Good 1 Normal HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 236
The following is an example of the show config port command for port 3: SN6000 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 SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 237
port command for an XPAK port: SN6000 FC Switch #> show config port 20 Configuration Name: default Port Number: 20 -----------AdminState LinkSpeed PortType False True Disabled True See also set config port, page 195 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 237 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 238
security Examples The following is an example of the show config security command: SN6000 FC Switch #> show config security Configuration Name: default Switch Security Configuration Information FabricBindingEnabled False AutoSave True Port ---0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 239
The following is an example of the show config security port command: SN6000 FC Switch #> show config security portbinding Configuration Name: default Port ---0 1 2 3 4 5 6 7 8 9 10 11 security portbinding, page 200 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 239 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 240
show config switch Description Displays the switch configuration parameters. Authority None Syntax show config switch Examples The following is an example of the show config switch command: SN6000 FC Switch #> show config switch Configuration Name: default Switch Configuration Information - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 241
command: SN6000 FC Switch #> show config threshold Configuration Name: default ------------ Threshold Configuration Information ThresholdMonitoringEnabled SampleWindow 10 See also set config threshold, page 203 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 241 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 242
config zoning Examples The following is an example of the show config zoning command: SN6000 FC Switch #> show config zoning Configuration Name: default Zoning Configuration Information MergeAutoSave True DefaultZone Allow DiscardInactive False See also set config zoning, page 205 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 243
None Syntax show domains Examples The following is an example of the show domains command: SN6000 FC Switch #> show domains Principal switch is (remote): 10:00:00:60:69:50:0b:6c Upstream Principal ISL is 00:00:c0:dd:00:b8:b7 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 243 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 244
show donor Description Displays list of current donor and extended credit configuration for all ports. Authority None Syntax show donor Examples The following is an example of the show donor command: SN6000 FC Switch #> show donor Port Config Ext Credit Max Credit Donated Member of Valid Groups to - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 245
show env Examples The following is an example of the show env command: SN6000 FC Switch #? show env Temperature(C) Sensors: Sensor ------ 0 1 2 3 Description 1.99 2.84 See also show temp, page 277 show voltage, page 284 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 245 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 246
node IP address, and port IP address in the fabric. Authority None Syntax show fabric brief Operands brief Displays a table of switches displays information for the local switch only. Examples The following is an example of the show fabric command: SN6000 FC Switch #> show fabric Domain *133 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 247
:96 180100 Manufacturer QLogic Corporation QLogic Corporation Model ------QLA2342 QL2330 Ports ----2 2 The following is an example of the show fdmi wwn command: SN6000 FC Switch #> show fdmi FCP 2Gb/s 2Gb/s 2048 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 247 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 248
active network interfaces. Authority None Syntax show interface Examples The following is an example of the show interface command: SN6000 FC Switch MTU:1500 Metric:1 RX packets:137168 errors:0 dropped:0 overruns:0 frame:0 TX packets:2194 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 249
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 61 describes the event log display filter parameters. HP StorageWorks SN6000 Fibre Channel - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 250
are available for configuring event logging and automatic display to the screen. For information about how to configure event logging and log component command: SN6000 FC Switch #> show log component Current settings for log FilterComponent NameServer MgmtServer Zoning Switch Blade Port Eport - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 251
The following is an example of the show log command: SN6000 FC Switch #> show log [327][day month date time year][I][Eport Port:0/8][Eport State= Eport Port: 0/8][LSDB Xchg timer set] See also set log, page 206 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 251 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 252
state database information, Authority None Syntax show lsdb Examples The following is an example of the show lsdb command: SN6000 FC Switch #> show lsdb Link State Database Information LsID 34: Age=1176, Incarnation=0x800000e5 NeighborDomain=36, LocalPort=6, RemotePort=7, Cost=500 NeighborDomain - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 253
all ports. installed Displays transceiver information for all ports that have transceivers installed. Notes Table 62 describes the transceiver information in the show media display. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 253 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 254
, and distance. The media designator may be M5 (multimode 50 micron), M6 (multimode 62.5 micron), or MX. MX indicates that the media supports both multimode 50 and 62.5 micron. MediaType may also be one of the following: • NotInstalled-transceiver is not installed. • Unknown-transceiver does - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 255
SN6000 FC Switch #> show media 4 Port Number: 4 MediaType 800-MX-SN-S MediaVendor FINISAR CORP. MediaPartNumber FLTF8528P2BNV MediaRevision A MediaSerialNumber P6G22RL MediaSpeeds 2Gb/s, 4Gb/s, 8Gb 0.019 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 255 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 256
units. NOTE: This operand will display memory activity updates until [count] is reached-it cannot be interrupted. Therefore, avoid using large values for [count]. Examples The following is an example of the show mem command: SN6000 FC Switch #> show mem procs -----------memory swap-- -----io - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 257
e0:8b:07:a7:bc The following is an example of the show ns [port_ID] command: SN6000 FC Switch #> show ns 1301e1 Port ID: 1301e1 -------- PortType NL PortWWN 21:00:00:20:37: dd:00:bc:56 FC4Type FCP FC4Desc (NULL) HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 257 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 258
to 20 lines (ON) or allows the continuous display of information without a break (OFF). Examples The following is an example of the show pagebreak command: SN6000 FC Switch #> show pagebreak current setting: ON See also set pagebreak, page 209 258 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 259
] outbyte [port_list] frame [port_list] inframe [port_list] outframe [port_list] errors [port_list] Operands [port_list] Displays the instantaneous performance data for up to Type q and press Enter to stop the display. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 259 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 260
Enter to stop the display. errors [port_list] Displays continuous error counts for the ports given by 70K 24K 0 24K 0 0 0 0 0 The following is an example of the show perf byte command: SN6000 FC Switch #> show perf byte Displaying bytes/sec (total)... (Press any key to stop display) 0 1 2 3 4 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 261
Number of times an SOFi3 or SOFn3 frame is tossed Configured port type: G, GL, F, FL, TR, or Donor Number of decode errors detected Fault code from the most recent power-on self that is preventing delivery of this frame. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 261 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 262
loss of signal while online. A loss of signal causes the switch to attempt to re-establish the link. If the link is link failure. Port transmission speed Port activity status Number of F7, Arbitrated Loop received A two second timeout, as specified by FC-AL-2 Number of synchronization losses (>100 ms - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 263
, NeverRun Total number of errors detected on the port since the last port or switch reset Total number of link resets since the last port or switch reset Number of loop initialization port Transmitter status: True, False. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 263 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 264
Examples The following is an example of the show port command: SN6000 FC Switch #> show port 1 Port Number: 1 ------------ AdminState Online OperationalState Offline AsicNumber 0 16 UpstreamISL False MediaSpeeds 2Gb/s, 4Gb/s, 8Gb/s XmitterEnabled True ALInit 1 ALInitError 0 BadFrames - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 265
log Examples The following is an example of the show postlog command: SN6000 FC Switch #> show postlog Queue: Sequence Count: Success Count: Failed Count: Records (0x34) 0 0/0 0x00000005 0x0082202b 0x00a2202b HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 265 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 266
Call Home database configuration. NOTE: The SN6000 Fibre Channel Switch Call Home service provides an email notification capability for the switch. This service has no relationship with the HP Call Home feature, which notifies HP services. Authority None Syntax show setup callhome Examples The - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 267
31894-00 A SwitchSymbolicName SN6000 FC Switch SwitchWWN 10:00:00:c0:dd:0d:53:e7 SystemDescription HP StorageWorks SN6000 Stackable Dual Power Supply Fibre Channel Switch SystemObjectID 1.3.6.1.4.1.3873.1.25 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 267 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 268
Refer to Table 48 for a description of the server-specific configuration parameters. Examples The following is an example of the show setup radius common command: SN6000 FC Switch #> show setup radius common Radius Information DeviceAuthOrder Local UserAuthOrder Local TotalServers 2 The - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 269
True SSLEnabled False EmbeddedGUIEnabled True SNMPEnabled True NTPEnabled True CIMEnabled True FTPEnabled True MgmtServerEnabled True CallHomeEnabled True See also set setup services, page 216 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 269 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 270
show setup snmp common command: SN6000 FC Switch #> show setup snmp common SNMP Information SNMPEnabled True Contact Location Description HP StorageWorks SN6000 Stackable Dual Power Supply Fibre Channel Switch ObjectID 1.3.6.1.4.1.3873 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 271
timer configuration parameters. Examples The following is an example of the show setup system dns command: SN6000 FC Switch #> show setup system dns > Static HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 271 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 272
.32 255.255.252.0 10.20.8.254 The following is an example of the show setup system ipv6 command: SN6000 FC Switch #> show setup system ipv6 System Information EthIPv6NetworkEnable EthIPv6NetworkDiscovery EthIPv6NetworkAddress EthIPv6GatewayAddress False Static 2001::1/64 fe80::1 The following - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 273
is an example of the show steering command: SN6000 FC Switch #> show steering 35 DomainID -------35 DefaultOutPort 18 InPort OutPort 3 16/18/16/18 5 18/16/18/16 6 16/18/16/18 7 16/18/16/18 15 18/16/18/16 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 273 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 274
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 SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 275
the show switch command: SN6000 FC Switch #> show switch Switch Information default Online False Off Online False 00000000 Passed 00000000 NeverRun 32 Normal See also set config switch, page 201 set switch state, page 229 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 276
name configuration parameters. Authority None Syntax show system Examples The following is an example of the show system command: SN6000 FC Switch #> show IPv6GatewayList1 NTPServer 10.20.10.10 See also set setup system, page 222 show setup system, page 271 276 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 277
Description Displays temperature information. Authority None Syntax show temp Examples SN6000 FC Switch #? show temp Temperature(C) Sensors: Sensor ------ 0 1 2 See also show env, page 245 show voltage, page 284 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 277 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 278
file. Authority None Syntax show testlog or show test log Examples The following is an example of the show testlog command: SN6000 FC Switch #> show testlog Queue: UID Sequence Count: 676 Success Count: 420 Failed Count: 2023 Records: 127 Record: Time: Sequence Number: Test: Subtest - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 279
the current time zone setting. Authority None Syntax show timezone Examples The following is an example of the show timezone command: SN6000 FC Switch #> show timezone America/Chicago See also set timezone, page 230 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 279 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 280
: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: SN6000 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 SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 281
show users brief command: SN6000 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 297 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 282
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 SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 283
is an example of the show version command. SN6000 FC Switch #> show version * * * Command Line Interface SHell (CLISH) * * * SystemDescription HP StorageWorks SN6000 Stackable Dual Supply Power Fibre Channel Switch HostName EthIPv4NetworkAddress 10.20.11.192 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 284
show voltage Description Displays voltage information. Authority None Syntax show voltage Examples SN6000 FC Switch #? show voltage Voltage Sensors: Sensor ------ 0 1 2 3 4 5 6 7 8 Description ----------2.5V 1.25V 3.3V 12V 1.2V 1.5V 1.8V_ANALOG 1.8V 2.5V_ANALOG Status -----Good Good Good - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 285
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. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 285 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 286
AuthPhrase Confirm AuthPhrase Privacy PrivType PrivPhrase Confirm PrivPhrase Description Account user name Group type: Read-Only or Read-Write. The default is Read-Only. Enables (True) or disables (False) authentication. The default is False. Authentication type can be MD5 or SHA. Authentication - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 287
SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> snmpv3user add A list of SNMPV3 user attributes with formatting and default and activate this setup ? (y/n): [n] y SNMPV3 user account edited and activated. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 287 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 288
The following is an example of the snmpv3user list command: SN6000 FC Switch #> snmpv3user list Username -------snmpuser1 See also set setup snmp, page 219 show setup snmp, page 270 Group ----ReadWrite AuthType -------MD5 PrivType -------DES 288 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 289
port given by [port_number]. [port_number] can be 0-23. Examples The following example cancels the test running on port 15: SN6000 FC Switch (admin) #> test cancel port 15 See also test port, page 290 test status, page 292 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 289 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 290
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 Stops the test when an error occurs (True). Otherwise, the test continues to completion. Restarts the test after completion and continues until you cancel - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 291
A notification with the test result(s) will appear on the screen when the test has completed. SN6000 FC Switch (admin) #> Test for port 1 Passed. See also test cancel, page 289 test status, page 292 test switch, page 294 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 291 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 292
Passed Loop Count ----- 12 Test Failures -------- 0 The following is an example of the test status switch command: SN6000 FC Switch #> test status switch Test Level ----Switch Test Type ---Offline internal Test Status -----Passed Loop Count ----- 4 Test Failures -------- 0 Port Num - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 293
See also test cancel, page 289 test port, page 290 test switch, page 294 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 293 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 294
status of a recent switch test or switch test in progress, enter the test status switch command. Table 72 describes the switch test parameters. Table 72 Switch test parameters Parameter LoopCount FrameSize DataPattern Description Number of frames sent: 1-4294967295. The default is 100. Number of - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 295
) [256 ] (32-bit hex value or 'Default') [Default] (True / False) [True ] (True / False) [False ] Do you want to start the test? (y/n) [n] y See also test cancel, page 289 test status, page 292 test switch, page 294 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 295 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 296
reset and the reset method. A hot reset or non-disruptive firmware activation does not reset the elapsed up time reported by this command. Authority None Syntax uptime Examples The following is an example of the uptime command: SN6000 FC Switch #> uptime Elapsed up time : 0 day(s), 2 hour(s), 28 min - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 297
= True , never expires) chuckca (admin authority = False, expires in < 50 days) gregj (admin authority = True , expires in < 100 days) fred (admin authority = True , never expires) HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 297 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 298
following is an example of the user add command: SN6000 FC Switch (admin) #> user add Press 'q' and the ENTER key to abort this command. account name (1-15 chars) : user1 account password (8-20 chars) : ******* please confirm account password: ******* set account expiration in days (0-2000 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 299
Telnet session. Authority None Syntax whoami Examples The following is an example of the whoami command: SN6000 FC Switch #> whoami User name : admin@session2 Switch name : SN6000 FC Switch Switch domain ID: 21 (0x15) HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 299 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 300
switch numbers can be 0-255. • 6-character hexadecimal device Fibre Channel address (hex) • 16-character hexadecimal WWPN with _, $, ^, and -. The zoning database supports a maximum of 2,000 zones. You must the active zone set, the zone will not be removed from the active zone set until the active - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 301
following is an example of the zone members command: SN6000 FC Switch #> zone members wwn_b0241f Current List of Members for Zone orphans command: SN6000 FC Switch #> zone orphans Current list of orphan zones zone3 zone4 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 301 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 302
The following is an example of the zone zonesets command: SN6000 FC Switch #> zone zonesets zone1 Current List of ZoneSets for Zone: zone1 zone_set_1 See also zoneset, page 303 zoning edit, page 310 302 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 303
]. Use a to delimit zone names in [zone_list]. If [zone_set] is the active zone set, the zone will not be removed until the zone set has been deactivated. You must enter the zoning save command to save your changes. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 303 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 304
can be a component of more than one zone set. Examples The following is an example of the zoneset active command: SN6000 FC Switch #> zoneset active Active ZoneSet Information ActiveZoneSet Bets LastActivatedBy admin@OB-session6 LastActivatedOn day month date time year The following is an example - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 305
FC Switch (admin) #> zoning active capture This command will overwrite the configured zoning database in NVRAM. Please confirm (y/n): [n] y The active zoning database has been saved. See also zone, page 300 zoneset, page 303 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 306
Edit session. Syntax zoning cancel Examples The following is an example of the zoning cancel command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> zoning edit . . . SN6000 FC Switch (admin-zoning) #> zoning cancel Zoning edit mode will be canceled. Please confirm (y/n): [n] y See also - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 307
the zoning clear command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> zoning edit SN6000 FC Switch (admin-zoning) #> zoning clear SN6000 FC Switch (admin-zoning) #> zoning save See also zoning save, page 317 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 307 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 308
of the non-volatile zoning database. Authority None Syntax zoning configured Examples The following is an example of the zoning configured command: SN6000 FC Switch #> zoning configured Configured (saved in NVRAM) Zoning Information ZoneSet Zone ZoneMember ------- ---- ---------- wwn - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 309
#> admin start SN6000 FC Switch (admin) #> zoning delete orphans This command will remove all zonesets, zones, and aliases that are not currently active. Please confirm (y/n): [n] y SN6000 FC Switch (admin) #> zoning save HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 309 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 310
an example of the zoning edit command: SN6000 FC Switch #> admin start SN6000 FC Switch (admin) #> zoning edit SN6000 FC Switch (admin-zoning) #> . . SN6000 FC Switch (admin-zoning) #> zoning save The changes have been saved; however, they must be activated before they can take effect -- see Zoneset - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 311
Switch (admin-zoning) #> zoning edited Edited (unsaved) Zoning Information ZoneSet Zone ZoneMember ------- ---- ---------- ZS1 Z1 10:00:00:c0:dd:00:b9:f9 10:00:00:c0:dd:00:b9:fa See also zoning configured, page 308 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 312
to the zoning database and the user who made them. • Checksum for the zoning database Authority None Syntax zoning history Examples The following is an example of the zoning history command: SN6000 FC Switch #> zoning history Active Database Information ZoneSetLastActivated/DeactivatedBy - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 313
non-volatile or active). If you switch's zoning database is 2,000. Each instance of a zone in a zone set counts toward this maximum. Maximum number of members in a zone is 2,000. Maximum number of members in an alias is 2,000. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 314
is an example of the zoning list command: SN6000 FC Switch #> zoning list Active (enforced) ZoneSet Information ZoneSet Zone ZoneMember wwn wwn_23bd31 :bf:d2:18:d2 10:00:00:00:c9:22:15:c3 Configured (saved in NVRAM) Zoning Information ZoneSet Zone ZoneMember wwn wwn_23bd31 50: - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 315
command: SN6000 FC Switch #> configured zoning database in NVRAM. Please confirm (y/n): [n] y The merged zoning database has been saved. See also zoning configured, page 308 zoning edited, page 311 zoning list, page 314 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 316
MergeAutoSave parameter is False (see Table 20), 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 316 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 317
(admin-zoning) #> . . SN6000 FC Switch (admin-zoning) #> zoning save The changes have been saved; however, they must be activated before they can take effect -- see zoneset activate command. See also zoning edit, page 310 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 317 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 318
318 Command Reference - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 319
/us/en/contact_us.html). To contact HP by phone, call: 1-800-HP-INVENT (1-800-474-6836). This service is available 24 hours a day, 7 days a week. For continuous quality improvement, calls may be recorded or monitored. HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 319 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 320
activation license key Related information Documents In addition to this guide, see the following documents for this product: • HP StorageWorks 8/20q and SN6000 Fibre Channel Switch Quick Start Installation Instructions • HP StorageWorks 8Gb Simple SAN Connection Kit Quick Start Instructions • HP - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 321
Remove example 115 central processing unit certificate 83, 85, 139 Challenge Handshake Authentication Protocol 148 CHAP See Challenge Handshake Authentication Protocol chassis status 234, 235 Clone Config Port command 135 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 321 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 322
139 Certificate example 85 Support example 13 credit donor 244 critical event 101 CT See Common Transport Cyclic Redundancy Check errors 65 D data capture add configuration 114 delete configuration 115 modify configuration 114 date 47 322 Index Date command 47, 141 decode errors 65 defaults, switch - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 323
IP address 21, 22, 223 IP Security configuration history 27 configuration limits 27 edit session 125 reset 25 Ipsec Association command 162 Copy example 33 Create example 31 Delete example 31 Edit example 32 Rename example 33 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 324
enable 223 gateway address 223 interfaces 248 IP address 223 mask 223 resetting configuration 181 Network Time Protocol client 224 description 47 discovery method 224 interaction with Date command 141 server address 224 service 217 non-disruptive activation 50, 157 N-Port ID Virtualization 62, 63 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 325
modifying 92 resetting 92 restoring 91 security edit session canceling 188 initiating 188 reversing changes 189 saving changes 189 security policy database 27 information 26 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 325 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 326
Index example 98 Set Setup Services command 216 example 43 NTP service 49 SNMP service 117 SSH and SSL services 84 Set Setup SNMP command 219 Set Setup System command 222 Ethernet configuration 22 NTP configuration 49 remote logging 104 Timers example 56 Set Switch State command 229 Set Timezone - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 327
session 22 inactivity 22 Telnet session 225 topology 280 TR_Port 62 transceiver information 60, 253 transparent routing 62 Trivial File Transfer Protocol 51 U UDP See User Datagram Protocol Universal Time 47 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 327 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 328
user account adding 18, 297 configuration 17 deleting 297 displaying 17, 297 list 297 logged in 281 modifying 18, 297 password 19 user administration 297 User service 216 websites HP documentation 320 HP storage 320 HP 78, 304 Zoneset command 303 Activate example 79 Active example 71 Add example 79 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 329
76 reversing changes 316 saving changes 317 setting configuration parameters 75, 76, 205 Zoning Delete command example 78 Zoning Delete Orphans 315 Capture example 77 Zoning Restore command 316 Zoning Save command 317 HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 329 - HP SN6000 | HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface G - Page 330
330 Index
HP StorageWorks SN6000 Fibre Channel Switch
Command Line Interface Guide
This guide provides information about using the HP StorageWorks SN6000 Fibre Channel Switch command line interface
(CLI) describing fabric, switch, and port management tasks. This guide also provides an alphabetical listing of the CLI
commands, including the command syntax, operands, and notes, and examples of their use. This guide is for users who
are responsible for installing and servicing Fibre Channel equipment using the command line interface.
Part Number: 5697-0406
Published June 2010
Edition: 2