netMgmtIpAddress

STAND-ALONE-ETHERNET-SWITCH-MIB · .1.3.6.1.4.1.437.1.1.3.4.1

Object

scalar mandatory r/w RFC1155-SMIIpAddress
The switch's administrative IP address.  The
switch may automatically discover a value for this object
using the BootStrap protocol (BOOTP).  The object value is
also duplicated in the MIB-II ipAddrTable.
          
The following applies to switches operating with
firmware version smaller than 6.00:
          
    When VLANs are present, The switch may be configured
    with up to 4 administrative IP addresses, one per VLAN.
    This object, in this case, configures the IP address
    for the first VLAN.  See the object vlanTable for
    how to configure the other IP addresses.
          
    Assigning multiple VLAN IP addresses is only necessary
    if the VLANs in use represent separate physical IP subnets.
    This allows a management station residing on a VLAN to
    directly manage the switch without the need for an
    intervening router/gateway.
A write to this object will take effect immediately,
replacing the previous address, if any.

Context

MIB
STAND-ALONE-ETHERNET-SWITCH-MIB
OID
.1.3.6.1.4.1.437.1.1.3.4.1
Type
scalar
Access
readwrite
Status
mandatory
Parent
netMgmt

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::netMgmtIpAddress.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::netMgmtIpAddress'

Syntax

Source
RFC1155-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4