Switch
Switch
Switch
utm_source=pbweb&utm_medium=promo&utm_campa
ign=mar-15
CONFIGURACION BASICA DEL SWITCH
*Configure el nombre de host del switch como se indica en la topologa.
Switch(config)#hostname S1
*Configure una contrasea encriptada del modo EXEC privilegiado en class.
S1(config)#enable secret class
*Deshabilite la bsqueda del DNS
S1(config)#no ip domain-lookup
*Configure la contrasea cisco para las conexiones de la consola.
S1(config)#line console 0
S1(config-line)#password cisco
S1(config-line)#login
*Configure la contrasea cisco para las conexiones vty.
S1(config-line)#line vty 0 15
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#end
%SYS-5-CONFIG_I: Configured from console by console
*Guardar configuracion
S1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
-------------------------------------------------------------------------------CONFIGURACION DE VLAN, HABILITAR PUERTOS
S2(config)#interface fa0/6
S2(config-if)#switchport mode access
S2(config-if)#no shutdown
S2(config-if)#interface fa0/11
S2(config-if)#switchport mode access
S2(config-if)#no shutdown
S2(config-if)#interface fa0/18
S2(config-if)#switchport mode access
S2(config-if)#no shutdown
-------------------------------------------------------------------------------CONFIGURACION VTP EN LOS 3 SWITCHES
S1(config)#vtp mode server
S1(config)#vtp domain Lab5
S1(config)#vtp password cisco
S1(config)#end
S2(config)#vtp mode client
S2(config)#vtp domain Lab5
S2(config)#vtp password cisco
S2(config)#end
S3(config)#vtp mode client
Setting device to VTP CLIENT mode
S2(config-if)#interface fa0/18
S2(config-if)#switchport access vlan 20
S2(config-if)#end
S2#copy running-config startup-config
Destination filename [startup-config]? [enter]
Building configuration...
[OK]
S2#
-------------------------------------------------------------------------------Examinar la configuracin predeterminada del Protocolo spanning tree (STP) 802.1D.
S1#show spanning-tree
-------------------------------------------------------------------------------Examine el rbol de expansin de la VLAN 99 para los tres switches
S1#show spanning-tree vlan 99
-------------------------------------------------------------------------------OPTIMIZAR STP
S1(config)#spanning-tree vlan 99 priority 4096
S1(config)#exit