Examples
The following commands get the sysObjectID value of a Cisco Catalyst 5500 Switch, then write the results to a file named Cat5500_sysObjectID.txt in the current directory:
source /etc/voyence.conf
$VOYENCE_HOME/tools/snmpGet $DEVICE_IP 1.3.6.1.2.1.1.2.0 -V2 -C$COMMUNITY_STRING > Cat5500_sysObjectID.txt
Contents of example Cat5500_sysObjectID.txt output file:
SNMP++ Get to <device IPv4 address redacted> SNMPV1 Retries=1 Timeout=1000ms Community=<community string redacted>
Oid = 1.3.6.1.2.1.1.2.0
Value = 1.3.6.1.4.1.9.5.17
The following commands get the sysDescr (system description) OID value of a Cisco Catalyst 5500 Switch, then write the results to a file named Cat5500_sysDescr.txt in the current directory:
source /etc/voyence.conf
$VOYENCE_HOME/tools/snmpGet $DEVICE_IP 1.3.6.1.2.1.1.1.0 -V2 -C$COMMUNITY_STRING > Cat5500_sysDescr.txt
Contents of example Cat5500_sysDescr.txt output file:
SNMP++ Get to <device IPv4 address redacted> SNMPV1 Retries=1 Timeout=1000ms Community=<community string redacted>
Oid = 1.3.6.1.2.1.1.1.0
Value = Cisco Systems WS-C5500
Cisco Catalyst Operating System Software, Version 6.4(1)
Copyright (c) 1995-2003 by Cisco Systems