snMspsIfIpAddrAllocProtocol
SN-MSPS-SCX-MIB ·
.1.3.6.1.4.1.4329.20.1.1.1.1.34.5.1.6
Object
column r/w
Enumeration
Specifies the protocol to be used to obtain
IP address for this interface. This object is
valid only when snMspsIfIpAddrAllocMethod is set to
dynamic (3).
Currently rarp (1) option is not
supported. The assigned value will be effective
only when the interface admin status changes
Context
- MIB
- SN-MSPS-SCX-MIB
- OID
.1.3.6.1.4.1.4329.20.1.1.1.1.34.5.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Default
dhcp- Parent
- snMspsIfIpEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsIfIpAddrAllocProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsIfIpAddrAllocProtocol.<snMspsIfMainIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SN-MSPS-SCX-MIB::snMspsIfIpAddrAllocProtocol'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | rarp |
2 | dhcp |