How to Enable SNMP Debugging on an ArubaOS-Switch

MVP
MVP
Problem:

This article describes how to enable SNMP debugging on an ArubaOS-Switch.

 



Diagnostics:

In the following example, SNMP debugging is enabled on switch Rack2sw1. The debugging output is sent to the terminal session.

Rack2sw1# debug snmp pdu
Rack2sw1# debug destination session
Rack2sw1# show debug

 Debug Logging

  Source IP Selection: Outgoing Interface
  Origin identifier: Outgoing Interface IP
  Destination:
   Session

  Enabled debug types:
   snmp pdu



Solution

Debugging is tested by using SNMPWALK.EXE to request the host name (1.3.6.1.2.1.1.5.0)

C:\snmpwalk -v:2 -r:10.254.1.1 -cSmiley Tongueublic -os:1.3.6.1.2.1.1.5 -op:1.3.6.1.2.1.1.5.0
SnmpWalk v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]

OID=.1.3.6.1.2.1.1.5.0, Type=OctetString, Value=Rack2sw1
Total: 1
   
0002:03:15:27.75 SNMP mSnmpRcv:recv pkt: from: 21.1.254.10:37860 to: 1.1.254.10 ifIndex:583 packet size:40
0002:03:15:27.89 SNMP mSnmpCtrl:********Start pdu processing*********
0002:03:15:27.97 SNMP mSnmpCtrl:Incoming Packet: addr = 10.254.1.21:58515,length = 40
0002:03:15:28.06 SNMP mSnmpCtrl:Version: 1
0002:03:15:28.11 SNMP mSnmpCtrl:Community: public len:6
0002:03:15:28.17 SNMP mSnmpCtrl:30 26 02 01 01 04 06 70 75 62 6c 69 63 a5 19 02
0002:03:15:28.25 SNMP mSnmpCtrl:02 31 57 02 01 00 02 01 10 30 0d 30 0b 06 07 2b
0002:03:15:28.34 SNMP mSnmpCtrl:06 01 02 01 01 05 05 00
0002:03:15:28.40 SNMP mSnmpCtrl:request-id type: 165: GET_BULK_REQUEST_TYPE
0002:03:15:28.48 SNMP mSnmpCtrl:request id:12631
0002:03:15:28.53 SNMP mSnmpCtrl:error status:0
0002:03:15:28.58 SNMP mSnmpCtrl:error index :16
0002:03:15:28.63 SNMP mSnmpCtrl:sysName = NULL TYPE/VALUE
0002:03:15:28.70 SNMP mSnmpCtrlSmiley FrustratedrDoSnmp:received get-bulk pdu

0002:03:15:28.76 SNMP mSnmpCtrlSmiley Surprisedutgoing Packet: addr = 10.254.1.21:58515,length = 303
0002:03:15:28.86 SNMP mSnmpCtrl:Version: 1
0002:03:15:28.90 SNMP mSnmpCtrl:Community: public len:6
0002:03:15:28.96 SNMP mSnmpCtrl:30 82 01 2b 02 01 01 04 06 70 75 62 6c 69 63 a2
0002:03:15:29.05 SNMP mSnmpCtrl:82 01 1c 02 02 31 57 02 01 00 02 01 00 30 82 01
0002:03:15:29.13 SNMP mSnmpCtrl:0e 30 14 06 08 2b 06 01 02 01 01 05 00 04 08 52
0002:03:15:29.22 SNMP mSnmpCtrl:61 63 6b 32 73 77 31 30 0c 06 08 2b 06 01 02 01
0002:03:15:29.31 SNMP mSnmpCtrl:01 06 00 04 00 30 0d 06 08 2b 06 01 02 01 01 07
0002:03:15:29.39 SNMP mSnmpCtrl:00 02 01 4e 30 0d 06 08 2b 06 01 02 01 02 01 00
0002:03:15:29.48 SNMP mSnmpCtrl:02 01 27 30 0f 06 0a 2b 06 01 02 01 02 02 01 01
0002:03:15:29.56 SNMP mSnmpCtrl:01 02 01 01 30 0f 06 0a 2b 06 01 02 01 02 02 01
0002:03:15:29.65 SNMP mSnmpCtrl:01 02 02 01 02 30 0f 06 0a 2b 06 01 02 01 02 02
0002:03:15:29.73 SNMP mSnmpCtrl:01 01 03 02 01 03 30 0f 06 0a 2b 06 01 02 01 02
0002:03:15:29.82 SNMP mSnmpCtrl:02 01 01 04 02 01 04 30 0f 06 0a 2b 06 01 02 01
0002:03:15:29.91 SNMP mSnmpCtrl:02 02 01 01 05 02 01 05 30 0f 06 0a 2b 06 01 02
0002:03:15:29.99 SNMP mSnmpCtrl:01 02 02 01 01 06 02 01 06 30 0f 06 0a 2b 06 01
0002:03:15:30.08 SNMP mSnmpCtrl:02 01 02 02 01 01 07 02 01 07 30 0f 06 0a 2b 06
0002:03:15:30.16 SNMP mSnmpCtrl:01 02 01 02 02 01 01 08 02 01 08 30 0f 06 0a 2b
0002:03:15:30.25 SNMP mSnmpCtrl:06 01 02 01 02 02 01 01 09 02 01 09 30 0f 06 0a
0002:03:15:30.33 SNMP mSnmpCtrl:2b 06 01 02 01 02 02 01 01 0a 02 01 0a 30 0f 06
0002:03:15:30.42 SNMP mSnmpCtrl:0a 2b 06 01 02 01 02 02 01 01 0b 02 01 0b 30 0f
0002:03:15:30.51 SNMP mSnmpCtrl:06 0a 2b 06 01 02 01 02 02 01 01 0c 02 01 0c
0002:03:15:30.59 SNMP mSnmpCtrl:*****End pdu processingSmiley Surprisedut_packet_len is 303*****

Version history
Revision #:
1 of 1
Last update:
4 weeks ago
Updated by:
 
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: