Using The Cli; Using Cli Command Modes - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Using the CLI

S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Alternatively, to make an SSH connection to the switch, use the following command:
Command
ssh {hostname | ip_addr}
Using the CLI
The section includes the following topics:

Using CLI Command Modes

Switches in the Cisco Nexus 5000 Series have two main command modes: user EXEC mode and
configuration mode. The commands available to you depend on the mode you are in. To obtain a list of
available commands in either mode, type a question mark (?) at the system prompt.
Table 1-1
system prompts. The system prompt helps you identify which mode you are in and the commands that
are available to you in that mode.
Table 1-1
Mode
EXEC
Configuration mode
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-2
Using CLI Command Modes, page 1-2
CLI Command Hierarchy, page 1-3
EXEC Mode Commands, page 1-3
Configuration Mode Commands, page 1-5
lists and describes the two commonly used modes, how to enter the modes, and the resulting
Frequently Used Switch Command Modes
Description
Enables you to temporarily
change terminal settings,
perform basic tests, and
display system information.
Note
Enables you to configure
features that affect the
system as a whole.
Note
Purpose
Makes an SSH connection from your host to the switch that you
want to access.
How to Access
At the switch prompt,
enter the required EXEC
mode command.
Changes made in this
mode are generally
not saved across
system resets.
From EXEC mode, enter
the configure terminal
command.
Changes made in this
mode are saved
across system resets
if you save your
configuration.
Chapter 1
Using the Command-Line Interface
Prompt
switch#
switch(config)#
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents