cpcSessionPacketLength
CISCO-PACKET-CAPTURE-MIB ·
.1.3.6.1.4.1.9.9.602.1.1.2.1.4
Object
The length of packet to be captured by this session. If the
length of an actual packet is greater than the value of this
object, the session will only capture the first number of
bytes specified by this object. A value zero for this object
indicates that the entire packet will be captured.
This object may not be modified if value of the corresponding
instance of cpcSessionOperStatus is 'inProgress'.
Context
- MIB
- CISCO-PACKET-CAPTURE-MIB
- OID
.1.3.6.1.4.1.9.9.602.1.1.2.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Units
- octets
- Parent
- cpcSessionConfigEntry
- 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::cpcSessionPacketLength'
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::cpcSessionPacketLength.<cpcSessionId>'
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::cpcSessionPacketLength'
Syntax
octetsSNMPv2-SMIUnsigned32
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of