Srikanth Vavilapalli | 1725e49 | 2014-12-01 17:50:52 -0800 | [diff] [blame^] | 1 | snmp-server enable |
| 2 | Enable SNMP support. |
| 3 | |
| 4 | no snmp-server enable |
| 5 | Disable SNMP support. |
| 6 | |
| 7 | snmp-server community ro MY-SNMP |
| 8 | Set the community string (for authenticating to this SNMP service) |
| 9 | to "MY-SNMP" |
| 10 | |
| 11 | no snmp-server community |
| 12 | Reset the community string to default (the empty string) |
| 13 | |
| 14 | snmp-server location snmp.example.com |
| 15 | Set the server location reported during SNMP queries. |
| 16 | |
| 17 | no snmp-server location |
| 18 | Reset to the system default server location. |
| 19 | |
| 20 | snmp-server contact admin@example.com |
| 21 | Set the administrative contact reported during SNMP queries. |
| 22 | |
| 23 | no snmp-server contact |
| 24 | Reset to the system default administrative contact setting. |