genPortId
CONFIG-MIB ·
avaya variant
·
.1.3.6.1.4.1.81.9.1.1.2
Object
column mandatory
Integer32
Index which identifies the port inside the group for which this entry contains information. It generally corresponds with the number by which the port is identified and is marked on the module. This value is never greater than genGroupNumberOfPorts of the group to which the port belongs.
Context
- MIB
- CONFIG-MIB
- OID
.1.3.6.1.4.1.81.9.1.1.2- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- genPortEntry
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 'CONFIG-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::genPortId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::genPortId.<genPortGroupId>.<genPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::genPortId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-255