Configuring Serial Management Port Dropping

Configure the serial management ports to drop a connection that is interrupted for any reason. If you enable serial port dropping, the serial management ports drop the connection for the following reasons:

  • modem power failure

  • link disconnection

  • loss of the carrier

Serial ports interrupted due to link disconnection, power failure, or other reasons force out the user and end the user session. Ending the user session ensures a maintenance port is not available with an active session that can allow unauthorized use by someone other than the authenticated user, and prevents the physical hijacking of an active session by unplugging the connected cable and plugging in another.

By default, the feature is disabled with enhanced secure mode disabled. If enhanced secure mode is enabled, the default is enabled.

For more information on enhanced secure mode, see Enabling enhanced secure mode.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the serial port to drop if a connection is interrupted:

    sys security-console

Example

Configure the serial port to drop if a connection is interrupted:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#sys security-console