04-12-2022 11:00 AM - edited 04-12-2022 11:23 AM
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
Solved! Go to Solution.
04-12-2022 11:19 AM
Looks like interfaces are L3 by default so to change just type "switchport" in interface configuration mode then run your command again.
Jon
04-12-2022 11:19 AM
Looks like interfaces are L3 by default so to change just type "switchport" in interface configuration mode then run your command again.
Jon
04-12-2022 11:25 AM
incorrect you have it backwards
04-12-2022 11:27 AM - edited 04-12-2022 11:28 AM
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
04-12-2022 11:26 AM
Doh! Thank you John
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide