Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
CHAPTER 2
Using the Command-Line Interface
This chapter describes how to use the command-line interface of the Cisco Nexus 5000 Series switch. It
contains the following sections:
• Accessing the Command Line Interface, page 15
• Using the CLI, page 17
• Using Commands, page 22
• Using CLI Variables, page 24
• Using Command Aliases , page 26
• Defining Command Aliases , page 26
• Command Scripts, page 26
Accessing the Command Line Interface
You can connect to the switch using a terminal plugged into the console port.
You can also connect to the switch with Telnet or SSH. The switch supports up to eight simultaneous Telnet
and SSH connections. To connect with Telnet or SSH, you need to know the hostname or IP address of the
switch.
Telnet Connection
You can make a Telnet connection to a Cisco Nexus 5000 Series switch.
Before You Begin
Correctly set the console port parameters.
Procedure
Step 1
Make a Telnet connection from your host to the switch that you want to access.
host$ telnet {hostname | ip-addr}
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 15