zxAnComPortAdminMode
ZTE-AN-INTERFACE-MIB ·
.1.3.6.1.4.1.3902.1015.3.1.14.2.1.1.13
Object
column r/w
Enumeration
The mode of COM port.
discovered(1) - The COM port will be discovered with broadcast
by the manager.
report(2) - The COM port will report itself to the manager.
Context
- MIB
- ZTE-AN-INTERFACE-MIB
- OID
.1.3.6.1.4.1.3902.1015.3.1.14.2.1.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnComPortEntry
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::zxAnComPortAdminMode'
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::zxAnComPortAdminMode.<zxAnComPortIfIndex>'
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::zxAnComPortAdminMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | discovered |
2 | report |