Está en la página 1de 20

Instituto tecnologico del

valle de Oaxaca
INTERCONECTIVIDAD DE REDES
ALUMNA: Patricia Eugenio López
DOCENTE: Carlos Enrique Morales Bautista
GRADO Y GRUPO: 5 “A”
TRABAJO: Bitácora de Desafío de laboratorio: protocolo spanning
tree
FECHA:18 de noviembre del 2022

Ingeniería informática
Actividad PT 5.5.3: Resolución de problemas del
protocolo spanning tree
Objetivos de aprendizaje
Al completar esta práctica de laboratorio podrá:
 Analizar un problema de congestión en una red LAN
redundante conmutada.
 Reconocer las capacidades para el equilibrio de cargas por
VLAN con PVST.
 Modificar la configuración predeterminada de STP para
optimizar el ancho de banda disponible.
 Verificar que las modificaciones hayan tenido el efecto
deseado.
Escenario
Usted está encargado de la operación de la LAN redundante conmutada que
se muestra en el diagrama de topología. Se ha observado una latencia
creciente durante las horas pico de uso y el análisis apunta a los enlaces
troncales congestionados. Puede reconocer que de los seis enlaces
troncales configurados, sólo tres envían paquetes en la configuración
predeterminada de STP que se ejecuta actualmente. La solución a este
problema requiere un uso más efectivo de los enlaces troncales disponibles.
La función PVST+ de los switches de Cisco proporciona la flexibilidad
necesaria para distribuir el tráfico entre los switches mediante los seis
enlaces troncales. Esta práctica de laboratorio finaliza cuando todos los
enlaces troncales conectados transporten tráfico y los tres switches
participen en el balanceo de carga por VLAN para los tres usuarios.
Tarea 1: Preparar la red

Paso 1: Cablear una red de manera similar al


