Using the
Command-Line Interface on the
Cisco CMC
This chapter provides information about using the command-line interface for Cisco Coaxial Media Converter (CMC).
- Accessing the Cisco CMC Command-Line Interface
- Understanding Command Modes
- Using the Interactive Help Feature
- Using the Command History Feature
- Understanding CLI Error Messages
Accessing the Cisco CMC Command-Line Interface
Step 1 | Open the
Cisco CMC lid and connect the console cable
from the computer to the
Cisco CMC console port. For more information,
see
Cisco Remote-PHY Solution
Installation and Configuration Guide.
| ||
Step 2 | Log in to the Cisco CMC console using telnet. |
What to Do Next
After using the console, disconnect the console cable from the Cisco CMC and close the lid. For more information, see Cisco Remote-PHY Solution Installation and Configuration Guide.
Understanding Command Modes
The CLI command mode structure is hierarchical, and each mode supports a set of specific commands. This section describes the command modes that exist on the Cisco CMC.
The table below lists the command modes with associated CLI prompts, access and exit methods, and a brief description of how each mode is used.
Command Mode |
Access Method |
Prompt |
Exit Method |
Mode Usage |
||
---|---|---|---|---|---|---|
Normal |
Log in. |
CMC> |
Issue the quit command. |
|
||
Privilege |
From the normal mode, issue the enable command. |
CMC# |
Issue the quit command to return to the normal mode. |
Display detailed status and log information of the device. |
||
U-Boot |
Press Ctrl + C when the Cisco CMC is rebooting. |
BOOT> |
Issue reset command to restart the Cisco CMC. |
When the Cisco CMC does not power up normally, enter U-Boot mode and download a new image on the Cisco CMC. |
Using the Interactive Help Feature
The CLI includes an interactive Help feature. The table below describes the purpose of the CLI interactive Help commands.
Command |
Purpose |
---|---|
help |
Provides a brief description of the command and its usage. |
? |
Provides a brief description of the command and its usage. |
partial command<Tab> |
Completes a partial command name (no space between the command and <Tab>). |
The following examples show how to use the help commands:
help
CMC> help
?
CMC# ?
partial command<Tab>
CMC> show sys<Tab> show system
Using the Command History Feature
The command history feature saves, in a command history buffer, the commands that you enter during a session. This command history feature is particularly useful for recalling long or complex commands. After you return to the Cisco CMC welcome interface, the command history is cleared.
Understanding CLI Error Messages
You may encounter some error messages while using the CLI. The table below shows the common CLI error messages.
Error Message |
Meaning |
---|---|
CLI <name of the command> is not supported |
You entered an unsupported command. |