Command-Line Interface on the Cisco CMC

Cisco CMC Command-Line Interface

Command Modes

Interactive Help Feature

History Feature

Error Messages

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


    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.
    Note   

    Use a baud rate of 115200.

    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.

    Table 1 CLI Command Modes

    Command Mode

    Access Method

    Prompt

    Exit Method

    Mode Usage

    Normal

    Log in.

    CMC>

    Issue the quit command.

    • Change terminal settings.

    • Display basic information of the device.

    Tip   

    All the commands that are entered in normal mode can also be used in privilege mode.

    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.

    Table 2 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.

    Table 3  Common CLI Error Messages

    Error Message

    Meaning

    CLI <name of the command> is not supported

    You entered an unsupported command.