When there are problems identified with Metric data from devices seen in DX NetOps products Spectrum, Performance Management or UIM, it is necessary for Broadcom support to simulate this device in our environments and labs to attempt problem replication.
When a Certification Request is submitted, a full MIB dump of the device is required for engineering. It allows them to simulate the device in their lab environments for testing of the new Certification code.
The simulation server used for these tests requires a full MIB dump to work properly. Without it we're unable to properly debug the problem locally, and also unable to properly test new Certification requests before release.
To gather the MIB dump in a format supported by our simulation server we utilized the sapwalk2 tool. It is a utility that takes a snapshot of the device by running an SNMP GETNEXT query.
All supported DX NetOps Performance Management releases
All supported DX NetOps Spectrum releases
All supported DX Unified Infrastructure Manager releases
The sapwalk2 utility ships with Spectrum 10.2 and greater (located in the $SPECROOT/bin directory).
For UIM download sapwalk2 from DX UIM - SNMP Device Support (broadcom.com) MIB Walk Utilities section
The sapwalk2 utility is found on Performance Management Data Collector servers. Since the r3.6 release it has been included in the (default path) /opt/IMDataCollector/scripts directory.
The usage can be found by just running "./sapwalk2".
For Spectrum the recommended usage is to start at OID 1 and include the -xv option for the Bridge Table which enables the collection of VLAN information as well (the bridge table for all devices is 220.127.116.11.2.1.17):
sapwalk2.exe -i <ip address> -v <snmp version> -s <starting oid> -p <port> -c <community name> -xv <bridge table> -t <timeout> -r <retries> -d <throttle_delay> -o <output file>
For Performance Management data validation issues or Certification requests the commands are almost the same. Two minor changes are:
sapwalk2.exe -i XXX.XXX.XXX.XXX -v v1 -s 1 -c public -xv 18.104.22.168.2.1.17 -t 3000 -r 3 -d 50 -o <CaseNumber>_walk.out
Performance Management example:
sapwalk2.exe -i XXX.XXX.XXX.XXX -v v1 -s 22.214.171.124 -c public -t 3000 -r 3 -d 50 -o <CaseNumber>_walk.out
DX Unified Infrastructure Management (UIM) example:
sapwalk2.exe -i XXX.XXX.XXX.XXX -v v1 -s 1 -c public -t 3000 -r 3 -o <CaseNumber>_walk.out
Example, using SNMP v3:
sapwalk2 -i XXX.XXX.XXX.XXX -v v3 -s 1 -u AuthPrivUser -l AP -xt MD5 -xa authpassword -xp privpassword –xe DES -xv 126.96.36.199.2.1.17 -t 3000 -o <CaseNumber>_walk.out
Note: Sometimes, you may need to put the authentication and privacy passwords enclosed in single quotes ( ' ).
Example: sapwalk2 -i XXX.XXX.XXX.XXX -v v3 -s 1 -u AuthPrivUser -l AP -xt MD5 -xa 'authpassword' -xp 'privpassword' –xe DES -o <CaseNumber>_walk.out
Note: You need the later versions (2.1x) to enable the -xe (privacy protocol) flag. Spectrum 10.2 and greater ships with this version. Linux versions are listed as;