19-6
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 19 Checking Port Status and Connectivity
Monitoring User Sessions
The
nbits
value specifies the RSA key size. The valid key size range is 512 to 2048 bits. A key size with a
larger number provides higher security but takes longer to generate.
You can enter the optional
force
keyword to regenerate the keys and suppress the warning prompt of
overwriting existing keys.
Monitoring User Sessions
You can display the currently active user sessions on the switch using the
show users
command. The
command output displays all active console port and Telnet sessions on the switch.
To display the active user sessions on the switch, perform this task in privileged mode:
This example shows the output of the
show users
command when local authentication is enabled for
console and Telnet sessions (the asterisk [*] indicates the current session):
Console> (enable)
show users
Session User Location
-------- ---------------- -------------------------
console
telnet sam-pc.bigcorp.com
* telnet jake-mac.bigcorp.com
Console> (enable)
This example shows the output of the
show users
command when authentication is enabled
for console and Telnet sessions:
Console> (enable)
show users
Session User Location
-------- ---------------- -------------------------
console sam
telnet jake jake-mac.bigcorp.com
telnet tim tim-nt.bigcorp.com
* telnet suzy suzy-pc.bigcorp.com
Console> (enable)
This example shows how to display information about user sessions using the
noalias
keyword to
display the IP addresses of connected hosts:
Console> (enable)
show users noalias
Session User Location
-------- ---------------- -------------------------
console
telnet 10.10.10.12
* telnet 10.10.20.46
Console> (enable)
To disconnect an active user session, perform this task in privileged mode:
Task
Command
Display the currently active user sessions on the
switch.
show users
[
noalias
]
Task
Command
Disconnect an active user session on the switch.
disconnect
{
console
|
ip_addr
}