g6TrapObjPortId
MICROSENS-G6-NOTIFICATION-MIB ·
.1.3.6.1.4.1.3181.10.6.1.2.7
Object
scalar SNMPv2-SMIInteger32
Port identification in snmp compliant integer format. Value is calculated as (slot * 100) + port.
Context
- MIB
- MICROSENS-G6-NOTIFICATION-MIB
- OID
.1.3.6.1.4.1.3181.10.6.1.2.7- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- g6TrapObjects
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 'MICROSENS-G6-NOTIFICATION-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MICROSENS-G6-NOTIFICATION-MIB::g6TrapObjPortId.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MICROSENS-G6-NOTIFICATION-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MICROSENS-G6-NOTIFICATION-MIB::g6TrapObjPortId'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647