User Guide HP StorageWorks 2/8q Fibre Channel Switch Management First Edition (November 2004) Part Number: A7450–96007 This manual describes the management tools for the HP StorageWorks 2/8q Fibre Channel Switch (2/8q FC Switch) that are included with the Modular Smart Array 1000 Small Business SAN.
© Copyright 2004 Hewlett-Packard Development Company, L.P. Hewlett-Packard Company makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Contents Contents About this Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Intended audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Related documentation. .
Contents Working status indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 Using the topology display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 Switch status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32 Topology data windows . . . . . . . . . . . . . . . . . . . .
Contents Default Visibility parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 Restoring default zoning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 Merging fabrics and zoning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49 Zone merge failure . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Domain ID and Domain ID Lock parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 Broadcast Support parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 In-band Management parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71 Interop Mode parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Rescaling a selected graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96 Saving graph statistics to a file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96 Interpreting Switch Manager messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 Fabrics File—Open, Save messages . . . . . . .
Contents Firmware Install command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123 Authority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123 Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Reset command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131 Authority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131 Keywords . . . . . . . . . . . . . . . . . . . . .
Contents Authority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166 Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167 Examples. . . . . . . . . . . . . . . . . . . . . . . . .
Contents 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 Switch Manager Topology window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Switch Manager Faceplate window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Topology display menu bar options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 12 IP configuration parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 SNMP Configuration parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 SNMP trap configuration parameters. . . . . . . . . . . . . . . . . .
About This Guide About this Guide This guide provides information to help you use the following management tools to manage the HP StorageWorks 2/8q Fibre Channel Switch (2/8q FC Switch): About this Guide ■ Switch Manager ■ Command Line Interface (CLI) “About This Guide” topics include: ■ Overview, page 14 ■ Conventions, page 15 ■ Getting help, page 17 HP StorageWorks 2/8q Fibre Channel Switch Management User Guide 13
About this Guide Overview This section covers the following topics: ■ Intended audience ■ Related documentation Intended audience This book is intended for use by the system administrator responsible for the MSA1000 storage system.
About this Guide Conventions Conventions consist of the following: ■ Document conventions ■ Text symbols ■ Equipment symbols Document conventions This document follows the conventions in Table 1. Table 1: Document conventions Element Convention Cross-reference links Blue text: Figure 1 Menu items, buttons, keys, tabs, and user input in a graphical interface. (Use plain text for all other GUI elements.
About this Guide Equipment symbols The following equipment symbols may be found on hardware for which this guide pertains. They have the following meanings: Any enclosed surface or area of the equipment marked with these symbols indicates the presence of electrical shock hazards. Enclosed area contains no operator serviceable parts. WARNING: To reduce the risk of personal injury from electrical shock hazards, do not open this enclosure.
About this Guide Getting help If you still have a question after reading this guide, contact an HP Authorized Service Provider or access the following HP web site: http://www.hp.com. Note: HP call centers use product and serial numbers to validate warranty entitlement.
About this Guide HP technical support Telephone numbers for worldwide technical support are listed on the following HP web site: http://www.hp.com/support/. From this web site, select the country of origin. Note: For continuous quality improvement, calls may be recorded or monitored.
Switch Manager 1 This chapter describes how to use the Switch Manager application and its menus, including: ■ Getting started, page 20 ■ Managing fabrics, page 35 ■ Managing switches, page 58 ■ Managing ports, page 80 ■ Graphing port performance, page 91 ■ Interpreting Switch Manager messages, page 97 HP StorageWorks 2/8q Fibre Channel Switch Management User Guide 19
Switch Manager Getting started ■ Installing Switch Manager, page 20 ■ Starting Switch Manager, page 21 ■ Exiting Switch Manager, page 22 ■ Removing Switch Manager, page 23 ■ Changing the encryption key for the default fabric view file, page 23 ■ Saving and opening fabric view files, page 23 ■ Setting Switch Manager preferences, page 24 ■ Using online help, page 25 ■ Viewing software version and copyright information, page 25 ■ Using the Switch Manager user interface, page 25 ■ Using th
Switch Manager Installing Switch Manager on Linux systems 1. Close all programs currently running, and then insert the Small Business SAN Software CD into the server or management workstation CD-ROM drive. The CD auto-mounts, and executes an installation script. If the CD does not auto-mount, mount the CD and execute the HP Small Business Linux Wizard script from the /linux directory. (install_smb.sh) 2. Follow the onscreen instructions to complete the installation.
Switch Manager ■ Open existing fabric view file—Opens the Open View dialog box which prompts you to specify a fabric view file that you saved earlier. See “Opening a fabric view file” on page 37. ■ Start application without specifying a fabric—Opens the Switch Manager window. Exiting Switch Manager To exit a Switch Manager application session: 1. Select File > Exit.
Switch Manager Removing Switch Manager Removing Switch Manager from Windows To remove Switch Manager from Windows: 1. Browse for and change to the installation directory: The default directory is C:\Program Files\HP\HP_StorageWorks_Switch_Manager. 2. Double-click the uninstall program file or shortcut/link, and then follow the onscreen instructions to remove Switch Manager. Removing Switch Manager from Linux To remove Switch Manager from Linux: 1. Browse for and change to the installation directory.
Switch Manager Setting Switch Manager preferences Using the preferences settings to: ■ Change the location of the working directory in which to save files. ■ Change the location of the browser used to view the online help. ■ Choose the fabric discovery interval. The fabric discovery interval is how often the Switch Manager application receives information from the fabric. Choose 30 (default), 45, or 60 seconds.
Switch Manager Using online help Online help is available for the Switch Manager application and its functions. You can do one of the following to open the online help file: ■ Select Help > Help Topics. ■ Click Help on the tool bar. ■ Click Help in a dialog box to display context-sensitive help for all Switch Manager dialog boxes. Viewing software version and copyright information To view Switch Manager software version and copyright information: 1. Select Help > About. 2.
Switch Manager 1 2 4 3 5 1 2 3 Menu bars Tool bar Fabric tree 4 5 6 6 Graphic window Data window and tabs Working status indicator Figure 6: Switch Manager Faceplate window Menu bars In addition to the menu bar, both the topology and faceplate displays have context sensitive menus that pop up when you right-click in the graphic window. The menus and the options offered in them vary depending on the display.
Switch Manager Topology display menu bar options and shortcut keys Figure 7: Topology display menu bar options Table 3: Topology display shortcut keys Shortcut Selection Shortcut Selection Ctrl+O Alt+F, O File>Open View File Alt+S, E Switch>Export Name Server Alt+F, A File>Save View As Alt+S, P Switch>Switch Properties (active only when one switch is selected) Alt+F, D File>Save Default Fabric View File Alt+S, N Switch>Network properties (active only when one switch is selected) Alt+F, R
Switch Manager Faceplate display menu bar options and shortcut keys Figure 8: Faceplate display menu bar options Table 4: Faceplate display shortcut keys Shortcut Selection Shortcut Selection Ctrl+O Alt+F, O File>Open View File Alt+S, E +R +A Switch>Reset Switch| Reset Hard Reset Alt+F, A File>Save View As Alt+S, S Switch> Restore Factory Defaults Alt+F, D File>Save Default Fabric View File Alt+S, W Switch>Download Support File Alt+F, R File>Preferences Alt+P, R Port>Port Properties Al
Switch Manager Tool bar The tool bar consists of a row of graphical buttons that are used to access Switch Manager functions (Table 5). Tool bar buttons are an alternative method to using the menu bar. The tool bar can be relocated in the display by clicking and dragging the handle at the left edge of the tool bar. Table 5: Tool bar buttons Button Description Add Fabric—Adds a new fabric to the fabric view. Open View File—Opens an existing fabric view file.
Switch Manager 1 2 1 2 Fabric entry Entry handle 3 3 Switch entries Figure 9: Fabric tree Each fabric tree entry has a small icon next to it that uses color to indicate operational status. ■ A green icon indicates normal operation. ■ A yellow icon indicates that a switch is operational, but may require attention to maintain maximum performance. ■ A red icon indicates a potential failure or non-operational state (if switch is offline).
Switch Manager Data window and tabs The data window presents a table of data and statistics associated with the selected tab. (Figure 6.) Use the scroll bar to browse through the data. The window length can be adjusted by clicking and dragging the border that it shares with the graphic window. Adjust the column width by moving the pointer over the column heading border shared by two columns until a right/left arrow graphic is displayed. Click and drag the arrow to the desired width.
Switch Manager Switch status Switch icon shape and color provide information about the switch and its operational state. Lines represent links between switches. The topology display uses green to indicate normal operation, yellow to indicate operational with errors, red to indicate a potential failure or non-operational state, and blue to indicate unknown, unreachable, or unmanageable. See “Fabric status” on page 40 for more information about topology display icons.
Switch Manager You can save a custom arrangement, or layout, and restore that layout during a Switch Manager session. Begin by arranging the icons, and then select View > Remember Layout. To restore the saved layout, select View > Toggle Auto Layout box, and then select Layout Topology. Opening the topology display menus The faceplate display shows the front of a single switch and its ports.
Switch Manager Context-sensitive menus are displayed when you right-click on the faceplate image or on a port icon in the faceplate display. Faceplate data windows The faceplate display provides the following data windows, which correspond to the data window tabs at the bottom of the display: ■ Name Server—Displays all devices connected to the switch that are logged with the name server. ■ Switch—Displays current switch configuration data.
Switch Manager Managing fabrics This section describes the following tasks that manage fabrics: ■ Managing fabric security, page 35 ■ Managing the fabric database, page 36 ■ Displaying fabric information, page 40 ■ Zoning a fabric, page 45 Managing fabric security The components of Fibre Channel fabric security are: ■ User account security ■ Fabric services Note: HP does not support Inter-Switch Links (ISLs), also known as E-Ports, between two or more switches.
Switch Manager Fabric services Fabric services security includes SNMP and In-band management. Simple Network Management Protocol (SNMP) is the protocol governing network management and monitoring of network devices. SNMP security consists of a read community string and a write community string, which are basically the passwords that control read and write access to the switch.
Switch Manager Figure 12: Add a New Fabric dialog box 2. Enter a fabric name (optional) and the IP address of the switch through which to manage the fabric. 3. Enter an account name and password. The factory login name and password are: admin, password. The password is for the switch and is stored in the switch firmware. — See “User account security” on page 35 for information about user authentication.
Switch Manager Saving a fabric view file 1. Select File > Save View As. The Save View dialog box is displayed. 2. Enter a new file name. 3. Enter a file password, if necessary. 4. Click OK. Rediscovering a fabric After making changes to or deleting switches from a fabric view, it may be helpful to again view the actual fabric configuration. The rediscover fabric option clears out the current fabric information being displayed, and rediscovers all switch information.
Switch Manager Replacing a failed switch The archive/restore works for all switches. However, the Restore menu item is not available for the in-band switches. You can only restore a switch out-of-band (the fabric management switch). There are certain parameters that are not archived, and these are not restored by Switch Manager. See “Archiving a switch configuration” on page 75 and “Restoring a switch configuration” on page 75 for information about archive and restore.
Switch Manager Deleting a link To delete a link: 1. Select one or more links in the topology display, and then select Switch > Delete. Displaying fabric information The topology display is the primary tool for monitoring a fabric. The graphic window of the topology display provides status information for switches and the Ethernet connection to the management workstation. The data window tabs show name server, switch, and active zone set information.
Switch Manager Table 6: Topology display switch and status icons Switch Icon Description 2/8q FC Switch ■ Normal operation (green) ■ Warning—Operational with errors (yellow) ■ Critical—Potential failure (red) ■ Unknown—Communication status unknown, unreachable, or unmanageable (blue) Fabric Management Switch: ■ Ethernet connection normal (green) ■ Ethernet connection warning (yellow) ■ Ethernet connection critical (red) Switch is not manageable with this version of Switch Manager.
Switch Manager 2 1 1 Severity column 2 Column sorting buttons Figure 13: Event Browser Note: ■ Events that are generated by the application are not saved on the switch. They are permanently discarded when you close a Switch Manager session, but you can save these events to a file on the workstation before closing Switch Manager and can read it later with a text editor or browser. ■ Events that are generated by the switch are stored on the switch, and retrieved when the application is restarted.
Switch Manager Filtering the Event Browser Filtering the Event Browser enables you to display only those events that are of interest based on the event severity, timestamp, source, type, and description. To filter the Event Browser, select Filter > Filter Entries. This opens the Filter Events dialog box (Figure 14). The Event Browser displays those events that meet all of the criteria in the Filter Events dialog box.
Switch Manager Saving the Event Browser to a file To save the Event Browser to a file: Note: Filtered events are not saved. 1. Filter and sort the Event Browser to obtain the desired display. 2. Select File > Save As. 3. Select a folder and enter a file name in which to save the event log, and then click Save. The file can be saved in XML, CSV, or text format. XML files can be opened with an internet browser or text editor. CSV files can be opened with Microsoft Excel or most spreadsheet applications.
Switch Manager Zoning a fabric Zoning enables you to divide the ports and devices of the fabric into zones for more efficient and secure communication among functionally grouped nodes.
Switch Manager Two types of zones are supported. The following zone types define increasingly restrictive levels of communication. ■ Soft zones ■ Hard zones (ACL zoning) Soft Zones Soft zoning divides the fabric for purposes of controlling discovery. Devices within the same soft zone automatically discover and communicate freely with all other members of the same zone. The soft zone boundary is not secure; traffic across soft zones can occur if addressed correctly.
Switch Manager The zoning limits for a fabric are as follows: ■ MaxZoneSets is 256—The maximum number of zone sets that can be configured on the switch. This is enforced during the configuration of zoning and during a zoning database merge from the fabric. ■ MaxZones is 256—The maximum number of zones that can be configured on the switch. This is enforced during the configuration of zoning and during a zoning database merge from the fabric.
Switch Manager Using the Zoning Config dialog box Use the Zoning Config dialog box to change the Interop Auto Save and Default Visibility configuration parameters. In the faceplate display, select Zoning > Edit Zoning Config to open the Zoning Config dialog box (Figure 16). After making changes, click OK to put the new values into effect.
Switch Manager Merging fabrics and zoning Note: HP does not support merging fabrics. Zone merge failure A zone merge fails if the two active zone sets have member zones with identical names that differ in membership or type. For example, consider Fabric A and Fabric B, each with a soft zone named “ZN1” in its active zone set. Fabric A “ZN1” contains a member specified by Domain ID 1 and Port 1; Fabric B “ZN1” contains a member specified by Domain ID 1 and Port 2.
Switch Manager 1 2 1 Zone sets tree 2 Port/Device tree Figure 17: Edit Zoning dialog box Note: If the Interop Mode parameter is enabled on the Switch Properties dialog box, every time the active zone set changes, the switch copies it into an inactive zone set stored on the switch. You can edit this copy of the active zone set stored on the switch, and activate the updated copy to apply the changes to the active zone set. The edited copy then becomes the active zone set.
Switch Manager Table 8: Edit Zoning dialog box tool bar buttons and icons Tool bar button / icon Description Create Zone Set—Create a new zone set Create Zone—Create a new zone Create Alias—Create another name for a set of objects Insert Member—Add the selected zone to a zone set, or add the selected port/device to a zone Remove Member—Delete the selected zone from a zone set, or delete the selected port/device from a zone Switch port—Not logged in Switch port—Logged in NL_Port (loop) device—Logged int
Switch Manager Managing zone sets Zoning a fabric involves creating a zone set, creating zones as zone set members, and then adding devices as zone members. The zoning database supports multiple zone sets to serve the different security and access needs of your storage area network, but only one zone set can be active at one time.
Switch Manager Copying a zone to a zone set To copy an existing zone and its membership from one zone set to another, Do the following: 1. Select the zone and drag it to the chosen zone set. 2. Click Apply to save changes to the zoning database. Removing a zone from a zone set or from all zone sets You can remove a zone from a zone set or from all zone sets in the database. 1. Select Zoning > Edit Zoning. The Edit Zoning dialog box is displayed (Figure 17). 2.
Switch Manager Managing zones Managing zones involves the following: ■ Creating a zone in a zone set ■ Adding zone members ■ Creating a member ■ Renaming a zone or a zone set ■ Removing a zone member ■ Removing a zone from a zone set ■ Removing a zone from all zone sets ■ Changing zone types Note: Changes that you make to the zoning database are limited to the managed switch and do not propagate to the rest of the fabric.
Switch Manager Adding zone members Adding a zone member to a zone affects every zone set in which that zone is a member. To add member ports/devices to a zone, do one of the following: ■ Select a port by port number, Fibre Channel address, or World Wide Name in the Port/Device tree, and drag it into the zone. To select and drag multiple ports/devices, press and hold Ctrl while dragging. ■ Select one or more ports by port number, Fibre Channel address, or World Wide Name in the Port/Device tree.
Switch Manager Removing a zone from a zone set Zones that are no longer members of any zone set are moved to the orphan zone set. The orphan zone set is saved on the switch. 1. Select Zoning > Edit Zoning. The Edit Zoning dialog box is displayed (Figure 17). 2. Select the zone to be removed in the Edit Zoning dialog box. The selected zone is removed from that zone set only. 3. Select Edit > Remove. 4. Click OK.
Switch Manager Creating an alias 1. Select Zoning > Edit Zoning. The Edit Zoning dialog box is displayed (Figure 17). 2. Select Edit > Create Alias. The Create Alias dialog box is displayed. 3. Enter a name for the alias, and then click OK. The alias name is displayed in the Zone Sets dialog box. An alias name must begin with a letter and be no longer than 64 characters. Valid characters are 0-9, A-Z, a-z, _, $, ^, and -. 4. Click OK.
Switch Manager Managing switches This section describes the following tasks that manage switches in the fabric.
Switch Manager Creating user accounts A switch can have a maximum of 15 user accounts. 1. Select Switch > User Accounts. The User Account Administration dialog box is displayed (Figure 18). Figure 18: User Account Administration dialog box – Add Account 2. Click the Add Account tab at the bottom of the dialog box. The Add Account tab is displayed. 3. Enter an account name in the New Account Login box. Account names are limited to 15 characters. 4.
Switch Manager Figure 19: User Account Administration dialog box – Remove Account Changing a user account password 1. Select Switch > User Accounts. The User Account Administration dialog box is displayed. 2. Click the Change Password tab at the bottom of the dialog box. The Change Password tab is displayed (Figure 20). 3. Select the account (login) name from the list of accounts at the top of the dialog box, 4. Enter the password in the Old Password, New Password, and Verify Password boxes. 5.
Switch Manager Figure 20: User Account Administration dialog box – Change Password Modifying a user account 1. Select Switch > User Accounts. The User Account Administration dialog box is displayed. 2. Click the Modify Account tab at the bottom of the dialog box. The Modify Account tab is displayed (Figure 21). Figure 21: User Account Administration dialog box—Modify Account 3. Select the account (login) name from the list of accounts at the top of the dialog box.
Switch Manager 4. Click the Admin Authority Enabled check box to grant admin authority to the account name. 5. Select an option from the Account Expiration Date area. 6. Click Modify Account. 7. Click Close. Displaying switch information The following faceplate display and data windows provide information about the name server, the device and HBA, switch specifications and addresses, configuration parameters, performance statistics, port information and configured zone sets information.
Switch Manager Name Server data window The Name Server data window displays information about the devices that are logged into the fabric. Click the Name Server tab below the data window to display name server information for all devices that are logged into the selected fabric. To narrow the display to devices that are logged into specific switches, select one or more switches in the fabric tree or the topology display.
Switch Manager Table 11: Switch data window entries (Continued) Entry Description PROM/Boot version PROM boot version MAC address Media Access Control address IP address Internet Protocol address Subnet mask Mask that determines the IP address subnet Gateway Gateway address SNMP enabled SNMP enabled/disabled Negotiated domain ID The domain ID currently being used by the fabric Configured domain ID The domain ID defined by the network administrator Domain ID lock Domain ID lock status (pr
Switch Manager Port Information data window The Port Information data window displays port detail information for the selected ports. To open the Port Statistics data window, click the Port Info tab below the data window in the faceplate display. Refer to Table 24 for a description of the Port Information data window entries. Configured Zonesets data windows The Configured Zonesets data window displays all zone sets, zones, aliases, and zone membership in the zoning database (Figure 23).
Switch Manager Configuring port threshold alarms You can configure the switch to generate alarms for selected events. Configuring an alarm involves choosing an event type, rising and falling triggers, a sample window, and finally enabling or disabling the alarm. 1. Select Switch > Port Threshold Alarm Configuration. The Port Threshold Alarm Configuration dialog box is displayed (Figure 24).
Switch Manager Generate rising trigger alarm; eligibility ends Generate rising trigger alarm; eligibility ends Rising Trigger Event Count Generate falling trigger alarm; eligibility is reset Falling Trigger Sample Window Figure 25: Port Threshold Alarm example 7. Enter a sample window in seconds. The sample window defines the period of time in which to count events. 8. Repeat step 3 through step 7 for each alarm you want to configure or enable. 9. Click OK.
Switch Manager Setting the date/time and NTP client The Date/Time and Network Time Protocol (NTP) dialog box enables you to set the date and time manually on a switch, or to enable NTP Client to synchronize the date and time on the switch with an NTP server. Enabling the NTP client ensures the consistency of date and time stamps in alarms and log entries. An Ethernet connection to an NTP server is required. 1. Select a switch in the topology display, and open the faceplate display. 2.
Switch Manager Configuration wizard The Configuration wizard is a series of dialog boxes you can use to configure the IP address and other basic parameters on new or replacement switches. Switch Manager detects the first time use and present the Initial Start Dialog—Switch Manager dialog box, from which the Configuration wizard can be launched.
Switch Manager Administrative State parameter The switch administrative state determines the operational state of the switch. The switch administrative state exists in two forms: the configured administrative state and the current administrative state. ■ The configured administrative state is the state that is saved in the switch configuration and is preserved across switch resets. Switch Manager always makes changes to the configured administrative state.
Switch Manager the broadcast is in a hard zone, the frame is retransmitted on all online F_Ports within the hard zone. If the originator of the broadcast frame is not in a hard zone, the frame is retransmitted on online F_Ports that are not in a hard zone. The default setting is disabled. In-band Management parameter In-band Management is the ability to manage switches across inter-switch links using Switch Manager, SNMP, management server.
Switch Manager Network properties Use the Network Properties dialog box to change the following network settings: ■ IP Configuration parameters ■ SNMP Configuration parameters ■ SNMP Trap Configuration ■ Remote Logging parameter 1. Select a switch in the topology display or open the faceplate display. 2. Select Switch > Network Properties. The Network Properties dialog box is displayed (Figure 27). 3. After making changes, click OK to put the new values into effect.
Switch Manager Table 15: IP configuration parameters Parameter Network Discovery Description Use one of the following methods to assign the IP address: Static—Uses the IP configuration parameters entered in the Switch Properties dialog box. ■ BootP—Acquires the IP configuration from a BootP server. ■ RARP (Reverse Address Resolution Protocol)—Acquires the IP address from an RARP server. An RARP request is broadcast with up to three retries, each at 5 second intervals.
Switch Manager Table 16: SNMP Configuration parameter (Continued) Parameter Description Location Specifies the name (up to 64 characters) for the switch location. The default is “undefined”. Authentication Trap Enables or disables the reporting of SNMP authentication failures. If enabled, a notification trap is sent when incorrect community string values are used. The default is “False”.
Switch Manager To save log information to a remote host, you must edit the syslog.conf file (located on the remote host) and then restart the syslog daemon. Consult your operating system documentation for information on how to configure Remote Logging. The syslog.conf file on the remote host must contain an entry that specifies the name of the log file in which to save error messages. Add the following line to the syslog.conf file: local0.info /var/adm/messages.
Switch Manager Figure 28: Restore dialog boxes – Full and Selective 3. Enter the archive file name or browse for the file. This archive file must be one that was produced by the Switch Manager Archive function. Configuration backup files created with the Config Backup CLI command are not compatible with the Switch Manager Restore function. 4. To restore all configuration settings, click the Full Restore tab, and then click Restore.
Switch Manager Restoring the factory default configuration You can restore the switch and port configuration settings to the factory default values. To restore the factory configuration on a switch, select Switch > Restore Factory Defaults. Table 18 lists the factory default switch configuration settings. Restoring the switch to the factory default configuration does not restore the account name and password settings. To restore user accounts, select Maintenance > Reset Password File.
Switch Manager Downloading a support file The Download Support File menu option assembles all log files and switch memory data into a core dump file (dump_support.tgz zip). This file can be sent to technical support personnel for troubleshooting switch problems. The menu option is not displayed for switches that don't support the download support file function. 1. Select Switch > Download Support File. The Download Support File dialog box is displayed. 2.
Switch Manager Displaying hardware status To display a summary of the hardware status information in a popup text box, rest the cursor over the chassis LED cluster in the faceplate display. ■ Input Power LED—Indicates the voltage status of the switch. ■ Heartbeat LED—Indicates the status of the switch processor and the results of the POST. ■ System Fault LED—Indicates an over temperature condition or a POST error.
Switch Manager Managing ports This section describes the following tasks that manage ports and devices: ■ Displaying port information, page 80 ■ Configuring ports, page 85 ■ Resetting a port, page 89 ■ Testing ports, page 89 Displaying port information Port information is available primarily in the faceplate display (Figure 30) and includes: ■ Port status ■ Port Statistics data window ■ Port Information data window ■ Name Server data window The faceplate display data windows provide informa
Switch Manager Displaying port types To display port type status, select View > View Port Types. Table 19 lists the possible port types and their meanings. Table 19: Port type State Description F_Port Fabric port—Supports a single public device (N_Port). FL_Port Fabric loop port—Self discovers a single device (N_Port) or a loop of up to 126 public devices (NL_Port). G_Port Generic port—Self discovers as an F_Port. GL_Port Generic loop port—Self discovers as an F_Port or an FL_Port.
Switch Manager Table 22: Port/transceiver states State Description Optical SFP, Online (Green) Optical SFP, Offline (Gray) None Empty port, no transceiver installed Port Statistics data window The Port Statistics data window displays statistics about port performance. To open the Port Statistics window, select one or more ports in the faceplate display, and then click the Port Stats tab below the data window. Table 23 describes the Port Statistics data window entries.
Switch Manager Table 23: Port Statistics data window entries (Continued) Entry Description FBusy Number of class 3 fabric busy (F_BSY) frames generated by this port in response to incoming frames. This usually indicates a busy condition on the fabric or N_port that is preventing delivery of this frame. Flow Errors Number of times a frame is received and all the switch ports receive buffers are full. The normal Fabric Login exchange of flow control credit should prevent this from occurring.
Switch Manager Port Information data window The Port Information data window displays port detail information for the selected port. To open the Port Information data window, click the Port Info tab below the data window in the faceplate display. Table 24 describes the Port Information data window entries. Table 24: Port Information data window entries Entry 84 Description Port Address Port Fibre Channel address.
Switch Manager Name Server data window The Name Server data window displays information about devices (hosts and storage targets) connected to the switch. To open the Name Server data window from the topology or faceplate display, click the Name Server tab below the data window. In the topology display, if no switches are selected, the name-server entries for the entire fabric are displayed in the data window; if switches are selected, only the devices attached to the selected switches are displayed.
Switch Manager Port States parameters The port administrative state determines the operational state of a port. The port administrative state exists in two forms: ■ The configured administrative state is the state that is saved in the switch configuration and is preserved across switch resets. Switch Manager always makes changes to the configured administrative state.
Switch Manager Port Type parameters The ports can be configured to self-discover the proper type to match the device or switch to which it is connected. Table 27 describes the port types. 1. Select one or more ports in the faceplate display. 2. Select Port > Port Properties. The Port Properties dialog box is displayed. 3. Click the Port Type option for the port type you want. 4. Click OK. Table 27: Port types State Description F_Port Fabric port—Supports a single public device (N_Port).
Switch Manager 3. Select one of the following in the Port Symbolic Name dialog box: — Enter a new name for the port in the Set Port Symbolic Name box. — Check the Restore Default Port Symbolic Name check box to restore the default name. 4. Click OK. Extending port credits Each port is supported by a data-buffer with a 16-credit capacity; that is, 16 maximum sized frames. For fiber optic cables, this enables full bandwidth service over a distance of 10 kilometers at 2 Gbps.
Switch Manager 4. Verify Requested Changes—Review the extended distance requests and the selected donor ports. Click Finish to apply the changes, and redistribute the credits. Note: As credits are used, the Logged-In LEDs on the corresponding donor ports illuminate continuously. In addition, donor port Activity LEDs reflect the same traffic as the recipient port. Donor ports whose credits are being used are unavailable to devices that are connected to them.
Switch Manager Figure 33: Port Loopback Test dialog box 2. Select the type of loopback test to be run (Internal, External, or Online) in the Test Selection area. If you choose the internal or external test, Switch Manager prompts you to confirm that the port state needs to be changed to the diagnostic state. 3. Click OK. 4. Enter the frame count in the Frame Count box. 5. Enter the frame size in the Frame Size (40-492) box. 6. Select a Test Pattern option.
Switch Manager Graphing port performance The HP StorageWorks Fabric View application displays port performance using graphs. HP StorageWorks Fabric View plots data communication rates and total errors for selected ports as shown in Figure 34. When graphing data communication rates, you can choose either frames/second or KB/second. Fabric status is displayed in text format after the fabric name in the fabric tree.
Switch Manager Exiting HP StorageWorks Fabric View To exit a HP StorageWorks Fabric View session, select File > Exit. The current fabric view is automatically saved to your default fabric view file upon exit, if you have defined an encryption key. The key is encrypted and saved with your default fabric view file. A fabric view file contains the set of fabrics that have been added and the graphs that have been opened during a HP StorageWorks Fabric View session.
Switch Manager Files are saved in the working directory. 3. Enter a password. When you attempt to open this fabric file, you are prompted for this password. If you leave the File Password box blank, no password is required. To open a fabric view file: 1. Select File > Open View File. The Open View dialog box is displayed. 2. Enter a name for the fabric file or click Browse to select an existing file. Changing the Default Fabric View File encryption key 1. Select File > Save Default File Fabric View File.
Switch Manager Displaying graphs 1. Select Fabric > Add Fabric. The Add a New Fabric dialog box is displayed. 2. Enter a fabric name and an IP address. 3. Enter an account name and a password, if required. 4. Set the graphing options and polling frequency. By default, HP StorageWorks Fabric View plots total bytes transmitted and received at a polling frequency of once per second. See “Customizing graphs” on page 94 for information about changing what is plotted and how it is plotted. 5.
Switch Manager Figure 38: Default Graph Options dialog box You can also right-click on a graph, and then select Change Graph Options. 1. Choose the units for the graph: — Select the Show Bytes Data on Graph check box to plot data in KBytes/second. — Select the Show Frames Data on Graph check box to plot data in frames/second. 2. Choose what data type to plot.
Switch Manager Note: Clicking Reset in the Swatches, HSB, and RGB tab pages of the Select Color dialog box resets the colors in the Preview area to the last saved color scheme. At this point you are only selecting a new color scheme to be saved. — Swatches – Click the Swatches tab. Select a swatch from the palette. — HSB – Click the HSB tab. Select a color using any of the following methods: — Click in the color palette. — Select H, S, or B and use the slide to vary the selected value.
Switch Manager Interpreting Switch Manager messages This section lists the Switch Manager messages by task, dialog box, or display. To find a message and what to do about it, consider what task you are performing, and refer to the corresponding subsection.
Switch Manager Table 29: Add a Fabric messages (Continued) Message User action The maximum number of management sessions on the entry switch has been exceeded. The application cannot establish a session with the fabric because too many sessions are already open. Close any other application or Telnet sessions to the fabric and try again. Unable to login to switch.
Switch Manager Switch Properties dialog box messages Table 31: Switch Properties dialog box messages Message User action Attempt to change chassis name failed. or Attempt to set in-band management failed. or Attempt to change domain ID lock failed. or Attempt to change SNMP configuration failed. or Attempt to change IP configuration failed. or Attempt to change chassis configuration failed. or Attempt to change timeout values failed. or Attempt to change broadcast support failed.
Switch Manager Table 31: Switch Properties dialog box messages (Continued) Message 100 User action Out of range domain ID specified. Verify that all information is valid and retry the configuration change. Consult the documentation for valid configurations. Valid domain IDs must be in the range 1 to 239, and must be unique within a fabric. If the fabric contains Switch with E_Port switches, all domain IDs must be in the same range of sixteen values: 1…16, 17…32, and so on.
Switch Manager Port Properties dialog box messages Table 32: Port Properties dialog box messages Message User action Invalid value entered for interop credits. or Failed to set I/O stream guard change. or Failed to set new interop credits. or Request to save and activate config failed. or Received error in attempting to edit switch configuration. or Received error in attempting to save switch configuration. or Received error in attempting to activate switch configuration.
Switch Manager Table 32: Port Properties dialog box messages (Continued) Message User action Unable to apply changes. Failed to obtain admin privileges. Verify that another user is not currently modifying the switch configuration, using either the management application, or a Telnet login, or any other application, and then retry the operation. Unable to confirm that port changes were successful. The application did not receive a required response from the switch.
Switch Manager Table 33: Faceplate display messages (Continued) Message User action One of the selected ports is currently in use as a donor port to allow for extended credits on another port. Modifications to donor ports are not permitted. Deselect the donor ports, and then retry the operation. Port reset failed. or Request to reset to factory defaults has failed. or Request for switch reset failed.
Switch Manager Load Firmware dialog box messages Table 34: Load Firmware dialog box messages Message User action Bad checksum/CRC for the firmware image or incorrect firmware image for this type of switch. Select the correct firmware file for this switch. File was not found. Verify that the firmware file specified actually exists, or specify a new firmware file. Firmware image had a bad CRC or was invalid for this type of switch.
Switch Manager Table 35: Port Loopback test dialog box messages (Continued) Message User action No device detected in selected port yet. Test will not be run on empty port. Verify that a loopback device is attached to the port before starting loopback test. Verify that the port is online with an active login before starting the loopback test. Request to get admin privileges failed.
Switch Manager Extended Credits wizard messages Table 36: Extended Credits wizard messages Message User action Request for admin failed. Verify that another user is not currently modifying the switch configuration, using either the management application, or a telnet login, or any application, and then retry the operation. Request for extended credits failed. Verify that the switch is reachable in the fabric, and that the fabric is reachable from the user’s workstation, and then retry the operation.
Switch Manager Table 37: Zoning dialog box messages (Continued) Message User action No response from the switch. or Saving zoning data failed. Verify that the user has permissions to modify the configuration on the switch, that the switch is reachable in the fabric, and that the fabric is reachable from the user’s workstation, and then refresh the zoning information from the switch to determine whether any of the zoning configuration has been applied.
Switch Manager Table 37: Zoning dialog box messages (Continued) Message User action Unable to create alias. The zoning configuration already contains the maximum allowed zoning aliases. Delete any unwanted aliases, and then retry the operation. You are about to save a zoning configuration that was not completely read in. Saving this version will make the incomplete database permanent.
Switch Manager Trap Configuration dialog box messages Table 40: Trap Configuration dialog box messages Message User action Invalid rising threshold. or Invalid falling threshold. or Invalid sample interval. Verify that the information is correct, and then retry. You must wait for trap information to be read first. or You must wait for alarm threshold information to be read first. The application has not completely read in some configuration information which is needed for this operation.
Switch Manager 110 HP StorageWorks 2/8q Fibre Channel Switch Management User Guide
Command Line Interface 2 The command line interface (CLI) enables you to perform a variety of fabric and switch management tasks through an Ethernet or a serial port connection.
Command Line Interface Logging on to a switch To log on to a switch using a Telnet session, open a command line window on the workstation and enter the Telnet command followed by the switch IP address: # telnet ip_address A Telnet window opens prompting you for a login. Enter an account name and password. To log on to a switch through the serial port, configure the workstation port with the following settings and enter an account name and password when prompted.
Command Line Interface Working with switch configurations Successful management of switches and fabrics with the command line interface depends on the effective use of switch configurations. Key switch management tasks include: ■ Modifying a configuration ■ Backing up a switch configuration ■ Restoring a switch configuration Modifying a configuration A switch supports up to 10 configurations including the default configuration.
Command Line Interface Backing up a switch configuration Backing up and restoring a configuration is useful to protect your work or for use as a template in configuring other switches. The Config Backup command creates a file on the switch, named configdata. This file can be used to restore a switch configuration only from the command line interface; it cannot be used to restore a switch using Switch Manager.
Command Line Interface Restoring a switch configuration The restore operation begins with FTP to upload the configuration file from the workstation to the switch, and then finishes with a Telnet session and the Config Restore command. To upload the configuration file, config_switch_169_10112003 in this case, open and FTP session with account name images and password images.
Command Line Interface Commands The command is followed by one or more keywords. Consider the following rules and conventions: ■ Commands and keywords are case insensitive. ■ Required keyword values appear in standard font: [value]. Optional values are shown in italics: [value]. ■ Underlined portions of the keyword in the command format indicate the abbreviated form that can be used. For example the Delete keyword can be abbreviated Del.
Command Line Interface Table 44: Commands listed by Authority Level (Continued) Monitoring commands Whoami command page 173 Administrative commands Reset command page 131 Set command page 135 Set Config command page 137 Set Log Command page 144 Set Port command page 146 Set Setup command page 147 Shutdown command page 169 Test command page 169 User command page 171 Zone Command page 174 Zoneset command page 176 Admin command Opens and closes an Admin session.
Command Line Interface Examples The following example shows how to open and close an Admin session: 2/8q FC Switch #> admin start 2/8q FC Switch (admin) #> . . . 2/8q FC Switch (admin) #> admin end 2/8q FC Switch #> Alias command Creates a named set of ports/devices. Aliases make it easier to assign a set of ports/devices to many zones. An alias can not have a zone or another alias as a member. Authority Admin session for all keywords except List and Members.
Command Line Interface DELETE [ALIAS] Deletes the specified alias given by [alias] from the zoning database. If the alias is a member of the active zone set, the alias will not be removed from the active zone set until the active zone set is deactivated. LIST Displays a list of all aliases. This keyword does not require an admin session. MEMBERS [ALIAS] Displays all members of the alias given by [alias]. This keyword does not require an admin session.
Command Line Interface COPY [config_source] [config_destination] Copies the configuration given by [config_source] to the configuration given by [config_destination]. The switch supports up to 10 configurations including the default configuration. DELETE [config_name] Deletes the configuration given by [config_name] from the switch. EDIT [config_name] Opens an edit session for the configuration given by [config_name]. If you omit [config_name], the currently active configuration is used.
Command Line Interface 2/8q FC Switch (admin-config) #> config cancel Configuration mode will be canceled.
Command Line Interface Create Support command Assembles all log files and switch memory data into a core dump file (dump_support.tgz zip) and prompts you to send it to a remote host. This file is useful to technical support personnel for troubleshooting switch problems. Use this command when directed by your HP Authorized Service Provider. The command prompts for the IP address of the remote host, an account name and password on the remote host, and a pathname for an existing folder on the remote host.
Command Line Interface Remote system type is UNIX. Using binary mode to transfer files. 221-You have transferred 43430 bytes in 1 files. 221-Total traffic for this session was 43888 bytes in 1 transfers. 221 Thank you for using the FTP service on localhost.localdomain. FTP the dump support file to another machine? (y/n): n Date command This command displays or sets the system date and time. To set the date and time the information string must be provided in this format: MMDDhhmmCCYY.
Command Line Interface Examples 2/8q FC Switch (admin) #> firmware install Warning: Installing new firmware requires a switch reset. Continuing with this action will terminate all management sessions, including any Telnet sessions. When the firmware activation is complete, you may log in to the switch again. Do you want to continue? [y/n]: y Press 'q' and the ENTER key to abort this command. User Account : johndoe IP Address : 10.20.33.130 Source Filename : 4.0.3.04.00_mpc About to install image.
Command Line Interface Help command Displays a brief description of the specified command, its keywords, and usage. Authority None Syntax HELP [COMMAND] [KEYWORD] Keywords [COMMAND] Displays a summary of the command given by [command] and its keywords. If you omit [command], the system displays all available commands. [KEYWORD] Displays a summary of the keyword given by [keyword] belonging to the command given by [command].
Command Line Interface History command Displays a numbered list of the previously entered commands from which you can re-execute selected commands. Authority None Syntax HISTORY Notes Use the History command to provide context for the ! command: ■ Enter ![command] to re-enter the most recent execution of that command. ■ Enter ![line number] to re-execute the corresponding command from the History display. ■ Enter ![partial command string] to re-execute a command that matches the command string.
Command Line Interface Syntax hotreset Notes You can load and activate firmware on an operating switch without disrupting data traffic or having to re-initialize attached devices under the following conditions: ■ No changes are being made to switches in the fabric including powering up, powering down, and switch configuration changes. ■ No port in the fabric is in the diagnostic state. ■ No zoning changes are being made in the fabric.
Command Line Interface Notes To install firmware when the management workstation has an FTP server, use the Image Install command or the “Firmware Install command” on page 123. To install firmware when the management workstation does not have an FTP server: 1. Connect to the switch through the Ethernet or the serial port. 2. Move to the folder or directory on the workstation that contains the new firmware image file. 3. Establish communications with the switch using the File Transfer Protocol (FTP).
Command Line Interface 13. A message prompts you to reset the switch to activate the firmware. Enter the hotreset command to perform a non-disruptive firmware activation. 2/8q FC Switch (admin) $>hotreset Lip command Reinitializes the specified loop port. Authority Admin Syntax LIP [PORT_NUMBER] Keywords [PORT_NUMBER] The number of the port to be reinitialized. Examples 2/8q FC Switch (admin) #> lip 2 Passwd command Changes a user account’s password.
Command Line Interface Ping command Initiates an attempt to communicate with another switch over an Ethernet network and reports the result. Authority None Syntax PING Keywords IP_ADDRESS The IP address of the switch to query. Examples The following is an example of a successful Ping command: 2/8q FC Switch #> ping 10.20.11.57 Ping command issued. Waiting for response... 2/8q FC Switch #> Response successfully received from 10.20.11.57.
Command Line Interface 346 327 0.8 00:35:12 3-01:18:35 util 347 327 0.0 00:00:29 3-01:18:35 snmpservicepath 348 327 0.0 00:02:46 3-01:18:34 eport 349 327 0.0 00:00:21 3-01:18:34 PortApp 350 327 5.6 04:08:24 3-01:18:34 port_mon 351 327 0.0 00:01:38 3-01:18:34 zoning 352 327 0.0 00:00:01 3-01:18:34 diagApp 404 327 0.0 00:00:04 3-01:18:27 snmpd 405 327 0.0 00:00:02 3-01:18:27 snmpmain 406 405 0.0 00:00:00 3-01:18:26 snmpmain Quit command Closes the Telnet session.
Command Line Interface Keywords CONFIG [CONFIG_NAME] Resets the configuration given by [config_name] to the factory default values for switch, port, port threshold alarm, and zoning configuration. If [config_name] does not exist on the switch, a configuration with that name is created. If you omit [config_name], the active configuration is reset. You must activate the configuration for the changes to take effect.
Command Line Interface Notes The following tables specify the various factory default settings: Table 45: Switch configuration default settings Parameter Default setting Admin State Online Broadcast Enabled True Inband Enabled True Domain ID 1 (0x Hex) Domain ID Lock False Symbolic Name 2/8q FC Switch R_A_TOV 10000 E_D_TOV 2000 Principal Priority 254 Configuration Description HP StorageWorks 2/8q FC Switch Table 46: Port configuration default settings Parameter Default setting Admi
Command Line Interface Table 47: Port threshold alarm configuration default settings Parameter Default setting ThresholdMonitoringEnabled False CRCErrorsMonitoringEnabled RisingTrigger FallingTrigger SampleWindow True 25 1 10 DecodeErrorsMonitoringEnabled RisingTrigger FallingTrigger SampleWindow True 200 0 10 LoginMonitoringEnabled RisingTrigger FallingTrigger SampleWindow True 5 1 10 LogoutMonitoringEnabled RisingTrigger FallingTrigger SampleWindow True 5 1 10 LOSMonitoringEnabled RisingTrigg
Command Line Interface Table 49: SNMP configuration default settings (Continued) Parameter Default setting Object ID 1.3.6.1.4.1.1663.1.1.1.1.31 AuthFailureTrap False ProxyEnabled True Table 50: System configuration default settings Parameter Default setting Ethernet Network Discovery Static Ethernet Network IP Address 10.0.0.1 Ethernet Network IP Mask 255.0.0.0 Ethernet Gateway Address 10.0.0.
Command Line Interface CONFIG [option] Sets switch, port, port threshold alarm, and zoning configuration parameters. See the “Set Config command” on page 137. LOG [option] Specifies the type of entries to be entered in the event log. See the “Set Log Command” on page 144. PAGEBREAK [state] Specifies how much information is displayed on the screen at a time according to the value given by [state]. This keyword does not require an admin session.
Command Line Interface Set Config command Sets switch, port, port threshold alarm, and zoning configuration parameters. The changes you make with this command are not retained when you reset or power cycle the switch unless you save them using the Config Save command. See the “Config command” on page 119. Authority Admin and Config Edit Syntax SET CONFIG Keywords PORT [port_number] Initiates an edit session in which to change configuration parameters for the port number given by [port_number].
Command Line Interface Table 51: Set Config port parameters Parameter AdminState Description Port administrative state: Online – Activates and prepares the port to send data. This is the default. ■ Offline – Prevents the port from receiving signal and accepting a device login. ■ Diagnostics – Prepares the port for testing and prevents the port from accepting a device login. ■ Down – Disables the port by removing power from the port lasers. ■ 138 LinkSpeed Transmission speed: 2 Gbps or Auto.
Command Line Interface Table 51: Set Config port parameters (Continued) Parameter Description NoClose Loop circuit closure prevention. Enables (True) or disables (False) the loop’s ability to remain in the open state indefinitely. True reduces the amount of arbitration on a loop when there is only one device on the loop. The default is False. IOStreamGuard I/O Stream Guard. Enable (Enable) or disables (Disable) the suppression of RSCN messages.
Command Line Interface THRESHOLD Initiates a configuration session by which to generate and log alarms for selected events. The system displays each event, its triggers, and sampling window one line at a time and prompts you for a value. For each parameter, enter a new value or press Enter to accept the current value shown in brackets. These parameters must be saved in a configuration and activated before they take effect.
Command Line Interface ZONING Initiates an editing session in which to change switch zoning attributes. The system displays each parameter one line at a time and prompts you for a value. For each parameter, enter a new value or press Enter to accept the current value shown in brackets.
Command Line Interface ExtCredit (dec value, increments of 15, non-loop only) [0 ] FANEnable (True / False) [True ] LCFEnable (True / False) [False ] MFSEnable (True / False) [False ] MSEnable (True / False) [True NoClose (True / False) [False ] IOStreamGuard (Enable / Disable) VIEnable [Disable] (True / False) PDISCPingEnable ] [False ] (True / False) [True ] Finished configuring attributes.
Command Line Interface The following is an example of the SET CONFIG THRESHOLD command: 2/8q FC Switch #> admin start 2/8q FC Switch (admin) #> config edit 2/8q FC Switch (admin-config) #> set config threshold A list of attributes with formatting and current values will follow. Enter a new value or simply press the ENTER key to accept the current value. If you wish to terminate this process before reaching the end of the list press 'q' or 'Q' and the ENTER key to do so.
Command Line Interface The following is an example of the SET CONFIG ZONING command: 2/8q FC Switch #> admin start 2/8q FC Switch (admin) #> config edit 2/8q FC Switch (admin-config) #> set config zoning A list of attributes with formatting and current values will follow. Enter a new value or simply press the ENTER key to accept the current value. If you wish to terminate this process before reaching the end of the list press 'q' or 'Q' and the ENTER key to do so.
Command Line Interface PORT—Monitors all port events. SNMP—Monitors SNMP events. SWITCH—Monitors switch management events. ZONING—Monitors zoning conflict events. ALL—Monitors all components. NONE—Monitor none of the component events. DISPLAY [filter] Specifies the log events to automatically display on the screen according to the event severity levels given by [filter]. [filter] can be one of the following values: CRITICAL—Critical severity level events.
Command Line Interface 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. To export log entries to a file, use the Set Log Archive command. START Starts the logging of events based on the Port, Component, and Level keywords assigned to the current configuration. The logging continues until you enter the Set Log Stop command.
Command Line Interface STATE [STATE] Specifies one of the following administrative states for the specified port: Online—Places the port online. This activates and prepares the port to send data. Offline—Places the port offline. This prevents the port from receiving signal and accepting a device login. Diagnostics—Prepares the port for testing. This prepares the port for testing and prevents the port from accepting a device login. Down—Disables the port by removing power from the port lasers.
Command Line Interface Table 55: SNMP configuration settings (Continued) Entry Description ReadCommunity Read community password that authorizes an SNMP agent to read information from the switch. This is a write-only field. The value on the switch and the SNMP management server must be the same. The read community password can be up to 32 characters excluding #, semicolon (;), and comma (,). The default is “public”.
Command Line Interface Table 56: System configuration settings (Continued) Entry Description RemoteLogHostAddress The IP address of the host that will receive the switch event log information if remote logging is enabled. The default is 10.0.0.254. NTPClientEnabled Enables (True) or disables (False) the Network Time Protocol (NTP) client on the switch. This client enables the switch to synchronize its time with an NTP server. This feature supports NTP version 4 and is compatible with version 3.
Command Line Interface Trap5Address (dot-notated IP Address) [0.0.0.
Command Line Interface alarm [option] Displays the alarm log and session display setting. If you omit [option], the command displays the last 200 alarm entries. The alarm log is cleared when the switch is reset or power cycled. [option] has the following value: setting—Displays the status of the parameter that controls the display of alarms in the session output stream. This parameter is set using the Set Alarm command.
Command Line Interface [port_id]—Displays name server information for the port given by [port_id]. [port_id] is a port Fibre Channel address. pagebreak Displays the current pagebreak setting. The pagebreak setting limits the display of information to 20 lines (On) or allows the continuous display of information without a break (Off). perf [option] Displays performance information for all ports. See the “Show Perf command” on page 165.
Command Line Interface Table 57: Show Port parameters (Continued) Entry Description Link Failures Number of optical link failures detected by this port. A link failure is a loss of synchronization or a loss of signal while not in the offline state. A loss of signal causes the switch to attempt to re-establish the link. If the link is not re-established, a link failure is counted. A link reset is performed after a link failure.
Command Line Interface support Executes a series of commands that display a complete description of the switch, its configuration, and operation. The display can be captured from the screen and used for diagnosing problems. This keyword is intended for use at the request of your HP Authorized Service Provider.
Command Line Interface The following is an example of the Show Domains command: 2/8q FC Switch #> show domains Principal switch is (remote): 10:00:00:60:69:50:0b:6c Domain ID List: Domain 97 (0x61) WWN = 10:00:00:c0:dd:00:71:ed Domain 98 (0x62) WWN = 10:00:00:60:df:22:2e:0c Domain 99 (0x63) WWN = 10:00:00:c0:dd:00:72:45 Domain 100 (0x64) WWN = 10:00:00:c0:dd:00:ba:68 Domain 101 (0x65) WWN = 10:00:00:60:df:22:2e:06 Domain 102 (0x66) WWN = 10:00:00:c0:dd:00:90:ef Domain 103 (0x67) WWN = 10:00
Command Line Interface The following is an example of the Show NS [port_ID] command: 2/8q FC Switch #> show ns 1301e1 Port ID: 1301e1 -------PortType NL PortWWN 21:00:00:20:37:73:13:69 SymbolicPortName NodeWWN 20:00:00:20:37:73:13:69 SymbolicNodeName NodeIPAddress 0.0.0.0 ClassOfService 3 PortIPAddress 0.0.0.
Command Line Interface The following is an example of the Show Port command: 2/8q FC Switch #> show port 1 Port Number: 1 -----------AdminState Online PortID 150100 AsicNumber 0 PortWWN 20:01:00:c0:dd:00:bc:b8 AsicPort 1 RunningType Unknown ConfigType G SFPPartNumber Unknown DiagStatus Passed SFPRevision 0 EpConnState None SFPType NotInstalled EpIsoReason NotApplicable SFPVendor Unknown LinkSpeed 2Gb/s SFPVendorID 00000000 LinkState Inactive SymbolicName Port1 LoginStatu
Command Line Interface The following is an example of the Show Switch command: 2/8q FC Switch #> show switch Switch Information -----------------SymbolicName 2/8q FC Switch SwitchWWN 10:00:00:c0:dd:03:cf:cc SwitchType 2/8q FC Switch BootVersion V1.1.0.6-0 (Tue Apr 27 13:31:56 2004) CreditPool 0 DomainID 1 (0x1) FirstPortAddress 110000 FlashSize - MBytes 64 LogFilterLevel Info MaxPorts 8 NumberOfResets 2 ReasonForLastReset PowerUp ActiveImageVersion - build date V04.0.3.
Command Line Interface The following is an example of the Show Topology command for port 1: 2/8q 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 0 NodeWWN 50:80:02:00:00:06:d5:38 PortType NL Description (NULL) IPAddress 0.0.0.0 Device 1 NodeWWN 20:00:00:20:37:2b:08:c9 PortType NL Description (NULL) IPAddress 0.0.0.
Command Line Interface The following is an example of the Show Version command: 2/8q FC Switch #> show version ***************************************************** * * * Command Line Interface SHell (CLISH) * * * ***************************************************** SystemDescription HP StorageWorks 2/8q FC Switch Eth0NetworkAddress 10.0.0.
Command Line Interface LinkSpeed Auto PortType GL SymbolicName Port3 ALFairness False DeviceScanEnabled True ForceOfflineRSCN False ARB_FF False InteropCredit 0 ExtCredit 0 FANEnabled True LCFEnabled False MFSEnabled True MSEnabled True NoClose False IOStreamGuard Disabled VIEnabled False PDISCPingEnable True The following is an example of the Show Config Switch command: 2/8q FC Switch #> show config switch Configuration Name: default ------------------Switch Configuration
Command Line Interface The following is an example of the Show Config Threshold command: 2/8q FC Switch #> show config threshold Configuration Name: default ------------ Threshold Configuration Information ----------------------------------ThresholdMonitoringEnabled False CRCErrorsMonitoringEnabled True RisingTrigger 25 FallingTrigger 1 SampleWindow 10 DecodeErrorsMonitoringEnabled True RisingTrigger 25 FallingTrigger 0 SampleWindow 10 LoginMonitoringEnabled True RisingTrigger 5 Fallin
Command Line Interface Show Log command Displays the contents of the log or the parameters used to create and display entries in the log. The log contains a maximum of 1200 entries. When the log reaches its entry capacity, subsequent entries overwrite the existing entries, beginning with the oldest. Authority None Syntax SHOW LOG Keywords [number of events] Specifies the number of the most recent events to display from the event log. [number of events] must be a positive integer.
Command Line Interface Displays the options that are available for configuring event logging and automatic display to the screen. See the “Set Log Command” on page 144 for information about how to configure event logging and display level. port Displays the ports being monitored for events. If an event occurs which is of the defined level and on a defined component, but not on a defined port, no entry is made in the log.
Command Line Interface [333][day month date time year][I][Eport Port: 0/8][Sending LSU oxid=0xc:type=1] [334][day month date time year][I][Eport Port: 0/8][Send Zone Merge Request] [335][day month date time year][I][Eport Port: 0/8][LSDB Xchg timer set] [336][day month date time year][I][Eport Port: 0/8][Setting attribute Oper.UserPort.0.8.EpConnState Connected] Show Perf command Displays port performance in frames/second and bytes/second.
Command Line Interface Examples The following is an example of the Show Perf command: 2/8q FC Switch #> show perf Port Bytes/s Number Bytes/s (in) Bytes/s Frames/s Frames/s Frames/s (out) (total) (in) (out) (total) ------ ------- ------- ------- -------- -------- -------- 0 7K 136M 136M 245 68K 68K 1 58K 0 58K 1K 0 1K 2 0 0 0 0 0 0 3 0 0 0 0 0 0 4 0 0 0 0 0 0 5 0 0 0 0 0 0 6 0 7K 7K 0 245 245 7 136M 58K 136M 68K 1K 70K The followi
Command Line Interface Keywords MFG Displays manufacturing information about the switch. SNMP Displays the current SNMP settings. SYSTEM Displays the current system settings.
Command Line Interface Trap1Enabled False Trap2Address 0.0.0.0 Trap2Port 162 Trap2Severity warning Trap2Version 2 Trap2Enabled False Trap3Address 0.0.0.0 Trap3Port 162 Trap3Severity warning Trap3Version 2 Trap3Enabled False Trap4Address 0.0.0.0 Trap4Port 162 Trap4Severity warning Trap4Version 2 Trap4Enabled False Trap5Address 0.0.0.0 Trap5Port 162 Trap5Severity warning Trap5Version 2 Trap5Enabled False ObjectID 1.3.6.1.4.1.1663.1.1.1.1.
Command Line Interface Shutdown command Terminates all data transfers on the switch at convenient points and closes the Telnet session. Always power cycle the switch after entering this command. Authority Admin Syntax SHUTDOWN Notes Always use this command to perform an orderly shut down before removing power from the switch. When the shutdown is complete, the Heartbeat LED is extinguished. Test command Tests ports using internal (SerDes level), external (transceiver), and online loopback tests.
Command Line Interface 2. Place the port in Diagnostics mode by entering the following command (x = port number): set port x state diagnostics 3. Choose the type of port loopback test to run: ■ To run an internal loopback test, enter the following: test port x internal ■ To run an external loopback test, enter the following command. A loopback plug must be installed for this test to pass. test port x external 4. A series of test parameters are displayed on the screen.
Command Line Interface Uptime command Displays the elapsed up time since the switch was last reset and 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 2/8q FC Switch #> uptime Elapsed up time : 0 day(s), 2 hour(s), 28 min(s), 44 sec(s) Reason last reset: NormalReset User command Administers and displays user accounts. Authority Admin, except for the List option.
Command Line Interface EDIT Initiates an edit session that prompts you for the account name for which to change the expiration date and authority. LIST Displays the list of users currently logged in and their session numbers. Provides the same function as the Show Users command. This keyword is available to all account names without an Admin session.
Command Line Interface The following is an example of the User Edit command: 2/8q FC Switch (admin) #> user edit Press 'q' and the ENTER key to abort this command.
Command Line Interface Zone Command Manages zones and zone membership on a switch. Authority Admin and a Zoning Edit. See the “Zoning command” on page 178 for information about starting a Zoning Edit session. The List, Members, and Zonesets keywords are available without an Admin session. Syntax ZONE Keywords ADD [zone] [member_list] Specifies one or more ports/devices given by [members] to add to the zone named [zone]. Use a to delimit aliases and ports/devices in [member_list].
Command Line Interface REMOVE [zone] [member_list] Removes the ports/devices given by [member_list] from the zone given by [zone]. Use a to delimit aliases and ports/devices in [member_list]. [member_list] can have any of the following formats: — Domain ID and port number pair (Domain ID, Port Number). Domain IDs can be 1-239; port numbers can be 0-255.
Command Line Interface wwn_c001b0 zone_set_1 wwn_401248 zone_set_1 wwn_02402f zone_set_1 wwn_22412f zone_set_1 The following is an example of the Zone Members command: 2/8q FC Switch #> zone members wwn_b0241f Current List of Members for Zone: wwn_b0241f --------------------------------50:06:04:82:bf:d2:18:c2 50:06:04:82:bf:d2:18:d2 21:00:00:e0:8b:02:41:2f The following is an example of the Zone Zonesets command: 2/8q FC Switch #> zone zonesets zone1 Current List of ZoneSets for Zone: zone1 --------
Command Line Interface ACTIVE Displays the name of the active zone set. This keyword does not require Admin session. ADD[zone_set] [zone_list] Adds a list of zones and aliases given by [zone_list] to the zone set given by [zone_set]. Use a to delimit zone and alias names in [zone_list]. COPY [zone_set_source] [zone_set_destination] Creates a new zone set named [zone_set_destination] and copies into it the zones from the zone set given by [zone_set_source].
Command Line Interface The following is an example of the Zoneset List command: 2/8q FC Switch #> zoneset list Current List of ZoneSets -----------------------alpha beta The following is an example of the Zoneset Zones command: 2/8q FC Switch #> zoneset zones ssss Current List of Zones for ZoneSet: ssss ---------------------------------zone1 zone2 zone3 Zoning command Opens a Zoning Edit session in which to create and manage zone sets and zones.
Command Line Interface HISTORY Displays a history of zoning modifications. This keyword does not require an Admin session. History information includes the following: — Time of the most recent zone set activation or deactivation and the user who performed it — Time of the most recent modifications to the zoning database and the user who made them.
Command Line Interface Examples The following is an example of the Zoning Edit command: 2/8q FC Switch #> admin start 2/8q FC Switch (admin) #> zoning edit 2/8q FC Switch (admin-zoning) #> . . 2/8q FC Switch (admin-zoning) #> zoning cancel Zoning edit mode will be canceled.
Command Line Interface MaxMembersPerAlias 13 Q_2_Photon_2 2 AliasInAZone 2000 The following is an example of the Zoning List command: 2/8q FC Switch #> zoning list Active ZoneSet Information ZoneSet Zone ZoneMember -------------------------------wwn wwn_b0241f 50:06:04:82:bf:d2:18:c2 50:06:04:82:bf:d2:18:d2 21:00:00:e0:8b:02:41:2f wwn_23bd31 50:06:04:82:bf:d2:18:c2 50:06:04:82:bf:d2:18:d2 10:00:00:00:c9:23:bd:31 wwn_221416 50:06:04:82:bf:d2:18:c2 50:06:04:82:bf:d2:18:d2 10:00:00:00:c9:22:14:16
Command Line Interface wwn_23bd31 50:06:04:82:bf:d2:18:c2 50:06:04:82:bf:d2:18:d2 10:00:00:00:c9:23:bd:31 wwn_221416 50:06:04:82:bf:d2:18:c2 50:06:04:82:bf:d2:18:d2 10:00:00:00:c9:22:14:16 wwn_2215c3 50:06:04:82:bf:d2:18:c2 50:06:04:82:bf:d2:18:d2 10:00:00:00:c9:22:15: 182 HP StorageWorks 2/8q Fibre Channel Switch Management User Guide
Index A B beacon 135 BootP boot method 73 broadcast 70, 151 browser location 24, 93 Index C Index access control list zone 46, 56 account name 37, 112, 173 display 173 active zone set 44, 46, 71 Active Zoneset data window 44 Admin account name 116 authority 116 Admin command 117 administrative state configured 70, 86 current 70, 86 port 86, 147 switch 70, 136 alarm configuration 66, 140 configuration display 160 log 135, 151 alias add members 57, 118 copy 118 create 57, 118 delete 119 delete members 1
Index D data window Active Zoneset 44 Configured Zonesets 65 description 31, 32, 34 Name Server 63 port information 84 port statistics 82 switch 63 database fabric 36 zoning 49 date 68 Date command 123 Decode error 66 default configuration 77 visibility 48, 52 zoning 48 default fabric view file auto save 24 Switch Manager 24 device scan 87 distance 88 document conventions 15 related documentation 14 domain ID description 70 display 151 lock 70 donor port 81, 87, 151 Dynamic Host Configuration Protocol 73
Index generic port 81, 87 generic port 81, 87 getting help 18 graphic window 30 H hard reset 68 Hardreset command 124 help 25 Help command 125 help, obtaining 17 History command 126 Hotreset command 126 HP authorized reseller 18 storage web site 18 technical support 18 I I/O Steam Guard 87 Image command 127 in-band management 71 Initial Start Dialog 24 internal test 169 internal test 89 Interop mode 71 IP address 73 configuration 72 L layout 33 legacy address format 71 link delete 39 selecting 32 status
Index counters 146 displaying information 80 external test 169 initialize 132 internal test 169 loopback test 169 mode 81 online test 169 operational information 152 operational state 81 performance 91, 152, 165 reset 89 selecting 34 speed 81, 86, 146 status 33 test 89 view 24, 33 Port Information data window 65, 84 Port Statistics data window 64, 82 port/device tree 50 power on self test log 153 preferences Fabric View 93 Switch Manager 24 principal switch 70 properties network 72 port 85 Ps command 130
Index symbolic name 69 symbols in text 15 symbols on equipment 16 syslog 74 system configuration change 148 display 167 T technical support, HP 18 temperature 151 Test command 169 testing ports 89 text symbols 15 time 68, 123 timeout values 71 tool bar standard 29 zoning 50 topology display arrange icons 32 data windows 32 description 25 usage 31 transceiver status 81 transmission speed 86 trap authentication 74 community 73 configuration 74 SNMP version 74 U Uptime command 171 user account 112 logged in
Index list definitions 179 remove all 53 revert changes 179 188 save edits 179 Zoning command 178 HP StorageWorks 2/8q Fibre Channel Switch Management User Guide