< Home

network (role view)

Function

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

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

Format

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

undo network [ 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-only permission for the interface functions in the network configuration module.

<sysname> system-view
[sysname] aaa
[sysname-aaa] role newadmin
[sysname-aaa-role-newadmin] network read-only interface
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >