Alcatel-Lucent 7450 Basic System Configuration Manual page 30

Ethernet service switch /service router /extensible routing system
Hide thumbs Also See for 7450:
Table of Contents

Advertisement

Entering CLI Commands
This will give vprn 11 the router-id "10.20.11.1", vprn 12 the router-id "10.20.12.1", and so
on.
Specifying a range in the CLI does have limitations. These limitations are summarized in
Table
Limitation
Up to 6 ranges (including references)
may be specified in a single command,
and they may not combine to more
than 1000 iterations of the command.
Ranges within quotation marks are
interpreted literally.
The range cannot cause a change in
contexts.
Command completion will cease to
work when entering a range.
30
8.
Table 8: CLI Range Use Limitations
Description
It is possible to shut down ports 1 through 10 on XMA/MDA 1 and
XMA/MDA 2:
configure port 1/[1..2]/[1..10]
In the CLI, enclosing a string in quotation marks ("string") causes the
string to be treated literally and as a single parameter. For example,
several commands in the CLI allow the configuration of a descriptive
string. If the string is more than one word and includes spaces, it must
be enclosed in quotation marks. A range that is enclosed in quotes is
also treated literally. For example,
configure router interface "A[1..10]" no shutdown
creates a single router interface with the name "A[1..10]". However, a
command such as:
configure router interface A[1..10] no shutdown
creates 10 interfaces with names A1, A2 .. A10.
Commands should be formed in such a way that there is no context
change upon command completion. For example,
configure port 1/1/[1..10]
will attempt to change ten different contexts. When a range is specified
in the CLI, the commands are executed in a loop. On the first loop
execution, the command changes contexts, but the new context is no
longer valid for the second iteration of the range loop. A "Bad
Command" error is reported and the command aborts.
After entering a range in a CLI command, command and key
completion, which normally occurs by pressing the <Tab> or spacebar,
will cease to work. If the command line entered is correct and
unambiguous, the command works properly; otherwise, an error is
returned.
Basic System Configuration Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

77507950

Table of Contents