display netconf authorization task-group-rules

Function

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

Format

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

Parameters

Parameter Description Value
task-group-name

Displays NETCONF authorization information on a specified task 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 task-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 the task group rules tg.
<HUAWEI> display netconf authorization task-group-rules tg
---------------------------------
Rule-name        Rule-type     
---------------------------------
rule1              operationRule   
rule2              datanodeRule   
---------------------------------
Total number of rule: 2
# Display NETCONF authorization information on task group rules tg with the rule name rule1.
<HUAWEI> display netconf authorization task-group-rules tg rule-name rule1
---------------------------------
Name        : rule1
Operation name : get
Action      : permit
Rule-type   : OperationRule
---------------------------------
Table 1 Description of the display netconf authorization task-group-rules command output
Item Description
Rule-name

Name of a NETCONF authorization rule.

Rule-type

Type of a NETCONF authorization rule:

  • operationRule: authorization rules for operations.
  • datanodeRule: authorization rules for data nodes.
Total number of rule

Number of NETCONF authorization rules.

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.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >