When trying to configure a port in a layer-3 VLAN we get the error "Port is not in layer-2 mode".
Reading the documentation regarding layer-3 VLANs everything seems pretty straight forward, but we can't get it to work. We have following configuration:
interface TenGigabitEthernet 1/5
no ip address
shutdown
!
interface Vlan 2
name management
ip address "ip-address" /24
no shutdown
!
Next we try
configure terminal
interface vlan2
untagged TenGigabitEthernet 1/5
Error: Port is not in Layer-2 mode Te 1/5
But it's layer-3, so the port shouldn't be in layer-2 mode.
Are any other configuration steps needed? Or has anyone expercience with this error?
Best regards,
Sven Vanwalleghem