snmpmibd Daemon
Purpose
Starts the snmpmibd Distributed Protocol Interface (DPI) version 2 sub-agent daemon as a background process.
Syntax
snmpmibd [ -f file ] [ -d [level] ] [ -h hostname ] [ -c community ]
Description
The snmpmibd command starts the snmpmibd Distributed Protocol Interface (DPI) version 2 (dpi2) sub-agent. This command may only be issued by a user with root privileges or by a member of the system group.
The snmpmibd daemon complies with the standard Simple Network Management Protocol (SNMP) DPI version 2.0 defined by RFC 1592. It acts as a dpi2 sub-agent to communicate with the dpi2 agent through dpiPortForTCP.0 (1.3.6.1.4.1.2.2.1.1.1.0) which is defined in RFC 1592 section 3.1.
The Management Information Base (MIB) is defined by RFC 1155(SMIv1) and RFC 2578(SMIv2).
- RFC 1213
- MIB-II
- RFC 1229
- Extension to the Generic-Interface MIB
- RFC 1231
- IEEE 802.5 Token Ring MIB
- RFC 1398
- Ethernet-like Interface Types MIB
- RFC 1512
- FDDI MIB
- RFC 4022
- MIB for the Transmission Control Protocol (TCP)
- RFC 4113
- MIB for the User Datagram Protocol (UDP)
- RFC 4292
- IP Forwarding Table MIB
- RFC 4293
- Management Information Base for the Internet Protocol (IP)
For the RFC 4292, read-only access is provided to the variables.
For the RFC 4293, read and write access is provided to the ipv6IpForwarding variable and the ipv6IpDefaultHopLimit variable. Read-only access is provided to the other MIB variables. Both the server and the agent must use the SNMP v2c protocol or later, because some variables defined in this RFC cannot be accessed using the SNMP v1 protocol.
The snmpmibd daemon is normally executed during system startup when /etc/rc.tcpip shell script is called.
The snmpmibd daemon should be controlled using the System Resource Controller (SRC). Entering snmpmibd at the command line is not recommended.
- startsrc
- Starts a subsystem, group of subsystems, or a subserver.
- stopsrc
- Stops a subsystem, group of subsystems, or a subserver.
- refresh
- Causes a subsystem or group of subsystems to reread the appropriate configuration file.
- lssrc
- Gets the status of a subsystem, group of subsystems, or a subserver. If the user issuing the long status form of the lssrc command is not the root user, no community name information is displayed.
Flags
Item | Description |
---|---|
-c community | Uses specified community name. If -c flag is not specified, the default community name is public. |
-d [level] | Specifies tracing/debug level. The levels are:
If -d flag is specified and the level is not specified, the default level is 56. If -d flag is not specified, the default level is 0. |
-f file | A non-default configuration file. If the -f flag is not specified, the default configuration file is /etc/snmpmibd.conf. See /etc/snmpmibd.conf file for information on this file format. |
-h hostname | Sends request to specified host. The value of the hostname attribute can be an IPv4 address, an IPv6 address, or a host name. If the -h flag is not specified, the default destination host is loopback (127.0.0.1). |
Examples
- To start the snmpmibd daemon, enter a command similar to
the following:
This command starts the snmpmibd daemon and reads the configuration file from /tmp/snmpmibd.conf.startsrc -s snmpmibd -a "-f /tmp/snmpmibd.conf"
- To stop the snmpmibd daemon normally,
enter:
This command returns the name of the daemon, the process ID of the daemon, and the state of the daemon (active or inactive).stopsrc -s snmpmibd
- To get long status from the snmpmibd daemon, enter:
If you are the root user, this long form of the status report lists the configuration parameters in /etc/snmpmibd.conf.lssrc -ls snmpmibd
Files
Item | Description |
---|---|
/etc/snmpmibd.conf | Defines the configuration parameters for snmpmibd command. |
/etc/mib.defs | Defines the Management Information Base (MIB) variables the SNMP agent and manager should recognize and handle. |