pPortCountersStatus
SWITCH-VLAN-MIB ·
allied-old variant
·
.1.3.6.1.4.1.207.8.9.2.5.2.3.1.1.10
Object
column r/w
Enumeration
An object used to enable or disable counters for physical ports whose pPortMediaType is 'eth10', 'eth100', or 'eth100F'. In some instances it is not possible to determine the state of the counters.
Context
- MIB
- SWITCH-VLAN-MIB
- OID
.1.3.6.1.4.1.207.8.9.2.5.2.3.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- pPortEntry
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 'SWITCH-VLAN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-VLAN-MIB::pPortCountersStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-VLAN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-VLAN-MIB::pPortCountersStatus.<pPortNumber>.<h3cFlhIndex>.<h3cFlhChipSerialNo>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-VLAN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-VLAN-MIB::pPortCountersStatus'
Syntax
Enumeration
Values & Constraints
Object Constraints
range: 1-8