swDevInfoNumOfPortInUse

SWL2MGMT-MIB · .1.3.6.1.4.1.2272.1.201.1.2.1.1.3

Object

scalar Integer32
The number of ports in this switch connected to the segment or
the end stations.

Context

MIB
SWL2MGMT-MIB
OID
.1.3.6.1.4.1.2272.1.201.1.2.1.1.3
Type
scalar
Access
readonly
Status
current
Parent
swL2DevInfo

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

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-65535