cpcCaptureSourceIfDirection
CISCO-PACKET-CAPTURE-MIB ·
.1.3.6.1.4.1.9.9.602.1.1.4.1.1
Object
column r/w
Enumeration
The direction of traffic to be captured.
rx : Only ingress traffic will be captured.
tx : Only egress traffic will be captured.
both: Traffic from both directions will be
captured.
This object may be modified if value of the
corresponding instance of cpcCaptureSourceIfStatus
is 'active'.
Context
- MIB
- CISCO-PACKET-CAPTURE-MIB
- OID
.1.3.6.1.4.1.9.9.602.1.1.4.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cpcCaptureSourceIfEntry
- Groups
- 1
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 'CISCO-PACKET-CAPTURE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PACKET-CAPTURE-MIB::cpcCaptureSourceIfDirection'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PACKET-CAPTURE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PACKET-CAPTURE-MIB::cpcCaptureSourceIfDirection.<cpcSessionId>.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PACKET-CAPTURE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PACKET-CAPTURE-MIB::cpcCaptureSourceIfDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | rx |
2 | tx |
3 | both |
Conformance
Member of