Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Can i turn off auto vlan creation?

on a 2950 and above maybe some lower.. if you go in config and enter this on a interface

switchport access vlan 300

however my switch was not configured for vlan 300 it creates a vlan 300 container on the fly. i want to know is there a way to turn that off.. in case someone typos the wrong vlan, next thing i know i have switches with vlans configured that should'nt have them..??

i want to be forced to create the vlan first in config mode not in interface config mode.

2 REPLIES
Silver

Re: Can i turn off auto vlan creation?

that behavior is inherent in all 3k , 2k platforms , but does note exist in 4k and 6k. AFAIK , there is no way to disable it except running the switch in vtp client mode . That will not create the vlan . If the switch is vtp server or in transparent mode , the vlan will be created automatically.

thanks

New Member

Re: Can i turn off auto vlan creation?

Thank you for your response, And yes we run in transparent mode..

363
Views
0
Helpful
2
Replies
CreatePlease to create content