HP UX 11i v2 Networking Software manual Exiting the CLI Session, Specifying the Card/Port

Page 79

Table 6-4 Key Stroke Shortcuts

key

description

<Ctrl>a

Move to beginning of line.

<Ctrl>b

Move cursor left one character.

<Ctrl>d

Delete current character.

<Ctrl>e

Move to end of line.

<Ctrl>f

Move cursor right one character.

<Ctrl>k

Delete from cursor to the end of the line.

<Ctrl>l

Refresh input line.

<Ctrl>n

Get next command from history.

<Ctrl>p

Get previous command from history.

<Ctrl>q

Return to use-execute mode. If a command is currently entered on the command line, execute

 

the command before returning to user-execute mode.

<Ctrl>t

Transpose current and previous character.

<Ctrl>u

Delete text up to cursor.

<Ctrl>w

Delete word up to cursor.

<Ctrl>z

Return to user-privileged mode.

<Esc>b

Move back one word.

<Esc>c

Convert rest of word to uppercase.

<Esc>d

Delete remainder of word.

<Esc>f

Move forward one word.

<Esc>l

Convert rest of word to lowercase.

down-arrow (i)

Get next command from history.

up-arrow (h)

Get previous command from history.

left-arrow (f)

Move cursor left one character.

right-arrow (g)

Move cursor right one character.

Exiting the CLI Session

To exit the CLI session, return to the user-execute or privileged-execute mode, and enter the logout command. The CLI session is terminated and you are returned to the CLI login prompt.

For example:

HP-IB(config-if-fc-5/1)# exit all

HP-IB> logout

Login:

NOTE: If you use Telnet or SSH to run a remote CLI session, the connection is dropped when you log out, or vice-versa.

Specifying the Card/Port

In many cases, you are asked to identify the card and/or the ports on a card to which to apply configuration commands. This section describes how to refer to slots and ports for configuration via the CLI.

Switch Administration and Management 79

Image 79
Contents HP Fabric Clustering System HP-UX Administrators Guide Copyright 2004-2008 Hewlett-Packard Development Company, L.P Table of Contents Interfaces ConfigurationSwitch Administration and Management 109 131 129156 152154 155223 217227 Page List of Figures HyperTerminal LoginPage Show ib Keyword Descriptions Default User Names, Passwords and PrivilegesDescription of Access Levels List of TablesIP Commands Show logging Command Syntax DescriptionShow trace Command Syntax Descriptions Show user Command Syntax DescriptionsPublishing History About This DocumentIntended Audience New and Changed Documentation in This EditionTypographical Conventions What’s in This DocumentRelated Documents Related Documents HP Encourages Your CommentsPage Understanding the Fabric Clustering System Introduction to TechnologyUnderstanding InfiniBand About the HP Fabric Clustering System Software Suite About the HP Fabric Clustering System Software Suite User-Space Rdma LibraryKernel Rdma Subsystem Interaction with HyperFabric DriverPage HP offers the following new Host Channel Adapters HCA Hardware OverviewHardware Components Host Channel AdaptersHardware Overview AB286C Host Channel Adapter Connector View AB286C Host Channel Adapter Side View AB286A Host Channel Adapter Connector View AB286A Host Channel Adapter Side View Figureigure Hardware Components Other Product Elements SwitchHardware Overview Preliminary Considerations Installation PlanningPreliminary Considerations ApplicationsSite Set-up Installation PlanningApplication Availability HP Fabric Clustering System Installation Prerequisites Installing HP Fabric Clustering SystemEnter your product name Click the double arrow Installing the AH304A Host Channel Adapter Install HP Fabric Clustering System AdaptersInstalling HP Fabric Clustering System Installing the AD313A Host Channel Adapter Installing the 410533-B21 Host Channel AdapterSecure the card and reassemble the system Inserting the AD313A Host Channel Adapter Installing the AB286C Host Channel AdapterInserting the AB286C Host Channel Adapter On-Line Addition and Replacement Operations OLWhere devicename is the name assigned to the CD-ROM drive Install HP Fabric Clustering System SoftwareThis opens the Software Selection window IB subsystem IB Rdma IPoIB IB device driver ibt Install HP Fabric Clustering System SwitchesT-25 Torx screwdrivers Second person for the installation Rack Mount PreparationFixed and Sliding Rails Installing the SwitchAttach Rail to Switch Remove Shipping Sleeve Remove Support Bracket if installedSecurely attach all rails to the rack Cable Routing and Bend Limits Attach Cable Guides & CablesAttach Cable Guides & Cables Attach Cables Cable Installation Minimum Bend RadiusAttach to other HP Fabric devices Switch SetupConnect Cables to Switch Switch or AdapterEnable the management port Setting up the SwitchEnter configure to enter the global-configuration mode Set the default gateway address. This address is an exampleSyntax and Example nwmgr -S ipoib Internet Protocol over InfiniBand IPoIBPage Supported Features ConfigurationConfiguration Parameters Configurations up to 24 End Nodes Non-Supported FeaturesSupported Configurations Sample Configurations using the AB286A/C or AD313A HCASample Configurations using the AB286A/C or AD313A HCA Configurations with More Than 24 End Nodes128 Node 50% non-Blocking Configuration Following is a listing of the major topics in this chapter Administration and ManagementUsing Itutil HP-UX Host Administration and ManagementAdministration and Management Following syntax must be used with itutil command options Summary of Itutil Command OptionsItutil Administrative Commands Itutil Command OptionsItutil Management Commands Syntax itutil Syntax Example itutil Output Example Syntax Example itutil -i ib0 Output Example Syntax Example itutil -s-i ib0 Output Example Syntax Example itutil -t IB Output ExampleAdministration and Management Syntax Example itutil -r Output Example Displaying Connectivity Information Using ItutilSyntax Example itutil -c Output Example Example itutil -T Viewing the Itutil Manpage Using NetTLSyntax nettl -llog class -esubsystem IPoIB Tracing IPoIB Administration and ManagementIfconfig Command IB TracingLevel information for a given ipoibppa Lanadmin CommandsDisable the IPoIB Interface To disable the IPoIB interface Displaying IPoIB Interface Link-Level InformationSyntax Example lanadmin -s Output Example Syntax Example lanadmin -a Output ExampleSyntax Example lanadmin -g Output Example Syntax lanadmin -x-hipoibppa Syntax Example lanadmin -x -h Lanscan Command Serviceguard and IPoIBIntroduction Using Serviceguard and IPoverIB Configuring IPoIB Interfaces for Serviceguard ClustersSwitch Administration and Management Switch Administration and ManagementPrivilege Level Using the CLICLI Overview Starting a CLI SessionEntering CLI Modes Administrator RolesExiting CLI Modes Using Command CompletionQuick Help Command AbbreviationCommand-Line Editing Key Stroke Shortcuts Command before returning to user-execute modeExiting the CLI Session Specifying the Card/PortLists Card/Port pairsRanges Indicates ports 2 through 4 on cardEnter the global-configuration mode Advanced Switch SetupConfiguring the System Hostname Testing Network ConnectivityLogging On Through the CLI Setting User Levels and PasswordsManaging the Switch Logging Onto the SystemManaging Through the CLI Management MethodsConfiguration, Image, and Log File Overview Configuration, Image, and Log FilesSet-Up the Hardware Connection Understanding the Upgrade ProcessImage Upgrade Procedure Summary Upgrading Image FilesCheck the Image Version Enter the privileged-execute modeCopy/Download the Image Install a New Image Optional View the images by using the dir image commandShow the new system -image Specify a New Boot ImageTroubleshooting an Image Upgrade Reboot the SystemDeleting System Images and Image Files Viewing Log Files Listing Configuration, Image, and Log FilesViewing Configuration Files File ManagementSpecifying the Configuration to Use at System Reboot Saving Configuration FilesSaving for System Reboot Saving the Backup ConfigurationShow the new system image Arguments to the copy command are described belowSaving and Copying Files ExampleTslog. The .cfg extension is optional Deleting Configuration, Image, and Log FilesDownloading Files to the System ColonDisplay the log files that are in memory Deleting Configuration FilesDetermine the configuration files in memory Deleting Log FilesVerify that you had successfully removed the log file Determine the currently installed system-imagesDeleting Image Files Uploading Log Files HP Fabric Switch devices use the following log formatManaging Log Files Understanding the Log FormatSwitching User Identity Administering the SystemBroadcasting Messages to Users Notifying UsersSending Messages to Individual Users Creating User Accounts Understanding Usernames and PasswordsDefault User Names, Passwords and Privileges Setting or Changing a PasswordAdding New Users Displaying User InformationDeleting a User Account User Account Administrative Commands User Account Configuration CommandsCommunity Strings Setting Administrative Roles Using DNS ServicesFollowing table displays the different access-levels Setting the System Clock Save your configuration Setting the NTP Servers to Maintain the System ClockRebooting the System Setting Time Through the CLIReboot the System Through the CLI 108 Diagnosing Problems Monitoring and TroubleshootingDiagnosing Problems LED Color, Behavior, and Meaning HP Fabric Switch Cluster Connection LEDsHP Fabric Switch System Status IB Port Status LED IndicatorsRear System Status LED Indicator Front System Status LED IndicatorPower supply/ Fan Status LED Indicator Power Supply TroubleshootingBottom Top Green- over Green Off Flickering Ethernet Port Status LED IndicatorsEthernet Management Port LEDs HP Fabric HCA Connection LEDsLogical Solid Indicates a HCA Connection LED Colors and MeaningsBeen Top Established None HCA is not Determining if the Switch is Faulty Determining Whether the HCA or Cable is FaultyHP-UX Host Troubleshooting Procedure Monitoring and Troubleshooting the HP-UX HostNext Steps Syntax example itutil Output example Monitoring and Troubleshooting the HP-UX HostMonitoring and Troubleshooting Syntax example itutil -c fe802c9018a08a11 ib0 Description Port failure Sample nettl Log MessagesFollowing are examples of nettl log output Monitoring and Troubleshooting IPoIBNettl Sample Log Output Sample IB LogsPDU in Trace Sample IPoIB LogsKnown Problems Linkloop CommandNetTL CLI can also be used to monitor the system Monitoring and Troubleshooting the SwitchHealth Monitoring IP Filter ProductAbout HP Fabric Events About Logging and TracingAbout Tracing Ping Troubleshooting the HP Fabric NetworkFlow Verify Link Speed Setting Trace LevelsEnabling Tracing Disabling TracingReplacing Individual Components Replacing a Power Supply ModuleHCA Environmental Specifications AB286C SpecificationsPhysical and Environmental Specifications HCA Physical Specifications AB286C130 Using the Documentation Switch Command Line InterfaceExamples Show CommandsDefaults Related CommandsShow arp ethernet Defaults There are no defaults for this commandShow arp IB Examples To display the InfiniBand ARP table Show authenticationExamples To display the authentication method Show backplaneDefaults This command has no defaults Show boot-configTable B-3 show boot-config Command Field Descriptions Show card This command has the following argumentsShow card Syntax Description Card Defaults show card defaults to show card allImage data for internal configuration Oper statusSynopsis Table B-6 Show card-inventory Command Syntax DescriptionsTable B-7 show card-inventory Command Field Descriptions Show card-inventoryRelated Commands clock Show configShow clock Syntax show fan Related Commands copyTable B-8 show fan Command Field Descriptions Show fanTable B-9 show ib Keyword Descriptions Show ib sm configurationShow host Show ibInfiniBand read-only user Table B-10 Show ib Command Syntax DescriptionsTable B-11 Show ib Command Field Descriptions User-execute and privileged-execute modesShow ib sm multicast Table B-12 show ib sm multicast Command Syntax DescriptionsShow ib sm neighbor Arguments associated with this command are described below Table B-13 show ib sm neighbor Command Field DescriptionsShow ib sm node subnet-prefix An unknown type Node guid Use with the all keywordClass-version TypeShow ib sm partition Table B-17 show ib sm port Command Field Descriptions Table B-16 Show ib sm port Command Syntax DescriptionsShow ib sm port 12x Value may beNo state change 1x orPackets transmitted by this port. There is no default value Received by this port. There is no default valueTransmitted by this port. There is no default value Packets received by this port. There is no default valueErrors and the buffers are not immediately reclaimed Local-phy-errorTable B-18 Show ib sm service Command Syntax Descriptions Show ib sm serviceTable B-19 show ib sm switch Command Syntax Descriptions Show ib sm switchTable B-20 show ib sm switch Command Field Descriptions Lid-per-port Partition enforcement is not supported by the switchLife-time-value Port-state-changeShow ib-agent channel-adapter Slot System chassis slot in which the device resides Type Table B-22 Show ib-agent summary Command Field DescriptionsShow ib-agent summary Usage Guidelines formLid Decimal-base LID of this port Show ib-agent switchFollowing example displays a summary of all the SMA nodes AgentDisplay the attributes of a single switch Show ib-agent switch linear-frd-infoSwguid Type, GUIDs, and capabilities Show ib-agent switch all mcast-info lidShow ib-agent switch all node-info Swguid Guid of a specific InfiniBand switchDefaults This command has no defaults Show ib-agent switch port-info Show ib-agent switch all pkey-infoUsage Guidelines None Examples SL0 to VL mapping Show ib-agent switch sl-vl-mapNode-guid Bit Guid of this node In-ib-port Out-ib-portShow ib-agent switch switch-info Table B-31 Show interface ib Output Descriptions Table B-30 Show interface ib Command Syntax DescriptionsShow interface ib Syntax is described in the table belowLink-trap Usage Guidelines None Show interface ib smShow interface ib sm statistics Show interface mgmt-ib Show interface mgmt-ethernetShow ip Show interface mgmt-serialShow location Table B-33 show ip Command Syntax DescriptionsShow logging End Table B-34 show logging Command Syntax DescriptionShow ntp Syntax show ntpUsage Guidelines Examples Show power-supplyRelated Commands ntp Show running-statusShow sensor Show snmp Show system-servicesShow terminal Table B-36 show trace Command Syntax DescriptionsShow trace Shows all users in the user database Table B-37 Show user Command Syntax DescriptionsShow user Username Specify the name of a specific userShow version Table B-38 IP Commands IP CommandsArp ib Enter the IP address of the target host Default ip ip-over-ib-mtuClear ib arp-cache Table B-39 Auto-negotiate Syntax DescriptionIp ip-over-ib-mtu Defaults The default ip-over-ib-mtu isDefaults The default domain name is an empty string Ip domain-nameIp name-server-one Defaults The default ip-over-ib-mtu unit isTable B-42 Command Syntax Description Defaults The default is an empty stringIp route Table B-43 Command Syntax DescriptionTable B-44 Command Syntax Description Ip name-server-twoArp ib InfiniBand CommandsTable B-45 InfiniBand Commands Ib sm subnet-prefixTable B-46 ib sm subnet-prefix Syntax Description Sweep-interval is 10 seconds Table B-47 Acceptable PKey ValuesFollowing example removes a specified subnet manager Following example creates a Partition, and addsSyntax is described in the following table Ib-agent switchResponse-timeout is 2,000 microseconds Ib-agent channel-adapterLink-trap Config-if-ib submodeTable B-50 interface ib Command Syntax Description Interface ibName Commands syntax is described in the table belowDefaults The default is no link-trap Defaults The default interface name is card#/port#Table B-54 Administrative Commands Administrative CommandsCommands stoats is described in the table below Table B-53 Shutdown Command Syntax DescriptionReboots the chassis. See reload Ftp-server enable Use to enable or disable ftp-servicesLogging Configures active log Configures a radius-server. See radius-serverTable B-55 action Keywords Boot-configTable B-56 boot-config Keywords ActionTable B-58 Broadcast Command Arguments Table B-57 boot-config ArgumentsBroadcast Clock ConfigureTable B-59 clock Command Argument Descriptions CardCopy Syntax Table B-60 copy Command Syntax DescriptionsTable B-61 Copy Command Argument Descriptions System upon boot-upSyntax delete fsfile Arguments related to the delete command are described belowTable B-62 Delete Command Argument Descriptions DeleteDir Related Commands cardTable B-63 Dir Command Argument Descriptions To display installed system-images and image filesSyntax enable DisableEnable Syntax disableExec Ftp-server enableExit Privileged-execute modes GatewayHistory Defaults The default gateway IP address isRelated Commands None HelpHostname InstallSynopsis The hostname command assigns a name to the system Table B-69 hostname Command Argument DescriptionTable B-71 interface Command Keywords Table B-70 install Command Argument DescriptionsInterface Example Interface mgmt-ethernetNo ipip mask Related Commands ipInterface mgmt-ib Syntax ipip maskTable B-72 Location Syntax Descriptions LocationLogout LoginSynopsis The logout command ends the current CLI session LoggingNtp Related Commands exitRelated Commands dir MoreTable B-73 Radius-server Syntax Descriptions PingRadius-server Syntax ping destEnabling/Disabling the Ethernet Management Port Synopsis The reload command reboots the chassisReload Syntax reloadNo snmp-server Snmp-serverDefaults Telnet access is enabled by default Table B-74 Snmp-server Command Keyword DescriptionsTable B-75 snmp-server Command Argument Descriptions Command Modes Privilege Level Usage GuidelinesTerminal time-out Defaults The default is 24 lines per screenDefaults The default time-out interval is 15 minutes Terminal lengthType Syntax type type Table B-76 type Command ArgumentUsername Who Table B-77 Default User AccountsSyntax who This command has no defaults DefaultsWrite 216 Loading HyperTerminal How to Use Windows HyperTerminalAttaching through Windows HyperTerminal HyperTerminal PrerequisiteHow to Use Windows HyperTerminal Configuring the HyperTerminal ConnectionFigure C-3 Connect To Dialog Box Figure C-4 COM Port Properties Dialog Box Verifying the HyperTerminal ConnectionFigure C-5 HyperTerminal Login 222 223 GlossaryGlossary Ietf225 Snmp226 Index Ib-rw, 104 setting levels, 104 unrestricted-rw227 Index CLI229 See also HCAs hostname 231 Index See also ports Snmp About, 104 adding, 101 creating, 100 user information Changing, 104 user access levels changing235 Index
Related manuals
Manual 175 pages 52.54 Kb Manual 94 pages 16.8 Kb Manual 74 pages 39 Kb Manual 12 pages 39.66 Kb Manual 28 pages 49.76 Kb