Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Monitoring the Communication Status Between the SNMP Agent and the SNMP Manager

    Purpose

    Display all the information about SNMP status. You can use the delta keyword to display statistics relative to the current baseline.

    Action

    To display all the information about SNMP status:

    host1#show snmp
    Contact: Joe Administrator
    Location: Network Lab, Bldg 3 Floor 1
    538 SNMP packets input
        0 Bad SNMP version errors
        0 Unknown community name
        0 Illegal operation for community name supplied
        0 Encoding errors
        695 Number of requested variables
        0 Number of altered variables
        26 Get-request PDUs
        512 Get-next PDUs
        0 Set-request PDUs
        0 Unknown security models
        0 Unavailable contexts
    538 SNMP packets out
        0 Too big errors (Maximum packet size 1500)
        10 No such name errors
        0 Bad values errors
        0 General errors
        538 Get-response PDUs
        0 SNMP trap PDUs
        0 Invalid Message Report PDUs
        0 Unknown PDU Handler Report PDUs
        0 Unknown Context Report PDUs
        0 Unsupported Security Level Report PDUs
        0 Not in time Window Report PDUs
        0 Unknown Username Report PDUs
        0 Unknown Engine ID Report PDUs
        0 Wrong Digest Report PDUs
        0 Decryption Error Report PDUs

    Meaning

    Table 1 lists the show snmp command output fields.

    Table 1: show snmp Output Fields

    Field Name

    Field Description

    Contact

    Router’s contact person

    Location

    Router’s location

    SNMP packets input

    Total number of SNMP packets received by the router:

    • Bad SNMP version errors—Number of SNMP PDUs with a bad version number
    • Unknown community name—Number of SNMP PDUs that had an unrecognized community name
    • Illegal operation for community name supplied—Number of access violations based on the configured privilege level for community strings
    • Encoding errors—Number of AS number version 1 encoding and decoding errors
    • Number of requested variables—Number of variable bindings processed by the SNMP agent
    • Number of altered variables—Number of variable bindings processed successfully in SNMP set commands
    • Get-request PDUs—Number of get-exact SNMP PDUs processed
    • Get-next PDUs—Number of get-next SNMP PDUs processed
    • Set-request PDUs—Number of set SNMP PDUs processed
    • Unknown security models—Number of SNMP PDUs with unrecognized security
    • Unavailable contexts—Number of SNMP proxy requests to unknown entities

    SNMP packets out

    Total number of SNMP packets sent by the router:

    • Too big errors—Number of processed PDUs that resulted in SNMP PDUs too large to encode
    • No such name errors—Number of requests that resulted in noSuchName errors. If interfaces configured on modules that do not support 64-bit counters are accessed, the system returns a noSuchName message.
    • Bad values errors—Number of requests that resulted in badValues errors
    • General errors—Number of general errors
    • Get-response PDUs—Number of requests that resulted in getResponse PDUs
    • SNMP trap PDUs—Number of SNMP trap PDUs generated by this agent
    • SNMP trap proxied—Number of traps generated by this agent that are sent via trap-proxy
    • Invalid Message Report PDUs—Number of packets received by the SNMP engine that were dropped because there were invalid or inconsistent components in the SNMP message
    • Unknown PDU Handler Report PDUs—Number of packets received by the SNMP engine that were dropped because the PDU in the packet could not be passed to an application responsible for handling the PDU type; for example, no SNMP application had registered for the proper combination of the context engine ID and PDU type
    • Unknown Context Report PDUs—Number of packets received by the SNMP engine that were dropped because the context contained in the message was unknown
    • Unsupported Security Level Report PDUs—Number of packets received by the SNMP engine that were dropped because they requested a security level that was unknown to the SNMP engine or otherwise unavailable
    • Not in time Window Report PDUs—Number of packets received by the SNMP engine that were dropped because they appeared outside the authoritative SNMP engine window
    • Unknown Username Report PDUs—Number of packets received by the SNMP engine that were dropped because they referenced a user that was not known to the SNMP engine
    • Unknown Engine ID Report PDUs—Number of packets received by the SNMP engine that were dropped because they referenced an snmpEngineID that was not known to the SNMP engine
    • Wrong Digest Report PDUs—Number of packets received by the SNMP engine that were dropped because they did not contain the expected digest value
    • Decryption Error Report PDUs—Number of packets received by the SNMP engine that were dropped because they could not be decrypted

    Published: 2014-08-12