cPtpClockPortCurrentPortNumberIndex
CISCO-PTP-MIB ·
.1.3.6.1.4.1.9.9.760.1.2.11.1.4
Object
column ClockPortNumber
This object specifies the PTP Port Number for the given port.
Context
- MIB
- CISCO-PTP-MIB
- OID
.1.3.6.1.4.1.9.9.760.1.2.11.1.4- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- cPtpClockPortAssociateEntry
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-PTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PTP-MIB::cPtpClockPortCurrentPortNumberIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PTP-MIB::cPtpClockPortCurrentPortNumberIndex.<cPtpClockPortCurrentDomainIndex>.<cPtpClockPortCurrentClockTypeIndex>.<cPtpClockPortCurrentClockInstanceIndex>.<cPtpClockPortCurrentPortNumberIndex>.<cPtpClockPortAssociatePortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PTP-MIB::cPtpClockPortCurrentPortNumberIndex'
Syntax
- Source
- ClockPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535