Sunteți pe pagina 1din 38

BSR 64000

Command Line
Interface Users
Guide

Document ID: 365-095-27191 Version 1


Release 8.0.0
Notice
ARRIS Enterprises, Inc. 2014 All rights reserved. No part of this publication may be reproduced in any form or by
any means or used to make any derivative work (such as translation, transformation, or adaptation) without written
permission from ARRIS Enterprises, Inc. (ARRIS). ARRIS reserves the right to revise this publication and to make
changes in content from time to time without obligation on the part of ARRIS to provide notification of such revision
or change. The capabilities, system requirements, and/or compatibility with third-party products described herein are
subject to change without notice.

EXCEPT AS INDICATED IN THE APPLICABLE SYSTEM PURCHASE AGREEMENT, THE SYSTEM,


DOCUMENTATION AND SERVICES ARE PROVIDED "AS IS", AS AVAILABLE, WITHOUT WARRANTY OF
ANY KIND. ARRIS GROUP, INC. (ARRIS) DOES NOT WARRANT THAT THE SYSTEM WILL MEET
CUSTOMER'S REQUIREMENTS, OR THAT THEIR OPERATION WILL BE UNINTERRUPTED OR
ERROR-FREE, OR THAT ANY ERRORS CAN OR WILL BE FIXED. ARRIS HEREBY DISCLAIMS ALL
OTHER WARRANTIES, EXPRESS OR IMPLIED, ORAL OR WRITTEN, WITH RESPECT TO THE SYSTEM
AND SERVICES INCLUDING, WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF TITLE,
NON-INFRINGEMENT, INTEGRATION, MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
PURPOSE AND ALL WARRANTIES ARISING FROM ANY COURSE OF DEALING OR PERFORMANCE OR
USAGE OF TRADE.
EXCEPT AS INDICATED IN THE APPLICABLE SYSTEM PURCHASE AGREEMENT, ARRIS SHALL NOT
BE LIABLE CONCERNING THE SYSTEM OR SUBJECT MATTER OF THIS DOCUMENTATION,
REGARDLESS OF THE FORM OF ANY CLAIM OR ACTION (WHETHER IN CONTRACT, NEGLIGENCE,
STRICT LIABILITY OR OTHERWISE), FOR ANY (A) MATTER BEYOND ITS REASONABLE CONTROL, (B)
LOSS OR INACCURACY OF DATA, LOSS OR INTERRUPTION OF USE, OR COST OF PROCURING
SUBSTITUTE TECHNOLOGY, GOODS OR SERVICES, (C) INDIRECT, PUNITIVE, INCIDENTAL,
RELIANCE, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED
TO, LOSS OF BUSINESS, REVENUES, PROFITS OR GOODWILL, OR (D) DIRECT DAMAGES, IN THE
AGGREGATE, IN EXCESS OF THE FEES PAID TO IT HEREUNDER FOR THE SYSTEM OR SERVICE
GIVING RISE TO SUCH DAMAGES DURING THE 12-MONTH PERIOD PRIOR TO THE DATE THE CAUSE
OF ACTION AROSE, EVEN IF COMPANY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. THESE LIMITATIONS ARE INDEPENDENT FROM ALL OTHER PROVISIONS OF THIS
AGREEMENT AND SHALL APPLY NOTWITHSTANDING THE FAILURE OF ANY REMEDY PROVIDED
HEREIN.

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.

Document ID: 365-095-27191 Version 1


Release 8.0.0
Published: 10/14
Contents

Preface
Scope .............................................................................................................................................. v
Audience......................................................................................................................................... v
Documentation Set ......................................................................................................................... v
Conventions.................................................................................................................................viii
Notes, Cautions, Warnings ............................................................................................................ix
If You Need Help...........................................................................................................................ix

1 Accessing the Command Line Interface


Introduction ................................................................................................................................1-1
Access Overview.........................................................................................................................1-1
Using a Console Session to Access the CLI ..............................................................................1-2
Using a Telnet Session to Access the CLI ..................................................................................1-3

2 Using the Command Line Interface


