dcpInterfacePortType
DCP-INTERFACE-MIB ·
.1.3.6.1.4.1.30826.2.2.1.1.1.1.11
Object
column OctetString
Port type of the interface.
Context
- MIB
- DCP-INTERFACE-MIB
- OID
.1.3.6.1.4.1.30826.2.2.1.1.1.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- dcpInterfaceEntry
- 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 'DCP-INTERFACE-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DCP-INTERFACE-MIB::dcpInterfacePortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DCP-INTERFACE-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DCP-INTERFACE-MIB::dcpInterfacePortType.<dcpInterfaceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DCP-INTERFACE-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DCP-INTERFACE-MIB::dcpInterfacePortType'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-128
Conformance
Member of