Disable a Serial Console Port
For security reasons, it may be necessary at times to disable a serial console port.
WARNING: Before you disable a serial console port, make sure you have Web (HTTPS) or SSH connections in order to enable the port at a later time.
The following example shows the CLI command to disable a serial console port:
(config) # no serial ?enable
Disable serial console access
(config) # no serial enable
The following confirmation message displays:
Disable serial console will make serial connection unusable.
Only use this config command when you have available ssh connections.
Enter ‘YES’ to confirm this operation:
Typing YES displays the following message:
Enter ‘YES’ to confirm this operation: YES
Serial Console disabled.