[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Monitoring SNMP

To monitor the status of SNMP operations on your network, enter Privileged Exec mode. You can then establish a baseline and use the show commands to view statistics.

Establishing a Baseline

SNMP statistics are stored in system counters. The only way to reset the system counters is to reboot the router. You can, however, establish a baseline for SNMP statistics by setting a group of reference counters to zero.

baseline snmp

Viewing SNMP Status

To view SNMP status on your network, use the following show commands.

show snmp

show snmp access

show snmp community

show snmp group

show snmp notificationLog

show snmp trap

host1#show snmp trap

Enabled Categories: Ping, TraceRoute
SNMP authentication failure trap is disabled
Trap Source: FastEthernet 0/0, Trap Source Address:10.10.5.61
Trap Proxy: disabled
Global Trap Severity Level: 6 - informational

Address          Security String                   Ver  Port   Trap Categories
---------------  --------------------------------  ---  -----  ----------------
10.10.0.200       private                           v2c 162
SnmpLinkInvEnvBstFxfBgpLogCliPingOspfTraceDvmrpDvmrpUniAdrPAtmPingVrrpSonetNtp


Address         TrapSeverityFilter  Ping    Maximum    Queue    Queue Full
                                   TimeOut QueueSize DrainRate discrd methd
--------------- ------------------ ------- --------- --------- -------------
10.10.0.200      5 - notice         1       32        0         dropLastIn 

show snmp trap statistics

show snmp user

show snmp view

Output Filtering

You can use the output filtering feature of the show commands to include or exclude lines of output based on a text string you specify. See Chapter 2, Command-Line Interface, for details.


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]