You are here: SwitchKit SNMP User’s Guide > 2 Installation > SNMP Configuration: Valid Queries

SNMP Configuration: Valid Queries

Valid Queries

The following types of getmany/setany queries are valid with the current snmpd.cnf configuration. The file snmpd.cnf is found in this directory: /etc/srconf\agt.

Community strings used in SNMPv1 and SNMPv2c, and user names, used in SNMPv3 are defined in agt/snmpd.cnf. This is a configuration file, and its format is defined by SNMP Research International (SRI) to be used by the master agent. By default, queries in SNMPv1 and SNMPv2c can be made using the community string public. A query in SNMPv3 must be associated with the user name cspAdmin. Sets in all three versions must be associated with the user name cspAdmin.

getmany

getmany -v1 localhost public cspCardType

getmany -v2c localhost public cspCardType

getmany -v3 localhost cspAdmin cspCardType

setany

setany -v1 localhost cspAdmin cspAgentSystemVerbose.0-i1

setany -v2c localhost cspAdmin cspAgentSystemVerbose.0-i1

setany -v3 localhost cspAdmin cspAgentSystemVerbose.0-i1