Access Commands

Use these commands to close remote connections or to view information about connections to the system.

disconnect

M4250

M4350

Use the disconnect command to close HTTP, HTTPS, Telnet or SSH sessions. Use all to close all active sessions, or use session-id to specify the session ID to close. To view the possible values for session-id, use the show loginsession command.

Format disconnect {session-id | all}
Mode Privileged EXEC

show loginsession

M4250

M4350

This command displays current Telnet, SSH and serial port connections to the switch. This command displays truncated user names. Use the show loginsession long command to display the complete usernames.

Format show loginsession
Mode Privileged EXEC
Term Definition
ID Login Session ID.
User Name The name the user entered to log on to the system.
Connection From IP address of the remote client machine or EIA-232 for the serial port connection.
Idle Time Time this session has been idle.
Session Time Total time this session has been connected.
Session Type Shows the type of session, which can be HTTP, HTTPS, telnet, serial, or SSH.

show loginsession long

M4250

M4350

This command displays the complete user names of the users currently logged in to the switch.

Format show loginsession long
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch) #show loginsession long
User Name
------------
admin
test1111test1111test1111test1111test1111test1111test1111test1111