zxr10dhcpIfMode
ZXR10-DHCP-RELAY-SERVER-MIB ·
.1.3.6.1.4.1.3902.3.349.2.2.1.2
Object
column Enumeration
DHCP work mode.
Context
- MIB
- ZXR10-DHCP-RELAY-SERVER-MIB
- OID
.1.3.6.1.4.1.3902.3.349.2.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zxr10dhcpIfCommonEntry
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 'ZXR10-DHCP-RELAY-SERVER-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-DHCP-RELAY-SERVER-MIB::zxr10dhcpIfMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-DHCP-RELAY-SERVER-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-DHCP-RELAY-SERVER-MIB::zxr10dhcpIfMode.<zxr10dhcpInterfaceName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-DHCP-RELAY-SERVER-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-DHCP-RELAY-SERVER-MIB::zxr10dhcpIfMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | server |
3 | relay |
4 | proxy |
5 | client |