Criar VLANs - No caso do CISCO 2960 não possuí sintaxe para criar uma range de VLANs, então no notepad++ listar os comandos e colar na CLI
1 2 3 4 5 |
vlan 30 name test30 vlan 31 name test31 vlan 32 name test32 vlan 33 name test33 LINHA VAZIA |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
Switch>ena Switch#show vlan Switch#vlan database % Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode. Switch(vlan)#vlan 30 name test30 VLAN 30 added: Name: test30 Switch(vlan)#vlan 31 name test31 VLAN 31 added: Name: test31 Switch(vlan)#vlan 32 name test32 VLAN 32 added: Name: test32 Switch(vlan)#vlan 33 name test33 VLAN 33 added: Name: test33 Switch(vlan)#exit APPLY completed. Exiting.... |
Apagar VLANs
1 2 3 4 5 |
no vlan 30 no vlan 31 no vlan 32 no vlan 33 LINHA VAZIA |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Switch#vlan database % Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode. Switch(vlan)#no vlan 30 Deleting VLAN 30... Switch(vlan)#no vlan 31 Deleting VLAN 31... Switch(vlan)#no vlan 32 Deleting VLAN 32... Switch(vlan)#no vlan 33 Deleting VLAN 33... Switch(vlan)#exit APPLY completed. Exiting.... |
Referências: