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

Verifying SNMP Agent Configuration

Purpose

Verify that SNMP is running and that requests and traps are being properly transmitted.

Action

From the CLI, enter the show snmp statistics command.


user@host> show snmp statistics
SNMP statistics:
  Input:
    Packets: 246213, Bad versions: 12 , Bad community names: 12,
    Bad community uses: 0, ASN parse errors: 96,
    Too bigs: 0, No such names: 0, Bad values: 0,
    Read onlys: 0, General errors: 0,
    Total request varbinds: 227084, Total set varbinds: 67,
    Get requests: 44942, Get nexts: 190371, Set requests: 10712,
    Get responses: 0, Traps: 0,
    Silent drops: 0, Proxy drops: 0, Commit pending drops: 0,
    Throttle drops: 0,
  V3 Input:
    Unknown security models: 0, Invalid messages: 0
    Unknown pdu handlers: 0, Unavailable contexts: 0
    Unknown contexts: 0, Unsupported security levels: 1
    Not in time windows: 0, Unknown user names: 0
    Unknown engine ids: 44, Wrong digests: 23, Decryption errors: 0
  Output:
    Packets: 246093, Too bigs: 0, No such names: 31561,
    Bad values: 0, General errors: 2,
    Get requests: 0, Get nexts: 0, Set requests: 0,
    Get responses: 246025, Traps: 0

What it Means

The output shows a list of the SNMP statistics, including details about the number and types of packets transmitted. Verify the following information:

See Also

For a complete description of show snmp statistics output, see the JUNOS System Basics and Services Command Reference.

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