You are on page 1of 1

.

///CONFIGURACION ULTIMA DE VLAN////////////


Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#EXIT
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#ENABLE
Switch#CONFIGURE TERMINAL
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#HOSTNAME SW1
SW1(config)#INTERFACE VLAN 10
SW1(config-if)#IP ADDRESS 192.168.0.1 255.255.255.0
SW1(config-if)#NO SHUTDOWN
SW1(config-if)#EXIT
SW1(config)#VLAN 10
SW1(config-vlan)#
%LINK-5-CHANGED: Interface Vlan10, changed state to up
SW1(config-vlan)#EXIT
SW1(config)#INTERFACE VLAN 20
SW1(config-if)#IP ADDRESS 192.168.1.1 255.255.255.0
SW1(config-if)#NO SHUTDOWN
SW1(config-if)#EXIT
SW1(config)#VLAN 20
SW1(config-vlan)#
%LINK-5-CHANGED: Interface Vlan20, changed state to up

You might also like