display netconf authorization user-group-rules

Function

The display netconf authorization user-group-rules command displays the NETCONF authorization rule information.

Format

display netconf authorization user-group-rules user-group-name [ rule-name rulename ]

Parameters

Parameter Description Value
user-group-name

Displays NETCONF authorization information on a specified user group.

The value is a string of 1 to 32 case-insensitive characters, and it cannot contain spaces.

rule-name rulename

Displays information about a specific NETCONF authorization rule.

The value is a string of 1 to 15 case-insensitive characters, and it cannot contain spaces.

When quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
netconf debug

Usage Guidelines

To query NETCONF authorization rule information, run the display netconf authorization user-group-rules command. Information about all NETCONF authorization rule lists, all NETCONF authorization rules in a specific rule list, and a specific NETCONF authorization rule can be queried.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display NETCONF authorization information on user group rules tg with the rule name rule1.
<HUAWEI> display netconf authorization user-group-rules tg rule-name rule1
---------------------------------
Name        : rule1
Operation name : get
Action      : permit
Rule-type   : OperationRule
---------------------------------
Table 1 Description of the display netconf authorization user-group-rules command output
Item Description
Name

Name of a NETCONF authorization rule.

Operation name

Name of remote procedure call (RPC) operation of NETCONF authorization.

Action

Action available for users:

  • permit.
  • deny.
Rule-type

Type of a NETCONF authorization rule:

  • operationRule: authorization rules for operations.
  • datanodeRule: authorization rules for data nodes.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >