Professional Documents
Culture Documents
Configuracion VTP
Configuracion VTP
enable
configure terminal
hostname S1
enable
configure terminal
hostname S2
enable
configure terminal
hostname S3
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
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
vlan 99
name management
exit
vlan 10
name engineering
exit
vlan 20
name sales
exit
vlan 30
name administration
exit
S3
vtp mode client
vtp domain access
vtp password lab4
end
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
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
=============================================================================
###############################################################################
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S2
vtp mode client
vtp domain EXAMEN
vtp password exa2016
S3
vtp mode client
vtp domain EXAMEN
vtp password exa2016
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
int fax/x ()
switchport mode trunk
switchport trunk native vlan 99
no sh
O
PARA TODOS LOS SWITCHES
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