Overview .....................................................................................................................................2-1
Editing and Navigating with the CLI .........................................................................................2-2
Moving the Cursor on the Command Line ......................................................................2-2
Partial Command Names .................................................................................................2-3
Deleting Command Line Entries .....................................................................................2-3
Scrolling Down a Line or a Screen ..................................................................................2-4
Changing Case .................................................................................................................2-4
Disabling and Resetting Commands ..........................................................................................2-4
Using the Command History ......................................................................................................2-5

Document ID: 365-095-27191 Version 1 iii


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Setting the Command History Buffer Size ......................................................................2-5


Recalling Commands .......................................................................................................2-5
Disabling the Command History Feature ........................................................................2-6
Using Output Modifiers with the Show Command ....................................................................2-6
Getting Help ...............................................................................................................................2-7
Context-sensitive Help ....................................................................................................2-7
Creating Command Aliases ........................................................................................................2-8
Tab Completion of Command Aliases ............................................................................2-9

3 CLI Command Modes


Overview .....................................................................................................................................3-1
User EXEC Mode .......................................................................................................................3-2
Privileged EXEC Mode ..............................................................................................................3-3
Global Configuration Mode .......................................................................................................3-3
Interface Configuration Mode ....................................................................................................3-4
Service Class Configuration Mode ............................................................................................3-5
Slot Configuration Mode ............................................................................................................3-5
PacketCable Configuration Mode ..............................................................................................3-5
IPSec Configuration Mode .........................................................................................................3-6
Router Configuration Mode .......................................................................................................3-6
Route-map Configuration Mode ................................................................................................3-7
Cable Spectrum Group Mode .....................................................................................................3-7
Command Mode Summary .........................................................................................................3-8

Index

iv Document ID: 365-095-27191 Version 1


Preface

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:

n BSR 64000 Quick Start Guide


The quick start guide provides a "roadmap" to the tasks involved in physically
installing the BSR 64000 product, physically connecting it to your network/HFC
infrastructure, and performing configuration tasks to enable the BSR 64000 to
operate in your networking environment.

Document ID: 365-095-27191 Version 1 v


BSR 64000 Command Line Interface Users Guide Release 8.0.0

n BSR 64000 Chassis Installation Guide


This guide provides detailed instructions for physically installing the BSR 64000
product including: procedures for rack mounting, making physical network cable
connections, connecting DC power, and for determining the status of the BSR
64000 after applying power to it. This document also provides a description of the
BSR 64000 chassis, its hardware components and modules.
n BSR 64000 Module Installation Guide
This guide contains procedures for installing additional and replacement
Resource and I/O Modules in a BSR 64000 chassis and for making physical cable
connections to the modules.
n BSR 64000 Command Line Interface Users Guide
For users, this guide describes the structure of the BSR 64000 Command Line
Interface (CLI) and its various command modes. It also provides rules and
guidelines for navigating through the CLI.
n BSR 64000 Command Reference Guide
This guide contains individual descriptions of the entire set of commands that
comprise the BSR 64000 Command Line Interface (CLI). These commands are
used to interface with, configure, manage, and maintain the BSR 64000.
n BSR 64000 System Administration Guide
For system administrators, this guide provides detailed procedures for performing
initial configuration tasks including setting up: user accounts and passwords;
telnet and console access; system logging; and associated servers such as DHCP,
DNS, etc.
n BSR 64000 CMTS Configuration and Management Guide
This guide provides the instructions and procedures for configuring and
managing BSR 64000 CMTS operation.
n BSR 64000 Routing Configuration and Management Guide
This guide contains the instructions and procedures for configuring and managing
BSR 64000 routing operation, including RIP, OSPF, and BGP.

vi Document ID: 365-095-27191 Version 1


Release 8.0.0 Preface

n BSR 64000 SNMP Configuration and Management Guide


This guide provides the instructions and procedures for configuring and
managing BSR 64000 Simple Network Management Protocol (SNMP) operation.
It also describes SNMP MIBs; provides information that describes standard and
proprietary MIB support; describes how to walk MIBs; and how to compile and
load SNMP MIBs.
n BSR 64000 BGP/MPLS VPN Configuration Guide
This guide provides the instructions and procedures for configuring and
managing the BSR 64000 to support and implement Border Gateway Protocol/
MultiProtocol Label Switching Virtual Private Networks (BGP/MPLS VPNs).
n BSR 64000 Troubleshooting Guide
This guide contains instructions and procedures for troubleshooting typical
configuration problems that might be encountered using the BSR 64000. It also
offers suggestions for information to record, and have available should the need
arise to call ARRIS support for assistance with BSR 64000 operational problems.
n BSR 64000 Release Notes
These documents are specific to each release of the BSR 64000 product (software
and hardware). Release notes provide information about features not documented
or incorrectly documented in the main documentation set; known problems and
anomalies; product limitations; and problem resolutions.

Document ID: 365-095-27191 Version 1 vii


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Conventions
This document uses the conventions in the following table:

Convention Example Explanation


angle brackets < > ping <ip-address> Arguments in italic and enclosed by angle
ping 54.89.145.71 brackets must be replaced by the text the
argument represents. In the example,
54.89.145.71 replaces <ip-address>. When
entering the argument, do not type the angle
brackets.
bar brackets [ ] disable [level] Bar brackets enclose optional arguments. The
example indicates you can use the disable
command with or without specifying a level.
Some commands accept more than one
optional argument. When entering the
argument, do not type the bar brackets.
bold text cable relay-agent-option Boldface text must be typed exactly as it
appears.
brace brackets {} page {on | off} Brace brackets enclose required text. The
example indicates you must enter either on or
off after page. The system accepts the
command with only one of the parameters.
When entering the text, do not type the brace
brackets.
italic text boot system <filename> Italic type indicates variables for which you
supply values in command syntax descriptions.
It also indicates file names, directory names,
document titles, or emphasized text.
screen display Wed June 16 17:01:03 This font indicates system output.
2014
vertical bar | page {on | off} A vertical bar separates the choices when a
parameter is required. The example indicates
you can enter either command:
page on or page off
When entering the parameter, do not type the
vertical bar or the brace brackets.

viii Document ID: 365-095-27191 Version 1


Release 8.0.0 Preface

Notes, Cautions, Warnings


The following icons and associated text may appear in this document.

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.

Caution: The exclamation point, within an equilateral triangle, is intended to


alert the user to the presence of important installation, servicing, and
operating instructions in the documents accompanying the equipment.

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.

If You Need Help


Support for your BSR 64000 hardware and software is available via telephone and the
Internet.

Telephone Support
If you need assistance while working with the BSR 64000, contact the ARRIS
Technical Assistance Center (TAC):

U.S. 1-888-944-HELP (1-888-944-4357)


International +1-215-323-2345
Spanish language support 215-323-2346

The ARRIS TAC is on call 24 hours a day, 7 days a week.


When calling for technical support, please have the following information available:
n Your customer information, including location, main contact, and telephone
number

Document ID: 365-095-27191 Version 1 ix


BSR 64000 Command Line Interface Users Guide Release 8.0.0

n BSR product and modules


n Detailed description of the issue
n Specific information to assist with resolving the problem, including:
BSR hostname
BSR error messages and logs
Output of BSR show tech command
Cable modem information
n List of troubleshooting steps you have performed before calling the TAC.
n Current state of your BSR 64000 product
n Severity of the issue you are reporting
When calling for repair or Advanced Component Exchange (ACE) replacement,
please provide the following additional information:
n Output of BSR show version command, with part numbers and serial numbers of
BSR components
n Shipping information for the replacement, including contact name, company
name, address, phone number, and email address

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.

x Document ID: 365-095-27191 Version 1


1
Accessing the Command Line
Interface

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

Document ID: 365-095-27191 Version 1 1-1


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Using a Console Session to Access the CLI


This section describes accessing the CLI by connecting a terminal or PC with terminal
emulation software to the console port on the BSR. The BSR supports one CLI
session through its console port. Before connecting to the BSR through a console
session, the following prerequisites must be met:
The terminal application on the terminal or PC uses COM port 1 or 2.
A physical connection exists between the BSR and the terminal or PC.
The console settings for the terminal or PC are set as shown in Table 1-1:

Table 1-1 Console Settings

Console Parameter Setting


