zhoneTrapSubPort
ZHONE-SYSTEM-MIB ·
.1.3.6.1.4.1.5504.3.1.2.7
Object
scalar Integer32
This variable is sent with all traps. This contains the value of the subport that originated the trap. If this is a system or card level trap (no port is associated with the trap), this value is 0. It may also be 0 if not subports are associated with this physical port such as in the case of an ethernet port.
Context
- MIB
- ZHONE-SYSTEM-MIB
- OID
.1.3.6.1.4.1.5504.3.1.2.7- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- zhoneTraps
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-SYSTEM-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-SYSTEM-MIB::zhoneTrapSubPort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-SYSTEM-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-SYSTEM-MIB::zhoneTrapSubPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647
Conformance
Member of