Using the Command Line Interface (CLI)

Using the CLI

As mentioned above, if you type part of a command word and press [Tab], the CLI completes the current word (if you have typed enough of the word for the CLI to distinguish it from other possibilities), including hyphenated exten- sions. For example:

ProCurve(config)# port-[Tab]

ProCurve(config)# port-security _

Pressing [Tab] after a completed command word lists the further options for that command.

ProCurve(config)# qos [Tab]

udp-portSet UDP port based priority. tcp-portSet TCP port based priority. device-priorityConfigure device-based priority. dscp-mapDefine mapping between a DSCP

(Differentiated-Services Codepoint) value and 802.1p priority.

type-of-serviceConfigure the Type-of-Service method the device uses to

prioritize IP traffic.

Listing Command Options

You can use the CLI to remind you of the options available for a command by entering command keywords followed by ?. For example, suppose you want to see the command options for configuring the console settings:

This example displays the command options for configuring the switch’s console settings.

Figure 4-5. Example of How To List the Options for a Specific Command

4-10