BSR64K-R6 2 0-CLIGuide
BSR64K-R6 2 0-CLIGuide
BSR64K-R6 2 0-CLIGuide
Command
Line
Interface
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, INC. 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, INC. 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, MOTOROLA
MOBILITY, INC. 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 Motorola Mobility, Inc. 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, Inc.
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, Inc.
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.
2011 Motorola Mobility, Inc. All rights reserved.
Compass ID: 379451956 Version 2
Release 6.2.0
Published: 6/11
Contents
Preface
Scope ............................................................................................................................................vii
Audience.......................................................................................................................................vii
Documentation Set .......................................................................................................................vii
Conventions.................................................................................................................................... x
Notes, Cautions, Warnings ............................................................................................................ xi
If You Need Help........................................................................................................................... xi
Telephone Support.............................................................................................................. xi
Online Support...................................................................................................................xii
Motorola BSR Customer Website.......................................................................xii
Introduction
iii
Release 6.2.0
iv
Release 6.2.0
Contents
Index
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).
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
Release 6.2.0
vi
Release 6.2.0
Preface
vii
Release 6.2.0
Conventions
This document uses the conventions in the following table:
Convention
Example
Explanation
ping <ip-address>
ping 54.89.145.71
bar brackets [ ]
disable [level]
bold text
cable relay-agent-option
brace brackets {}
italic text
screen display
vertical bar |
viii
Release 6.2.0
Preface
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):
U.S.
1-888-944-HELP (1-888-944-4357)
International
+215-323-0044
ix
Release 6.2.0
BSR hostname
BSR error messages and logs
Output of BSR show tech command
Cable modem information
List of troubleshooting steps you have performed before calling the TRC.
Output of BSR show version command, with part numbers and serial numbers of
BSR components
Shipping information for the replacement, including contact name, company
name, address, phone number, and email address
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
[email protected] with the following information:
n
Company name
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.
1
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:
For detailed information on CLI commands, refer to the BSR 64000 Command
Reference Guide.
1-1
2
Accessing the Command Line
Interface
Overview
A console session or Telnet session is used to access the Command Line Interface
(CLI) on the BSR. The following sections describe the procedures for accessing the
CLI:
2-1
Release 6.2.0
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 2-1:
Table 2-1 Console Settings
Console Parameter
Setting
Baud Rate
9600
Data Bits
Flow Control
None
Parity
None
Stop Bits
3. A Password: prompt displays. Enter the password and press the Enter key to
access Privileged EXEC mode. The MOT:7A# prompt displays.
For a detailed discussion of the different command line modes, refer to CLI
Command Modes on page 4-1.
2-2
Release 6.2.0
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 MOT:7A# prompt displays.
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 4-1.
2-3
3
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:
Getting Help
For detailed information on CLI commands, refer to the BSR 64000 Command
Reference Guide.
3-1
Release 6.2.0
Changing Case
3-2
Pressing ...
Function
Ctrl-B
Left Arrow
Right arrow
Ctrl-A
Release 6.2.0
Pressing ...
Function
Ctrl-E
Esc B
Esc F
results are:
MOT:7A>history
Press ...
Function
Backspace key
Ctrl-W
Delete key
Esc D
3-3
Release 6.2.0
Press ...
Function
Enter key
Space bar
Changing Case
To change a word to all uppercase or lowercase, use the keys in Table 3-4.
Table 3-4 Case Control Keys
Press ...
Function
Esc L
Esc U
3-4
Release 6.2.0
Recalling Commands
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.
3-5
Release 6.2.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>
3-6
Release 6.2.0
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
(enhancement request 11661).
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 3-5.
Table 3-5 Context-sensitive Help Details
Entry
Result
help
<abbreviated command>?
<command> ?
<command> <keyword> ?
3-7
Release 6.2.0
The alias exec command, used in Global Configuration mode, creates an alias for
a User EXEC mode command:
MOT: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:
MOT: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:
MOT: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.
3-8
Release 6.2.0
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 4-1.
<prefix>
IP address
X/Y
where X = 3 4 9 10
all-vrfs
All vrfs
cpe
detail
Detail information
etc......
3-9
4
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:
Configuration CLI modes allow you to make changes to the BSRs running
configuration. The configuration modes are as follows:
4-1
Release 6.2.0
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 4-1 provides details on entering each command mode, the prompt display,
navigating through the command mode hierarchy, and exiting each command mode.
4-2
Release 6.2.0
4-3
Release 6.2.0
4-4
Release 6.2.0
4-5
Release 6.2.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.
4-6
Release 6.2.0
4-7
Release 6.2.0
Mode
Name
Exit Means
User EXEC
Console or Telnet
MOT:7A>
Privileged
EXEC
MOT:7A#
To return to
User EXEC
mode, enter the
disable
command.
MOT:7A(config)#
To return to
Privileged EXEC
mode, enter the
exit or end
command or
press Ctrl-Z.
Global
From Privileged
Configuration EXEC mode,
enter the
configure
command.
4-8
Release 6.2.0
Mode
Name
Interface
From Global
Configuration Configuration
mode, enter the
interface
command.
MOT:7A(config-if)#
Router
From Global
The prompt is protocol-dependent.
MOT:7A(config-bgp)#
Configuration Configuration
mode, enter the
MOT:7A(config-dvmrp)#
router command.
Exit Means
To return to
Global
Configuration
mode, enter the
end or exit
command.
To return to
Privileged EXEC
mode, press
Ctrl-Z.
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
Spectrum
Group
From Global
MOT:7A(config-spcgrp:
WORD)#
Configuration
mode, enter the
cable
spectrum-group
<WORD>
command. WORD
is the spectrum
group name.
Slot
From Global
Configuration Configuration
mode, enter the
slot <NUM>
command. NUM
is the module slot
number.
MOT:7A(config-slotNUM)#
4-9
Release 6.2.0
Mode
Name
4-10
Exit Means
MOT:7A(config-pktcable)# To return to
IPSec
From Global
Configuration Configuration
mode, enter the
ipsec command.
MOT:7A(config-ipsec)#
MOT:7A(config-srvclass)#
Global
Configuration
mode, enter the
end or exit
command.
To return to
Privileged EXEC
mode, press
Ctrl-Z.
Index
B
backspace key, 3-3
C
case
controlling, 3-4
characters
transposing, 3-4
command history
buffer size
setting, 3-5
disabling, 3-5
completing
partial command name, 3-3
context-sensitive help, 3-7
controlling
case, 3-4
Ctrl B, 3-2
Ctrl-A, 3-2
Ctrl-E, 3-3
Ctrl-N, 3-5
Ctrl-P, 3-5
E
entries
deleting, 3-3
Esc B, 3-3
Esc D, 3-3
Esc F, 3-3
G
Global Configuration mode, 4-3
H
help
context-sensitive, 3-7
obtaining, 3-7
history buffer, 3-5
L
Left Arrow, 3-2
Ctrl-W, 3-3
navigating
command line, 3-2
O
obtaining
help, 3-7
Index-1
Release 6.2.0
P
partial command name
completing, 3-3
password, 3-2, 4-3
Privileged EXEC mode, 4-3
R
resetting
features, 3-4
right arrow key, 3-2
RiverClear spectrum management, 4-7
S
scrolling
line, 3-4
screen, 3-4
setting
command history buffer size, 3-5
show history command, 3-5
T
tab key, 3-3
telnet
access, 2-3
transposing
characters, 3-4
U
up arrow key, 3-5
User EXEC mode, 3-5, 4-3
Index-2