Documentos de Académico
Documentos de Profesional
Documentos de Cultura
MXICO.
PLANTEL IXTAPALUCA.
PRACTICA 12 Configuracin bsica de la funcin VTP bajo
procedimiento.
MANEJO DE REDES.
MRDE-02.
NOMBRE: Trujillo Barajas Casandra.
DOCENTE: Carmona Snchez Aurelio Alejandro.
GRADO: 6 Semestre.
GRUPO: 603.
TURNO: Vespertino.
CARRERA: P.T.B En Informtica.
MATRCULA: 122360177-2.
CICLO ESCOLAR: 2.14.15
SECRETARA DE EDUCACIN
SUBSECRETARA DE EDUCACIN MEDIA
SUPERIOR Y SUPERIOR
AV. VICENTE GUERRERO No. 2, AYOTLA, IXTAPALUCA, ESTADO DE MXICO C.P. 56560,
TELS. (55) 59862312, 59862313 ixtapaluca@conalepmex.edu.mx - www.conalepmex.edu.mx
Unidad
de
aprendizaje 3: Administracin de redes de rea local virtuales.
Propsito de la prctica: Configurar las VLAN y el protocolo de enlaces troncales (VTP) en todos los
switches por procedimiento, para su uso.
Materiales, Herramientas, Instrumental, Maquinaria y Equipo:
2 Estaciones de trabajo
1 Switch.
1 cables directo.
1 cable de consola.
PROCEDIMIENTO.
1-Abrimos packet tracer
2- Seguiremos usando la misma topologa de red que las dos prcticas anteriores
4-
6-A continuacin se mostrara con el comando show vtp status la configuracin VTP actuales en los 3
switch
Nota: observara que en los tres switch muestra el modo servidor por lo cual deberemos de cambiar su
configuracin de la siguiente manera
7Estableceremos Lab4 como nombre de dominio vtp y cisco como contrasea vtp
Nota: usaremos el comando vtp mode server y vtp password cisco
Este paso se realiza en todos los host restantes solamente cambia la direccin IP y el Gateway.
Para verificar que se hayan creado las vlan lo hacemos con el cdigo show vlan brief
s1#show vlan brief
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------1 default
active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
99 vlan99
active
1002 fddi-default
active
1003 token-ring-default
active
1004 fddinet-default
active
1005 trnet-default
active
s1#
Como siguiente paso deshabilitamos todos los puertos con el comando shutdown.
s1(config)#interface range fa0/1-24
s1(config-if-range)#shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to administratively down
s1(config-if-range)#
Se hace hasta el numero 24 porque son el
s1(config)#
nmero de host
y
se
vuelven a
encender con el mismo cdigo solo en vez de shutdown es no shutdown
Despues insertamos la contrasea en los 3 switch (enable secret, console, line vty)
s1#config t
Enter configuration commands, one per line. End with CNTL/Z.
s1(config)#enable secret class
s1(config)#no ip domain-lookup
s1(config)#line console 0
s1(config-line)#password cisco
s1(config-line)#login
s1(config-line)#line vty 0 15
s1(config-line)#password cisco
s1(config-line)#login
s1(config-line)#end
s1#
%SYS-5-CONFIG_I: Configured from console by console
s1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
s1#
Despus se habilitan los puertos de usuario en s2 y s3.
s2#config t
Enter configuration commands, one per line. End with CNTL/Z.
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
s2(config-if)#exit
s2(config)#exit
s2#
%SYS-5-CONFIG_I: Configured from console by console
s2#
Este
paso tambin se realiza en el Switch 3
Ahora vemos que el switch 1 este como servidor
s1#show vtp status
VTP Version
:2
Configuration Revision
:2
Maximum VLANs supported locally : 255
Number of existing VLANs
:6
VTP Operating Mode
: Server
VTP Domain Name
:
VTP Pruning Mode
: Disabled
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 digest
: 0x3E 0xAD 0x9F 0x08 0xA4 0x68 0x1B 0x46
Configuration last modified by 0.0.0.0 at 3-1-93 00:21:02
Local updater ID is 0.0.0.0 (no valid interface found)
s1#
Switch 2 se configura para que este en modo cliente:
s2(config)#vtp mode client
Setting device to VTP CLIENT mode.
Este cdigo es para
s2(config)#exit
establecerlo en modo
s2#
cliente.
%SYS-5-CONFIG_I: Configured from console by console
Exit
Y aparece de este modo:
s2#show vtp status
VTP Version
:2
Configuration Revision
:0
Maximum VLANs supported locally : 255
Number of existing VLANs
:5
VTP Operating Mode
: Client
VTP Domain Name
:
VTP Pruning Mode
: Disabled
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 digest
: 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
s2#
De este mismo modo se hace con el Switch 3 para ponerlo en modo transparente.
Cdigo
para
colocarlo
en
modo
8
transparente
s3#config t
Enter configuration commands, one per line. End with CNTL/Z.
s3(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
s3(config)#
s3#show vtp status
VTP Version
:2
Configuration Revision
:0
Maximum VLANs supported locally : 255
Number of existing VLANs
:5
VTP Operating Mode
: Transparent
VTP Domain Name
:
VTP Pruning Mode
: Disabled
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 digest
: 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
s3#
Despus se colocan en cada uno de los Switch la contrasea vtp
s1#
s1#config t
Enter configuration commands, one per line. End with CNTL/Z.
s1(config)#vtp password cisco
%The VTP password cannot be set for NULL domain
s1(config)#end
s1#
%SYS-5-CONFIG_I: Configured from console by console
Dominio VTP
s1#config t
Enter configuration commands, one per line. End with CNTL/Z.
s1(config)#vtp domain lab4
Changing VTP domain name from NULL to lab4
s1(config)#
El
dominio
se
configura en los 3
Switch de la misma
manera.
De este modo creamos las vlan y a cada una se le puso un nombre conforme a la prctica.
s1(config)#vlan 99
s1(config-vlan)#name management
s1(config-vlan)#exit
s1(config)#vlan 10
s1(config-vlan)#name faculty/staff
s1(config-vlan)#exit
s1(config)#vlan 20
s1(config-vlan)#name students
s1(config-vlan)#exit
s1(config)#vlan 30
s1(config-vlan)#name guest
s1(config-vlan)#exit
s1(config)#exit
s1#
%SYS-5-CONFIG_I: Configured from console by
console
10
De
esta manera se ve si se crearon las vlan.
s1#show vlan brief
VLAN Name
Status Ports
---- -------------------------------- --------- ------------------------------1 default
active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
10 faculty/staff
active
20 students
active
30 guest
active
99 management
active
Despues solamente en los switch 2 y 3 se crea una vlan 88.
En el switch 2 no se puede.
s2(config)#vlan 88
VTP VLAN configuration not allowed when device is in CLIENT mode.
s2(config)#
En el switch 3 si
s3(config)#vlan 88
s3(config-vlan)#name test
s3(config-vlan)#exit
s3(config)#exit
88 test
11
active