agentPortMirrorTypeType
NETGEAR-SWITCHING-MIB ·
.1.3.6.1.4.1.4526.10.1.2.10.5.1.2
Object
column r/w
Enumeration
The direction of the data to be mirrored on this source port.
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
- NETGEAR-SWITCHING-MIB
- OID
.1.3.6.1.4.1.4526.10.1.2.10.5.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentPortMirrorTypeEntry
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 'NETGEAR-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETGEAR-SWITCHING-MIB::agentPortMirrorTypeType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETGEAR-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETGEAR-SWITCHING-MIB::agentPortMirrorTypeType.<agentPortMirrorSessionNum>.<agentPortMirrorTypeSourcePort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETGEAR-SWITCHING-MIB' -M '/opt/observium/mibs/netgear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETGEAR-SWITCHING-MIB::agentPortMirrorTypeType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | tx |
2 | rx |
3 | txrx |