NOTE: This and all SNMP related parameters are available in YumaPro SDK 17.10+. This parameter is only useful if the with-snmp parameter is set true; otherwise there is no SNMP functionality for the netconfd-pro server.


The snmp-agent-role parameter allows you to specify the SNMP agent role you wish netconfd-pro to use.

There are two possible roles, "master" and "subagent". The default role is "master".


When the snmp-agent-role-parameter is set to "master" then netconfd-pro will be available on the standard SNMP transport address and will accept SNMP messages.


When the snmp-agent-role-parameter is set to "subagent" then netconfd-pro will perform the following functions with regards to SNMP:

  • Initiates AgentX sessions with the master SNMP agent
  • Registers MIB regions with the master agent
  • Instantiates managed objects
  • Binds OIDs within its registered MIB regions to actual variables
  • Performs management operations on variables

Please refer to IETF RFC 2741 for more details on SNMP agent/subagent roles.


The snmp-agent-role parameter can be set via the command line when starting netconfd-pro like this:


user@system> netconfd-pro --snmp-agent-role=subagent


or set in netconfd-pro's configuration file, located by default at /etc/yumapro/netconfd-pro.conf


#### leaf snmp-agent-role
#
# Specifies the SNMP agent role. The default is 'master'.
#
#  Enum values:
#    master:
#       A 'master' agent that is available on the standard transport
#       address and that accepts SNMP protocol messages.
#    subagent:
#       An agent acting in a subagent role performs the
#       following functions:
#           -  Initiates AgentX sessions with the master agent
#           -  Registers MIB regions with the master agent
#           -  Instantiates managed objects
#           -  Binds OIDs within its registered MIB regions to actual
#              variables
#           -  Performs management operations on variables
#
# snmp-agent-role master
#
snmp-agent-role subagent