agentSwitchIPAddressConfigMethod
LANCOM-ROUTING-MIB ·
.1.3.6.1.4.1.2356.16.1.2.2.3.1.2
Object
column r/w
Enumeration
The Source of the IP Address. User can set the object to none(0) or dhcp(2). Option dhcp(2) enables Dhcp Client on the interface. Option none(0) disables Dhcp Client on the interface. Get on this object returns manual(1) only when the interface has a manually configured address.
Context
- MIB
- LANCOM-ROUTING-MIB
- OID
.1.3.6.1.4.1.2356.16.1.2.2.3.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentSwitchIpInterfaceEntry
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 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-ROUTING-MIB::agentSwitchIPAddressConfigMethod'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-ROUTING-MIB::agentSwitchIPAddressConfigMethod.<agentSwitchIpInterfaceIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-ROUTING-MIB::agentSwitchIPAddressConfigMethod'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | none |
1 | manual |
2 | dhcp |