If I want to create 3 VLANs, I've to do it one by one like this.
conf t
vlan 2
vlan 3
vlan 4
Same thing goes with deletion.
conf t
no vlan 2
no vlan 3
no vlan 4
Is there a way to do it in a single line? Probably something like
conf t
vlan 2 3 4
!or
conf t
no vlan 2 3 4
!or
conf t
vlan 2, 3, 4
!or
conf t
no vlan 2, 3, 4
!or
conf t
vlan 2-4
!or
conf t
no vlan 2-4
Anyway I have tested those, but didn't work. Basically, that's the idea. If the question is not clear, please let me know.