244
Usage guidelines
To display the running configuration of CLI-defined monitor policies, execute the display
current-configuration command in any view or execute the display this command in CLI-defined
monitor policy view.
Examples
# Display monitor policies that are executing the actions.
<Sysname> display rtm policy active
JID Type Event TimeActive PolicyName
507 TCL INTERFACE Aug 29 14:55:55 2013 test
Table 55 Command output
Field Description
JID Job ID, displayed only when you specify the
active
keyword.
Type
Policy creation method:
• TCL—The policy was configured by using Tcl.
• CLI—The policy was configured from the CLI.
Event
Event type, including CLI, hotplug, interface, process, SNMP, SNMP-Notification,
Syslog, and track.
TimeActive Time when the monitor policy was triggered.
PolicyName Name of the monitor policy.
# Display brief information about all created monitor policies.
<Sysname> display rtm policy registered
Total number: 1
Type Event TimeRegistered PolicyName
CLI Aug 29 14:54:50 2013 test
Table 56 Command output
Field Description
Total number Total number of the monitor policies.
Type
Policy creation method:
• TCL—The policy was configured by using Tcl.
• CLI—The policy was configured from the CLI.
Event
Event type, including CLI, hotplug, interface, process, SNMP, SNMP-Notification,
Syslog, and track.
TimeRegistered Time when the monitor policy was created.
PolicyName Name of the monitor policy.
# Display detailed information about all monitor policies.
<Sysname> display rtm policy registered verbose
Total number: 1
Policy Name: test
Policy Type: CLI
Event Type:
TimeRegistered: Aug 29 14:54:50 2013
User-role: network-operator