Brocade Network OS NETCONF Operations Guide v4.1.1 Manuale Utente Pagina 111

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 622
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 110
Network OS NETCONF Operations Guide 79
53-1003231-02
SNMP server hosts
7
<running/>
</target>
<config>
<snmp-server xmlns="urn:brocade.com:mgmt:brocade-snmp">
<v3host>
<hostip>dns1.mycorp.com</hostip>
<username>snmpuser3</username>
</host>
</snmp-server>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1008" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Removing the SNMP server host
To remove version 2c from the host and replace it with version 1, perform the following steps.
1. Issue the <edit-config> RPC to configure the <snmp-server>/<host> node in the
urn:brocade:com:mgmt:brocade-snmp workspace and specify the following leaf elements.
2. Under the <snmp-server> node, include the <host> node element.
3. Under the <host> node, include the following leaf elements.
a. In the <ip> leaf element, specify the IPv4, IPv6, or DNS address of the SNMP host.
b. In the <community> leaf element, specify the community string associated with the host.
c. In the <version> element, include the delete operation in the opening tag.
Deleting the version restores the default value of version 1.
<rpc message-id="1009" 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">
<host>
<ip>10.32.147.6</ip>
<community>public</community>
<version xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete">2c</version>
</host>
</snmp-server>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1009" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
To remove the SNMP host from the switch configuration altogether, place the delete operation in
the opening tag of the <host> element.
Vedere la pagina 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 621 622

Commenti su questo manuale

Nessun commento