adGenMonitorSessionSrcDirection
ADTRAN-GEN-MONITOR-SESSION-MIB ·
.1.3.6.1.4.1.664.5.70.61.1.2.1.2
Object
column r/w
Enumeration
Provision for the traffic direction of source interface : rx(0) - Monitor traffic received (ingress) on this port , tx(1) - Monitor traffic transmitted (egress) on this port , both(2) - Monitor all traffic on this port.
Context
- MIB
- ADTRAN-GEN-MONITOR-SESSION-MIB
- OID
.1.3.6.1.4.1.664.5.70.61.1.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Default
both- Parent
- adGenMonitorSessionSrcProvEntry
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 'ADTRAN-GEN-MONITOR-SESSION-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GEN-MONITOR-SESSION-MIB::adGenMonitorSessionSrcDirection'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GEN-MONITOR-SESSION-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GEN-MONITOR-SESSION-MIB::adGenMonitorSessionSrcDirection.<adGenSlotInfoIndex>.<adGenMonitorSessionNum>.<adGenMonitorSessionSrcifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GEN-MONITOR-SESSION-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GEN-MONITOR-SESSION-MIB::adGenMonitorSessionSrcDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | rx |
1 | tx |
2 | both |