c2900PortSwitchPortIndex
CISCO-C2900-MIB ·
.1.3.6.1.4.1.9.9.87.1.4.1.1.29
Object
column Integer32
Switch port index of a port is a value that uniquely identifies the port within a switch. This is obtained from the port index (c2900PortIndex) and the module index (c2900PortModuleIndex).
Context
- MIB
- CISCO-C2900-MIB
- OID
.1.3.6.1.4.1.9.9.87.1.4.1.1.29- Type
- column
- Access
- readonly
- Status
- current
- Parent
- c2900PortEntry
- Groups
- 6
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 'CISCO-C2900-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-C2900-MIB::c2900PortSwitchPortIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-C2900-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-C2900-MIB::c2900PortSwitchPortIndex.<c2900PortModuleIndex>.<c2900PortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-C2900-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-C2900-MIB::c2900PortSwitchPortIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-64