|
This chapter provides a summary of the command-line interface (CLI) commands included in the Cisco Application and Content Networking Software Command Reference. The command summary tables are grouped alphabetically in five categories: user-level EXEC commands, privileged-level EXEC commands, global configuration commands, interface configuration commands, and show EXEC commands. The CLI can be accessed through the console port or Telnet.
ACNS software commands are not case sensitive. You can abbreviate commands and parameters as long as they contain enough letters to be different from any other currently available commands or parameters. You can scroll through the last 20 commands stored in the history buffer and enter or edit the command at the prompt. (See Table 1-1.)
Table 1-1 Command-Line Processing Keystroke Combinations
1The arrow keys function only on ANSI-compatible terminals such as VT100s. |
The two EXEC access levels are privileged and user. The enable and disable commands switch between the two levels. The user-level EXEC command line is available to users if they enter a valid password. The user-level EXEC commands are a subset of the privileged-level EXEC commands. The user-level EXEC prompt is the host name followed by a right angle bracket (>). The prompt for the privileged-level EXEC command line is the pound sign (#). To execute an EXEC command, enter the command at the EXEC system prompt and press the Return key. In the following example, a user accesses the privileged-level EXEC command line from the user level.
Use the Delete or Backspace key sequences to edit commands when you type commands at the EXEC prompt.
As a shortcut, you can abbreviate commands to the fewest letters that make them unique. For example, the letters sho can be entered for the show command.
Certain EXEC commands display multiple screens with the following prompt at the bottom of the screen:
Press the Spacebar to continue the output, or press Return to display the next line. Press any other key to return to the prompt. Also, at the --More-- prompt, you can enter a ? to display the help message.
To leave EXEC mode, use the exit command at the system prompt:
Domain configuration mode allows you to configure the Content Engine as a content routing agent for specific domains. To enter domain configuration mode, use the boomerang dns global configuration command. You must be in domain configuration mode to enter domain configuration commands.
To exit domain configuration mode, use the end global configuration command:
You can also exit domain configuration mode by entering the exit command or by pressing Ctrl-Z.
Note For a description of how to configure the Content Engine as a content routing agent, refer to the Cisco Cache Software Configuration Guide, Release 2.5. For more information about the boomerang content routing process, refer to the Cisco Content Routing Software Configuration Guide and Command Reference. |
To enter the global configuration mode, use the configure EXEC command. You must be in global configuration mode to enter global configuration commands.
To exit global configuration mode, use the end global configuration command:
You can also exit global configuration mode by entering the exit command or by pressing Ctrl-Z.
To enter interface configuration mode, use the interface global configuration command. The following example demonstrates how to enter interface configuration mode:
The interface configuration commands are:
These commands are described in the "Interface Configuration Command Summary" section.
To exit interface configuration mode, enter exit to return to global configuration mode:
The user interface provides error isolation in the form of an error indicator, a caret symbol (^). The ^ symbol appears at the point in the command string where you have entered an incorrect command, keyword, or argument.
In the following example, suppose you want to set the clock. Use context-sensitive help to check the syntax for setting the clock.
The help output shows that the set keyword is required. Check the syntax for entering the time:
Enter the current time in 24-hour format with hours, minutes, and seconds separated by colons:
The system indicates that you need to provide additional arguments to complete the command. Press the Up Arrow to automatically repeat the previous command entry. Then add a space and question mark (?) to display the additional arguments:
Enter the day and month as prompted and use the question mark for additional instructions.
Now you can complete the command entry by entering the year:
The caret symbol (^) and help response indicate an error with the 00 entry. To display the correct syntax, press Ctrl-P or the Up Arrow. You can also reenter the command string, and then enter a space character, a question mark, and press Enter:
Enter the year using the correct syntax and press Return to execute the command:
You can obtain help when you enter commands by using the following methods:
To avoid losing new configurations, save them to NVRAM using the copy or write commands, as shown in the following example:
See the command description for the copy running-config startup-config command for more information on "running" and "saved" configuration modes.
The EXEC commands are entered in the EXEC mode. Table 1-2 lists the user-level EXEC commands. Table 1-3 lists the privileged-level EXEC commands.
Table 1-3 ACNS Software Privileged-Level EXEC Commands