cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2820
Views
0
Helpful
4
Replies

ERROR: 'switchport access vlan' is not supported on L3 interface

jjevans
Level 1
Level 1

I am trying to add ports to vlan 1000

 

Vlan 1000

Name vlan

 

interface Vlan1000

  no shutdown

  no ip redirects

  ip address 10.20.55.1/26

  no ipv6 redirects

  ip router eigrp 100

  ip passive-interface eigrp 100

 

interface Ethernet1/1-48

switchport mode access

  switchport access vlan 1000

  spanning-tree port type edge

 

Try to add vlan 1000 to port 1-48 but I get ERROR: eth1/1: 'switchport access vlan' is not supported on L3 interface

 

I do a show run and none of the ports are assigned to vlan 1000??? Not 1/1 -1/48 What am I doing wrong? TIA

switch# show run 

 

interface Ethernet1/1

interface Ethernet1/2

interface Ethernet1/3

 

NXOS image file is: bootflash:///nxos.9.3.2.bin

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

 

Looks like interfaces are L3 by default so to change just type "switchport" in interface configuration mode then run your command again. 

 

Jon

View solution in original post

4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

 

Looks like interfaces are L3 by default so to change just type "switchport" in interface configuration mode then run your command again. 

 

Jon

incorrect you have it backwards

 

Have what backwards, do you mean they are L2 by default ? 

 

If so then I guess eth1/1 must have been changed at some point. 

 

Jon

Doh! Thank you John