Hello,

I've just tried "mode access" and it's working great, thanks a lot.

By the way, I've tested another thing for "mode trunk" this time and it seems it doesn't work.
Again it's on Dell N2000 series.

So here's the first configuration :
vlan 620,633-634,650,655,682,714,718,720,722

# show running-config interface po1

switchport mode trunk
When I go in the NAV interface, choose my switch, configure port, go to po1, click on trunk, all vlan are checked (also vlan 1, logical)
If I uncheck a vlan, it says "Trunk edit successful ", but configuration doesn't change.

So I tried another thing, I added this line
switchport mode trunk
switchport trunk allowed vlan 620,633-634,650,655,682,714,718,720,722
When I go in the NAV interface, choose my switch, configure port, go to po1, click on trunk, all vlan are checked except vlan 1, also logical
If I uncheck a vlan and save, there's an error
Error editing trunk: SNMP Error: commitFailed
and nothing happens on the switch.

Cordialement,
IOGS Logo
Ludovic Vinsonnaud - Ingénieur Réseau
basé à Bordeaux, bureau F108 (IOA, Rue François Mitterrand, 33400 Talence)

Institut Optique Graduate School
2 Avenue Augustin Fresnel - 91127 PALAISEAU Cedex
Tel. +33 5 57 01 71 52 - Mob. +33 6 08 08 41 05
Le 04/12/2017 à 08:39, Morten Brekkevold a écrit :
On Fri, 1 Dec 2017 18:37:01 +0100 Vinsonnaud Ludovic <ludovic.vinsonnaud@institutoptique.fr> wrote:

I'm in version 4.8.1
Good!

So the patch is working with your command.

   $ patch -p2 -d /usr/share/pyshared < 1625.diff
   - patching file nav/portadmin/snmputils.py
   - patching file nav/smidumps/dnos_switching_mib.py
   - patching file nav/web/portadmin/views.py

But when I restart apache here's the error in the log
[snip]
[Fri Dec 01 10:44:51.129536 2017] [wsgi:error] ImportError: No module named
dnos_switching_mib
Ah, this is an added complication of patching a Debian system.

The patch creates an entirely new file in the Python library, under the
`/usr/share/pyshared` directory. Since this file was not a part of the
original Debian package, there is no symlink to it under the
`/usr/lib/python2.7/dist-packages` directory (Debian uses symlinks to
support multiple installed versions of Python).

Please try this (as root, with a permissive umask):

ln -s /usr/share/pyshared/nav/smidumps/dnos_switching_mib.py \
      /usr/share/python2.7/dist-packages/nav/smidumps/