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
2-2
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 2 Using the Command-Line Interface
Using the CLI
Alternatively, to make an SSH connection to the switch, use the following command:
Using the CLI
The section includes the following topics:
•
Using CLI Command Modes, page 2-2
•
CLI Command Hierarchy, page 2-3
•
EXEC Mode Commands, page 2-4
•
Configuration Mode Commands, page 2-5
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 2-1
lists and describes the two commonly used modes, how to enter the modes, and the resulting
system prompts. The system prompt helps you identify which mode you are in and the commands that
are available to you in that mode.
Command
Purpose
ssh
{
hostname
|
ip_addr
}
Makes an SSH connection from your host to the switch that you
want to access.
Table 2-1
Frequently Used Switch Command Modes
Mode
Description
How to Access
Prompt
EXEC
Enables you to temporarily
change terminal settings,
perform basic tests, and
display system information.
Note
Changes made in this
mode are generally
not saved across
system resets.
At the switch prompt,
enter the required EXEC
mode command.
switch#
Configuration mode
Enables you to configure
features that affect the
system as a whole.
Note
Changes made in this
mode are saved
across system resets
if you save your
configuration.
From EXEC mode, enter
the
configure terminal
command.
switch(config)#
Summary of Contents for N5010P-N2K-BE
Page 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...