SNMP Commands Set
Commands | Command | Description | Defaults | Example | |
Level | |||||
|
|
|
| ||
|
|
|
|
| |
snmp | Global | Set SNMP agent |
| Switch (config)# | |
configuration | N/A | snmp | |||
system name | |||||
[word] | mode |
| l2switch | ||
|
| ||||
|
|
|
|
| |
snmp | Global | Set SNMP agent |
| Switch (config)# | |
configuration | N/A | snmp | |||
system location | |||||
[word] | mode |
| |||
|
| ||||
|
|
|
|
| |
snmp | Global |
|
| Switch (config)# | |
Set SNMP agent |
| snmp | |||
configuration | N/A | ||||
system contact | |||||
[word] | mode |
| |||
|
| where | |||
|
|
|
| ||
|
|
|
|
| |
snmp |
|
|
| Switch (config)# | |
| Add SNMP |
| snmp | ||
|
| ||||
| community string. |
| |||
gs [word] right |
|
| |||
Global | Use the no form of |
| public right RW | ||
[RO RW] | PUBLIC | ||||
configuration | this command to |
| |||
Or | RO |
| |||
mode | remove the | Switch(config)# | |||
no snmp |
| ||||
| specified |
| no snmp | ||
|
| ||||
| community. |
| |||
gs [word] |
|
| |||
|
|
| public right rw | ||
|
|
|
| ||
|
|
|
|
| |
| Configure SNMP |
| Switch(config)# | ||
host | Global |
| |||
server host |
| ||||
configuration | N/A | 192.168.1.50 | |||
information and | |||||
community | mode |
| community | ||
community string |
| ||||
[word] |
|
| public | ||
|
|
| |||
|
|
|
|
| |
|
| 46 |
|
|