Dell POWEREDGE M1000E User Manual

Page 42

Advertising
background image

22

Fabric OS MIB Reference

53-1002750-01

Fabric OS commands for configuring SNMP

1

snmpConfig --set mibCapability
[-mib_name <mib_name> [ -bitmask
<bit_mask>]]

--set mibCapability
Configures MIBs interactively. When used
without a MIB name, this command displays a
menu with supported MIBs and associated
traps, and for each MIB or trap, you are
prompted to confirm or change the default by
specifying yes or no. Specifying yes means you
can access the MIB variables with an SNMP
manager. All MIBs and associated traps are by
default enabled.

-mib_name <mib_name>
Specifies the name of the MIB to be
configured. This operand is required if
you want to configure MIB traps
non-interactively. Valid MIB names include
the following:

FE-MIB

SW-MIB

FA-MIB

FICON-MIB

HA-MIB

FCIP-MIB

ISCSI-MIB

IF-MIB

BD-MIB

-bitmask <bit_mask>
Specifies the bit mask for the MIB. In Fabric OS
v6.4.0 and later, SNMP Traps are identified by
their bit mask and can be read directly from the
switch configuration. The MIB and trap status
(enabled or disabled) status is recorded in a
64- bit counter. The last bit (bit 0) is reserved
for the MIB and the remaining bits are reserved
for the traps of that MIB. The trap's position is
allocated based on the last ID of the trap OID.
For example, the last ID of the swEventTrap is 5
so its position will be fifth from the right.

snmpConfig --enable |--disable
mibCapability -mib_name
<mib_name> [-trap_name
<trap_name>]

--enable mibCapability -mib_name
<mib_name>
Enables the specified MIB non-interactively.

--disable mibCapability -mib_name
<mib_name>
Disables the specified MIB non-interactively.
When used with the trap name operand, only
the specified trap is disabled.

-trap_name <trap_name>
Specifies the name of the trap to be disabled.
This operand is optional. Use snmpConfig
--show mibCapability for a listing of valid traps.

snmpConfig --help

--help
Displays the command usage.

snmptraps --send [-trap_name
<trap_name>] [-ip_address
<ip_address>]

--send
Sends one or all SNMP traps to all configured
recipients or to a specified recipient.

-trap_name <trap_name>
Specifies the trap by name. Use snmptraps
--show for a listing of valid traps.

-ip_address <ip_address>
Specifies the recipient by its IP address. The IP
address must be specified in IPv4 format.

TABLE 6

Detailed description of the commands (Continued)

Command

Operands

Arguments

Advertising