SNMP


Table 13.2. SNMP Monitoring Commands
Information to Monitor Command Example
Statistics about SNMP packets sent and received show snmp statistics
 user@host>  show snmp statistics  SNMP statistics:   Input:     Packets: 8, Bad versions: 0, Bad community names: 0,     Bad community uses: 0, ASN parse errors: 0,     Too bigs: 0, No such names: 0, Bad values: 0,     Read onlys: 0, General errors: 0,     Total request varbinds: 8, Total set varbinds: 0,     Get requests: 0, Get nexts: 8, Set requests: 0,     Get responses: 0, Traps: 0,     Silent drops: 0, Proxy drops 0   Output:     Packets: 2298, Too bigs: 0, No such names: 0,     Bad values: 0, General errors: 0,     Get requests: 0, Get nexts: 0, Set requests: 0,     Get responses: 8, Traps: 2290 
Zero SNMP statistics. clear snmp statistics
 user@host>  clear snmp statistics  user@host>  show snmp statistics  SNMP statistics:   Input:     Packets: 0, Bad versions: 0, Bad community names: 0,     Bad community uses: 0, ASN parse errors: 0,     Too bigs: 0, No such names: 0, Bad values: 0,     Read onlys: 0, General errors: 0,     Total request varbinds: 0, Total set varbinds: 0,     Get requests: 0, Get nexts: 0, Set requests: 0,     Get responses: 0, Traps: 0,     Silent drops: 0, Proxy drops 0   Output:     Packets: 0, Too bigs: 0, No such names: 0,     Bad values: 0, General errors: 0,     Get requests: 0, Get nexts: 0, Set requests: 0,     Get responses: 0, Traps: 0 
Information about rmon alarms and events. show snmp rmon
 user@host>  show snmp rmon  Alarm Index  State                       Variable name     1  falling threshold crossed   ifInOctets.1 Event Index  Type                        Last Event     1  log and trap                2002-01-30 01:13:01 PST 


Juniper Networks Field Guide and Reference
Juniper Networks Field Guide and Reference
ISBN: 0321122445
EAN: 2147483647
Year: 2002
Pages: 185

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net