hm2PNIODcpMode

HM2-INDUSTRIAL-PROTOCOLS-MIB · .1.3.6.1.4.1.248.11.101.1.2.1.20.1.2

Object

column r/w Enumeration
DCP mode for one port.
Allowed values none(0), ingress(1), egress(2) or both(3) which is default.

Context

MIB
HM2-INDUSTRIAL-PROTOCOLS-MIB
OID
.1.3.6.1.4.1.248.11.101.1.2.1.20.1.2
Type
column
Access
readwrite
Status
current
Parent
hm2PNIODcpModeEntry

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 'HM2-INDUSTRIAL-PROTOCOLS-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-INDUSTRIAL-PROTOCOLS-MIB::hm2PNIODcpMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-INDUSTRIAL-PROTOCOLS-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-INDUSTRIAL-PROTOCOLS-MIB::hm2PNIODcpMode.<hm2PNIODcpModePortID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-INDUSTRIAL-PROTOCOLS-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-INDUSTRIAL-PROTOCOLS-MIB::hm2PNIODcpMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0none
1ingress
2egress
3both