Accessing The Cli; Accessing The Cli Through A Console Connection Or Through Telnet - Cisco WS-C3750-48PS-S Software Configuration Manual

Network switch
Table of Contents

Advertisement

Chapter 2
Using the Command-Line Interface

Accessing the CLI

You can access the CLI through a console connection, through Telnet, or by using the browser.
You manage the switch stack and the stack member interfaces through the stack master. You cannot
manage stack members on an individual switch basis. You can connect to the stack master through the
console port of one or more stack members. Be careful with using multiple CLI sessions to the stack
master. Commands you enter in one session are not displayed in the other sessions. Therefore, it is
possible to lose track of the session from which you entered commands.
We recommend using one CLI session when managing the switch stack.
Note
If you want to configure a specific stack member port, you must include the stack member number in the
CLI command interface notation. For more information about interface notations, see the
Interface Configuration Mode" section on page
To debug a specific stack member, you can access it from the stack master by using the session
stack-member-number privileged EXEC command. The stack member number is appended to the system
prompt. For example,
the system prompt for the stack master is
a CLI session to a specific stack member.

Accessing the CLI through a Console Connection or through Telnet

Before you can access the CLI, you must connect a terminal or PC to the switch console port and power
on the switch as described in the hardware installation guide that shipped with your switch. Then, to
understand the boot process and the options available for assigning IP information, see
"Assigning the Switch IP Address and Default Gateway."
If your switch is already configured, you can access the CLI through a local console connection or
through a remote Telnet session, but your switch must first be configured for this type of access. For
more information, see the
You can use one of these methods to establish a connection with the switch:
After you connect through the console port, through a Telnet session or through an SSH session, the
user EXEC prompt appears on the management station.
78-16180-02
Switch-2#
"Setting a Telnet Password for a Terminal Line" section on page
Connect the switch console port to a management station or dial-up modem. For information about
connecting to the console port, refer to the switch hardware installation guide.
Use any Telnet TCP/IP or encrypted Secure Shell (SSH) package from a remote management
station. The switch must have network connectivity with the Telnet or SSH client, and the switch
must have an enable secret password configured.
For information about configuring the switch for Telnet access, see the
for a Terminal Line" section on page
Changes made by one Telnet user are reflected in all other Telnet sessions.
For information about configuring the switch for SSH, see the
Shell" section on page
9-37. The switch supports up to five simultaneous secure SSH sessions.
11-7.
is the prompt in privileged EXEC mode for stack member 2, and where
. Only the show and debug commands are available in
Switch
9-6. The switch supports up to 16 simultaneous Telnet sessions.
Catalyst 3750 Switch Software Configuration Guide
Accessing the CLI
"Using
Chapter 4,
9-6.
"Setting a Telnet Password
"Configuring the Switch for Secure
2-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750

Table of Contents