Denying interface access by terminating remote management sessions

The switch supports up to five management sessions. show ip ssh lists the current management sessions, and kill terminates a currently running remote session. (kill does not terminate a Console session on the serial port, either through a direct connection or via a modem. It does not affect the console on the standby module.)

Syntax

kill [<session-number>]

For example, if you are using the switch’s serial port for a console session and want to terminate an active Telnet session, you would do the following:

Example of using the kill command to terminate a remote session

Example of using the kill command to terminate a remote session