HP (Hewlett-Packard) 5300XL Switch User Manual


 
Using the Command Line Interface (CLI)
Using the CLI
As mentioned above, if you type part of a command word and press , 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:
HPswitch(config)# port
HPswitch(config)# port-security _
Pressing
after a completed command word lists the further options for
that command.
HPswitch(config)# qos
device-priority Configure device-based priority.
dscp-map
protocol
udp-port
tcp-port
Define mapping between a DSCP
(Differentiated-Services
Codepoint) value and 802.1p
priority.
Configure protocol-based
priority.
Set UDP port based priority.
Set TCP port based priority.
type-of-service Configure 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 port C5:
This example displays
the command options
for configuring port C5
on the switch.
Figure 3-5. Example of How To List the Options for a Specific Command
3-10