[alcatel-nsp] Logging SNMP traps locally on 7750 9.0

Nadavallil, Cyril (Cyril) cyril.nadavallil at alcatel-lucent.com
Fri Jun 17 01:47:28 EDT 2011


As a quick example, you configure to memory as follows:

This is to config to view debug events:

  A:NodeA# configure  log  log-id 22
  A:NodeA>config>log>log-id$ from debug-trace
  A:NodeA>config>log>log-id$ to memory

This is to turn on debug for SNMP:

  A:NodeA>config>log>log-id$ /debug snmp info
  A:NodeA>config>log>log-id# exit all

This is to generate a test SNMP event:

  A:NodeA# tools perform log test-event

This is to see the content of your debug log:

A:NodeA# show  log log-id 22
===============================================================================
Event Log 22
===============================================================================
Description : (Not Specified)
Memory Log contents  [size=100   next event=23  (not wrapped)]

22 2011/06/17 05:41:32.04 UTC MINOR: DEBUG #2001 Base SNMP
"SNMP: INFO sysMainEvtColl: Trap transmitted:..."

21 2011/06/17 05:41:32.04 UTC MINOR: DEBUG #2001 Base SNMP
"SNMP: INFO sysMainEvtColl:  trap:  seq# = 84 dest = x.y.z.w:162 pdu-type = Trap2Pdu
 pdu-length = 0 error-status=0 varbind=0
   varbind 1:  sysUpTime.0 type=TimeTicks value='1441139' vb-oid=1.3.6.1.2.1.1.3.0
   varbind 2:  snmpTrapOID.0 type=OBJECT IDENTIFIER value='tmnxTestEvent. value-oid=1.3.6.1.4.1.6527.3.1.3.12.0.6' vb-oid=1.3.6.1.6.3.1.1.4.1.0
   varbind 3:  sysDescr.0 type=OCTET STRING value='54694d4f532d432d382e302e52342063706d2f686f707320414c434154454c205352203737353020436f707972' vb-oid=1.3.6.1.2.1.1.1.0
   varbind 4:  sysObjectID.0 type=OBJECT IDENTIFIER value='tmnxModelSR7Reg. value-oid=1.3.6.1.4.1.6527.1.3.4' vb-oid=1.3.6.1.2.1.1.2.0"

20 2011/06/17 05:41:32.03 UTC MINOR: DEBUG #2001 Base SNMP
"SNMP: INFO sysMainEvtColl: Trap transmitted:..."

<..>

This is to turn off the debug:

  A:NodeA# no debug
  Trace disabled for all existing and future clients
  A:NodeA#

-----Original Message-----
From: alcatel-nsp-bounces at puck.nether.net [mailto:alcatel-nsp-bounces at puck.nether.net] On Behalf Of Bryan
Sent: Friday, June 17, 2011 1:30 AM
To: alcatel-nsp at puck.nether.net
Subject: [alcatel-nsp] Logging SNMP traps locally on 7750 9.0

Hello,

Is it possible to see what traps a 7750 might send on certain conditions by logging them to the console or log file? In Cisco IOS, we used debug snmp packet. is there a similar functionality in Alcatel SR OS?

Thanks,

Bryan
_______________________________________________
alcatel-nsp mailing list
alcatel-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/alcatel-nsp



More information about the alcatel-nsp mailing list