zxAnIfDhcpTestFailReason
ZTE-AN-INTERFACE-MIB ·
.1.3.6.1.4.1.3902.1015.3.1.50.2.2.1.10
Object
column Enumeration
The failed reason of test.
none(1) - no error
unknownError(2) - unknown error
hardwareNotSupport(3) - Hardware does not support the test.
notFindVlan(4) - Specified VLAN is not existed.
dhcpDiscoverTimeOut(5) - DHCP discover timed out.
dhcpRequestTimeOut(6) - DHCP request timed out.
refusedByDhcpServer(7) - DHCP request refused by server.
dhcpAuthFailed(8) - DHCP authentication failed.
dhcpTestTimeOut(9) - DHCP test timed out.
Context
- MIB
- ZTE-AN-INTERFACE-MIB
- OID
.1.3.6.1.4.1.3902.1015.3.1.50.2.2.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zxAnIfDhcpTestEntry
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 'ZTE-AN-INTERFACE-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-INTERFACE-MIB::zxAnIfDhcpTestFailReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-INTERFACE-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-INTERFACE-MIB::zxAnIfDhcpTestFailReason.<zxAnIfDhcpTestRack>.<zxAnIfDhcpTestShelf>.<zxAnIfDhcpTestSlot>.<zxAnIfDhcpTestPort>.<zxAnIfDhcpTestOnu>.<zxAnIfDhcpTestIfType>.<zxAnIfDhcpTestLogicalId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-INTERFACE-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-INTERFACE-MIB::zxAnIfDhcpTestFailReason'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | unknownError |
3 | hardwareNotSupport |
4 | vlanNotExist |
5 | dhcpDiscoverTimeOut |
6 | dhcpRequestTimeOut |
7 | refusedByDhcpServer |
8 | dhcpAuthFailed |
9 | dhcpTestTimeOut |