CLI Usage
36
Basic System Configuration Guide
3HE 11010 AAAC TQZZA Edition: 01
3.7.5 History
The CLI maintains a history of the most recently entered commands. The history
command displays the most recently entered CLI commands.
*A:ALU-1# history
1 environment terminal length 48
2 show version
3 configure port 1/1/1
4info
5 show port 1/1/1
6 \con port 1/1/1
7 \configure router mpls
8info
9 \configure system login-control
10 info
11 history
*A:ALU-1# !2
*A:ALU-1# show version
TiMOS-B-0.0.I322 both/hops NOKIA SAR 7705
Copyright (c) 2016 Nokia.All rights reserved.
All use subject to applicable license agreements.
Built on Wed Jan 16 01:05:13 EST 2016 by csabuild in /rel0.0/I322/panos/main
*A:ALU-1#
3.7.6 Entering Numerical Ranges
The 7705 SAR CLI allows the use of a single numerical range as an argument in the
command line. A range in a CLI command is limited to positive integers and is
denoted with two numbers enclosed in square brackets with two periods (“..”)
between the numbers [x.. y] where x and y are positive integers and y-x is less than
1000.
For example, it is possible to shut down ports 1 through 10 on MDA 1. A port is
denoted by slot/mda/port, where slot identifies the IOM card slot ID (always 1), mda
is the MDA number and port is the port number. To shut down ports 1 through 10 on
Slot 1 and MDA 1, the command is entered as follows:
config port 1/1/[1..10] shutdown
<Ctrl-c> can be used to abort the execution of a range command.
Specifying a range in the CLI does have limitations. These limitations are
summarized in Table 8.