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

  • 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 111
80 Network OS NETCONF Operations Guide
53-1003231-02
SNMP server hosts
7
Setting the SNMP server contact
To set the SNMP server contact string, issue the <edit-config> RPC to configure the
<snmp-server>/<agtconfig> node in the urn:brocade:com:mgmt:brocade-snmp workspace and
specify the contact string in the <contact> leaf element.
The default contact string is Field Support.
The following example changes the default contact string to “Operator 12345.”
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1010" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<snmp-server xmlns="urn:brocade.com:mgmt:brocade-snmp" >
<agtconfig>
<contact>Operator 12345</contact>
</agtconfig>
</snmp-server>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1010" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Setting the SNMP server location
To set the SNMP server location string, issue the <edit-config> RPC to configure the
<snmp-server>/<agtconfig> node in the urn:brocade:com:mgmt:brocade-snmp workspace and
specify the server location string in the <location> leaf element.
The default server location string is End User Premise.
The following example changes the server location string to “Building 3 Room 214”.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1012" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<snmp-server xmlns="urn:brocade.com:mgmt:brocade-snmp" >
<agtconfig>
<location>Building 3 Room 214</location>
</agtconfig>
</snmp server>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1012" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Vue de la page 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 621 622

Commentaires sur ces manuels

Pas de commentaire