Configuring A Monitor Policy By Using Tcl - HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

Step
5.
(Optional.) Assign a
user role to the policy.
6.
(Optional.) Configure
the policy runtime.
7.
Enable the policy.

Configuring a monitor policy by using Tcl

Step
1.
Edit a Tcl script file
(see
Table
2.
Download the file to
the device by using
FTP or TFTP.
3.
Enter system view.
4.
Create a Tcl-defined
policy and bind it to
the Tcl script file.
Command
Configure a reboot action:
action number reboot [ slot
slot-number ]
Configure a logging action:
action number syslog priority level
facility local-number msg msg
Configure an active/standby
switchover action:
action number switchover
user-role role-name
running-time time
commit
Command
N/A
21).
N/A
system-view
rtm tcl-policy policy-name
tcl-filename
Remarks
The supported Tcl version is 8.5.8.
For more information about using FTP
and TFTP, see Fundamentals
Configuration Guide.
N/A
By default, the system does not have Tcl
policies.
This step enables the Tcl-defined policy.
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
199
Remarks
Repeat this step to add a
maximum of 232 actions to the
policy.
When you define an action, you
can specify a value or specify a
variable name in
$variable_name format for an
argument.
By default, a monitor policy
contains user roles that its
creator had at the time of policy
creation.
A monitor policy supports a
maximum of 64 valid user roles.
User roles added after this limit
is reached do not take effect.
An EAA policy cannot have both
the security-audit user role and
any other user roles. Any
previously assigned user roles
are automatically removed when
you assign the security-audit
user role to the policy. The
previously assigned
security-audit user role is
automatically removed when you
assign any other user roles to
the policy.
The default runtime is 20
seconds.
By default, CLI-defined policies
are not enabled.
A CLI-defined policy can take
effect only after you perform this
step.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents