Rtm Tcl-Policy - HP MSR1003-8S Command Reference Manual

Msr series network management and monitoring
Hide thumbs Also See for MSR1003-8S:
Table of Contents

Advertisement

undo rtm scheduler suspend
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command disables all CLI-defined and Tcl-defined monitor policies except for the monitor policies
that are running.
To revise the Tcl script of a policy, you must suspend all monitor policies first, and then resume the policies
after you finish revising the script. The system cannot execute a Tcl-defined policy if you edit its Tcl script
without suspending all monitor policies.
Examples
# Suspend monitor policies.
<Sysname> system-view
[Sysname] rtm scheduler suspend

rtm tcl-policy

Use rtm tcl-policy to create a Tcl-defined policy and bind it to a Tcl script file.
Use undo rtm tcl-policy to delete a Tcl policy.
Syntax
rtm tcl-policy policy-name tcl-filename
undo rtm tcl-policy policy-name
Default
No Tcl policies exist.
Views
System view
Predefined user roles
network-admin
Parameters
policy-name: Specifies a policy name, a case-sensitive string of 1 to 63 characters.
tcl-filename: Specifies a .tcl script file name. The file name is case sensitive. You must make sure the file
is available on a storage medium of the device. For a distributed device or an IRF fabric of distributed
devices, make sure the script file is saved on all MPUs. This practice ensures that the policy can run
correctly after a master/subordinate or active/standby switchover.
Usage guidelines
Use this command to configure a monitor policy in Tcl.
This command both creates and enables the specified Tcl-defined monitor policy. To revise the Tcl script
of a Tcl-defined policy, you must suspend all monitor policies first, and then resume the policies after you
finish revising the script.
306

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents