need SNMP command to copy running-config to working and copy working certified flash-synchro

Post Reply
olaf_j
Member
Posts: 3
Joined: 11 May 2022 01:59

need SNMP command to copy running-config to working and copy working certified flash-synchro

Post by olaf_j »

Hello,
Anybody knows how to snmpset oid for "copy running-config working" and "copy working certified flash-synchro" aka "write memory flash synchro"?

Older Mibs like "snmpset -v 3 -l authpriv -u USER -a sha -A PASS -x aes -X PASS IP 1.3.6.1.4.1.6486.800.1.2.1.11.1.1.1.43.0 i 1" and "snmpset -v 3 -l authpriv -u USER -a sha -A PASS -x aes -X PASS IP 1.3.6.1.4.1.6486.800.1.1.1.3.1.1.1.1.3.65 i 3" will not work on AOS8.10.

Thanks
Olaf
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 2084
Joined: 01 Jul 2008 10:51
Location: Germany

Re: need SNMP command to copy running-config to working and copy working certified flash-synchro

Post by silvio »

I have often answered here in the forum how to get the OID.
Look into the cli-guide - at the command you find the MIB-Objekt: f.e. configWriteMemory
At the cli of the switch you can translate this to the OID.
> show snmp object identifier configWriteMemory

BR Silvio
olaf_j
Member
Posts: 3
Joined: 11 May 2022 01:59

Re: need SNMP command to copy running-config to working and copy working certified flash-synchro

Post by olaf_j »

Hello Silvio,
thankyou for your answer, but doesn't work.
show snmp object identifier configWriteMemory
1.3.6.1.4.1.6486.801.1.2.1.11.1.1.1.43

snmpset -v 3 -l authpriv -u USER -a sha -A PASS -x des -X PASS IP 1.3.6.1.4.1.6486.801.1.2.1.11.1.1.1.43 i 0
Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: iso.3.6.1.4.1.6486.801.1.2.1.11.1.1.1.43


MIB:
configWriteMemory OBJECT-TYPE
SYNTAX Integer32 (0..1)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"A set of this object causes
the entire switch snap-shot configuration to
be stored in the boot.cfg file in the
current running directory."
DEFVAL { 0 }
::= { configManager 43 }

BR Olaf
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 2084
Joined: 01 Jul 2008 10:51
Location: Germany

Re: need SNMP command to copy running-config to working and copy working certified flash-synchro

Post by silvio »

Hi,
never tested it by myself. User "USER" has read-write all? But the message is clear.
You have tested snmp-get and walk? Maybe there are OID below....

In the KB I have found a similar ticket. I hope this is helpfull:

The OIDs “configWriteMemory” and “chasControlVersionMngt.65” are used to trigger the “write memory” and “copy flash-synchro” commands, but they do not provide the status of these commands.

To check the status, use the following OIDs:
- configChangeStatus – 1.3.6.1.4.1.6486.801.1.2.1.11.1.1.1.45
- chasControlCertifyStatus.65 – 1.3.6.1.4.1.6486.801.1.1.1.3.1.1.1.1.4
- chasControlSynchronizationStatus.65 – 1.3.6.1.4.1.6486.801.1.1.1.3.1.1.1.1.5
These OIDs can be used to monitor the progress or result of the commands.


Please find the sample output below:

Code: Select all

->"su"
Entering maintenance shell. Type 'exit' when it is done.
"EVEREST #-> snmpwalk -v2c -c name localhost 1.3.6.1.4.1.6486.801.1.2.1.11.1.1.1.45"
[ALCATEL-IND1-CONFIG-MGR-MIB::configChangeStatus.0 = INTEGER: different(2)]
"EVEREST #-> snmpwalk -v2c -c name localhost 1.3.6.1.4.1.6486.801.1.1.1.3.1.1.1.1.4"
[ALCATEL-IND1-CHASSIS-MIB::chasControlCertifyStatus.65 = INTEGER: needCertify(2)]
"EVEREST #-> snmpwalk -v2c -c name localhost 1.3.6.1.4.1.6486.801.1.1.1.3.1.1.1.1.5"
[ALCATEL-IND1-CHASSIS-MIB::chasControlSynchronizationStatus.65 = INTEGER: synchronized(4)]
"EVEREST #-> exit"
olaf_j
Member
Posts: 3
Joined: 11 May 2022 01:59

Re: need SNMP command to copy running-config to working and copy working certified flash-synchro

Post by olaf_j »

Hello Simon,
The OIDs I checked work, but only snmpget. snmpset doesn't.
Reason: notWritable (The object doesn't support changes).

Thank you for your support. I'll open a ticket with ALE.

BR
Olaf
Post Reply

Return to “OmniSwitch 6560 / 6570M”