Documente Academic
Documente Profesional
Documente Cultură
Command Line
Interface Users
Guide
All ARRIS products are furnished under a license agreement included with the product. If you are unable to locate a
copy of the license agreement, please contact ARRIS.
ARRIS provides this guide without warranty of any kind, implied or expressed, including, but not limited to, the
implied warranties of merchantability and fitness for a particular purpose. ARRIS may make improvements or
changes in the product(s) described in this manual at any time.
ARRIS and the ARRIS logo are all trademarks of ARRIS Enterprises, Inc. Other trademarks and trade names may be
used in this document to refer to either the entities claiming the marks and the names of their products. ARRIS
disclaims proprietary interest in the marks and names of others.
Preface
Scope .............................................................................................................................................. v
Audience......................................................................................................................................... v
Documentation Set ......................................................................................................................... v
Conventions.................................................................................................................................viii
Notes, Cautions, Warnings ............................................................................................................ix
If You Need Help...........................................................................................................................ix
Index
Scope
This document describes how to use the Command Line Interface (CLI) to access,
configure, and manage the ARRIS Broadband Services Router 64000
(BSR 64000).
For detailed information on CLI commands, refer to the BSR 64000 Command
Reference Guide.
Audience
This document is for use by those persons who will configure and manage the
BSR 64000 product. Only trained service personnel should configure and maintain
the BSR 64000.
Documentation Set
The following documents comprise the BSR 64000 documentation set:
Conventions
This document uses the conventions in the following table:
Note: A note contains tips, suggestions, and other helpful information, such
as references to material not contained in the document, that can help you
complete a task or understand the subject matter.
Warning: This symbol indicates that dangerous voltage levels are present
within the equipment. These voltages are not insulated and may be of
sufficient strength to cause serious bodily injury when touched. The symbol
may also appear on schematics.
Telephone Support
If you need assistance while working with the BSR 64000, contact the ARRIS
Technical Assistance Center (TAC):
Online Support
The customer website, http://www.arrisi.com/cc360, is available for BSR customers
to access the latest product information, software updates, troubleshooting
information, and technical publications for the BSR 64000 product line.
You may request access to BSR information by emailing the product support team at
Tac.Helpdesk@ARRISI.com with the following information:
n Company name
n Contact name, phone number, and email address
n ARRIS Support contact
n BSR product under service contract
The BSR product support team will email an invitation to you with further
instructions on how to set up an account.
Introduction
The Command Line Interface (CLI) is the primary user interface for configuring,
monitoring, and maintaining the BSR, including physical layer interfaces and network
protocols. CLI commands are entered through a terminal connected to the BSR. This
document discusses the following topics:
Accessing the Command Line Interface
Using the Command Line Interface
CLI Command Modes
For detailed information on CLI commands, refer to the BSR 64000 Command
Reference Guide.
Access Overview
A console session or Telnet session is used to access the CLI on the BSR. The
following sections describe the procedures for accessing the CLI:
Using a Console Session to Access the CLI
Using a Telnet Session to Access the CLI
Note: If an IP address has not been configured for the Ethernet interface and
a password has not been configured for the BSR, you can not access the
BSR through Telnet. Refer to the BSR 64000 System Administration Guide
for information on setting system passwords, Telnet parameters, and
information on configuring an Ethernet interface.
Overview
The Command Line Interface (CLI) is the user interface for entering commands to
manage the BSR. Features of the CLI are described in the following sections:
Editing and Navigating with the CLI
Disabling and Resetting Commands
Using the Command History
Using Output Modifiers with the Show Command
Getting Help
Creating Command Aliases
For detailed information on CLI commands, refer to the BSR 64000 Command
Reference Guide.
Note: The CLI provides a wraparound feature for commands that extend
beyond a single line on the screen. When the cursor reaches the right
margin, the command line shifts to the left but you can scroll back to the
beginning of the command.
Changing Case
To change a word to all uppercase or lowercase, use the keys in Table 2-4.
Recalling Commands
To recall commands from the history buffer, perform one of the following actions:
Press Ctrl-P or the up arrow key - Use this action to recall commands, displaying
the most recent command first. Repeat the key sequence to display successively
older commands.The up arrow key displays the most recent commands on the
current CLI command mode.
Press Ctrl-N or the down arrow key - After recalling commands, use this action to
display more recent commands. Repeat the key sequence to display successively
more recent commands.
show history command - Enter this command in User EXEC or Privileged EXEC
mode to display the last several commands.
Example
The show cable modem command outputs two spaces between the word cable and
the slot number for single digit slot numbers and outputs one space between the word
"cable" and the slot number for double digit slots:
BSR:7A#show cable modem | include "cable 4/0"
Logical OR and AND expressions can now be included in show commands when
filtering with output modifiers, using the include option. The following syntax is used
for a logical OR expression:
<show command> | include <word> | <word2>
The following syntax is used to a logical AND expression:
<show command> | include <word> | include <word2>
These modifiers can be combined to form longer expressions for filtering. For
example, the following syntax is used to generate the expression ((word OR word2)
AND word3):
<show command> | include <word> | <word2> | include <word3>
The exclude option can also be used, but not for logical OR expressions.
Getting Help
Enter a question mark (?) at the prompt to display a complete list and short
description of the available commands in each command mode. You can enter the
question mark with the complete command or its unique abbreviation. For example,
to obtain help for the show users command, you can enter show users ?.
If the CLI detects an error in the command line, it positions a caret symbol (^) at the
error.
Context-sensitive Help
A list of command-associated keywords and arguments is displayed when using the
context-sensitive help features of the CLI. To get help for a specific command mode,
command, keyword, or argument, use the entries in Table 2-5.
Entry Result
help Displays brief help system description.
<abbreviated command>? Displays commands that begin with the
abbreviated entry. Do not enter a space
before the question mark.
? Lists all commands available for the current
mode.
Entry Result
<command> ? Lists associated keywords for the command.
Be sure to enter a space before the question
mark.
<command> <keyword> ? Lists associated arguments for the keyword.
where:
WORD is the alias name for the command.
The show aliases command displays a list of all aliases:
BSR:7A#show aliases
Examples
1. The following example creates an alias for the enable command, accessible from
the User EXEC mode.
BSR:7A(config)#alias exec en enable
2. This example creates an alias for the router rip command, accessible from the
Global Configuration mode.
BSR:7A(config)#alias conf rr router rip.
For a detailed discussion of the different command line modes, refer to CLI
Command Modes on page 3-1.
If an alias is followed by the same options as the original, unaliased command and can
be extended to the full command by using the "Tab" key. For example:
BSR:7A(config)# scm cp <Tab> ---> show cable modem cpe
Overview
The Command Line Interface (CLI) is organized into different command modes. Each
command mode has its own set of commands available for configuring and
monitoring the BSR and network operations.
EXEC CLI modes are used to navigate the CLI and perform basic BSR startup,
configuration, and monitoring tasks. The EXEC modes are as follows:
User EXEC Mode
Privileged EXEC Mode
Configuration CLI modes allow you to make changes to the BSRs running
configuration. The configuration modes are as follows:
Global Configuration Mode
Interface Configuration Mode
Service Class Configuration Mode
Slot Configuration Mode
PacketCable Configuration Mode
IPSec Configuration Mode
Router Configuration Mode
Route-map Configuration Mode
Note: Any changes made in any CLI mode only remain in effect until you
reboot the system. To make a change permanent, you must save your
running configuration file to the startup configuration file.
Table 3-1 provides details on entering each command mode, the prompt display,
navigating through the command mode hierarchy, and exiting each command mode.
Note: If a Privileged EXEC mode password exists, the CLI prompts you to
enter it to gain access. The case-sensitive password does not appear on the
screen. If no password is set, you must enter Privileged EXEC mode from a
console session.
Use the enable command, from User EXEC mode, to enter Privileged EXEC mode.
You will be prompted to enter a password:
BSR:7A> enable
Password:<password>
where:
password is the password required to enter Privileged EXEC mode.
The system prompt changes to indicate Privileged EXEC mode:
BSR:7A#
Use the disable command to return to User EXEC mode:
BSR:7A# disable
A
service class, 3-5
access, 1-1 slot, 3-5
console, 1-2 summary, 3-8
telnet, 1-3
console access, 1-2
aliases, 2-8
tab completion, 2-9 context-sensitive help, 2-7
Ctrl-A, 2-2
B Ctrl-B, 2-2
N U
navigating command line, 2-2 up arrow key, 2-5
User EXEC mode, 2-5, 3-2
O
OSPF, 3-6
output modifiers, 2-6
P
PacketCable Configuration mode, 3-5
partial command name
completing, 2-3
passwords, 2-2, 3-3
PIM, 3-6