Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




snmp config


Code Block
titleconfig traceoptions
root@SRX340-1-Rack104> show configuration snmp | display set
set snmp community public
set snmp trap-group space targets 172.30.92.94
set snmp trap-group space targets 172.30.92.95

set snmp traceoptions file snmp.logs
set snmp traceoptions flag all


snmp logs


Code Block
titleshow logs snmp.logs
root@SRX340-1-Rack104> show log snmp.logs



Apr 18 21:05:38.874906 ns_trap_internal
Apr 18 21:05:38.877745 oa_update: udpated oa database entry: 172.30.92.95
Apr 18 21:05:38.878470 snmpd[0]  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Apr 18 21:05:38.878503 snmpd[0]  <<< V1 Trap
Apr 18 21:05:38.878530 snmpd[0]  <<<  Source:      172.30.95.210
Apr 18 21:05:38.878555 snmpd[0]  <<<  Destination: 172.30.92.95
Apr 18 21:05:38.878578 snmpd[0]  <<<  Version:     SNMPv1
Apr 18 21:05:38.878602 snmpd[0]  <<<  Community:   space
Apr 18 21:05:38.878701 snmpd[0]  <<<  Agent addr:  172.30.95.210
Apr 18 21:05:38.878734 snmpd[0]  <<<  sysUpTime:   (495343975) 1375:57:19.75
Apr 18 21:05:38.878777 snmpd[0]  <<<  Enterprise:  twampNotifications
Apr 18 21:05:38.878801 snmpd[0]  <<<  Generic trap: 6, Specific trap: 2
Apr 18 21:05:38.878851 snmpd[0]  <<<   OID  : pingCtlTestName.10.82.101.102.108.101.99
Apr 18 21:05:38.878898 snmpd[0]  <<<          .116.111.114.50.7.67.108.97.115.115.69
Apr 18 21:05:38.878923 snmpd[0]  <<<          .70
Apr 18 21:05:38.878948 snmpd[0]  <<<   type : OctetString
Apr 18 21:05:38.878976 snmpd[0]  <<<   value: "ClassEF"
Apr 18 21:05:38.879008 snmpd[0]  <<<   HEX  : 43 6c 61 73  73 45 46
Apr 18 21:05:38.879030 snmpd[0]  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
. . . 
Apr 18 21:05:38.888880 ns_trap_internal
Apr 18 21:05:38.889004 snmpd[0]  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Apr 18 21:05:38.889051 snmpd[0]  <<< V2 Trap
Apr 18 21:05:38.889078 snmpd[0]  <<<  Source:      172.30.95.210
Apr 18 21:05:38.889104 snmpd[0]  <<<  Destination: 172.30.92.95
Apr 18 21:05:38.889126 snmpd[0]  <<<  Version:     SNMPv2
Apr 18 21:05:38.889150 snmpd[0]  <<<  Community:   space
Apr 18 21:05:38.889176 snmpd[0]  <<<
Apr 18 21:05:38.889213 snmpd[0]  <<<   OID  : sysUpTime.0
Apr 18 21:05:38.889241 snmpd[0]  <<<   type : TimeTicks
Apr 18 21:05:38.889269 snmpd[0]  <<<   value: (495343976) 1375:57:19.76
Apr 18 21:05:38.889293 snmpd[0]  <<<
Apr 18 21:05:38.889328 snmpd[0]  <<<   OID  : snmpTrapOID.0
Apr 18 21:05:38.889355 snmpd[0]  <<<   type : Object
Apr 18 21:05:38.889386 snmpd[0]  <<<   value: jnxTwampClientControlConnectionClosed
Apr 18 21:05:38.889412 snmpd[0]  <<<
Apr 18 21:05:38.889536 snmpd[0]  <<<   OID  : pingCtlOwnerIndex.10.82.101.102.108.101
Apr 18 21:05:38.889591 snmpd[0]  <<<          .99.116.111.114.50.7.67.108.97.115.115
Apr 18 21:05:38.889619 snmpd[0]  <<<          .69.70
Apr 18 21:05:38.889643 snmpd[0]  <<<   type : OctetString
Apr 18 21:05:38.889670 snmpd[0]  <<<   value: "Reflector2"
Apr 18 21:05:38.889704 snmpd[0]  <<<   HEX  : 52 65 66 6c  65 63 74 6f
Apr 18 21:05:38.889731 snmpd[0]  <<<          72 32
Apr 18 21:05:38.889754 snmpd[0]  <<<
Apr 18 21:05:38.889786 snmpd[0]  <<<   OID  : snmpTrapEnterprise.0
Apr 18 21:05:38.890425 snmpd[0]  <<<   type : Object
Apr 18 21:05:38.890506 snmpd[0]  <<<   value: jnxProductNameSRX340
Apr 18 21:05:38.890534 snmpd[0]  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<