The 'vlan database' command is not working on the 2690-24TT switch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
LAN Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2024 07:33 AM
It packet tracer limitation
you need to use real device to check VLAN DB in RAM
MHM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
*** Please Rate All Helpful Responses ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2024 09:27 AM
Hello,
the command still seems to be available on the 2950T-24 (see screenshot)...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2024 09:29 AM
Please share the pkt ver. You use
Maybe it ver. Limitation
MHM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 10:00 AM
Oh, thank you. I might use this type of switch to teach my students.
