SNMP to file delete

Post Reply
mpmserrao

SNMP to file delete

Post by mpmserrao »

Hi all, i have a question. Do you think that is possible to delete the bof primary config file using SNNP? Tais feature is importante in a remote SR 7750 lab, to provide always the default configuration to users that starts the tasks. For the reboot we find in timetra chassis Mib a oid...
Thx in advance.
mivens
Member
Posts: 262
Joined: 28 Sep 2012 06:34

Re: SNMP to file delete

Post by mivens »

Not tried it but since the SNMP object for the primary configuration file location is listed in the MIB as being read-write, in theory you should be able to change such entries in the BOF file with an snmpset.

Code: Select all

$snmptranslate -Td -IR sbiPrimaryConfigFile

TIMETRA-SYSTEM-MIB::sbiPrimaryConfigFile
sbiPrimaryConfigFile OBJECT-TYPE
  -- FROM       TIMETRA-SYSTEM-MIB
  -- TEXTUAL CONVENTION TmnxDisplayStringURL
  SYNTAX        OCTET STRING (0..180) 
  MAX-ACCESS    read-write
  STATUS        current
  DESCRIPTION   "The value of sbiPrimaryConfigFile specifies the location and
         name of the primary configuration file."
Post Reply

Return to “7750 SR”