Greetings Panagiotis, do you have the ports in question in layer 2 access mode,
interface Ethernet1/10
no switchport
if your port configs have the ‘no switchport’ you’ll get an error like you described, from the switch cli, just put a ‘switchport’ on each port,
Mike
--
This part of the MIB would be a pretty big change for Cisco to deprecate, what version of code were you running? For the interface your trying to assign to a vlan, what does the cli output of ‘show int ethernet <interface-number> switchport’ look like,
Mike
example,
Name: Ethernet1/13
Switchport: Enabled
Switchport Monitor: Not enabled
Switchport Isolated : Not enabled
Switchport Block Multicast: Not enabled
Switchport Block Unicast: Not enabled
Mac learning: Disabled
Operational Mode: access
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Allowed: 1-4094
Administrative private-vlan primary host-association: none
Administrative private-vlan secondary host-association: none
Administrative private-vlan primary mapping: none
Administrative private-vlan secondary mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
--
And also the output ‘show running-config interface ethernet <interface-number> all’
Mike
From: <emulab...@googlegroups.com> on behalf of Panagiotis Christias <chri...@gmail.com>
Reply-To: "emulab...@googlegroups.com" <emulab...@googlegroups.com>
Date: Thursday, June 1, 2017 at 4:00 AM
To: emulab-admins <emulab...@googlegroups.com>
--