It depends on the IOS Version. If you are running the Switch with native IOS, for example a CAt 2924, than you have to enter it manually for each switchport, when you have a CatOS than just use set vlan xx 2/1-24 for example.
I haven´t heard of a faster method with the regular IOS. If you find something, please let me know. :-/
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...