zxAnIfDhcpTestAuthMode
ZTE-AN-INTERFACE-MIB ·
.1.3.6.1.4.1.3902.1015.3.1.50.2.2.1.20
Object
column r/w
Enumeration
DHCP test authentication mode.
noAuth(1) - DHCP test without authentication.
option60String(2) - authenticate with
zxAnIfDhcpTestOption60String.
usernameAndPassword(3) - authenticate with zxAnIfDhcpTestUserName
and zxAnIfDhcpTestPassword.
Context
- MIB
- ZTE-AN-INTERFACE-MIB
- OID
.1.3.6.1.4.1.3902.1015.3.1.50.2.2.1.20- Type
- column
- Access
- readwrite
- 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::zxAnIfDhcpTestAuthMode'
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::zxAnIfDhcpTestAuthMode.<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::zxAnIfDhcpTestAuthMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noAuth |
2 | option60String |
3 | usernameAndPassword |