ADC Telecommunications, Inc.
194 CHAPTER 9: SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)
Example 1
The following example creates and displays an SNMP host with default parameter values:
root# snmp-server host 133.10.1.1 june informs retries 2 version 2c noauth
root# show snmp host
Host:Port Time Retry Notify or Storage Mask MMS
-out Community
------------------- ---- ----- -------------- ----------- --------------- -----
133.10.1.1:162 15 2 inform NonVolatile 484
cli:192.168.208.3:root# show snmp host parameters
Notify:Host:Port Model Level Group Name Storage
---------------------------- ----- ------ ------------------------- -----------
inform:133.10.1.1:162 V2c NoAuth june NonVolatile
cli:192.168.208.3:root#
5. Specify the storage type for this
host.
By default, storage type is set to
NonVolatile.
snmp-server host <ip address>
<community-name> {traps | informs
[timeout <seconds>] [retries
<retries>]} [version {1 | 2c | 3 {auth |
noauth | priv}] [storage {volatile |
nonvolatile | permanent |
readonly}]
6. Specify the type of events for
which you want to be notified.
snmp-server host <ip address>
<community-name> {traps | informs
[timeout <seconds>] [retries
<retries>]} [version {1 | 2c | 3 {auth |
noauth | priv}] [notification-type
<type>...]
7. Display SNMP host information. show snmp host [parameters]
8. Display all SNMP hosts and
associated notification type(s).
show snmp notify [<ip address>]
9. Remove an SNMP host entity
from the trap recipient list, or
remove a parameter in the host
entry.
no snmp-server host <ip address>
{traps | informs} [mask]
[notification-type <type>...]
Tasks Commands