cat2600TsNumPorts

CAT2600-MIB · .1.3.6.1.4.1.9.1.111.1.2.1.2.1

Object

scalar mandatory Integer32
The maximum number of physical ports on the switch.  This
value includes all base ports plus all ports on any UFC cards.
It does not include internally defined Bridge Relay Function
ports or the CPU 'interface'.

Context

MIB
CAT2600-MIB
OID
.1.3.6.1.4.1.9.1.111.1.2.1.2.1
Type
scalar
Access
readonly
Status
mandatory
Parent
cat2600TsSys

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CAT2600-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CAT2600-MIB::cat2600TsNumPorts.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CAT2600-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CAT2600-MIB::cat2600TsNumPorts'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647