enc2191PortSwitchCount
GUDEADS-ENC2191-MIB ·
.1.3.6.1.4.1.28507.61.1.3.1.2.1.4
Object
column SNMPv2-SMIInteger32
The total number of switch actions ocurred on a Relay Port. Does not count switch commands which will not switch the ralay state, so just real relay switches are displayed here.
Context
- MIB
- GUDEADS-ENC2191-MIB
- OID
.1.3.6.1.4.1.28507.61.1.3.1.2.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- enc2191portEntry
- Groups
- 1
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 'GUDEADS-ENC2191-MIB' -M '/opt/observium/mibs/gude:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GUDEADS-ENC2191-MIB::enc2191PortSwitchCount'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GUDEADS-ENC2191-MIB' -M '/opt/observium/mibs/gude:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GUDEADS-ENC2191-MIB::enc2191PortSwitchCount.<enc2191PortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GUDEADS-ENC2191-MIB' -M '/opt/observium/mibs/gude:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GUDEADS-ENC2191-MIB::enc2191PortSwitchCount'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of