mirrorType
DMswitch-MIB ·
.1.3.6.1.4.1.3709.3.5.201.1.8.2.1.2
Object
column r/w
Enumeration
If this value is rx(1), receive packets will be mirrored. If this value is tx(2), transmit packets will be mirrored. If this value is all(3), all packts will be mirrored
Context
- MIB
- DMswitch-MIB
- OID
.1.3.6.1.4.1.3709.3.5.201.1.8.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mirrorEntry
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 'DMswitch-MIB' -M '/opt/observium/mibs/datacom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DMswitch-MIB::mirrorType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DMswitch-MIB' -M '/opt/observium/mibs/datacom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DMswitch-MIB::mirrorType.<mirrorSourcePort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DMswitch-MIB' -M '/opt/observium/mibs/datacom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DMswitch-MIB::mirrorType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | rx |
2 | tx |
3 | all |
4 | disable |