Configuring The Detection Timer - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

Create a scheduled
task and enter job
view
Specify the view in
which the task is
executed
Configure a
command to be
executed at a
specific time
Configure a
command to be
executed after a
delay time
NOTE:
Only one view can be specified for a task, which means all commands in the task are executed in the
same specified view. If different views are specified by executing the view
repeatedly, only the last configuration takes effect.
The view must be supported by the system, and the view name must be complete instead of an
abbreviation. Most commonly used view names include: monitor for user view, system for system view,
GigabitEthernetx/x/x for Ethernet interface view, and Vlan-interfacex for VLAN interface view.
A scheduled task can contain up to 10 commands. If you want more than 10 commands to be executed,
configure them in different tasks.
time-id
A
the same, the one configured later is effective.

Configuring the detection timer

Some protocols might shut down ports under specific circumstances. For example, MSTP shuts down a
BPDU guard enabled port when the port receives a BPDU. Then, the device starts the detection timer. If
the port is down before the detection timer times out, the device automatically brings up the port.
Follow these steps to configure the detection timer:
To do...
Enter system view
Configure the detection timer
job job-name
view view-name
time time-id at time date command command
time time-id { one-off | repeating } at time
[ month-date month-day | week-day
week-daylist ] command command
time time-id { one-off | repeating } delay time
command command
uniquely identifies the binding between a command and its execution time. If two time-ids are
Use the command...
system-view
shutdown-interval time
144
Required
Required
You can specify only one view for a
task.
Required
Use any of the commands.
If you use the time at command,
changing the system time will
change the execution time of the
scheduled task.
If you use the time delay
command, changing the system
time will not change the
execution time of the scheduled
task.
view-name
command
Remarks
Optional
The detection interval is 30
seconds by default.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents