How to use sm_snmp to get a table in mimic format in SMARTS.
search cancel

How to use sm_snmp to get a table in mimic format in SMARTS.

book

Article ID: 322945

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

How to use sm_snmp to get a table in mimic format.



Execute the following command from <BASEDIR>/IP/smarts/bin/ file:  sm_snmp -d<destination> --fmt=intPrint --fmt=ignoreLastNulls --fmt=spaceIsPrintable walk <oid>

For example, to walk the cisco CDP table:  sm_snmp -d192.168.1.1 --fmt=intPrint --fmt=ignoreLastNulls --fmt=spaceIsPrintable walk .1.3.6.1.4.1.9.9.23