Enablecontextname Option

The Net-SNMP based SNMP subagent has the ability to register its MIBs under an SNMP v3 context name. When this is done, the MIBs may only be requested by a SNMP v3 client which specifies the context name in its SNMP request. Use of context names allows multiple, independent subagents to register Network Services and MTA MIBs under the same OID tree (that is, under the same SNMP master agent).

The  SNMP option controls whether to register this instance&#x27;s MIBs under an SNMPv3 context name. When the option is set to a value of 1, the subagent will default to using the value of  for its context name, unless a different context name has been specified using via the   SNMP option.

This option applies only to the Net-SNMP based SNMP subagent, but not to the legacy SNMP subagent for Solaris 9 and earlier.

The default value is: 0

See also:
 * SNMP options
 * defaultdomain Option
 * contextname Option