235
display rtm policy
Use
display rtm policy
to display monitor policies.
Syntax
display rtm policy
{
active
|
registered
[
verbose
] } [
policy-name
]
Views
Any view
Predefined user roles
network-admin
mdc-admin
Parameters
active
: Displays policies that are running.
registered
: Displays policies that have been created.
policy-name
: Specifies a policy by its name. If you do not specify a policy, the command displays all
monitor policies that are running or have been created.
verbose
: Displays detailed information about monitor policies.
Examples
# Display all running monitor policies.
<Sysname> display rtm policy active
JID Type Event TimeActive PolicyName
501 CLI CLI Jan 07 11:16:57 2015 test1
505 TCL CLI Jan 07 11:16:57 2015 test2
# Display all monitor policies that have been created.
<Sysname> display rtm policy registered
Total number: 2
Type Event TimeRegistered PolicyName
CLI CLI Jan 07 11:08:18 2015 test1
TCL CLI Jan 07 11:07:59 2015 test2
# Display detailed information about all monitor policies.
<Sysname> display rtm policy registered verbose
Total number: 2
Policy Name: test1
Policy Type: CLI
Event Type: CLI
TimeRegistered: Jan 07 11:08:18 2015
User-role: network-operator
network-admin
Policy Name: test2
Policy Type: TCL
Event Type: CLI
TimeRegistered: Jan 07 11:07:59 2015
User-role: network-admin