Error compiling ALU-SAR7705-CAPABILITY-V22v4.mib in Spectrum MibTools
search cancel

Error compiling ALU-SAR7705-CAPABILITY-V22v4.mib in Spectrum MibTools

book

Article ID: 247191

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The below error was seen compiling ALU-SAR7705-CAPABILITY-V22v4.mib:

Could not parse the file ALU-SAR7705-CAPABILITY-V20v4. 
Couldn't resolve these TC constructs :
{ TmnxPtpClockProfile, TPolicyStatementNameOrEmpty }

Environment

Release : 21.2

Cause

The MIB was missing an import statement and I removed the TmnxPtpClockProfile entry in the MIB.

Resolution

Added the following import statement to the MIB.

TPolicyStatementNameOrEmpty   FROM TIMETRA-TC-MIB

 

Remove the following from the MIB:

  VARIATION   tmnxPtpClockProfile
            SYNTAX  TmnxPtpClockProfile {
                    -- g8265dot1-2010       (1)
                       ieee1588-2008        (2),
                       g8275dot1-2014       (3),
                       iec-61850-9-3-2016   (10),
                       c37dot238-2017       (11)
                    }
            DESCRIPTION
                 "tmnxPtpClockProfile does not support the value 'g8265dot1-2010
                  (1)' but supports 'iec-61850-9-3-2016 (10) and c37dot238-2017'
                  on the Nokia 7705"

After making the above changes the MIB was successfully complied in MIbTools.