HP UX 11i v2 Networking Software manual Command-Line Editing

Page 78

NOTE: Information displayed depends upon if you log in as a guest, administrative, or unrestricted user. All choices and information are displayed to the unrestricted user, whereas less information is displayed to the administrative user because the administrative user is not allowed to perform certain tasks, like configuring the Ethernet Management or management-IB ports. The guest user is shown the least information because the guest user is only allowed to view a small portion of the configuration. Most of the examples shown throughout this book are done as an unrestricted user.

You may enter just enough of each command or argument to make it uniquely identifiable, followed by a space and a question mark to display the arguments and keywords you need to continue the command line.

For example:

HP-IB(config)# i?

<--

display all keywords that start with “i”

Configure Commands:

 

 

ib

-

IB subnet manager configuration

ib-agent

-

Configure IB agent settings

interface

-

Select an interface to configure

ip

-

Global IP configuration subcommands

HP-IB(config)# in?

<--

display all keywords that start with “in”

interface

 

<-- only 1 keyword starts with “in”

HP-IB(config)# in ? <--

display the arguments to “interface”

ethernet

-

Configure Ethernet interfaces

fc

-

Configure Fibre Channel interfaces

gateway

-

Configure Gateway settings

ib

-

Configure InfiniBand interfaces

mgmt-ethernet

-

Configure Ethernet Management port

mgmt-ib

-

Configure Infiniband Management port

HP-IB(config)# in

<-- waits for you to complete the “interface”

 

 

command string

After displaying the help information, the system enters the command string up to the question mark on the input line and waits for you to complete the string. You do not have to retype the string.

If there is no space between a partially-entered command string and the question mark, a list of possible completions are displayed, as shown above.

When enough characters have been entered to uniquely identify a command or keyword in a command string, you may leave it as-is, enter a space, and then add additional keywords or arguments, or you can press the <Tab> key to complete the commands or keywords to improve readability.

Command-Line Editing

Command-line editing is used to modify a command line you have just entered or a command line that had been entered previously in the current CLI session. Command strings are displayed on the command line when you:

enter the strings manually

use quick-help

scroll through the command history

The CLI supports a variety of ways to move about and edit the currently displayed command line. These are listed in the table below.

78 Administration and Management

