adminAgentDhcp
NEXANS-BM-MIB ·
.1.3.6.1.4.1.266.20.2.2
Object
scalar r/w
Enumeration
If set to enable(1), the switch tries to get his IP parameter via DHCP. If set to disable(2), the switch uses the IP parameters defined with adminIpAddress, adminDefRouterIpAddress and adminNetmask. Changes of this value will take affect after the next switch reboot or after setting adminReset to renewIpAndVlanParameter(5).
Context
- MIB
- NEXANS-BM-MIB
- OID
.1.3.6.1.4.1.266.20.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- bmSwitchAdmin
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NEXANS-BM-MIB::adminAgentDhcp.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NEXANS-BM-MIB::adminAgentDhcp'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |