Sunteți pe pagina 1din 40

BSR 64000

Command Line
Interface Users
Guide
Compass ID: 390029849 Version 3
Release 6.3.1
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: 390029849 Version 3
Release 6.3.1
Published: 12/11
Compass ID: 390029849 Version 3 iii
Contents
Preface
Scope .............................................................................................................................................. v
Audience......................................................................................................................................... v
Documentation Set ......................................................................................................................... v
Conventions.................................................................................................................................viii
Notes, Cautions, Warnings ............................................................................................................ ix
If You Need Help........................................................................................................................... ix
Telephone Support.............................................................................................................. ix
Online Support..................................................................................................................... x
Motorola BSR Customer Website......................................................................... x
1 Introduction
2 Accessing the Command Line Interface
Overview.....................................................................................................................................2-1
Using a Console Session to Access the CLI ...............................................................................2-2
Using a Telnet Session to Access the CLI...................................................................................2-3
3 Using the Command Line Interface
Overview.....................................................................................................................................3-1
Editing and Navigating with the CLI ..........................................................................................3-2
Moving the Cursor on the Command Line.......................................................................3-2
Partial Command Names..................................................................................................3-3
Deleting Command Line Entries......................................................................................3-3
BSR 64000 Command Line Interface Users Guide Release 6.3.1
iv Compass ID: 390029849 Version 3
Scrolling Down a Line or a Screen...................................................................................3-4
Changing Case..................................................................................................................3-4
Disabling and Resetting Commands ...........................................................................................3-4
Using the Command History.......................................................................................................3-4
Setting the Command History Buffer Size ......................................................................3-5
Recalling Commands........................................................................................................3-5
Disabling the Command History Feature ........................................................................3-5
Using Output Modifiers with the Show Command.....................................................................3-6
Getting Help ...............................................................................................................................3-7
Context-sensitive Help .....................................................................................................3-7
Creating Command Aliases ........................................................................................................3-8
Tab Completion of Command Aliases ............................................................................3-9
4 CLI Command Modes
Overview.....................................................................................................................................4-1
User EXEC Mode .......................................................................................................................4-2
Privileged EXEC Mode ..............................................................................................................4-3
Global Configuration Mode .......................................................................................................4-3
Interface Configuration Mode ....................................................................................................4-4
Service Class Configuration Mode ............................................................................................4-5
Slot Configuration Mode ............................................................................................................4-5
PacketCable Configuration Mode ..............................................................................................4-5
IPSec Configuration Mode .........................................................................................................4-6
Router Configuration Mode .......................................................................................................4-6
Route-map Configuration Mode ................................................................................................4-7
Cable Spectrum Group Mode .....................................................................................................4-7
Command Mode Summary .........................................................................................................4-8
Index
Compass ID: 390029849 Version 3 v
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 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.
BSR 64000 Command Line Interface Users Guide Release 6.3.1
vi Compass ID: 390029849 Version 3
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.
Release 6.3.1 Preface
Compass ID: 390029849 Version 3 vii
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 Motorola 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.
BSR 64000 Command Line Interface Users Guide Release 6.3.1
viii Compass ID: 390029849 Version 3
Conventions
This document uses the conventions in the following table:
Convention Example Explanation
angle brackets < > ping <ip-address>
ping 54.89.145.71
Arguments in italic and enclosed by angle
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 May 6 17:01:03
2000
This font indicates system output.
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.
Release 6.3.1 Preface
Compass ID: 390029849 Version 3 ix
Notes, Cautions, Warnings
The following icons and associated text may appear in this document.
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 Motorola
Technical Response Center (TRC):
The Motorola TRC 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
n BSR product and modules
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.
U.S. 1-888-944-HELP (1-888-944-4357)
International +215-323-0044
BSR 64000 Command Line Interface Users Guide Release 6.3.1
x Compass ID: 390029849 Version 3
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 TRC.
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
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.
Compass ID: 390029849 Version 3 1-1
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:
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.
Compass ID: 390029849 Version 3 2-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:
Using a Console Session to Access the CLI
Using a Telnet Session to Access the CLI
BSR 64000 Command Line Interface Users Guide Release 6.3.1
2-2 Compass ID: 390029849 Version 3
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 2-1:
To start a console CLI session, do the following:
1. Connect to the BSR. The console session begins. The MOT:7A> prompt displays.
2. Enter the enable command and press the Enter key.
MOT:7A>enable <Enter>
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.
Table 2-1 Console Settings
Console Parameter Setting
Baud Rate 9600
Data Bits 8
Flow Control None
Parity None
Stop Bits 1
Release 6.3.1 Accessing the Command Line Interface
Compass ID: 390029849 Version 3 2-3
Using a Telnet Session to Access the CLI
This section describes accessing the CLI by establishing a Telnet session to the BSR.
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:
MOT:7A>
3. Enter the enable command and press the Enter key.
MOT: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 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.
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 BSR64000 System Administration Guide
for information on setting system passwords, Telnet parameters, and
information on configuring an Ethernet interface.
Compass ID: 390029849 Version 3 3-1
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:
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.
BSR 64000 Command Line Interface Users Guide Release 6.3.1
3-2 Compass ID: 390029849 Version 3
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 3-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 3-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.
Release 6.3.1 Using the Command Line Interface
Compass ID: 390029849 Version 3 3-3
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:
MOT:7A>his <Tab>
results are:
MOT:7A>history
Deleting Command Line Entries
Table 3-2 describes the key sequences to delete command entries.
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.
Table 3-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.
Table 3-1 Cursor Movement Keys
Pressing ... Function
BSR 64000 Command Line Interface Users Guide Release 6.3.1
3-4 Compass ID: 390029849 Version 3
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 3-3 to scroll
down and view this information.
Changing Case
To change a word to all uppercase or lowercase, use the keys in Table 3-4.
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.
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:
Table 3-3 Scroll Keys
Press ... Function
Enter key Scrolls down one line.
Space bar Scrolls down one screen.
Table 3-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.
Release 6.3.1 Using the Command Line Interface
Compass ID: 390029849 Version 3 3-5
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:
MOT: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.
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:
MOT:7A>no history
Note: The arrow keys function is available only on ANSI-compatible
terminals, such as VT100s.
BSR 64000 Command Line Interface Users Guide Release 6.3.1
3-6 Compass ID: 390029849 Version 3
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:
MOT: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:
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>
Release 6.3.1 Using the Command Line Interface
Compass ID: 390029849 Version 3 3-7
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 3-5.
Table 3-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.
<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.
BSR 64000 Command Line Interface Users Guide Release 6.3.1
3-8 Compass ID: 390029849 Version 3
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:
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.
The no alias command deletes an alias:
MOT:7A(config)#no alias [exec | priv | conf] <WORD>
where:
WORD is the alias name for the command.
The show aliases command displays a list of all aliases:
MOT:7A#show aliases
Release 6.3.1 Using the Command Line Interface
Compass ID: 390029849 Version 3 3-9
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.
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.
MOT:7A(config)# scm cpe
MOT: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:
MOT:7A(config)# scm cp <Tab> ---> show cable modem cpe
Displaying help when using aliases is now supported. For example:
MOT: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
etc......
Compass ID: 390029849 Version 3 4-1
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:
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
BSR 64000 Command Line Interface Users Guide Release 6.3.1
4-2 Compass ID: 390029849 Version 3
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.
Table 4-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 MOT> 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.
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.
Release 6.3.1 CLI Command Modes
Compass ID: 390029849 Version 3 4-3
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 MOT# prompt.
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
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:
MOT:7A# configure
The system prompt changes to indicate Global Configuration mode:
MOT:7A(config)#
To exit Global Configuration mode and return to Privileged EXEC, enter the exit or
end commands or press Ctrl-Z.
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.
BSR 64000 Command Line Interface Users Guide Release 6.3.1
4-4 Compass ID: 390029849 Version 3
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, POS,
and tunnel interface types.
Use the interface command, from Global Configuration mode, to enter Interface
Configuration mode for a interface:
MOT:7A(config)#interface {cable <X/Y> | ethernet <X/Y> | gigaether <X/Y> |
loopback <1-255> | pos <X/Y> | 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.
pos X/Y enters Interface Configuration mode for configuring the SONET
interface in slot X and the port specified by Y.
tunnel 0-255 enters Interface Configuration mode for configuring the
point-to-point link.
The system prompt changes to indicate Interface Configuration mode:
MOT: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.
Release 6.3.1 CLI Command Modes
Compass ID: 390029849 Version 3 4-5
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:
MOT:7A(config)#cable service-class
The system prompt changes to indicate Service Class Configuration mode:
MOT: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:
MOT:7A(config)#slot <NUM>
where:
NUM is the slot number.
The system prompt changes to indicate Slot Configuration mode:
MOT:7A(config-slotNUM)#
where:
NUM is the slot number, i.e. MOT: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 64000 Command Line Interface Users Guide Release 6.3.1
4-6 Compass ID: 390029849 Version 3
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.
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:
MOT:7A(config)#ipsec
The system prompt changes to indicate IPSec Configuration mode:
MOT: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 4-1.). The following command syntax
shows how to enter Router Configuration mode for RIP from Global Configuration
mode:
MOT:7A(config)#router rip
The system prompt changes to indicate (Router) RIP Configuration mode:
MOT: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.
Release 6.3.1 CLI Command Modes
Compass ID: 390029849 Version 3 4-7
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:
MOT:7A(config)#route-map <WORD>
where:
WORD is the name of the route map.
The system prompt changes to indicate Route-map Configuration mode:
MOT: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:
MOT: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:
MOT:7A(config-spcgrp:<WORD>)#
where:
WORD is the name of the spectrum group, i.e. MOT: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.
BSR 64000 Command Line Interface Users Guide Release 6.3.1
4-8 Compass ID: 390029849 Version 3
Command Mode Summary
Table 4-1 provides details on entering each command mode, the prompt display,
navigating through the command mode hierarchy, and exiting each command mode.
Table 4-1 Command Mode Access, Prompt, and Exit Details
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
EXEC
From User EXEC
mode, enter the
enable or login
command.
MOT:7A# To return to
User EXEC
mode, enter the
disable
command.
Global
Configuration
From Privileged
EXEC mode,
enter the
configure
command.
MOT:7A(config)# To return to
Privileged EXEC
mode, enter the
exit or end
command or
press Ctrl-Z.
Release 6.3.1 CLI Command Modes
Compass ID: 390029849 Version 3 4-9
Interface
Configuration
From Global
Configuration
mode, enter the
interface
command.
MOT:7A(config-if)# To return to
Global
Configuration
mode, enter the
end or exit
command.
To return to
Privileged EXEC
mode, press
Ctrl-Z.
Router
Configuration
From Global
Configuration
mode, enter the
router command.
The prompt is protocol-dependent.
MOT:7A(config-bgp)#
MOT:7A(config-dvmrp)#
MOT:7A(config-ospf)#
MOT:7A(config-pim)#
MOT:7A(config-rip)#
Route-map
Configuration
From Global
Configuration
mode, enter the
route-map
<WORD>
command. WORD
is the route map
name.
MOT:7A(config-rmap)#
Cable
Spectrum
Group
From Global
Configuration
mode, enter the
cable
spectrum-group
<WORD>
command. WORD
is the spectrum
group name.
MOT:7A(config-spcgrp:
WORD)#
Slot
Configuration
From Global
Configuration
mode, enter the
slot <NUM>
command. NUM
is the module slot
number.
MOT:7A(config-slotNUM)#
Table 4-1 Command Mode Access, Prompt, and Exit Details
Mode
Name Access Means Prompt Display Exit Means
BSR 64000 Command Line Interface Users Guide Release 6.3.1
4-10 Compass ID: 390029849 Version 3
PacketCable
Configuration
From Global
Configuration
mode, enter the
packet-cable
command.
MOT:7A(config-pktcable)# To return to
Global
Configuration
mode, enter the
end or exit
command.
To return to
Privileged EXEC
mode, press
Ctrl-Z.
IPSec
Configuration
From Global
Configuration
mode, enter the
ipsec command.
MOT:7A(config-ipsec)#
Service Class
Configuration
From Global
Configuration
mode (from a
cable interface),
enter the cable
service-class
command.
MOT:7A(config-srvclass)#
Table 4-1 Command Mode Access, Prompt, and Exit Details
Mode
Name Access Means Prompt Display Exit Means
Compass ID: 390029849 Version 3 Index-1
A
aliases, 3-8
B
backspace key, 3-3
BGP, 4-6
C
Cable Spectrum Group mode, 4-7
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-A, 3-2
Ctrl-B, 3-2
Ctrl-E, 3-3
Ctrl-N, 3-5
Ctrl-P, 3-5
Ctrl-W, 3-3
D
delete key, 3-3
deleting
entries, 3-3
disabling
command history, 3-5
down arrow key, 3-5
DVMRP, 4-6
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
I
Interface Configuration mode, 4-4
IPSec Configuration mode, 4-6
Index
Index-2 Compass ID: 390029849 Version 3
BSR 64000 Command Line Interface Users Guide Release 6.3.1
IS-IS, 4-6
L
Left Arrow, 3-2
N
navigating
command line, 3-2
O
obtaining
help, 3-7
OSPF, 4-6
P
PacketCable Configuration mode, 4-5
partial command name
completing, 3-3
password, 3-2, 4-3
PIM, 4-6
Privileged EXEC mode, 4-3
R
resetting
features, 3-4
right arrow key, 3-2
RIP, 4-6
Route-map Configuration mode, 4-7
Router Configuration mode, 4-6
S
scrolling
line, 3-4
screen, 3-4
Service Class Configuration mode, 4-5
setting
command history buffer size, 3-5
show history command, 3-5
Slot Configuration mode, 4-5
spectrum management, 4-7
T
tab key, 3-3
with aliases, 3-9
telnet
access, 2-3
transposing
characters, 3-4
U
up arrow key, 3-5
User EXEC mode, 3-5, 4-2
Compass ID: 390029849 Version 3
12/11
Visit our website at:
www.motorola.com

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