Baud Rate 9600
Data Bits 8
Flow Control None
Parity None
Stop Bits 1

To start a console CLI session, do the following:


1. Connect to the BSR. The console session begins. The following prompt displays:
BSR:7A>
2. Enter the enable command and press the Enter key.
BSR:7A>enable <Enter>
3. A Password: prompt displays. Enter the password and press the Enter key to
access Privileged EXEC mode. The following prompt displays:
BSR:7A#
For a detailed discussion of the different command line modes, refer to CLI
Command Modes on page 3-1.

1-2 Document ID: 365-095-27191 Version 1


Release 8.0.0 Accessing the Command Line Interface

Using a Telnet Session to Access the CLI


This section describes accessing the CLI by establishing a Telnet session to the BSR.

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.

To establish a Telnet session with the BSR, follow these steps:


1. Start the Telnet application. Enter the host name or the IP address of the BSR in
the appropriate field or system prompt.
2. Press Enter. The following prompt displays:
BSR:7A>
3. Enter the enable command and press the Enter key.
BSR:7A>enable <Enter>
This brings you to the Privileged EXEC mode. A Password: prompt displays.
4. Enter the password and press the Enter key to access Privileged EXEC mode.
The following prompt displays:
BSR:7A#
5. To terminate the Telnet connection and exit the Telnet application, enter exit at
the prompt in Privileged EXEC mode.
For a detailed discussion of the different command line modes, refer to CLI
Command Modes on page 3-1.

Document ID: 365-095-27191 Version 1 1-3


2
Using the Command Line
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.

Document ID: 365-095-27191 Version 1 2-1


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Editing and Navigating with the CLI


This section describes editing and navigating the command line through the CLI with
the various CLI functions. The following general rules apply to using the CLI:
You can enter CLI commands in uppercase, lowercase, or a combination of cases.
Passwords and some identifiers, such as file names or route maps, are case
sensitive.
You can abbreviate commands and keywords to a minimum number of characters
that represent a unique abbreviation.
This section describes how to do the following:
Moving the Cursor on the Command Line
Partial Command Names
Deleting Command Line Entries
Scrolling Down a Line or a Screen
Changing Case

Moving the Cursor on the Command Line


Table 2-1 describes the key sequences to move the cursor on the command line to
make corrections or changes, or scroll back to the beginning of the command line.

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.

Table 2-1 Cursor Movement Keys

Pressing ... Function


Ctrl-B Moves the cursor backward one character.
Left Arrow Moves the cursor backward one character. The
cursor must be on a character.
Right arrow Moves the cursor forward one character. The
cursor must be on a character.
Ctrl-A Repositions the cursor to the beginning of the
command line.

2-2 Document ID: 365-095-27191 Version 1


Release 8.0.0 Using the Command Line Interface

Table 2-1 Cursor Movement Keys

Pressing ... Function


Ctrl-E Repositions the cursor to the end of the
command line.
Esc B Moves the cursor back one word.
Esc F Moves the cursor forward one word.

Partial Command Names


Press the Tab key to complete a partial entry. Entering the first few letters of a
command and pressing the Tab key completes the command name on the command
line. For example:
BSR:7A>his <Tab>
results are:
BSR:7A>history

Deleting Command Line Entries


Table 2-2 describes the key sequences to delete command entries.

Table 2-2 Deletion Keys

Press ... Function


Backspace key Erases the character to the left of the cursor.
Ctrl-W Deletes the word to the left of the cursor.
Delete key Erases the character to the left of the cursor.
Esc D Deletes the word to the left of the cursor.

Document ID: 365-095-27191 Version 1 2-3


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Scrolling Down a Line or a Screen


Using commands available in a particular mode may result in a screen output longer
than the screen can display. If the more prompt appears at the bottom of a screen, this
indicates that additional information is available. Use the keys in Table 2-3 to scroll
down and view this information.

Table 2-3 Scroll Keys

Press ... Function


Enter key Scrolls down one line.
Space bar Scrolls down one screen.

Changing Case
To change a word to all uppercase or lowercase, use the keys in Table 2-4.

Table 2-4 Case Control Keys

Press ... Function


Esc L Changes the word to the left of the cursor to
lowercase.
Esc U Changes the word to the left of the cursor to
uppercase.

