< Home

monitor

Function

The monitor command grants a specific administrator role the permission for one or multiple functions in the monitor configuration module.

The undo monitor command restores the default permission for one or multiple functions in the monitor configuration module.

Format

monitor { none | read-only | read-write } [ feature-name ]

undo monitor [ feature-name ]

Parameters

Parameter Description Value
feature-name Specifies the function name. You can specify one or multiple functions.
none Grants no permission. -
read-only Allows an administrator to only query the configuration. -
read-write Allows an administrator to both query and configure functions. -

Views

Role view

Default Level

2: Configuration level

Usage Guidelines

By default, a new created role is granted read-write permission.

Example

# Grant an administrator role named newadmin the read-write permission for the report function in the monitor configuration module.

<sysname> system-view
[sysname] aaa
[sysname-aaa] role newadmin
[sysname-aaa-role-newadmin] monitor read-write report
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >