Brocade Network OS NETCONF Operations Guide v4.1.1 Manuel d'utilisateur Page 108

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 622
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 107
76 Network OS NETCONF Operations Guide
53-1003231-02
Obtaining SNMP user names
7
<target>
<running/>
</target>
<config>
<snmp-server xmlns="urn:brocade.com:mgmt:brocade-snmp">
<community xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete">
<community>private</community>
</community>
</snmp-server>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1003" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Obtaining SNMP user names
To obtain the configured user names, issue the <get-config> RPC and provide a subtree filter to
return only the <snmp-server>/<user> node information from the
urn:brocade.com:mgmt:brocade-snmp namespace in the running configuration. For each
configured SNMPv3 user name, the reply message contains a <user> node containing the user
name and any assigned group, authentication protocol, or privacy protocol. If an authentication
password or privacy password has been assigned, the encrypted password is returned in the
corresponding leaf element with the encrypted flag.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1006" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<snmp-server xmlns="urn:brocade.com:mgmt:brocade-snmp">
<user/>
</snmp-server>
</filter>
</get-config>
</rpc>
<rpc-reply message-id="1006" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<snmp-server xmlns="urn:brocade.com:mgmt:brocade-snmp">
<user>
<username>snmp</username>
</user>
<user>
<username>snmpadmin2</username>
<groupname>snmpadmin</groupname>
</user>
<user>
<username>snmpadmin3</username>
<groupname>snmpadmin</groupname>
</user>
<user>
<username>snmpuser2</username>
Vue de la page 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 621 622

Commentaires sur ces manuels

Pas de commentaire