Disabling and Resetting Commands


The no form of a command disables the command or resets the command to the
default value. The command without the keyword no re-enables a disabled feature or
enables a feature that is disabled by default. For example, IP routing is enabled by
default. To disable IP routing, use the no ip routing command. To re-enable IP
routing, use the ip routing command.

2-4 Document ID: 365-095-27191 Version 1


Release 8.0.0 Using the Command Line Interface

Using the Command History


The CLI provides a record or history of command entries. This feature recalls long or
complex commands, or entries including access lists. This section describes using the
command history feature to complete the following tasks:
Setting the Command History Buffer Size
Recalling Commands
Disabling the Command History Feature

Setting the Command History Buffer Size


By default, the history buffer stores ten command lines. To change the number of
stored command lines for the current terminal session, use the history size command
in User EXEC or Privileged EXEC mode:
BSR:7A>history size <1-256>
where:
1-256 is the number of lines of the history buffer.

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.

Note: The arrow keys function is available only on ANSI-compatible


terminals, such as VT100s.

Document ID: 365-095-27191 Version 1 2-5


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Disabling the Command History Feature


The command history feature is automatically enabled. To disable the command
history feature during the current session, use the no history command in User EXEC
or Privileged EXEC mode:
BSR:7A>no history

Using Output Modifiers with the Show Command


Filters or "output modifiers" display specific show command information using the
"pipe" character ( | ) and entering the begin, exclude, include, count, or count-only
parameters. Output modifier syntax is the same for all show commands. The
following is the command syntax, including output modifier syntax, for the show ip
ospf command:
BSR:7A#show ip ospf network [ | {begin | exclude | include} {<WORD>}
[ | {count | count-only}]]
where:
| turns on filters.
begin indicates to start with the line that matches.
exclude excludes lines that match.
include includes lines that match.
WORD is the text string to match. If the <WORD> to be matched has more than
one space character in a row, then the entire text string must be surrounded by
quotation marks and any imbedded space characters in the string to be matched
must be included as part of the <WORD>.
count counts the number of outputted lines.
count-only counts the number of lines while suppressing screen output.

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"

2-6 Document ID: 365-095-27191 Version 1


Release 8.0.0 Using the Command Line Interface

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.

Table 2-5 Context-sensitive Help Details

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.

Document ID: 365-095-27191 Version 1 2-7


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Table 2-5 Context-sensitive Help Details

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.

Creating Command Aliases


This section describes creating an alias for a command.
The alias exec command, used in Global Configuration mode, creates an alias for
a User EXEC mode command:
BSR:7A(config)#alias exec {<WORD> <WORD>}
where:
WORD is the alias name for the command.
WORD is the name of the command being replaced by the alias.
The alias priv command, used in Global Configuration mode, creates an alias for
a Privileged EXEC mode command:
BSR:7A(config)#alias priv {<WORD> <WORD>}
where:
WORD is the alias name for the command.
WORD is name of the command being replaced by the alias.
The alias conf command, used in Global Configuration mode, creates an alias for
a Global Configuration mode command:
BSR:7A(config)#alias conf {<WORD> <WORD>}
where:
WORD is the alias name for the command.
WORD is the name of the command being replaced by the alias.
The no alias command deletes an alias:
BSR:7A(config)#no alias [exec | priv | conf] <WORD>

2-8 Document ID: 365-095-27191 Version 1


Release 8.0.0 Using the Command Line Interface

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.

Tab Completion of Command Aliases


Command line aliases support tab completion/expansion of aliases. For example, if an
alias for the show cable modem command is created to be aliased as "scm", then the
following will be allowed.
BSR:7A(config)# scm cpe
BSR:7A(config)# scm mac30

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

Displaying help when using aliases is now supported. For example:


BSR:7A(config)# scm ?
<cm-mac> Mac address in the form of xxxx.xxxx.xxxx
<prefix> IP address
X/Y where X = 3 4 9 10
all-vrfs All vrfs
cpe Customer premises equipment
detail Detail information
(and so on).

Document ID: 365-095-27191 Version 1 2-9


3
CLI Command Modes

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

Document ID: 365-095-27191 Version 1 3-1


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Cable Spectrum Group Mode


You initially begin a CLI session in User EXEC mode, which has a limited set of
commands. To have access to all EXEC commands, you must enter Privileged EXEC
mode which is usually password protected. From Privileged EXEC mode, you can
access Global Configuration mode, the gateway to all other configuration modes.

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.

User EXEC Mode


When you first access the CLI, you are initially in the User EXEC mode indicated by
the BSR:7A> prompt. User EXEC commands are a limited subset of commands in the
next CLI level (Privileged EXEC mode). User EXEC commands allow you to
perform basic tests and list system information.

3-2 Document ID: 365-095-27191 Version 1


Release 8.0.0 CLI Command Modes

Privileged EXEC Mode


Privileged EXEC mode includes the commands in User EXEC mode, additional
system configuration commands, and the configure command. The configure
command serves as a gateway to access the remaining command modes and
high-level testing commands, such as debugging commands. The Privileged EXEC
mode is indicated by the BSR:7A# prompt.

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

Global Configuration Mode


Global Configuration commands apply to features that affect the entire system. These
commands enable system features and routing functions. Use the configure
command, from Privileged EXEC mode, to enter Global Configuration mode:
BSR:7A# configure
The system prompt changes to indicate Global Configuration mode:
BSR:7A(config)#
To exit Global Configuration mode and return to Privileged EXEC, enter the exit or
end commands or press Ctrl-Z.

Document ID: 365-095-27191 Version 1 3-3


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Interface Configuration Mode


Interface Configuration commands modify the operation of an interface, such as an
Ethernet port, and allow you to enable features on a per-interface basis. Interface
Configuration mode is available for cable, Ethernet, GigaEthernet, loopback, and
tunnel interface types.
Use the interface command, from Global Configuration mode, to enter Interface
Configuration mode for a interface:
BSR:7A(config-if)#interface {cable <X/Y> | ethernet <X/Y> | gigaether <X/Y>
| loopback <1-255> | tunnel <0-255>}
where:
cable X/Y enters Interface Configuration mode for configuring the CMTS module
in slot X and the MAC domain specified by Y.
ethernet X/Y enters Interface Configuration mode for configuring the Ethernet
module in slot X and the port specified by Y.
gigaether X/Y enters Interface Configuration mode for configuring the Gigabit
Ethernet module in slot X and the port specified by Y.
loopback 1-255 enters Interface Configuration mode for configuring the
loopback interface.
tunnel 0-255 enters Interface Configuration mode for configuring the
point-to-point link.
The system prompt changes to indicate Interface Configuration mode:
BSR:7A(config-if)#
To exit Interface Configuration mode and return to Global Configuration mode, enter
the exit or end commands. To exit Interface Configuration mode and return to
Privileged EXEC mode, press Ctrl-Z.

3-4 Document ID: 365-095-27191 Version 1


Release 8.0.0 CLI Command Modes

Service Class Configuration Mode


Service Class Configuration mode is accessed from a cable interface. Upstream and
downstream QoS parameters can be configured on the cable interface for new or
default service classes. Use the cable service-class command, from Global
Configuration mode, to enter Service Class Configuration mode:
BSR:7A(config)#cable service-class
The system prompt changes to indicate Service Class Configuration mode:
BSR:7A(config-srvclass)#
To exit Service Class Configuration mode and return to Global Configuration mode,
enter the exit or end commands. To exit Service Class Configuration mode and return
to Privileged EXEC mode, press Ctrl-Z.

Slot Configuration Mode


Slot Configuration mode is used to upgrade and configure redundancy on individual
modules. Use the slot command, from Global Configuration mode, to enter Slot
Configuration mode:
BSR:7A(config)#slot <NUM>
where:
NUM is the slot number.
The system prompt changes to indicate Slot Configuration mode:
BSR:7A(config-slotNUM)#
where:
NUM is the slot number, i.e. BSR:7A(config-slot03).
To exit Slot Configuration mode and return to Global Configuration mode, enter the
exit or end commands. To exit Slot Configuration mode and return to Privileged
EXEC mode, press Ctrl-Z.

PacketCable Configuration Mode


PacketCable Configuration mode is used to configure Dynamic Quality of Service
(DQoS) and Event Message parameters for PacketCable. Use the packet-cable
command, from Global Configuration mode, to enter PacketCable Configuration
mode:
BSR:7A(config)#packet-cable

Document ID: 365-095-27191 Version 1 3-5


BSR 64000 Command Line Interface Users Guide Release 8.0.0

The system prompt changes to indicate PacketCable Configuration mode:


BSR:7A(config-pktcable)#
To exit PacketCable Configuration mode and return to Global Configuration mode,
enter the exit or end commands. To exit PacketCable Configuration mode and return
to Privileged EXEC mode, press Ctrl-Z.

IPSec Configuration Mode


IPSec (IP Security) Configuration mode is used to configure a security policy that
protects network traffic between two IPSec peers. Use the ipsec command, from
Global Configuration mode, to enter IPSec Configuration mode:
BSR:7A(config)#ipsec
The system prompt changes to indicate IPSec Configuration mode:
BSR:7A(config-ipsec)#
To exit IPSec Configuration mode and return to Global Configuration mode, enter the
exit or end commands. To exit IPSec Configuration mode and return to Privileged
EXEC mode, press Ctrl-Z.

Router Configuration Mode


Router Configuration mode is used to configure BGP, OSPF, PIM, IS-IS, DVMRP,
and RIP routing protocol features. From Global Configuration mode, enter Router
Configuration mode by entering any router command. The prompt changes in
relation to the specific protocol (refer to Table 3-1.). The following command syntax
shows how to enter Router Configuration mode for RIP from Global Configuration
mode:
BSR:7A(config)#router rip
The system prompt changes to indicate (Router) RIP Configuration mode:
BSR:7A(config-rip)#
To exit Router Configuration mode and return to Global Configuration mode, enter
the exit or end commands. To exit Router Configuration mode and return to
Privileged EXEC mode, use the end command or press Ctrl-Z.

3-6 Document ID: 365-095-27191 Version 1


Release 8.0.0 CLI Command Modes

Route-map Configuration Mode


Route-map Configuration mode is used to establish route maps with the conditions for
redistributing routes from one routing protocol to an another. Use the route-map
command, from Global Configuration mode, to enter Route-map Configuration
mode:
BSR:7A(config)#route-map <WORD>
where:
WORD is the name of the route map.
The system prompt changes to indicate Route-map Configuration mode:
BSR:7A(config-rmap)#
To exit Route-map Configuration mode and return to Global Configuration mode,
enter the exit or end commands. To exit Route-map Configuration mode and return to
Privileged EXEC mode, press Ctrl-Z.

Cable Spectrum Group Mode


The spectrum management system monitors the upstream signal integrity and collects
upstream spectrum information. Cable Spectrum Group Configuration mode is used
to configure a spectrum group, apply a spectrum group to an upstream port, and
evaluate spectrum performance. Use the cable spectrum-group command, from
Global Configuration mode, to enter Cable Spectrum Group Configuration mode:
BSR:7A(config)#cable spectrum-group <WORD>
where:
WORD is the name of the spectrum group.
The system prompt changes to indicate Cable Spectrum Group Configuration mode:
BSR:7A(config-spcgrp:<WORD>)#
where:
WORD is the name of the spectrum group, for example:
BSR:7A(config-spcgrp:group1)#
To exit Cable Spectrum Group mode and return to Global Configuration mode, enter
the exit or end commands. To exit Cable Spectrum Group mode and return to
Privileged EXEC mode, press Ctrl-Z.

Document ID: 365-095-27191 Version 1 3-7


BSR 64000 Command Line Interface Users Guide Release 8.0.0

Command Mode Summary


Table 3-1 provides details on entering each command mode, the prompt display,
navigating through the command mode hierarchy, and exiting each command mode.

Table 3-1 Command Mode Access, Prompt, and Exit Details

Mode Name Access Means Prompt Display Exit Means


