Tecnologico de Estudios Superiores de Ecatepec

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

TECNOLOGICO DE

ESTUDIOS SUPERIORES
DE ECATEPEC

Nombre (s): Medardo Adrián Martínez Ramírez Matrícula(s): 201720226

Nombre de la asignatura: Interconectividad de redes


Nombre del profesor(a): Oscar Escobar Domínguez

Título: Practica 19 Configuracion VLAN con Trunk

Introducción:
Una VLAN (virtual LAN) es, conceptualmente, una red de área local
formada a nivel lógico. Dada esta particularidad, las VLANs proveen una
forma de separar grupos de hosts con objetivos diferentes aunque estos
se encuentren conectados al mismo switch. A su vez, en este punto, nos
permite optimizar los puertos de switch.

Tecnológico de Estudios Superiores de Ecatepec


TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

SW-1(config-if-range)#shu
SW-1(config-if-range)#no shu
SW-1(config-if-range)#no shutdown
SW-1(config-if-range)#shu
SW-1(config-if-range)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/7, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/8, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/9, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to administratively down

Tecnológico de Estudios Superiores de Ecatepec


TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

%LINK-5-CHANGED: Interface FastEthernet0/12, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/13, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/14, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/15, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/16, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/17, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/19, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/20, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/21, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/22, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/23, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/24, changed state to administratively down


