The access-operation command configures access operations.
The undo access-operation command restores the default configuration.
By default, no access operations are configured.
Parameter | Description | Value |
---|---|---|
create |
Allows data nodes to be created. |
- |
read |
Allows alarms, events, or data nodes to be read. |
- |
update |
Allows data nodes to be updated. |
- |
delete |
Allows data nodes to be deleted. |
- |
exec |
Allows protocol operations to be executed. |
- |
* |
Allows all access operation types. |
- |
<HUAWEI> system-view [~HUAWEI] netconf [~HUAWEI-netconf] nacm [~HUAWEI-netconf-nacm] rule-list-name list1 [*HUAWEI-netconf-nacm-rule-list-list1] rule-name rule1 action permit [*HUAWEI-netconf-nacm-rule-list-list1-rule-name-rule1] rule-type rpc-name edit-config [*HUAWEI-netconf-nacm-rule-list-list1-rule-name-rule1] access-operation exec
<HUAWEI> system-view [~HUAWEI] netconf [~HUAWEI-netconf] nacm [~HUAWEI-netconf-nacm] rule-list-name list1 [*HUAWEI-netconf-nacm-rule-list-list1] rule-name rule3 action permit [*HUAWEI-netconf-nacm-rule-list-list1-rule-name-rule3] rule-type path /huawei-acl:acl [*HUAWEI-netconf-nacm-rule-list-list1-rule-name-rule3] access-operation create