User EXEC Console or Telnet BSR:7A> To exit the CLI, enter the
logout or exit
commands.
To enter Privileged EXEC
mode, enter the enable
or login command.
Privileged From User EXEC BSR:7A# To return to User EXEC
EXEC mode, enter the mode, enter the disable
enable or login command.
command.
Global From Privileged BSR:7A(config)# To return to Privileged
Configuration EXEC mode, enter EXEC mode, enter the
the configure exit or end command or
command. press Ctrl-Z.
Interface From Global BSR:7A(config-if)# To return to Global
Configuration Configuration mode, Configuration mode,
enter the interface enter the end or exit
command. command.
Router From Global The prompt is protocol-dependent. To return to Privileged
Configuration Configuration mode, BSR:7A(config-bgp)# EXEC mode, press
enter the router Ctrl-Z.
BSR:7A(config-dvmrp)#
command.
BSR:7A(config-ospf)#
BSR:7A(config-pim)#
BSR:7A(config-rip)#
Route-map From Global BSR:7A(config-rmap)#
Configuration Configuration mode,
enter the route-map
<WORD> command.
WORD is the route
map name.

3-8 Document ID: 365-095-27191 Version 1


Release 8.0.0 CLI Command Modes

Table 3-1 Command Mode Access, Prompt, and Exit Details

Mode Name Access Means Prompt Display Exit Means


Cable Spectrum From Global BSR:7A(config-spcgrp: To return to Global
Group Configuration mode, WORD)# Configuration mode,
enter the cable enter the end or exit
spectrum-group command.
<WORD> To return to Privileged
command. WORD is EXEC mode, press
the spectrum group Ctrl-Z.
name.
Slot From Global BSR:7A(config-slotNUM)#
Configuration Configuration mode,
enter the slot
<NUM> command.
NUM is the module
slot number.
PacketCable From Global BSR:7A(config-pktcable)#
Configuration Configuration mode,
enter the
packet-cable
command.
IPSec From Global BSR:7A(config-ipsec)#
Configuration Configuration mode,
enter the ipsec
command.
Service Class From Global BSR:7A(config-srvclass)#
Configuration Configuration mode
(from a cable
interface), enter the
cable service-class
command.

Document ID: 365-095-27191 Version 1 3-9


Index

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

backspace key, 2-3 Ctrl-E, 2-3


Ctrl-N, 2-5
BGP, 3-6
Ctrl-P, 2-5
C Ctrl-W, 2-3
cursor movement, 2-2
Cable Spectrum Group mode, 3-7
case change, 2-4 D
character transposing, 2-4
command history, 2-5 delete key, 2-3
buffer size, 2-5 deleting commands, 2-3
disabling, 2-6 disabling
command line command history, 2-6
completion, 2-3 features, 2-4
deletion, 2-3 down arrow key, 2-5
navigation, 2-2
DVMRP, 3-6
command modes, 3-1
configuration modes, 3-1 E
cable spectrum group, 3-7
global, 3-3 editing, 2-2
interface, 3-4 Esc B, 2-3
IPSec, 3-6 Esc D, 2-3
PacketCable, 3-5
Esc F, 2-3
route-map, 3-7
router, 3-6 EXEC modes, 3-1

Document ID: 365-095-27191 Version 1 Index-1


BSR 64000 Command Line Interface Users Guide Release 8.0.0

privileged, 3-3 Privileged EXEC mode, 3-3


summary, 3-8
user, 3-2 R

F resetting features, 2-4


right arrow key, 2-2
filters, 2-6
RIP, 3-6
G Route-map Configuration mode, 3-7
Router Configuration mode, 3-6
Global Configuration mode, 3-3
S
H
scrolling
help line, 2-4
context-sensitive, 2-7 screen, 2-4
obtaining, 2-7
Service Class Configuration mode, 3-5
history buffer, 2-5
show history command, 2-5
I Slot Configuration mode, 3-5
spectrum management, 3-7
Interface Configuration mode, 3-4
IPSec Configuration mode, 3-6 T
IS-IS, 3-6
tab key, 2-3
with aliases, 2-9
L
telnet access, 1-3
left arrow key, 2-2 transposing characters, 2-4

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

Index-2 Document ID: 365-095-27191 Version 1


Visit our website at:
www.arris.com

Document ID: 365-095-27191


Version 1
10/14

S-ar putea să vă placă și