Introduction
Just a big long list of CLI commands for easy reference. Note to use ? after the command to get a list of possible options.
| Command | Description | 
|---|---|
| help | Displays the help information for a specific command. | 
| list | Lists all the valid commands. | 
| history | Displays the command history for the CLI session. | 
| reboot | Reboots the device. | 
| killCliSession | Terminates a CLI session. | 
| who | Displays all the active CLI sessions. | 
| broadcast | Write a message to all active CLI sessions. | 
| swapBsDel | Toggle the key bindings for the backspace and delete characters. | 
| setTermWidth | Changes the terminal width for formatting purposes. | 
| getTermWidth | Displays the terminal width used for formatting purposes. | 
| prompt | Changes the CLI prompt. | 
| case | Displays or changes case sensitivity of the command interpreter for the current CLI session. | 
| showLastRetCode | Displays the return code from the last command. | 
| echo | Echoes the input parameters back to the output. | 
| rlogin | Open a terminal to a device in the chassis. | 
| rcmd | Open a terminal to a device in the chassis. | 
| resetCard | Reboots a specific slot in the chassis. | 
| logout | Terminates the current CLI session. | 
| user | Changes user accounts. | 
| passwd | Changes a user account password. | 
| userAdd | Adds a user account. | 
| userRem | Removes a user account. | 
| userListShow | List all user accounts for this device. | 
| sshKey | Displays or modifies the configured set of SSH keys. | 
| loginMode | Changes the login authentication mode. | 
| setldapSvrIpAddr | Displays or modifies the LDAP server IP address. | 
| setldapSvrPort | Displays or modifies the TCP port number to use for LDAP. | 
| idleTimeoutGet | Get the UI idle timeout value. | 
| idleTimeoutSet | Set the UI idle timeout value. | 
| sessionTimeoutDisable | Disables the idle timeout for the current CLI session. | 
| sessionTimeoutEnable | Enables the idle timeout for the current CLI session. | 
| loginMsgGet | Displays the CLI login message for this device. | 
| loginMsgSet | Set the CLI login message for this device. | 
| loginNameGet | Displays the text string that is displayed prior to logging in via telnet. | 
| loginNameSet | Sets the text string that is displayed prior to logging in via telnet. | 
| serialAuthGet | Displays the mode setting for serial console authentication. | 
| serialAuthSet | Changes the serial console authentication mode setting. | 
| uiConfig | Displays or modifies the user interface access methods. | 
| hwCheck | Checks the hardware status for chassis(or hemisphere), modules, fans and power supplies. | 
| hwMonitor | Monitor fans, power supplies, and port state. | 
| showIBNodeDesc | Displays the IB Node (SMA) Description (or the Default). | 
| setIBNodeDesc | Set the IB Node (SMA) Description. | 
| setIBNodeDescFormat | Displays or modifies the IB Node (SMA) Description format modifier. | 
| fruInfo | Displays the field replacable unit information. | 
| chassisQuery | Displays information about the line cards in a chassis. | 
| showInventory | Displays asset information on all entities in the chassis. | 
| setSystemContact | Displays or modifies the chassis system contact information. | 
| setSystemName | Displays or modifies the chassis system name. | 
| setSystemLocation | Displays or modifies the chassis system location. | 
| ifShow | Displays the interface statistics for the OOB management port. | 
| routeShow | Displays the interface routes for the OOB management port. | 
| ping | Send Ping packets to a specified IP address. | 
| ping6 | Sends Ping packets to a specified IPv6 address. | 
| showChassisIpAddr | Displays the chassis IP address. | 
| setChassisIpAddr | Changes the chassis IP address. | 
| setChassisIpv6Addr | Changes the user configured chassis IPv6 address. | 
| delChassisIpv6Addr | Deletes the user configured chassis IPv6 address. | 
| showChassisIpv6Addr | Displays the user configured chassis IPv6 address. | 
| autoConfIPv6Enable | Enables IPv6 address autoconfig. | 
| autoConfIPv6Disable | Disables IPv6 address autoconfig. | 
| autoConfIPv6Show | Displays IPv6 address autoconfig setting. | 
| ndpShow | Displays IPv6 Neighbors table. | 
| showDefaultRoute | Displays the default gateway IP address. | 
| setDefaultRoute | Changes the default gateway IP address. | 
| arpShow | Displays the link level adress resolution protocol (ARP) table. | 
| hostShow | Displays the host name table. | 
| dhcpEnable | Enables DHCP on the Ethernet interface. | 
| dhcpDisable | Disables DHCP on the Ethernet interface. | 
| dhcpShow | Displays the current DHCP leases. | 
| dnsParamsShow | Displays the stored DNS parameters. | 
| dnsParamsSet | Changes the DNS configuration parameters. | 
| fwUpdate | Update units firmware. | 
| fwListFiles | List the contents of the firmware ramdisk. | 
| fwShowUpdateParams | Displays the firmware default update parameters. | 
| fwSetUpdateParams | Configure firmware default update parameters. | 
| showCapability | Displays the capabilities/features. | 
| showLastScpRetCode | Displays the return code from the last SCP Firmware or XML Config Push. | 
| fwVersion | Displays the firmware revisions. | 
| bootQuery | Query boot image information. | 
| bootSelect | Changes the boot selection. | 
| smControl | Control the Subnet Manager. | 
| smConfig | Configure the Subnet Manager. | 
| smForceSweep | Force the subnet manager to sweep (does not change sweep rate). | 
| bmForceSweep | Force the baseboard manager to sweep (does not change sweep rate). | 
| smShowSMParms | Displays the SM parameters switch lifetime, HOQ lifetime, VLStall val, pkt lifetime, and dynamic PLT. lifetime, VLStall val, pkt lifetime, and dynamic PLT. | 
| smShowLids | Displays all the fabric LID information as known by the subnet manager. | 
| smShowGroups | Displays the multicast group information from subnet manager. | 
| smShowServices | Displays the subnet administration service records of the subnet manager. | 
| smShowSubscriptions | Displays the event forwarding (subscription) table from subnet manager. | 
| smShowMasterLid | Displays the master SM?s LID, which might not be this SM?s lid. | 
| smShowLid | Displays this SM?s LID. | 
| smShowLidMap | Displays the SM?s LID to port GUID map. | 
| smShowMaxLid | Displays the highest LID allocated by the subnet manager. | 
| smShowCounters | Displays various statistics and counters maintained by the SM. | 
| smResetCounters | Resets various statistics and counters maintained by the SM. | 
| pmShowCounters | Displays various statistics and counters about the PM. | 
| pmResetCounters | Resets various statistics and counters about the PM. | 
| pmShowRunningTotals | Displays PM?s Running Total Counters for all ports in fabric. | 
| smOptionConfig | Displays support for certain runtime options. | 
| smPriority | Displays the priority of the subnet manager. | 
| bmPriority | Displays the priority of the baseboard manager. | 
| pmPriority | Displays the priority of the performance manager. | 
| smRestorePriority | Relinquishs elevated priorities for subnet, baseboard and perfomance managers. | 
| smSweepRate | Displays or dynamically sets the sweep rate of the subnet manager. | 
| smMasterLMC | Displays the Master SM?s LMC value to be used on CA ports. | 
| smSwitchLifetime | Displays or dynamically sets the default switch lifetime (time a packet can live in a switch) of the lifetime (time a packet can live in a switch) of the subnet manager. | 
| smHoqLife | Displays or dynamically sets the head of queue lifetime of the subnet manager. | 
| smVLStall | Displays or dynamically sets the VL Stall value of the subnet manager. | 
| smDynamicPlt | Displays the dynamic packet lifetime table values. | 
| smPKeys | Displays the PKeys. | 
| smInfoKey | Displays the subnet manager?s SMInfo key. | 
| smMgmtKey | Displays the subnet manager?s management key. | 
| smDefBcGroup | Displays the default broadcast group parameters for the SM. | 
| smGidPrefix | Displays the subnet manager?s subnet prefix. | 
| smSubnetSize | Displays the subnet manager?s subnet size. | 
| smTopoErrorThresh | Displays the subnet manager?s error threshold for a sweep. | 
| smTopoAbandonThresh | Displays the max consecutive times the SM can abandon a sweep. | 
| smMaxRetries | Displays the maximum number of SM receive retries. | 
| smRcvWaitTime | Displays max time to wait for a reply to an SM packet in millisecs. | 
| smNonRespDropTime | Displays seconds to wait before dropping a non-responsive node. | 
| smNonRespDropSweeps | Displays sweeps to wait before dropping a non-responsive node. | 
| smLogLevel | Displays or dynamically sets the Subnet Manager logging level. | 
| smLogMode | Displays or dynamically sets the Subnet Manager logging mode. | 
| smLogMask | Displays or dynamically sets the Subnet Manager logging mask for a specific subsystem. | 
| smPerfDebug | Displays or dynamically sets SM PerfDebug which logs additional sweep info. | 
| saPerfDebug | Displays or dynamically sets SA PerfDebug which logs additional query info. | 
| smAdaptiveRouting | Displays or dynamically enables/disables SM AdaptiveRouting when the feature is configured. | 
| smMcLidTableCap | Displays limit of multicast lids available for allocation. | 
| smMasterPingInterval | Displays master SM ping interval. | 
| smMasterPingFailures | Displays number of master ping failures allowed. | 
| smDbSyncInterval | Displays how often (in minutes) a Master SM performs a full sync with standby SMs. | 
| sm1xLinkMode | Displays how the SM handles links that come up at 1x. | 
| smTrapThreshold | Displays the urgent trap threshold before auto-disabling ports. | 
| smAppearanceMsgThresh | Displays threshold for appearance & disappearance log messages. | 
| smPmBmStart | Controls start of PM, BM and FE. | 
| smShowRemovedPorts | Displays ports that have been automatically removed from the fabric. | 
| smResetConfig | Resets the XML config to factory defaults. | 
| smShowConfig | Displays the XML config file. | 
| smMcastCheck | Enables or disables the Common MTU and rate for multicast groups. | 
| smLooptestStart | Starts the SM Loop Test in normal mode. | 
| smLooptestFastModeStart | Starts the SM Loop Test in fast mode. | 
| smLooptestStop | Stops the SM Loop Test. | 
| smLooptestInjectPackets | Injects packets into the SM Loop Test. | 
| smLooptestInjectAtNode | Injects packets to a specific switch node for the SM Loop Test. | 
| smLooptestInjectEachSweep | Injects packets on each sweep for the SM Loop Test. | 
| smLooptestPathLength | Sets the loop path length for the SM Loop Test. | 
| smLooptestMinISLRedundancy | Sets the minimum ISL redundancy in fast mode for the SM Loop Test. | 
| smLooptestShowLoopPaths | Displays the loop paths for the SM Loop Test. | 
| smLooptestShowSwitchLft | Displays a switch?s LFT for the SM Loop Test. | 
| smLooptestShowTopology | Displays the topology for the SM Loop Test. | 
| smLooptestShowConfig | Displays the config for the SM Loop Test. | 
| logShow | Displays the Log file. | 
| logClear | Clear the Log file. | 
| logConfigure | Configure the log settings. | 
| logResetToDefaults | Restores the log default settings. | 
| logSyslogConfig | Configure the syslog host address. | 
| logShowConfig | Displays the current log configuration. | 
| logSyslogTest | Test Syslog configuration. | 
| showKeys | Displays the list of installed license keys. | 
| addKey | Install a license key. | 
| removeKey | Removes a license key. | 
| ismPortStats | Displays statistics for all ports. | 
| ismPortCounters | Displays Port Counters. | 
| ismLinearFwdb | Displays or sets Linear Forwarding Database for switch. | 
| ismMultiFwdb | Displays the Multicast Forwarding Database for switch. | 
| ismAutoClearConf | Configure Port stat counter auto-clear options. | 
| ismPortSetWidth | Displays or sets the supported link width for an IB port. | 
| ismChassisSetWidth | Displays or sets the supported link width for all chassis IB ports. | 
| ismPortSet12x | Displays or sets the supported link width for an IB port. | 
| ismChassisSet12x | Displays or sets the supported link width for all chassis IB ports. | 
| ismChassisSetMtu | Displays or sets MTU and VL capabilities all chassis IB ports. | 
| ismChassisSetBCDM | Displays or sets the Buffer Credit Distribution Method for all chassis IB ports. | 
| ismPortEnable | Enables an IB port. | 
| ismChassisSetEnable | Displays or modifies the port enable setting for each IB port in the chassis. | 
| ismPortDisable | Disables an IB port. | 
| ismChassisSetSpeed | Displays or sets the support link speeds for all IB ports in the chassis. | 
| ismPortSetSpeed | Displays or sets the speed of an IB port. | 
| ismPortSetBeacon | Displays or modifying the LED beaconing indicator for an IB port. | 
| ismPortQsfpInfo | Displays information from the installed QSFPs. | 
| ismChassisBounce | Bounce enabled ports for entire chassis. | 
| ismPortBounce | Bounce port if enabled. | 
| ismShowPStatThresh | Displays the port statisics thresholds. | 
| ismSetPStatThresh | Changes the port statisics thresholds. | 
| ismRemoveStateDump | Removes switch ASIC state dump files. | 
| ismShowStateDump | Displays the switch ASIC state dump files. | 
| ismShowArConfig | Displays AdaptiveRouting info for a specific switch chip or entire chassis. | 
| ismShowArMoves | Displays AdaptiveRouting adjjustments for a specific switch chip or entire chassis. | 
| time | Configure the time on the device. | 
| timeZoneConf | Configure the time zone setting. | 
| timeDSTConf | Configure the daylight savings time settings. | 
| timeNtpTimeout | Configure the NTP timeout setting. | 
| timeNtpRefreshTime | Configure the delay between time updates via NTP. | 
| snmpCommunityConf | Configure the SNMP community strings. | 
| snmpTargetAddr | Configure the SNMP trap targets. | 
| snmpTargetParams | Access the snmpTargetParamsTable. | 
| snmpNotifyProfile | Access the snmpNotifyFilterProfileTable. | 
| snmpNotifyFilter | Access the snmpNotifyFilterTable. | 
| snmpNotify | Access the snmpNotifyTable. | 
| snmpSystem | Configure the SNMP system info. | 
| snmpUsrSec | Configure SNMP V3 users. | 
| capture | Displays all the information for this device. | 
| captureFw | Displays all the firmware information for this device. | 
| captureSm | Displays all the manager information for this device. | 
| captureIsm | Displays all the Infiniband switch information for this device. | 
| captureChassis | Displays all the chassis information for this device. | 
| captureNetwork | Displays all the network information for this device. | 
| captureLog | Displays all the log information for this device. | 
| captureMisc | Displays all the miscellaneous information for this device. | 
| captureSnmp | Displays all the SNMP information for this device. | 
| captureShell | Displays the pertinent shell command information for this device. | 
| genPost | Displays General POST results and runs tests. | 
| IpoIbConfigShow | Displays the IPoIB enable/disable setting. | 
| IpoIbConfigEnable | Enables the IPoIB feature. | 
| IpoIbConfigDisable | Disables the IPoIB feature. | 
| IpoIbAddressShow | Displays the IPoIB IP Address and associated netmask settings. | 
| IpoIbAddressSet | Changes the IPoIB IP Address and netmask settings. | 
| IpoIbAddressSetIPv6 | Changes the IPoIB IPv6 address and netmask. | 
| IpoIbAddressShowIPv6 | Displays the IPoIB IPv6 Address and associated netmask settings. | 
| exit | Terminates the current CLI session. | 
QLogic 12000 CLI Reference Guide
			
				
