hm2AgentPortMirrorTypeType
HM2-PLATFORM-SWITCHING-MIB ·
.1.3.6.1.4.1.248.12.1.2.10.5.1.2
Object
column r/w
Enumeration
The direction of the data to be mirrored on this source port. none(0) - No configuration is set. tx(1) - The data that is transmitted from the source port. rx(2) - The data that is received on the source port. txrx(3) - The data that is transmitted/received from/on the source port
Context
- MIB
- HM2-PLATFORM-SWITCHING-MIB
- OID
.1.3.6.1.4.1.248.12.1.2.10.5.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2AgentPortMirrorTypeEntry
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 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentPortMirrorTypeType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentPortMirrorTypeType.<hm2AgentPortMirrorSessionNum>.<hm2AgentPortMirrorTypeSourcePort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentPortMirrorTypeType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | none |
1 | tx |
2 | rx |
3 | txrx |