No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Network Management and Monitoring

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, sFlow, and NETCONF.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Configuring NETCONF Authorization

(Optional) Configuring NETCONF Authorization

Context

After a NETCONF session is set up using Secure Shell (SSH), all SSH users can manage the session-related device, which renders the device insecure. To resolve this problem, you can configure NETCONF authorization to authorize specific users to perform NETCONF operations or access NETCONF resources.

Procedure

  1. Configure NETCONF authorization in the task group view and add a task to the task group.
    1. Run system-view

      The system view is displayed.

    2. Run aaa

      The AAA view is displayed.

    3. Run task-group task-group-name

      A task group is created, and the task group view is displayed.

    4. Run netconf authorization-rule rule-name { { deny { rpc-operation rpc-oper-name | schema-path data-node-path } } | { permit { rpc-operation rpc-oper-name | schema-path data-node-path access-operation { read | write | execute }* } } } [ description description-text ]

      A NETCONF authorization rule for operations and data nodes is configured, and the task is added to the task group.

      By default, no NETCONF authorization rule is configured.

    5. Run quit

      Return to the AAA view.

  2. Add the task group to a user group.
    1. Run system-view

      The system view is displayed.

    2. Run aaa

      The AAA view is displayed.

    3. Run user-group user-group-name

      A user group is created, and the user group view is displayed.

    4. Run task-group task-group-name

      The specific task group is added to the user group.

    5. Run quit

      Return to the AAA view.

  3. Run local-user user-name user-group user-group-name

    A local user is added to the user group.

  4. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 30878

Downloads: 29

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next