Image 78
Contents HP Fabric Clustering System HP-UX Administrators Guide Copyright 2004-2008 Hewlett-Packard Development Company, L.P Table of Contents Configuration InterfacesSwitch Administration and Management 109 129 131155 152154 156217 223227 Page HyperTerminal Login List of FiguresPage List of Tables Default User Names, Passwords and PrivilegesDescription of Access Levels Show ib Keyword DescriptionsShow user Command Syntax Descriptions Show logging Command Syntax DescriptionShow trace Command Syntax Descriptions IP CommandsNew and Changed Documentation in This Edition About This DocumentIntended Audience Publishing HistoryWhat’s in This Document Typographical ConventionsRelated Documents HP Encourages Your Comments Related DocumentsPage Introduction to Technology Understanding the Fabric Clustering SystemUnderstanding InfiniBand About the HP Fabric Clustering System Software Suite Interaction with HyperFabric Driver User-Space Rdma LibraryKernel Rdma Subsystem About the HP Fabric Clustering System Software SuitePage Host Channel Adapters Hardware OverviewHardware Components HP offers the following new Host Channel Adapters HCAHardware 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 Switch Other Product ElementsHardware Overview Applications Installation PlanningPreliminary Considerations Preliminary ConsiderationsInstallation Planning Site Set-upApplication Availability Installing HP Fabric Clustering System HP Fabric Clustering System Installation PrerequisitesEnter your product name Click the double arrow Install HP Fabric Clustering System Adapters Installing the AH304A Host Channel AdapterInstalling HP Fabric Clustering System Installing the 410533-B21 Host Channel Adapter Installing the AD313A Host Channel AdapterSecure the card and reassemble the system Installing the AB286C Host Channel Adapter Inserting the AD313A Host Channel AdapterOn-Line Addition and Replacement Operations OL Inserting the AB286C Host Channel AdapterInstall HP Fabric Clustering System Software Where devicename is the name assigned to the CD-ROM driveThis opens the Software Selection window Rack Mount Preparation Install HP Fabric Clustering System SwitchesT-25 Torx screwdrivers Second person for the installation IB subsystem IB Rdma IPoIB IB device driver ibtInstalling the Switch Fixed and Sliding RailsAttach Rail to Switch Remove Support Bracket if installed Remove Shipping SleeveSecurely attach all rails to the rack Attach Cable Guides & Cables Cable Routing and Bend LimitsAttach Cable Guides & Cables Cable Installation Minimum Bend Radius Attach CablesSwitch or Adapter Switch SetupConnect Cables to Switch Attach to other HP Fabric devicesSet the default gateway address. This address is an example Setting up the SwitchEnter configure to enter the global-configuration mode Enable the management portInternet Protocol over InfiniBand IPoIB Syntax and Example nwmgr -S ipoibPage Configuration Supported FeaturesConfiguration Parameters Sample Configurations using the AB286A/C or AD313A HCA Non-Supported FeaturesSupported Configurations Configurations up to 24 End NodesConfigurations with More Than 24 End Nodes Sample Configurations using the AB286A/C or AD313A HCA128 Node 50% non-Blocking Configuration Administration and Management Following is a listing of the major topics in this chapterHP-UX Host Administration and Management Using ItutilAdministration and Management Itutil Command Options Summary of Itutil Command OptionsItutil Administrative Commands Following syntax must be used with itutil command optionsItutil Management Commands Syntax itutil Syntax Example itutil Output Example Syntax Example itutil -i ib0 Output Example Syntax Example itutil -t IB Output Example Syntax Example itutil -s-i ib0 Output ExampleAdministration and Management Displaying Connectivity Information Using Itutil Syntax Example itutil -r Output ExampleSyntax Example itutil -c Output Example Example itutil -T Using NetTL Viewing the Itutil ManpageSyntax nettl -llog class -esubsystem IB Tracing IPoIB Administration and ManagementIfconfig Command IPoIB TracingDisplaying IPoIB Interface Link-Level Information Lanadmin CommandsDisable the IPoIB Interface To disable the IPoIB interface Level information for a given ipoibppaSyntax Example lanadmin -a Output Example Syntax Example lanadmin -s Output ExampleSyntax Example lanadmin -g Output Example Syntax lanadmin -x-hipoibppa Syntax Example lanadmin -x -h Serviceguard and IPoIB Lanscan CommandIntroduction Configuring IPoIB Interfaces for Serviceguard Clusters Using Serviceguard and IPoverIBSwitch Administration and Management Switch Administration and ManagementStarting a CLI Session Using the CLICLI Overview Privilege LevelAdministrator Roles Entering CLI ModesUsing Command Completion Exiting CLI ModesCommand Abbreviation Quick HelpCommand-Line Editing Specifying the Card/Port Command before returning to user-execute modeExiting the CLI Session Key Stroke ShortcutsIndicates ports 2 through 4 on card Card/Port pairsRanges ListsTesting Network Connectivity Advanced Switch SetupConfiguring the System Hostname Enter the global-configuration modeLogging Onto the System Setting User Levels and PasswordsManaging the Switch Logging On Through the CLIManagement Methods Managing Through the CLIConfiguration, Image, and Log Files Configuration, Image, and Log File OverviewUpgrading Image Files Understanding the Upgrade ProcessImage Upgrade Procedure Summary Set-Up the Hardware ConnectionEnter the privileged-execute mode Check the Image VersionCopy/Download the Image Optional View the images by using the dir image command Install a New ImageSpecify a New Boot Image Show the new system -imageReboot the System Troubleshooting an Image UpgradeDeleting System Images and Image Files File Management Listing Configuration, Image, and Log FilesViewing Configuration Files Viewing Log FilesSaving the Backup Configuration Saving Configuration FilesSaving for System Reboot Specifying the Configuration to Use at System RebootExample Arguments to the copy command are described belowSaving and Copying Files Show the new system imageColon Deleting Configuration, Image, and Log FilesDownloading Files to the System Tslog. The .cfg extension is optionalDeleting Log Files Deleting Configuration FilesDetermine the configuration files in memory Display the log files that are in memoryDetermine the currently installed system-images Verify that you had successfully removed the log fileDeleting Image Files Understanding the Log Format HP Fabric Switch devices use the following log formatManaging Log Files Uploading Log FilesAdministering the System Switching User IdentityNotifying Users Broadcasting Messages to UsersSending Messages to Individual Users Setting or Changing a Password Understanding Usernames and PasswordsDefault User Names, Passwords and Privileges Creating User AccountsDisplaying User Information Adding New UsersDeleting a User Account User Account Configuration Commands User Account Administrative CommandsCommunity Strings Using DNS Services Setting Administrative RolesFollowing table displays the different access-levels Setting the System Clock Setting Time Through the CLI Setting the NTP Servers to Maintain the System ClockRebooting the System Save your configurationReboot the System Through the CLI 108 Monitoring and Troubleshooting Diagnosing ProblemsDiagnosing Problems IB Port Status LED Indicators HP Fabric Switch Cluster Connection LEDsHP Fabric Switch System Status LED Color, Behavior, and MeaningFront System Status LED Indicator Rear System Status LED IndicatorPower Supply Troubleshooting Power supply/ Fan Status LED IndicatorHP Fabric HCA Connection LEDs Ethernet Port Status LED IndicatorsEthernet Management Port LEDs Bottom Top Green- over Green Off FlickeringHCA Connection LED Colors and Meanings Logical Solid Indicates aBeen Top Established None HCA is not Determining Whether the HCA or Cable is Faulty Determining if the Switch is FaultyMonitoring and Troubleshooting the HP-UX Host HP-UX Host Troubleshooting ProcedureNext Steps Monitoring and Troubleshooting the HP-UX Host Syntax example itutil Output exampleMonitoring and Troubleshooting Syntax example itutil -c fe802c9018a08a11 ib0 Sample nettl Log Messages Description Port failureSample IB Logs Monitoring and Troubleshooting IPoIBNettl Sample Log Output Following are examples of nettl log outputSample IPoIB Logs PDU in TraceLinkloop Command Known ProblemsNetTL IP Filter Product Monitoring and Troubleshooting the SwitchHealth Monitoring CLI can also be used to monitor the systemAbout Logging and Tracing About HP Fabric EventsAbout Tracing Troubleshooting the HP Fabric Network PingFlow Disabling Tracing Setting Trace LevelsEnabling Tracing Verify Link SpeedReplacing a Power Supply Module Replacing Individual ComponentsHCA Physical Specifications AB286C SpecificationsPhysical and Environmental Specifications HCA Environmental Specifications AB286C130 Switch Command Line Interface Using the DocumentationRelated Commands Show CommandsDefaults ExamplesDefaults There are no defaults for this command Show arp ethernetShow arp IB Show backplane Show authenticationExamples To display the authentication method Examples To display the InfiniBand ARP tableShow boot-config Defaults This command has no defaultsTable B-3 show boot-config Command Field Descriptions This command has the following arguments Show cardShow card Syntax Description Oper status Defaults show card defaults to show card allImage data for internal configuration CardShow card-inventory Table B-6 Show card-inventory Command Syntax DescriptionsTable B-7 show card-inventory Command Field Descriptions SynopsisShow config Related Commands clockShow clock Show fan Related Commands copyTable B-8 show fan Command Field Descriptions Syntax show fanShow ib Show ib sm configurationShow host Table B-9 show ib Keyword DescriptionsUser-execute and privileged-execute modes Table B-10 Show ib Command Syntax DescriptionsTable B-11 Show ib Command Field Descriptions InfiniBand read-only userTable B-12 show ib sm multicast Command Syntax Descriptions Show ib sm multicastShow ib sm neighbor Table B-13 show ib sm neighbor Command Field Descriptions Arguments associated with this command are described belowShow ib sm node subnet-prefix Type Node guid Use with the all keywordClass-version An unknown typeShow ib sm partition Table B-16 Show ib sm port Command Syntax Descriptions Table B-17 show ib sm port Command Field DescriptionsShow ib sm port 1x or Value may beNo state change 12xPackets received 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 transmitted by this port. There is no default valueLocal-phy-error Errors and the buffers are not immediately reclaimedShow ib sm service Table B-18 Show ib sm service Command Syntax DescriptionsShow ib sm switch Table B-19 show ib sm switch Command Syntax DescriptionsTable B-20 show ib sm switch Command Field Descriptions Port-state-change Partition enforcement is not supported by the switchLife-time-value Lid-per-portShow ib-agent channel-adapter Usage Guidelines form Table B-22 Show ib-agent summary Command Field DescriptionsShow ib-agent summary Slot System chassis slot in which the device resides TypeAgent Show ib-agent switchFollowing example displays a summary of all the SMA nodes Lid Decimal-base LID of this portShow ib-agent switch linear-frd-info Display the attributes of a single switchSwguid Swguid Guid of a specific InfiniBand switch Show ib-agent switch all mcast-info lidShow ib-agent switch all node-info Type, GUIDs, and capabilitiesDefaults This command has no defaults Show ib-agent switch all pkey-info Show ib-agent switch port-infoUsage Guidelines None Examples Out-ib-port Show ib-agent switch sl-vl-mapNode-guid Bit Guid of this node In-ib-port SL0 to VL mappingShow ib-agent switch switch-info Syntax is described in the table below Table B-30 Show interface ib Command Syntax DescriptionsShow interface ib Table B-31 Show interface ib Output DescriptionsLink-trap Show interface ib sm Usage Guidelines NoneShow interface ib sm statistics Show interface mgmt-ethernet Show interface mgmt-ibShow interface mgmt-serial Show ipTable B-33 show ip Command Syntax Descriptions Show locationShow logging Syntax show ntp Table B-34 show logging Command Syntax DescriptionShow ntp EndShow running-status Show power-supplyRelated Commands ntp Usage Guidelines ExamplesShow sensor Show system-services Show snmpTable B-36 show trace Command Syntax Descriptions Show terminalShow trace Username Specify the name of a specific user Table B-37 Show user Command Syntax DescriptionsShow user Shows all users in the user databaseShow version IP Commands Table B-38 IP CommandsArp ib Table B-39 Auto-negotiate Syntax Description Default ip ip-over-ib-mtuClear ib arp-cache Enter the IP address of the target hostIp domain-name Defaults The default ip-over-ib-mtu isDefaults The default domain name is an empty string Ip ip-over-ib-mtuDefaults The default is an empty string Defaults The default ip-over-ib-mtu unit isTable B-42 Command Syntax Description Ip name-server-oneIp name-server-two Table B-43 Command Syntax DescriptionTable B-44 Command Syntax Description Ip routeIb sm subnet-prefix InfiniBand CommandsTable B-45 InfiniBand Commands Arp ibTable B-46 ib sm subnet-prefix Syntax Description Following example creates a Partition, and adds Table B-47 Acceptable PKey ValuesFollowing example removes a specified subnet manager Sweep-interval is 10 secondsIb-agent channel-adapter Ib-agent switchResponse-timeout is 2,000 microseconds Syntax is described in the following tableInterface ib Config-if-ib submodeTable B-50 interface ib Command Syntax Description Link-trapDefaults The default interface name is card#/port# Commands syntax is described in the table belowDefaults The default is no link-trap NameTable B-53 Shutdown Command Syntax Description Administrative CommandsCommands stoats is described in the table below Table B-54 Administrative CommandsConfigures a radius-server. See radius-server Ftp-server enable Use to enable or disable ftp-servicesLogging Configures active log Reboots the chassis. See reloadAction Boot-configTable B-56 boot-config Keywords Table B-55 action KeywordsTable B-57 boot-config Arguments Table B-58 Broadcast Command ArgumentsBroadcast Card ConfigureTable B-59 clock Command Argument Descriptions ClockSystem upon boot-up Syntax Table B-60 copy Command Syntax DescriptionsTable B-61 Copy Command Argument Descriptions CopyDelete Arguments related to the delete command are described belowTable B-62 Delete Command Argument Descriptions Syntax delete fsfileTo display installed system-images and image files Related Commands cardTable B-63 Dir Command Argument Descriptions DirSyntax disable DisableEnable Syntax enableFtp-server enable ExecExit Gateway Privileged-execute modesHelp Defaults The default gateway IP address isRelated Commands None HistoryTable B-69 hostname Command Argument Description InstallSynopsis The hostname command assigns a name to the system HostnameTable B-70 install Command Argument Descriptions Table B-71 interface Command KeywordsInterface Interface mgmt-ethernet ExampleSyntax ipip mask Related Commands ipInterface mgmt-ib No ipip maskLocation Table B-72 Location Syntax DescriptionsLogging LoginSynopsis The logout command ends the current CLI session LogoutMore Related Commands exitRelated Commands dir NtpSyntax ping dest PingRadius-server Table B-73 Radius-server Syntax DescriptionsSyntax reload Synopsis The reload command reboots the chassisReload Enabling/Disabling the Ethernet Management PortSnmp-server No snmp-serverCommand Modes Privilege Level Usage Guidelines Table B-74 Snmp-server Command Keyword DescriptionsTable B-75 snmp-server Command Argument Descriptions Defaults Telnet access is enabled by defaultTerminal length Defaults The default is 24 lines per screenDefaults The default time-out interval is 15 minutes Terminal time-outSyntax type type Table B-76 type Command Argument TypeUsername Table B-77 Default User Accounts WhoSyntax who Defaults This command has no defaultsWrite 216 HyperTerminal Prerequisite How to Use Windows HyperTerminalAttaching through Windows HyperTerminal Loading HyperTerminalConfiguring the HyperTerminal Connection How to Use Windows HyperTerminalFigure C-3 Connect To Dialog Box Verifying the HyperTerminal Connection Figure C-4 COM Port Properties Dialog BoxFigure C-5 HyperTerminal Login 222 Glossary 223Ietf GlossarySnmp 225226 Ib-rw, 104 setting levels, 104 unrestricted-rw Index227 CLI Index229 See also HCAs hostname 231 Index See also ports Snmp Changing, 104 user access levels changing About, 104 adding, 101 creating, 100 user information235 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