SUMMARY STEPS
1.
show users
2.
clear line vty-line
DETAILED STEPS
Purpose
Command or Action
Displays user session information.
show users
Example:
Step 1
switch# show users
Clears a user SSH session.
clear line vty-line
Example:
Step 2
switch(config)# clear line pts/12
Configuring Telnet
This section describes how to configure Telnet on the Cisco NX-OS device.
Enabling the Telnet Server
You can enable the Telnet server on the Cisco NX-OS device. By default, the Telnet server is disabled.
SUMMARY STEPS
1.
configure terminal
2.
feature telnet
3.
exit
4.
(Optional)
show telnet server
5.
(Optional)
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Step 1
switch# configure terminal
switch(config)#
Enables the Telnet server. The default is disabled.
feature telnet
Example:
Step 2
switch(config)# feature telnet
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
147
Configuring SSH and Telnet
Configuring Telnet