cpmL2Encapsulation
CISCO-POP-MGMT-MIB ·
.1.3.6.1.4.1.9.10.19.1.1.1.1.6
Object
column Enumeration
The data link encapsulation of the call currently
occuppying this DS0:
idle - This DS0 is currently idle.
unknown - The encapsulation of the currently
active call on this DS0 is not one
of the options following.
PPP -
slip -
arap -
hdlc -
exec -
voice - voice encapsulation; IANA type voiceEncap(103)
Context
- MIB
- CISCO-POP-MGMT-MIB
- OID
.1.3.6.1.4.1.9.10.19.1.1.1.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cpmDS0UsageEntry
- Groups
- 3
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-POP-MGMT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-POP-MGMT-MIB::cpmL2Encapsulation'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-POP-MGMT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-POP-MGMT-MIB::cpmL2Encapsulation.<cpmDS1SlotIndex>.<cpmDS1PortIndex>.<cpmChannelIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-POP-MGMT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-POP-MGMT-MIB::cpmL2Encapsulation'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | idle |
2 | unknown |
3 | ppp |
4 | slip |
5 | arap |
6 | hdlc |
7 | exec |
8 | voice |