Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

track Object tracking configuration commands
trunk Configure Switch wide trunk protocol
username Configure user information.
vlan Vlan commands
vrf Configure VRF parameters
vsan Enter the vsan configuration mode
wwn Set secondary base MAC addr and range for additional WWNs
xml xml agent
zone Zone configuration commands
zoneset Zoneset configuration commands
Using Commands
You can configure the CLI to function in two ways: configure it interactively by entering commands at the
CLI prompt or create an ASCII file containing switch configuration information (use the CLI to edit and
activate the file).
Listing Commands and Syntax
In any command mode, you can obtain a list of available commands by entering a question mark (?).
switch# ?
To see a list of commands that begin with a particular character sequence, type those characters followed by
a question mark (?). Do not include a space before the question mark.
switch# co?
configure copy
To list keywords or arguments, enter a question mark in place of a keyword or argument. Include a space
before the question mark. This form of help is called command syntax help because it reminds you which
keywords or arguments are applicable based on the commands, keywords, and arguments you have already
entered.
switch# # configure ?
<CR>
terminal Configure the system from terminal input
If you are having trouble entering a command, check the system prompt and enter the question mark (?) for
a list of available commands. You might be in the wrong command mode or using incorrect syntax.
Entering Command Sequences
In any command mode, you can begin a particular command sequence, and then immediately press the Tab
key to complete the rest of the command.
switch (config)# ro<Tab>
switch (config)# role <Tab>
switch (config)# role name
This form of help is called command completion because it completes a word for you. If several options are
available for the typed letters, all options that match those letters are displayed.
Undoing or Reverting to Default Values or Conditions
You can enter the no form of any command to perform the following actions:
Undo an incorrectly entered command.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
22 OL-16597-01
Using Commands
Listing Commands and Syntax