Thanks a lot for this Mattias! This looks quite straightforward – very good.
We are working hard on NAV 4.6 right now (hopefully released this month), but I promise we will look into this in time for one of the next bugfix releases.
Issue in Launchpad - https://bugs.launchpad.net/nav/+bug/1643807
On 18/11/2016, 10:43, "Mattias Söderholm" mattias.soderholm@malax.fi wrote:
Hi. I have been searching about how to get save working for H3C switches and here's how:
snmpset -v2c -c <community> IP 1.3.6.1.4.1.25506.2.4.1.2.4.1.2.1 i 1 1.3.6.1.4.1.25506.2.4.1.2.4.1.9.1 i 4
.1.3.6.1.4.1.25506.2.4.1.2.4.1.2 hh3cCfgOperateType OBJECT-TYPE -- FROM HH3C-CONFIG-MAN-MIB -- TEXTUAL CONVENTION ConfigOperationType SYNTAX INTEGER {running2Startup(1), startup2Running(2), running2Net(3), net2Running(4), net2Startup(5), startup2Net(6), running2File(7), file2Running(8)} MAX-ACCESS read-create STATUS current DESCRIPTION "Specify the type of operation on configuration."
.1.3.6.1.4.1.25506.2.4.1.2.4.1.9 hh3cCfgOperateRowStatus OBJECT-TYPE -- FROM HH3C-CONFIG-MAN-MIB -- TEXTUAL CONVENTION RowStatus SYNTAX INTEGER {active(1), notInService(2), notReady(3), createAndGo(4), createAndWait(5), destroy(6)} MAX-ACCESS read-create STATUS current DESCRIPTION "The status of this table entry. When the status is active all the object's value in the entry is not allowed to be modified."
Would be nice if you can fix this in NAV, so we can have our changes saved directly in NAV. =)
/mattias
----- Ursprungligt meddelande ----- Från: "John Magne Bredal" john.m.bredal@uninett.no Till: "Mattias Söderholm" mattias.soderholm@malax.fi, "nav-users" nav-users@uninett.no Skickat: onsdag, 3 feb 2016 11:38:42 Ämne: Re: PortAdmin - save changes in HP 5130 switch?
On 03. feb. 2016 09:58, Mattias Söderholm wrote:
Hi. We have now inserted some HP 5130 EI (also HP 5700) switches in NAV and want to use PortAdmin. Everything works except saving to memory.
The problem is the save command! For HP Procurve switches you use "save" or "write memory" commands to save changes and it's done. HP 5130 EI is a little bit different. There you must use "save force", if you only use "save" command you have to answer some questions.
Can this be fixed?
For HP-devices Portadmin does not really execute a save-command on the device. When we implemented the support for HP-devices in Portadmin this was not necessary. For Cisco devices this is done by issuing a 'write mem' when the changes are done.
It is however very possible that upgrades on software and new types of equipment now requires the equivalent of a 'write mem' on HP aswell. In that case it must be implemented.
If you have any information about how to do this (mibs, oids or documentation regarding that) that would be very helpful.
Live long and prosper
-- John Magne Bredal john.m.bredal@uninett.no +4791897366
Abels gt. 5- Teknobyen NO-7465 Trondheim