04-14-2024 07:17 AM
Hello everyone,
I am a teaching assistant at an university. I'm using Packet Tracer to configure VLANs based on MAC addresses, but when I try to use the 'vlan database' command, I encounter the following error:
Switch#vlan database
^ % Invalid input detected at '^' marker.
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan database
^ % Invalid input detected at '^' marker.
I'm unsure how to resolve this issue. I would greatly appreciate any assistance from the community. Thank you for your time and consideration.
04-14-2024 07:33 AM
It packet tracer limitation
you need to use real device to check VLAN DB in RAM
MHM
04-14-2024 09:20 AM
Hello @nvertee ,
the vlan database command was deprecated a while back. You can do the same thing with the following commands:
sw1(config)#vlan 3
or
sw1(config-if)#switchport access vlan 4
Hope this helps.
04-16-2024 10:03 AM
Thank you. In the context of MAC address-based VLAN, accessing VLAN configuration mode (Switch(config-vlan)#) is required. Assuming I utilize the command you provided, how can I effectively implement this method?
04-14-2024 09:27 AM
04-14-2024 09:29 AM
Please share the pkt ver. You use
Maybe it ver. Limitation
MHM
04-16-2024 10:06 AM
I'm currently using Packet Tracer version 8.2.2.0400. I suspect that the 'vlan database' command is not supported on simulated devices by Cisco.
04-16-2024 10:00 AM
Oh, thank you. I might use this type of switch to teach my students.
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