diagrama de topología. Puede utilizar
cualquier switch actual en su práctica de
laboratorio siempre y cuando éste tenga las
interfaces necesarias que se muestran en el
diagrama de topología. El resultado que se
muestra en esta práctica de laboratorio está
basado en los switches Cisco 2960. El uso de
cualquier otro modelo de switch puede
producir resultados distintos. Establezca
conexiones de consola en los tres switches.
Paso 3: Cargar los switches con la siguiente configuración:
enable secret class ! interface range password cisco
no ip domain-lookup interface FastEthernet0/1 FastEthernet0/5-24 login
! switchport trunk native vlan 99 shutdown line vty 5 15
vtp mode server switchport mode trunk ! password cisco
vtp domain Lab5 no shutdown interface GigabitEthernet0/1 login
vtp password cisco ! shutdown !
! interface FastEthernet0/2 ! end
vlan 99 switchport trunk native vlan 99 interface GigabitEthernet0/2
name Management switchport mode trunk shutdown
exit no shutdown !
! ! interface Vlan99
vlan 10 interface FastEthernet0/3 ip address 172.17.99.11
name Faculty/Staff switchport trunk native vlan 99 255.255.255.0
exit switchport mode trunk no shutdown
! no shutdown !
vlan 20 ! line con 0
name Students interface FastEthernet0/4 logging synchronous
exit switchport trunk native vlan 99 password cisco
! switchport mode trunk login
vlan 30 no shutdown line vty 0
name Guest ! no login
exit line vty 1 4
hostname S2
! interface range FastEthernet0/11 - 17
enable secret class switchport access vlan 10
no ip domain-lookup switchport mode access
! !
vtp mode client interface range FastEthernet0/18 - 24
vtp domain Lab5 switchport access vlan 20
vtp password cisco switchport mode access
! !
interface FastEthernet0/1 interface fa0/6
switchport trunk native vlan 99 no shutdown
switchport mode trunk interface fa0/11
no shutdown no shutdown
! interface fa0/18
interface FastEthernet0/2 no shutdown
switchport trunk native vlan 99 !
switchport mode trunk interface Vlan99
no shutdown ip address 172.17.99.12 255.255.255.0
! no shutdown
interface FastEthernet0/3 !
switchport trunk native vlan 99 line con 0
switchport mode trunk password cisco
no shutdown logging synchronous
! login
interface FastEthernet0/4 line vty 0 4
switchport trunk native vlan 99 password cisco
switchport mode trunk login
no shutdown line vty 5 15
! password cisco
interface range FastEthernet0/5 - 10
switchport access vlan 30
switchport mode access
!
hostname S3 !
! interface range FastEthernet0/5 - 10
enable secret class switchport access vlan 30
no ip domain-lookup switchport mode access
! !
vtp mode client interface range FastEthernet0/11 - 17
vtp domain Lab5 switchport access vlan 10
vtp password cisco switchport mode access
! !
interface FastEthernet0/1 interface range FastEthernet0/18 - 24
switchport trunk native vlan 99 switchport access vlan 20
switchport mode trunk switchport mode access
no shutdown !
! interface Vlan99
interface FastEthernet0/2 ip address 172.17.99.13 255.255.255.0
switchport trunk native vlan 99 no shutdown
switchport mode trunk !
no shutdown line con 0
! password cisco
interface FastEthernet0/3 login
switchport trunk native vlan 99 line vty 0 4
switchport mode trunk password cisco
no shutdown login
! line vty 5 15
interface FastEthernet0/4 password cisco
switchport trunk native vlan 99 login
switchport mode trunk end
no shutdown
Tarea 2: Configurar las PC host
Configure las interfaces Ethernet de PC1, PC2 y PC3 con la dirección IP, la máscara de subred
y la gateway indicadas en la tabla de direccionamiento.
Tarea 3: Identificar el estado inicial de todos los enlaces
troncales
En cada switch, muestre la tabla de spanning tree con el comando show spanning-tree. Observe qué puertos
realizan envíos en cada switch e identifique qué enlaces troncales no se están utilizando en la configuración
predeterminada. Puede utilizar su diseño de topología de red para documentar el estado inicial de todos los
puertos de enlace troncal.
Tarea 4: Modificar spanning tree para lograr el equilibrio de cargas
Modifique la configuración de spanning tree de manera que los seis enlaces troncales estén en uso.
Supongamos que las tres LAN de usuario (10, 20 y 30) transportan cantidades iguales de tráfico. Intente
encontrar una solución que tenga un conjunto diferente de puertos que hagan envíos para cada una de las
tres LAN de usuario. Como mínimo, cada una de las tres VLAN debe tener un switch distinto como raíz del
spanning tree.
!
S1#show run interface FastEthernet0/6 ! interface FastEthernet0/19 no login
Building configuration... shutdown shutdown line vty 1 4
Current configuration : 1842 bytes ! ! password cisco
! interface FastEthernet0/7 interface FastEthernet0/20 login
version 12.2 shutdown shutdown line vty 5 15
no service timestamps log datetime msec ! ! password cisco
no service timestamps debug datetime msec interface FastEthernet0/8 interface FastEthernet0/21 login
no service password-encryption shutdown shutdown !
! ! ! !
hostname S1 interface FastEthernet0/9 interface FastEthernet0/22 !
! shutdown shutdown !
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1 ! ! end
! interface FastEthernet0/10 interface FastEthernet0/23
no ip domain-lookup shutdown shutdown
! ! !
spanning-tree mode pvst interface FastEthernet0/11 interface FastEthernet0/24
spanning-tree extend system-id shutdown shutdown
spanning-tree vlan 10 priority 4096 ! !
spanning-tree vlan 20 priority 16384 interface FastEthernet0/12 interface GigabitEthernet0/1
! shutdown shutdown
interface FastEthernet0/1 ! !
switchport trunk native vlan 99 interface FastEthernet0/13 interface GigabitEthernet0/2
switchport mode trunk shutdown !
! ! interface Vlan1
interface FastEthernet0/2 interface FastEthernet0/14 no ip address
switchport trunk native vlan 99 shutdown shutdown
switchport mode trunk ! !
! interface FastEthernet0/15 interface Vlan99
interface FastEthernet0/3 shutdown ip address 172.17.99.11
switchport trunk native vlan 99 ! 255.255.255.0
switchport mode trunk interface FastEthernet0/16 !
! shutdown !
interface FastEthernet0/4 ! !
switchport trunk native vlan 99 interface FastEthernet0/17 !
switchport mode trunk shutdown line con 0
! ! password cisco
interface FastEthernet0/5 interface FastEthernet0/18 login
switchport trunk native vlan 99 shutdown !
switchport mode trunk ! line vty 0
shutdown
S2#show run interface FastEthernet0/4 interface FastEthernet0/11 interface FastEthernet0/18 !
Building configuration... switchport trunk native vlan 99 switchport access vlan 10 switchport access vlan 20 interface
Current configuration : 2788 bytes switchport mode trunk switchport mode access switchport mode access GigabitEthernet0/1
! ! ! ! shutdown
version 12.2 interface FastEthernet0/5 interface FastEthernet0/12 interface FastEthernet0/19 !
no service timestamps log datetime msec switchport access vlan 20 switchport access vlan 10 switchport access vlan 20 interface
no service timestamps debug datetime msec switchport trunk native vlan 99 switchport mode access switchport mode access GigabitEthernet0/2
no service password-encryption switchport mode access shutdown shutdown shutdown
! ! ! ! !
hostname S2 interface FastEthernet0/6 interface FastEthernet0/13 interface FastEthernet0/20 interface Vlan1
! switchport access vlan 30 switchport access vlan 10 switchport access vlan 20 no ip address
enable secret 5 switchport mode access switchport mode access switchport mode access shutdown
$1$mERr$9cTjUIEqNGurQiFU.ZeCi1 ! shutdown shutdown !
! interface FastEthernet0/7 ! ! interface Vlan99
no ip domain-lookup switchport access vlan 30 interface FastEthernet0/14 interface FastEthernet0/21 ip address
! switchport mode access switchport access vlan 10 switchport access vlan 20 172.17.99.12
spanning-tree mode pvst shutdown switchport mode access switchport mode access 255.255.255.0
spanning-tree extend system-id ! shutdown shutdown !
spanning-tree vlan 20 priority 4096 interface FastEthernet0/8 ! ! line con 0
spanning-tree vlan 30 priority 16384 switchport access vlan 30 interface FastEthernet0/15 interface FastEthernet0/22 password cisco
! switchport mode access switchport access vlan 10 switchport access vlan 20 login
interface FastEthernet0/1 shutdown switchport mode access switchport mode access !
switchport trunk native vlan 99 ! shutdown shutdown line vty 0 4
switchport mode trunk interface FastEthernet0/9 ! ! password cisco
! switchport access vlan 30 interface FastEthernet0/16 interface FastEthernet0/23 login
interface FastEthernet0/2 switchport mode access switchport access vlan 10 switchport access vlan 20 line vty 5 15
switchport trunk native vlan 99 shutdown switchport mode access switchport mode access password cisco
switchport mode trunk ! shutdown shutdown login
! interface FastEthernet0/10 ! ! !
interface FastEthernet0/3 switchport access vlan 30 interface FastEthernet0/17 interface FastEthernet0/24 end
switchport trunk native vlan 99 switchport mode access switchport access vlan 10 switchport access vlan 20
switchport mode trunk shutdown switchport mode access switchport mode access
! ! shutdown shutdown
S3#show run interface FastEthernet0/5 switchport access vlan 10 switchport mode access
Building configuration... switchport access vlan 20 switchport mode access shutdown
Current configuration : 2808 bytes switchport trunk native vlan 99 shutdown !
! switchport mode access ! interface FastEthernet0/20
version 12.2 ! interface FastEthernet0/13 switchport access vlan 20
no service timestamps log datetime msec interface FastEthernet0/6 switchport access vlan 10 switchport mode access
no service timestamps debug datetime msec switchport access vlan 30 switchport mode access shutdown
no service password-encryption switchport mode access shutdown !
! shutdown ! interface FastEthernet0/21
hostname S3 ! interface FastEthernet0/14 switchport access vlan 20
! interface FastEthernet0/7 switchport access vlan 10 switchport mode access
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1 switchport access vlan 30 switchport mode access shutdown
! switchport mode access shutdown ! interface Vlan99
no ip domain-lookup shutdown ! interface FastEthernet0/22 ip address 172.17.99.13
! ! interface FastEthernet0/15 switchport access vlan 20 255.255.255.0
spanning-tree mode pvst interface FastEthernet0/8 switchport access vlan 10 switchport mode access !
spanning-tree extend system-id switchport access vlan 30 switchport mode access shutdown
spanning-tree vlan 30 priority 4096 switchport mode access shutdown ! line con 0
spanning-tree vlan 10 priority 16384 shutdown ! interface FastEthernet0/23 password cisco
! ! interface FastEthernet0/16 switchport access vlan 20 login
interface FastEthernet0/1 interface FastEthernet0/9 switchport access vlan 10 switchport mode access !
switchport trunk native vlan 99 switchport access vlan 30 switchport mode access shutdown line vty 0 4
switchport mode trunk switchport mode access shutdown ! password cisco
! shutdown ! interface FastEthernet0/24 login
interface FastEthernet0/2 ! interface FastEthernet0/17 switchport access vlan 20 line vty 5 15
switchport trunk native vlan 99 interface FastEthernet0/10 switchport access vlan 10 switchport mode access password cisco
switchport mode trunk switchport access vlan 30 switchport mode access ! login
! switchport mode access shutdown interface GigabitEthernet0/1 !
interface FastEthernet0/3 shutdown ! shutdown end
switchport trunk native vlan 99 ! interface FastEthernet0/18 !
switchport mode trunk interface FastEthernet0/11 switchport access vlan 20 interface GigabitEthernet0/2
! switchport access vlan 10 switchport mode access shutdown
interface FastEthernet0/4 switchport mode access shutdown !
switchport trunk native vlan 99 shutdown ! interface Vlan1
switchport mode trunk ! interface FastEthernet0/19 no ip address
! interface FastEthernet0/12 switchport access vlan 20 shutdown
!
Resultado

También podría gustarte