Denying interface access

Use the kill [<session-number>] command to terminate a currently running remote session. Interface access is denied when a remote session terminates.

This command 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.

Using the kill command to terminate a remote session

The switch supports up to five management sessions. The show ip ssh command lists the current management sessions. 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: