Switch>enable
Switch#
Switch#configure terminal
Switch(config)#hostname ALSwitch (NOMBRE DEL SWITCH)
ALSwitch(config)#line con 0
ALSwitch(config-line)#password cisco (CLAVE DE CONSOLA)
Switch#
Switch#configure terminal
Switch(config)#hostname ALSwitch (NOMBRE DEL SWITCH)
ALSwitch(config)#line con 0
ALSwitch(config-line)#password cisco (CLAVE DE CONSOLA)
ALSwitch(config-line)#login
ALSwitch(config-line)#line vty 0 15
ALSwitch(config-line)#password cisco (CLAVE DE TELNET)
ALSwitch(config-line)#login
ALSwitch(config-line)#exit
ALSwitch(config)#enable password cisco (CLAVE DE ENABLE)
ALSwitch(config)#enable secret class (CLAVE DE ENABLE)
ALSwitch(config)#interface VLAN 1
ALSwitch(config-if)#ip address 192.168.1.2 255.255.255.0 (IP DEL SWITCH)
ALSwitch(config-if)#no shutdown
ALSwitch(config-if)#exit
ALSwitch(config)#ip default-gateway 192.168.1.1 (IP DEL ROUTER)
ALSwitch(config)#exit
ALSwitch#copy running-config startup-config
Destination filename [startup-config]?[Intro]
Building configuration...
[OK]
ALSwitch#