--- title: "Enabling or Disabling Console CLI through Serial Port" slug: "enabling-or-disabling-console-cli-through-serial-port" tags: ["CLI", "flex 22.01", "flex 100", "flex 25"] updated: 2024-07-10T14:55:30Z published: 2024-09-03T19:23:37Z canonical: "docs.crossworkassurance.cisco.com/enabling-or-disabling-console-cli-through-serial-port" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # Enabling or Disabling Console CLI through Serial Port This article explains how to configure the console port; more precisely, to enable or disable console CLI through the serial port as well as display the current information stored in non-volatile random-access memory (NVRAM). --- ***Note:** To log in, enter your username (default is root) and password (default is admin123).* --- **To enable or disable console CLI through serial port** 1. Execute the following command to enable console CLI through the serial port. ``` Your Product# cli console ``` 1. View the console CLI status using the following show command. ``` Your Product# show nvram ``` ## About Commands ### cli console **Command Objective** This command enables the console CLI through a serial port. The no form of the command disables console CLI. **Syntax** ``` cli console ``` ``` no cli console ``` **Mode** Privileged EXEC Mode **Default** Enabled --- ***Note**: This command takes effect only on system restart.* --- ### show nvram **Command Objective** This command displays the current information stored in the NVRAM. **Syntax** ``` show nvram ``` **Mode** Privileged EXEC Mode **Package** Workgroup, Enterprise Metro and Metro_E **Sample Output** ``` Your Product# show nvram ``` Default IP Address : 20.0.0.1 Default Subnet Mask : 255.0.0.0 Default IP Address Config Mode : Dynamic Default IP Address Allocation Protocol : BOOTP Switch Base MAC Address : 00:89:fe:34:55:33 Default Interface Name : Gi0/1 Default RM Interface Name : int1 Config Restore Option : No restore Config Save Option : No save Auto Save : Enable Incremental Save : Enable Roll Back : Enable Config Save IP Address : 0.0.0.0 Config Save Filename : YourProduct.conf Config Restore Filename : /home/automation/code/future/LR/switch1/restore.conf PIM Mode : Sparse Mode IGS Forwarding Mode : MAC based Cli Serial Console : Yes SNMP EngineID : 80.00.08.1c.04.46.53 SNMP Engine Boots : 42 Default VLAN Identifier : 1 Stack PortCount : 0 ColdStandby : Disable Store Default Value : Disable Vrf Unique Mac : Enable Hitless Restart Flag : Disable Hardware Version : 5.9.1 Firmware Version : 6.7.2 Hardware Part Number : 1-0-0 Software Serial Number : 1-0-0 Software Version : 7.2.0 Switch Name : default RM Heart Beat Mode : Internal RM Redundancy Type : Cold RM Data Plane Type : Shared RM Type : OOB NPAPI mode : Synchronous TimeStamp Method : Software Restore Flag : Enabled Dynamic Port Count : 24 FIPS operation mode : Disabled Restore Option : Disabled Bridge Mode : Customer Bridge Debugging Log File Location : /home/twg Management Port : Disabled Automatic Port Create Flag : Disabled Restore Type : CSR IMG_DUMP_PATH : /home/twg/ **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)