Repeat - HP Enterprise FlexFabric 12900E Series Command Reference Manual

Hide thumbs Also See for Enterprise FlexFabric 12900E Series:
Table of Contents

Advertisement

<Sysname>

repeat

Use
repeat
Syntax
repeat [ number ] [ count times ] [ delay seconds ]
Views
Any view
Predefined user roles
network-admin
Parameters
: Specifies the number of the most recently executed commands in the command history
number
buffer for the current CLI session that you want to execute. The value range is 1 to 10. The default is
1.
count times
range is 0 to 4294967295. The default is 0. If you do not specify this option, the system keeps
executing the commands until you press the escape key to terminate the execution.
delay seconds
commands again. The value range is 0 to 4294967295. The default is 1.
Usage guidelines
To repeat a command, first enter the view for the command. To repeat multiple commands, first enter
the view for the first command.
The
repeat
The system waits for your interaction when it repeats an interactive command.
Examples
# Configure the system to execute the two most recently executed commands (
cpu-usage
<Sysname> repeat 2 count 3 delay 10
<Sysname> display cpu
Slot 1 CPU 0 CPU usage:
33% in last 5 seconds
32% in last 1 minute
33% in last 5 minutes
<Sysname> display clock
07:02:18.230 UTC Thu 06/19/2017
<Sysname> display cpu-usage
Slot 1 CPU 0 CPU usage:
33% in last 5 seconds
32% in last 1 minute
33% in last 5 minutes
<Sysname> display clock
07:02:28.263 UTC Thu 06/19/2017
<Sysname> display cpu-usage
Slot 1 CPU 0 CPU usage:
to repeat commands in the command history buffer for the current CLI session.
: Specifies the number of times that you want to execute the commands. The value
: Specifies the time (in seconds) for the system to wait before executing the
command executes commands in the order they were executed.
and
display clock
) three times at an interval of 10 seconds.
12
display

Advertisement

Table of Contents
loading

Table of Contents