HP UX 11i v2 Networking Software manual CLI Overview, Using the CLI, Starting a CLI Session

Page 74

“Configuration, Image, and Log Files”

“Administering the System”

CLI Overview

The HP Fabric Switch can be used without being managed. If necessary, you can manage the switch using its Command Line Interface (CLI) - a text-based interface accessible through a direct serial connection, Telnet over IP, or SSH over IP. Refer to “Manage the System” on page 63.

Using the CLI

This section provides a general overview of using the CLI. It describes how to start a CLI session, how to enter commands, and how to display online help. Details about individual commands are presented in Appendix B - HP Fabric Switch Commands.

This section describes the following:

“Starting A CLI Session”

“Entering CLI Modes”

“Exiting CLI Modes”

“Using Command Completion ”

“Command Abbreviation”

“Quick Help”

“Command-Line Editing”

“Exiting the CLI Session”

“Specifying the Card/Port ”

Starting A CLI Session

The CLI login prompt is automatically displayed in a terminal window when you connect the serial port of a computer to the Serial-Console port. It is also displayed when you Telnet or SSH to a configured Ethernet Management port. Log in as the user with the appropriate permissions for what you wish to do. The user account you use determines your level of access. Super, admin, and guest are the default user accounts.

Table 6-2

Privilege Level

User Log-in

Privileges

super

The super user has unrestricted privileges. Use this account for initial configuration. This user may

 

view and modify a configuration, as well as administer user accounts and access privileges. This

 

user configures the console and management ports for initial chassis setup. The default password

 

is super.

admin

The admin user has general read-write privileges. This user may view and modify the current

 

configuration. However, the admin user can change only its own user information, such as the

 

admin password. The default password is admin.

guest

The guest user has read-only privileges. This user may only view the current configuration. The

 

guest user cannot make any changes during the CLI session. This user is disabled by default. The

 

default password is guest.

In addition to the default user accounts described above, there are administrative “roles” that may be assigned to individual user accounts. Roles allow granular levels of privileges. For example, you can create separate HP Fabric administrators, who only have access to specific subsystems. The system combines multiple roles with read and read-write access for flexible control.

The unrestricted administrator (super) is responsible for assigning these roles. Network administrators are given read-only and read-write access to each of the three network types. The different roles are:

74 Administration and Management

Image 74
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 156227 217223 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 Understanding InfiniBand Introduction to TechnologyUnderstanding the Fabric Clustering System 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 ConsiderationsApplication Availability Installation PlanningSite Set-up Enter your product name Click the double arrow Installing HP Fabric Clustering SystemHP Fabric Clustering System Installation Prerequisites Installing HP Fabric Clustering System Install HP Fabric Clustering System AdaptersInstalling the AH304A Host Channel Adapter Secure the card and reassemble the system Installing the 410533-B21 Host Channel AdapterInstalling the AD313A Host Channel Adapter Installing the AB286C Host Channel Adapter Inserting the AD313A Host Channel AdapterOn-Line Addition and Replacement Operations OL Inserting the AB286C Host Channel AdapterThis opens the Software Selection window Install HP Fabric Clustering System SoftwareWhere devicename is the name assigned to the CD-ROM drive 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 Securely attach all rails to the rack Remove Support Bracket if installedRemove Shipping Sleeve Attach Cable Guides & Cables Attach Cable Guides & CablesCable Routing and Bend Limits 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 Parameters ConfigurationSupported Features 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 chapterAdministration and Management HP-UX Host Administration and ManagementUsing Itutil 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 Syntax Example itutil -c Output Example Displaying Connectivity Information Using ItutilSyntax Example itutil -r 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 -g Output Example Syntax Example lanadmin -a Output ExampleSyntax Example lanadmin -s Output Example Syntax lanadmin -x-hipoibppa Syntax Example lanadmin -x -h Introduction Serviceguard and IPoIBLanscan Command 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 -imageDeleting System Images and Image Files Reboot the SystemTroubleshooting an Image Upgrade 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 memoryDeleting Image Files Determine the currently installed system-imagesVerify that you had successfully removed the log file Understanding the Log Format HP Fabric Switch devices use the following log formatManaging Log Files Uploading Log FilesAdministering the System Switching User IdentitySending Messages to Individual Users Notifying UsersBroadcasting Messages to 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 Community Strings User Account Configuration CommandsUser Account Administrative Commands Following table displays the different access-levels Using DNS ServicesSetting Administrative Roles 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 Diagnosing Problems Monitoring and TroubleshootingDiagnosing 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 FlickeringBeen Top Established None HCA is not HCA Connection LED Colors and MeaningsLogical Solid Indicates a Determining Whether the HCA or Cable is Faulty Determining if the Switch is FaultyNext Steps Monitoring and Troubleshooting the HP-UX HostHP-UX Host Troubleshooting Procedure 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 TraceNetTL Linkloop CommandKnown Problems IP Filter Product Monitoring and Troubleshooting the SwitchHealth Monitoring CLI can also be used to monitor the systemAbout Tracing About Logging and TracingAbout HP Fabric Events Flow Troubleshooting the HP Fabric NetworkPing 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 ExamplesShow arp IB Defaults There are no defaults for this commandShow arp ethernet Show backplane Show authenticationExamples To display the authentication method Examples To display the InfiniBand ARP tableTable B-3 show boot-config Command Field Descriptions Show boot-configDefaults This command has no defaults Show card Syntax Description This command has the following argumentsShow card 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 clock Show configRelated Commands 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 userShow ib sm neighbor Table B-12 show ib sm multicast Command Syntax DescriptionsShow ib sm multicast Show ib sm node subnet-prefix Table B-13 show ib sm neighbor Command Field DescriptionsArguments associated with this command are described below Type Node guid Use with the all keywordClass-version An unknown typeShow ib sm partition Show ib sm port Table B-16 Show ib sm port Command Syntax DescriptionsTable B-17 show ib sm port Command Field Descriptions 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 DescriptionsTable B-20 show ib sm switch Command Field Descriptions Show ib sm switchTable B-19 show ib sm switch Command Syntax 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 portSwguid Show ib-agent switch linear-frd-infoDisplay the attributes of a single switch 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 Usage Guidelines None Examples Show ib-agent switch all pkey-infoShow ib-agent switch port-info 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 ipShow logging Table B-33 show ip Command Syntax DescriptionsShow location 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 snmpShow trace Table B-36 show trace Command Syntax DescriptionsShow terminal 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 Arp ib IP CommandsTable B-38 IP Commands 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 KeywordsBroadcast Table B-57 boot-config ArgumentsTable B-58 Broadcast Command Arguments 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 enableExit Ftp-server enableExec 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 HostnameInterface Table B-70 install Command Argument DescriptionsTable B-71 interface Command Keywords 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 Syntax who Table B-77 Default User AccountsWho Write DefaultsThis command has no defaults 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 227 Ib-rw, 104 setting levels, 104 unrestricted-rwIndex CLI Index229 See also HCAs hostname 231 Index See also ports Snmp 235 Changing, 104 user access levels changingAbout, 104 adding, 101 creating, 100 user information 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