cpcSessionAction
CISCO-PACKET-CAPTURE-MIB ·
.1.3.6.1.4.1.9.9.602.1.1.2.1.6
Object
column r/w
Enumeration
The action control for this capture session.
Setting this object to 'start' causes the capture
session to be started if it is not running.
Setting this object to 'stop' terminates the
capturing session if it is running.
The value of this object will be changed to 'stop'
when value of the corresponding instance of
cpcSessionOperStatus leaves from 'inProgress' to
other status.
This object may only be set when the corresponding
instance value of cpcSessionConfigStatus is 'active'.
Context
- MIB
- CISCO-PACKET-CAPTURE-MIB
- OID
.1.3.6.1.4.1.9.9.602.1.1.2.1.6- Type
- column
- Access
- readwrite
- Status
- current
- 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::cpcSessionAction'
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::cpcSessionAction.<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::cpcSessionAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | start |
2 | stop |
Conformance
Member of