SW-1(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to


down

%LINK-5-CHANGED: Interface FastEthernet0/2, 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

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to


down

SW-1(config-if-range)#exit
SW-1(config)#inter

Tecnológico de Estudios Superiores de Ecatepec


TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

SW-1(config)#interface fas
SW-1(config)#interface fastEthernet 0/1
SW-1(config-if)#do show vlan b
SW-1(config-if)#do show vlan brief

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active 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, Gig0/1, Gig0/2
10 Ventas active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW-1(config-if)#sw
SW-1(config-if)#switchport po
SW-1(config-if)#switchport port-security
SW-1(config-if)#sw
SW-1(config-if)#switchport por
SW-1(config-if)#switchport port-security ma
SW-1(config-if)#switchport port-security max
SW-1(config-if)#switchport port-security maximum 1
SW-1(config-if)#sw
SW-1(config-if)#switchport por
SW-1(config-if)#switchport port-security se
SW-1(config-if)#switchport port-security vio
SW-1(config-if)#switchport port-security violation
% Incomplete command.
SW-1(config-if)#switchport port-security violation ?
protect Security violation protect mode
restrict Security violation restrict mode
shutdown Security violation shutdown mode
SW-1(config-if)#switchport port-security violation sh
SW-1(config-if)#switchport port-security violation shutdown
SW-1(config-if)#sw
SW-1(config-if)#switchport por
SW-1(config-if)#switchport port-security mac
SW-1(config-if)#switchport port-security mac-address 00E0.A33A.9668
SW-1(config-if)#end
SW-1#

Tecnológico de Estudios Superiores de Ecatepec


TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

%SYS-5-CONFIG_I: Configured from console by console

SW-1#cop
SW-1#copy ru
SW-1#copy running-config start
SW-1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SW-1#

SW-1 con0 is now available

Press RETURN to get started.

Acceso restringido

User Access Verification

Password:

SW-1>en

Tecnológico de Estudios Superiores de Ecatepec


TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

SW-1>enable
Password:
SW-1#conf
SW-1#configure ter
SW-1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW-1(config)#fas
SW-1(config)#inter
SW-1(config)#interface fas
SW-1(config)#interface fastEthernet 0/1
SW-1(config-if)#no shu
SW-1(config-if)#no shutdown

SW-1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to


up

SW-1(config-if)#

Name: Ventas
SW-2(vlan)#exit
APPLY completed.
Exiting....
SW-2#cop
SW-2#copy run
SW-2#copy running-config star
SW-2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SW-2#show vlan

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
Gig0/1, Gig0/2
10 Ventas active
Tecnológico de Estudios Superiores de Ecatepec
TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

1002 fddi-default active


1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

Remote SPAN VLANs


------------------------------------------------------------------------------

Primary Secondary Type Ports


------- --------- ----------------- ------------------------------------------
SW-2#conf
SW-2#configure ter
SW-2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW-2(config)#inter
SW-2(config)#interface ran
SW-2(config)#interface range fas
SW-2(config)#interface range fastEthernet 0/1-24
SW-2(config-if-range)#shu
SW-2(config-if-range)#shutdown

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/7, changed state to administratively down

Tecnológico de Estudios Superiores de Ecatepec


TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

%LINK-5-CHANGED: Interface FastEthernet0/8, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/9, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/12, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/13, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/14, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/15, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/16, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/17, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/19, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/20, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/21, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/22, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/23, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/24, changed state to administratively down


SW-2(config-if-range)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to


down

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to


down

Tecnológico de Estudios Superiores de Ecatepec


TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to


down

SW-2(config-if-range)#exit
SW-2(config)#inter
SW-2(config)#interface ra
SW-2(config)#interface range fas
SW-2(config)#interface range fastEthernet 0/|-|0
^
% Invalid input detected at '^' marker.
SW-2(config)#sw
SW-2(config)#interface range fastEthernet 0/1-|0
^
% Invalid input detected at '^' marker.
SW-2(config)#interface range fastEthernet 0/1-10
SW-2(config-if-range)#sw
SW-2(config-if-range)#switchport po
SW-2(config-if-range)#switchport mod
SW-2(config-if-range)#switchport mode ac
SW-2(config-if-range)#switchport mode access
SW-2(config-if-range)#sw
SW-2(config-if-range)#switchport ac
SW-2(config-if-range)#switchport access v
SW-2(config-if-range)#switchport access vlan 10
SW-2(config-if-range)#exit
SW-2(config)#inter
SW-2(config)#interface fas
SW-2(config)#interface fastEthernet 0/1
SW-2(config-if)#no sh
SW-2(config-if)#no shutdown

SW-2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to


up

SW-2(config-if)#sw
SW-2(config-if)#switchport p
SW-2(config-if)#switchport po
SW-2(config-if)#switchport port-security
SW-2(config-if)#sw

Tecnológico de Estudios Superiores de Ecatepec


TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

SW-2(config-if)#switchport por
SW-2(config-if)#switchport port-security max
SW-2(config-if)#switchport port-security maximum 1
SW-2(config-if)#sw
SW-2(config-if)#switchport po
SW-2(config-if)#switchport port-security vi
SW-2(config-if)#switchport port-security violation shu
SW-2(config-if)#switchport port-security violation shutdown
SW-2(config-if)#switchport port-security violation res
SW-2(config-if)#switchport port-security violation restrict
SW-2(config-if)#sw
SW-2(config-if)#switchport por
SW-2(config-if)#switchport port-security mac
SW-2(config-if)#switchport port-security mac-address 00D0.BCBD.7420
SW-2(config-if)#end
SW-2#
%SYS-5-CONFIG_I: Configured from console by console
co
SW-2#cop
SW-2#copy run
SW-2#copy running-config start
SW-2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SW-2#
SW-2#sh
SW-2#show por
SW-2#show port-security in
SW-2#show port-security interface fas
SW-2#show port-security interface fastEthernet 0/1
Port Security : Enabled
Port Status : Secure-up
Violation Mode : Restrict
Aging Time : 0 mins
Aging Type : Absolute
SecureStatic Address Aging : Disabled
Maximum MAC Addresses : 1
Total MAC Addresses : 1
Configured MAC Addresses : 1
Sticky MAC Addresses : 0
Last Source Address:Vlan : 0000.0000.0000:0
Security Violation Count : 0

Tecnológico de Estudios Superiores de Ecatepec


TECNOLOGICO DE
ESTUDIOS SUPERIORES
DE ECATEPEC

Conclusiones:

Por su naturaleza, una VLAN puede formarse también a partir de


múltiples segmentos de LAN. Esto permiten que estaciones de trabajo
ubicadas físicamente en lugares diferentes pueden trabajar en la misma
red lógica (es decir, con el mismo direccionamiento de red), como si
estuvieran conectadas al mismo switch. La figura 4 muestra un ejemplo
de este caso.Ingresando el comando de show ipv6 eigrp
neighbors podemos observar los vecinos descubiertos por EIGRPv6.

Fuentes de Información:
https://www.mikroways.net/2010/01/18/introduccion-a-las-vlan/

Firma de revisión:

Tecnológico de Estudios Superiores de Ecatepec

You might also like