To clear or modify the saved per-node SNMP configuration, use the following rhino-console commands.
Viewing the saved per-node state
Saved per-node state displays in the output of the snmpstatus command. For example: Saved per-node configuration ============================= 101 <default>:16100 Here node 101 has a saved address/port binding of |
clearsnmpsavedconfig
Argument |
<nodeID|all> |
---|---|
What it does |
Clears the saved configuration for:
|
setsnmpsavedconfig
Arguments |
<node-id> <addresses|default> <port|default> |
||||
---|---|---|---|---|---|
What it does |
Sets the interface addresses (comma-separated) and port binding that the SNMP agent uses for the specified node.
|
||||
Example |
To set SNMP agent’s address and port for node-101: $ ./rhino-console setsnmpsavedconfig 101 localhost 16100 SNMP configuration for node 101 updated. |