Professional Documents
Culture Documents
BSR 64000 Command Line Interface User's Guide: Release 7.1.0
BSR 64000 Command Line Interface User's Guide: Release 7.1.0
Command Line
Interface User’s
Guide
Version 1
Release 7.1.0
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. MOTOROLA MOBILITY, LLC 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. MOTOROLA MOBILITY, LLC 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.
All Motorola Mobility, LLC 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 Motorola Mobility, LLC.
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 Motorola Mobility, LLC.
Motorola Mobility reserves the right to revise this publication and to make changes in content from time to time
without obligation on the part of Motorola Mobility to provide notification of such revision or change. Motorola
Mobility 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. Motorola Mobility may make
improvements or changes in the product(s) described in this manual at any time.
MOTOROLA and the Stylized M Logo are trademarks or registered trademarks of Motorola Trademark Holdings,
LLC. All other trademarks are the property of their respective owners.
Version 1
Release 7.1.0
Published: 7/13
Contents
Preface
Scope .............................................................................................................................................. v
Audience......................................................................................................................................... v
Documentation Set ......................................................................................................................... v
Conventions.................................................................................................................................viii
Notes, Cautions, Warnings ............................................................................................................ix
If You Need Help...........................................................................................................................ix
Version 1 iii
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
Index
iv Version 1
Preface
Scope
This document describes how to use the Command Line Interface (CLI) to access,
configure, and manage the Motorola™ 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:
Version 1 v
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
vi Version 1
Release 7.1.0 Preface
Version 1 vii
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
Conventions
This document uses the conventions in the following table:
viii Version 1
Release 7.1.0 Preface
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 Motorola
Technical Response Center (TRC):
Version 1 ix
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
Online Support
Motorola BSR Customer Website
The BSR customer website, http://bsr.motorola.com, is available for BSR customers
with active service contracts to access the latest product information, software
updates, troubleshooting information, and technical publications for the BSR 64000,
BSR 2000, and BSR 1000 product line.
You may request access to the site by emailing the BSR product support team at
bsrsupportonline@motorola.com with the following information:
n Company name
n Contact name, phone number, and email address
n Motorola 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 on the BSR customer information website.
x 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
Version 1 1-1
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
1-2 Version 1
Release 7.1.0 Accessing the Command Line Interface
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.
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.
Version 1 2-1
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
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.
2-2 Version 1
Release 7.1.0 Using the Command Line Interface
Version 1 2-3
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
Changing Case
To change a word to all uppercase or lowercase, use the keys in Table 2-4.
2-4 Version 1
Release 7.1.0 Using the Command Line Interface
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.
Version 1 2-5
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
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:
MOT: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>
2-6 Version 1
Release 7.1.0 Using the Command Line Interface
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.
<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.
Version 1 2-7
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
2-8 Version 1
Release 7.1.0 Using the Command Line Interface
Examples
1. The following example creates an alias for the enable command, accessible from
the User EXEC mode.
MOT:7A(config)#alias exec en enable
2. This example creates an alias for the router rip command, accessible from the
Global Configuration mode.
MOT: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:
MOT:7A(config)# scm cp <Tab> ---> show cable modem cpe
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 BSR’s 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
Version 1 3-1
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
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.
3-2 Version 1
Release 7.1.0 CLI Command Modes
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:
MOT:7A> enable
Password:<password>
where:
password is the password required to enter Privileged EXEC mode.
The system prompt changes to indicate Privileged EXEC mode:
MOT:7A#
Use the disable command to return to User EXEC mode:
MOT:7A# disable
Version 1 3-3
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
3-4 Version 1
Release 7.1.0 CLI Command Modes
Version 1 3-5
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
MOT:7A(config)#packet-cable
The system prompt changes to indicate PacketCable Configuration mode:
MOT: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.
3-6 Version 1
Release 7.1.0 CLI Command Modes
Version 1 3-7
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
Mode
Name Access Means Prompt Display Exit Means
User EXEC Console or Telnet MOT: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 MOT:7A# To return to
EXEC mode, enter the User EXEC
enable or login mode, enter the
command. disable
command.
3-8 Version 1
Release 7.1.0 CLI Command Modes
Mode
Name Access Means Prompt Display Exit Means
Interface From Global MOT:7A(config-if)# To return to
Configuration Configuration Global
mode, enter the Configuration
interface mode, enter the
command. end or exit
command.
To return to
Router From Global The prompt is protocol-dependent.
Privileged EXEC
Configuration Configuration MOT:7A(config-bgp)#
mode, press
mode, enter the MOT:7A(config-dvmrp)# Ctrl-Z.
router command.
MOT:7A(config-ospf)#
MOT:7A(config-pim)#
MOT:7A(config-rip)#
Route-map From Global MOT:7A(config-rmap)#
Configuration Configuration
mode, enter the
route-map
<WORD>
command. WORD
is the route map
name.
Cable From Global MOT:7A(config-spcgrp:
Spectrum Configuration WORD)#
Group mode, enter the
cable
spectrum-group
<WORD>
command. WORD
is the spectrum
group name.
Slot From Global MOT:7A(config-slotNUM)#
Configuration Configuration
mode, enter the
slot <NUM>
command. NUM
is the module slot
number.
Version 1 3-9
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
Mode
Name Access Means Prompt Display Exit Means
PacketCable From Global MOT:7A(config-pktcable)# To return to
Configuration Configuration Global
mode, enter the Configuration
packet-cable mode, enter the
command. end or exit
command.
IPSec From Global MOT:7A(config-ipsec)#
Configuration Configuration To return to
mode, enter the Privileged EXEC
ipsec command. mode, press
Ctrl-Z.
Service Class From Global MOT:7A(config-srvclass)#
Configuration Configuration
mode (from a
cable interface),
enter the cable
service-class
command.
3-10 Version 1
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
Version 1 Index-1
BSR 64000 Command Line Interface User’s Guide Release 7.1.0
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 Version 1
Visit our website at:
www.motorola.com
Version 1
7/13