On regular MS switches all the possible VLAN numbers are created automatically (1 - 1001, 1006-4094). So you can just use the VLANs on your ports. This however can be seen as a waste of TCAM space. On a Catalyst switch the TCAM allowed for VLAN definitions is smaller on C9300 and C9200 switches. This is why by default the Catalyst switches create vlans 1-1000 (and now 1-995). If you run IOS-XE native you can actually see the VLANs that are created by using the Cloud CLI. However if you want to use VLAN's above the 1000 number you should use the VLAN database feature @Slayton already explained. In fact if you can always use the VLAN database and only create the VLANs you actually need. Then you are sure to not run out of space if you like to put your management SVI in VLAN 2002 like I do 😉
... View more