188Step Command Remarks4. Configure the actionsto take when the eventoccurs.• Configure the action to execute acommand:action number cli command-line• Configure a reboot action (in standalonemode):action number reboot [ slot slot-number[ subslot subslot-number ] ]• Configure a reboot action (in IRF mode):action number reboot [ chassischassis-number [ slot slot-number[ subslot subslot-number ] ] ]• Configure a logging action:action syslog priority level facilitylocal-number msg msg-body• Configure an active/standby switchoveraction:action number switchoverBy default, a monitor policy doesnot contain any actions.Repeat this step to add amaximum of 232 actions to thepolicy.When you define an action, youmay choose to specify a value orspecify a variable name in$variable_name format for anargument.5. (Optional.) Assign auser role to the policy. user-role role-nameBy default, a monitor policycontains user roles that its creatorhad at the time of policy creation.A monitor policy supports amaximum of 64 valid user roles.User roles added after this limit isreached do not take effect.6. (Optional.) Configurethe policy runtime. running-time time The default runtime is 20seconds.7. Enable the policy. commitBy default, CLI-defined policiesare not enabled.A CLI-defined policy can takeeffect only after you perform thisstep.Configuring a monitor policy by using TclStep Command Remarks1. Edit a Tcl script file(see Table 11). N/A The supported Tcl version is 8.5.8.2. Download the file tothe device by usingFTP or TFTP.N/AFor more information about using FTP andTFTP, see Fundamentals ConfigurationGuide.3. Enter system view. system-view N/A