[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5

snmpmibd Daemon

Purpose

Starts the snmpmibd dpi2 sub-agent daemon as a background process.

Syntax

snmpmibd [ -f File ] [ -d [Level] ] [ -h HostName ] [ -c Community ]

Description

The snmpmibd command starts the snmpmibd 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 Distributed Protocl Interface 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 RFC1592 section 3.1.

The Management Information Base(MIB) is defined by RFC 1155. The specific MIB variables snmpmibd is managing are defined by the following RFCs:

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
Note
The "system" and "snmp" groups defined in RFC1213 are not implemented by snmpdmibd daemon. Instead they are implemented by snmpdv3 agent.

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.

Use the following SRC commands to manipulate the snmpmibd daemon:

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

-c Community Use specified community name. If -c flag is not specified, the default community name is public.
-d [Level] Specifies tracing/debug level. The levels are:
8
DPI level 1
16
DPI level 2
32
Internal level 1
64
Internal level 2
128
Internal level 3
Add the numbers for multiple trace levels.

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 Send request to specified host. If -h flag is not specified, the default destination host is loopback (127.0.0.1).

Examples

  1. To start the snmpmibd daemon, enter a command similar to the following:
    startsrc -s snmpmibd -a "-f /tmp/snmpmibd.conf"
    This command starts the snmpmibd daemon and reads the configuration file from /tmp/snmpmibd.conf.
  2. To stop the snmpmibd daemon normally, enter:
    lssrc -s hostmbid
    This command returns the name of the daemon, the process ID of the daemon, and the state of the daemon (active or inactive).
  3. To get long status from the snmpmibd daemon, enter:
    lssrc -ls snmpmibd
    If you are the root user, this long form of the status report lists the configuration parameters in /etc/snmpmibd.conf.

Files

/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.

Related Information

The hostmibd command, snmpdv3 daemon.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]