EasyManuals Logo

HPE FlexNetwork 5130 HI SERIES User Manual

HPE FlexNetwork 5130 HI SERIES
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #267 background imageLoading...
Page #267 background image
258
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 ensure that
the file is available on a storage medium of the device.
Usage guidelines
When you use this command to create a Tcl-defined policy, follow these guidelines:
Make sure the script file is saved on all IRF member devices. This practice ensures that the policy
can run correctly after a master/subordinate switchover occurs or the member device where the
script file resides leaves the IRF.
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. The system cannot execute a Tcl-defined policy if you edit its Tcl
script without suspending all monitor policies.
To bind a Tcl-defined policy to a different Tcl script file:
1. Execute the undo rtm tcl-policy command to delete the Tcl policy.
2. Create the Tcl policy again, and then bind it to the new Tcl script file.
You can assign the same policy name to a CLI-defined policy and a Tcl-defined policy. However, you
cannot assign the same name to policies that are the same type.
Examples
# Create a Tcl policy and bind it to a Tcl script file.
<Sysname> system-view
[Sysname] rtm tcl-policy test test.tcl
running-time
Use running-time to configure the runtime of a CLI-defined policy.
Use undo running-time to restore the default.
Syntax
running-time time
undo running-time
Default
The runtime of a CLI-defined policy is 20 seconds.

Table of Contents

Other manuals for HPE FlexNetwork 5130 HI SERIES

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork 5130 HI SERIES and is the answer not in the manual?

HPE FlexNetwork 5130 HI SERIES Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork 5130 HI SERIES
CategorySwitch
LanguageEnglish

Related product manuals