Cisco ACI Leaf Switch CLI Commands
• admin: This is the default user mode when you log in to the switch. In this mode, you have full access to all commands.
• user: This user mode limits your access to a subset of commands.
• monitor: This user mode allows you to view switch information but not make any changes.
To change user modes, use the following command:
admin# mode
where is the user mode you want to enter.
The following sections provide information about the commands available in each user mode.
Admin Mode Commands
The following table lists the commands available in admin mode.
Command
Description
config
Enter configuration mode.
copy
Copy files.
delete
Delete files.
dir
List files.
exit
Exit the current mode and return to the previous mode.
format
Format a disk.
help
Display help for the current mode or a specific command.
mkdir
Make a directory.
more
Display the contents of a file.
mv
Move or rename a file.
no
Negate a command.
rename
Rename a file.
reset
Reset the switch to its default configuration.
rmdir
Remove a directory.
save
Save the current configuration.
set
Set a command to a specific value.
show
Display information about the switch and its current configuration.
ssh
Enable or disable the SSH server on the switch.
telnet
Enable or disable the Telnet server on the switch.
User Mode Commands
The following table lists the commands available in user mode.
Command
Description
dir
List files.
help
Display help for the current mode or a specific command.
mkdir
Make a directory.
more
Display the contents of a file.
mv
Move or rename a file.
rmdir
Remove a directory.
show
Display information about the switch and its current configuration.
Monitor Mode Commands
The following table lists the commands available in monitor mode.
Command
Description
dir
List files.
help
Display help for the current mode or a specific command.
more
Display the contents of a file.
show
Display information about the switch and its current configuration.