You are on page 1of 5

CONFIGURAR HOSTNAME EN LOS 3 SWITCH

enable
configure terminal
hostname S1

enable
configure terminal
hostname S2

enable
configure terminal
hostname S3

DESACTIVAR LA BUSQUEDA DNS PARA S1,S2,S3


no ip domain-lookup

CONFIGURE UNA CONTRASE�A DE CLASS EN MODO EXEC PRIVILEGIADO S1,S2,S3


enable secret class

CONFIGURE UNA CONTRASE�A DE CISCO PARA LAS CONEXIONES DE CONSOLA


line console 0
password cisco
login

VERIFICAR LAS CONFIGURACIONES VTP


show vtp status

CONFIGURAR MODO OPERATIVO NOMBRE DE DOMINIO Y CONTRASE�A VTP


(EN LOS 3 SWITCHES)
S1
vtp mode server #Se entra al modo VTP SERVER
vtp domain access #Se establece el dominio
vtp password lab4 #Se establece la contrae�a para la LAN

S2
vtp mode client #Se entra al modo VTP CLIENTE
vtp domain access #Se establece el dominio
vtp password lab4 #Se establece la contrae�a para la LAN

S3
vtp mode transparent #Se entra al modo VTP TRANSPARENTE
vtp domain access #Se establece el dominio
vtp password lab4 #Se establece la contrae�a para la LAN

CONFIGURAR EL ENLACE TRONCAL Y LA VLAN NATIVA PARA LOS PUERTOS DEL ENLACE TRONCAL

S1
int range fa0/1-5
switchport mode trunk
switchport trunk native vlan 99
no sh

S2
int range fa0/1-5
switchport mode trunk
switchport trunk native vlan 99
no sh

S3
int range fa0/1-5
switchport mode trunk
switchport trunk native vlan 99
no sh

CONFIGURE LA SEGURIDAD DEL PUERTO EN LOS SWITCHES


S2 Y S3 DE LA CAPA DE ACCESO

S2
interface fa0/6
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
int fa0/11
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
int fa0/18
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky

S3
int fa0/6
mode access
switchport port-security
switchport port-security maximum 2
switchport port-security violation shutdown
switchport port-security mac-address sticky
int fa0/11
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
int fa0/18
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky

CONFIGURAR LAS VLANS EN EL SERVIDOR VTP

vlan 99
name management
exit
vlan 10
name engineering
exit
vlan 20
name sales
exit
vlan 30
name administration
exit

VERIFICAR QUE LAS VLAN SE CREARON EN S1 A S2 Y S3


show vlan brief
VERIFICAR LA DIRECCION DE INT DE ADMINISTRACION EN LOS
3 SWITCHES

S3
vtp mode client
vtp domain access
vtp password lab4
end

CONFIGURE LOS 3 SWITCH CON LAS DIRECCIONES IP


ASIGNE ESTAS DIRECCIONES A LA VLAN DE ADMINISTRACION
DE RED VLAN 99

S1
interface vlan 99
ip address 172.17.99.11 255.255.255.0
no sh

S2
interface vlan 99
ip address 172.17.99.12 255.255.255.0
no sh

S3
interface vlan 99
ip address 172.17.99.13 255.255.255.0
no sh

ASIGNE PUERTOS DE SWITCH A LAS VLAN

S2
interface range fa0/6-10
switchport access vlan 30
interface range fa0/11-17
switchport access vlan 10
int range fa0/18-24
switchport access vlan 20
end
copy running-config startup-config

s3
int range fa0/6-11
switchport access vlan 30
int range fa0/11-17
switchport access vlan 10
int range fa0/18-24
switchport access vlan 20
end
copy running-config startup-config
=============================================================================

###############################################################################
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

configuracion switchs vtp


S1
vtp mode server
vtp domain EXAMEN
vtp password exa2016

S2
vtp mode client
vtp domain EXAMEN
vtp password exa2016

S3
vtp mode client
vtp domain EXAMEN
vtp password exa2016

configurar enlace troncal de s2 a r1


s2
INT FA0/1
switchport mode trunk
switchport trunk access

ASIGNAR VLAN A 3 PUERTOS(MODO GRAFICO)


int fa0/x
switchport access vlan n
switchport access vlan n
switchport access vlan n

S1(config)#interface FastEthernet0/11
S1(config-if)#switchport access vlan 15
S1(config-if)#exit
S1(config)#interface FastEthernet0/15
S1(config-if)#switchport access vlan 15
S1(config-if)#exit
S1(config)#interface FastEthernet0/8
S1(config-if)#switchport access vlan 10
S1(config-if)#exit
S1(config)#interface FastEthernet0/12
S1(config-if)#switchport access vlan 10
CONFIGURAR LA VIOLACION EN LOS SWITCHES
SOLO EN UNA INTERFAZ(EN UN SOLO PUERTO)

int fa0/5
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation restrict
switchport port-security mac-address sticky

configurar enlaces troncales


son todos los enlaces redundantes entre los switches
con acceso a la vlan nativa

int fax/x ()
switchport mode trunk
switchport trunk native vlan 99
no sh

O
PARA TODOS LOS SWITCHES

int range fa0/1-4


switchport mode trunk
switchport TRUNK NATIVE VLAN 99

int range fa0/1-5


switchport mode trunk
switchport TRUNK NATIVE VLAN 55

network 192.168.128.0
network 192.168.144.0
network 192.168.160.0
network 192.168.176.0
network 192.168.192.0
network 200.209.210.0

You might also like