What I'm getting with tcpdump is the following: GetRequest(33) 17.7.1.4.5.1.1.1 GetResponse(35) 17.7.1.4.5.1.1.1=<VLANTAG NOW> SetRequest(35) 17.7.1.4.5.1.1.1=<NEWVLANTAG> GetResponse(35) inconsistentValue@1 17.7.1.4.5.1.1.1=<NEWVLANTAG>
The RAW response with OID View looks like this: 1.3.6.1.2.1.17.7.1.4.5.1.1.1 GAUGE <VLANTAG> ( That is OID, TYPE, VALUE)
/Mattias
----- Ursprungligt meddelande ----- Från: "John Magne Bredal" john.m.bredal@uninett.no Till: "Morten Brekkevold" morten.brekkevold@uninett.no, "Mattias Söderholm" mattias.soderholm@malax.fi Kopia: "nav-users" nav-users@uninett.no Skickat: måndag, 7 mar 2016 14:35:09 Ämne: Re: Portadmin - Problem with changing Vlan
On 07. mars 2016 10:14, Morten Brekkevold wrote:
On Fri, 4 Mar 2016 09:49:43 +0200 Mattias Söderholm mattias.soderholm@malax.fi wrote:
For a couple of week ago we could change Vlan in portadmin and save with our HP 5130 switches. But now with Nav 4.4.2 it only show error when saving. It says: Error setting vlan: SNMP Error: inconsistentValue (The set value is illegal or unsupported in some way).
What can be the problem?
There have been some recent bugfixes to the Portadmin tool, specifically regarding HP switches. I'll have John-Magne look into it.
Hm, the bugfixes related to PortAdmin has been related to saving the interface-data to the database and access-control for users when that has been turned on. Nothing related to switching vlans has been changed.
You are however experiencing a problem, so lets try to debug it. The error message is for once describing quite well what is wrong, so we need to see what NAV tries to set. To do this you need to run some form of packet sniffer, for instance use tcpdump to capture and then use Wireshark to inspect the traffic. If you sniff when trying to set the vlan, it should give you the SNMP-command issued.
Regards