tnPortPhysStateChangeCount

TN-PORT-MIB · .1.3.6.1.4.1.7483.6.1.2.2.4.2.1.73

Object

The value of tnPortPhysStateChangeCount indicates the number of times
a physical port state has changed from 'linkDown (3)' to either
'linkUp (4)' or 'up (5)' and from either 'linkUp (4)' or 'up (5)' to
'linkDown (3)'.  The count does not include transitions between
'linkUp (4)' and 'up (5)'.
              
This counter is applicable to physical Ethernet ports only. All other
ports maintain a count of 0.
              
This object is automatically reset to zero, once the port enters the
'ghost (2)' state.  To reset this object manually, one may use the
tnClearTable entry whose tnClearName value is
'clearPortPhysStateChangeCount' by specifying the tnClearParams value
with 'port-id=<ifIndex>'.

Context

MIB
TN-PORT-MIB
OID
.1.3.6.1.4.1.7483.6.1.2.2.4.2.1.73
Type
column
Access
readonly
Status
current
Parent
tnPortEntry

Walk 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 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-PORT-MIB::tnPortPhysStateChangeCount'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-PORT-MIB::tnPortPhysStateChangeCount.<tnPortPortID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TN-PORT-MIB::tnPortPhysStateChangeCount'

Syntax

Source
SNMPv2-SMICounter32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295