Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
The following example shows starting a Telnet session to connect to a remote device:
switch# telnet 10.10.1.1
Trying 10.10.1.1...
Connected to 10.10.1.1.
Escape character is '^]'.
switch login:
Clearing Telnet Sessions
To clear Telnet sessions from the Cisco Nexus 5000 Series switch, perform this task:
Procedure
PurposeCommand or Action
Displays user session information.switch# show users
Step 1
Clears a user Telnet session.
switch# clear line vty-line
Step 2
Verifying the SSH and Telnet Configuration
To display the SSH configuration information, perform one of the following tasks:
Procedure
PurposeCommand or Action
Displays SSH server key-pair information.switch# show ssh key [dsa | rsa]
Step 1
Displays the SSH and user account configuration in
the running configuration. The all keyword displays
the default values for the SSH and user accounts.
switch# show running-config security
[all]
Step 2
Displays the SSH server configuration.switch# show ssh server
Step 3
Displays user account information.switch# show user-account
Step 4
Default SSH Settings
The following table lists the default settings for SSH parameters.
Table 27: Default SSH Parameters
DefaultParameters
EnabledSSH server
RSA key generated with 1024 bitsSSH server key
1024RSA key bits for generation
EnabledTelnet server
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 277
Configuring SSH and Telnet
Clearing Telnet Sessions