Академический Документы
Профессиональный Документы
Культура Документы
UNIDAD 1
PASO 1
ACTIVIDAD COLABORATIVA 1
PRESENTADO POR:
CRISTIAN ALEXANDER ALZATE BEDOYA
CODIGO: 1.116.437.133
VIANNY CARLOS SALDARRIAGA
CODIGO: 1.113.650.353
YUSSEF ABDUL
CODIGO: 1.113.627.761
LUIS ALBERTO SANCHEZ
CODIGO: 16.786.134
GRUPO:
2150520_1
TUTOR:
NANCY AMPARO GUACA
INTRODUCCION
Cuando se inicia el curso de principio de lan inalambrica y cableada, se tiene como objetivo
conocer sobre redes conmutadas, la configuración y conceptos básicos de PVST, así como
aprender de Vlans y el BPDU entre estas y algunos conceptos de routing. Para esto los
estudiantes se apoyan en un material en línea, el cual ayuda a desarrollar las aptitudes
necesarias para planificar e implementar redes pequeñas con una variedad de aplicaciones.
En base a lo anterior, se realiza el trabajo colaborativo 1, del presente curso, en cual se
desarrollaran una serie de ejercicios y laboratorios, en los cuales se aplicaran los
conocimientos adquiridos en el módulo 1 de cisco, donde se dio un manejo inicial del
software de redes Cisco Packet Tracer en sus diversos aspectos.
Todo esto será de gran ayuda en la aplicación de soluciones en el mundo real, ya que es una
de las ramas de la ingeniería que más avanza en la actualidad, debido a las aplicaciones y
mejoras realizadas constantemente a las redes y sobre todo a la internet, por medio de la cual
millones de personas interactúan diariamente.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
OBJETIVOS
Conocer los parámetros básicos para realizar enrutamiento entre vlans de una red
básica.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
TABLA CONTENIDO
CONTENIDO
UNIDAD 1 .......................................................................................................................................... 1
INTRODUCCION............................................................................................................................. 2
OBJETIVOS ...................................................................................................................................... 3
TABLA CONTENIDO ..................................................................................................................... 4
CONTENIDOS .................................................................................................................................. 5
2.3.1.5 Packet Tracer - Configuring PVST+ ............................................................................... 5
2.3.2.2 Packet Tracer - Configuring Rapid PVST+ ................................................................. 23
3.2.1.3 Packet Tracer - Configuring EtherChannel Instructions ............................................ 38
3.2.2.3 Packet Tracer - Troubleshooting EtherChannel Instructions .................................... 52
2.1.2.10 Lab - Building a Switched Network with Redundant Links ..................................... 60
2.3.2.3 Lab - Configuring Rapid PVST+, PortFast, and BPDU Guard ................................. 77
3.2.1.4 Lab - Configuring EtherChannel................................................................................... 91
2.4.3.4 Lab - Configuring HSRP and GLBP ........................................................................... 105
CONCLUSIONES ......................................................................................................................... 123
REFERENCIAS BIBLIOGRAFICAS ........................................................................................ 124
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
CONTENIDOS
Topology
Addressing Table
Objectives
Background
In this activity, you will configure VLANs and trunks, and examine and configure the
Spanning Tree Protocol primary and secondary root bridges. You will also optimize the
switched topology using PVST+, PortFast, and BPDU guard.
Step 1: Enable the user ports on S1, S2, and S3 in access mode.
Refer to the topology diagram to determine which switch ports (S1, S2, and S3) are activated
for end-user device access. These three ports will be configured for access mode and enabled
with the no shutdown command.
Using the appropriate command, create VLANs 10, 20, 30, 40, 50, 60, 70, 80, and 99 on all
of the switches.
S1(config)# vlan 10
S1(config-vlan)# vlan 20
S1(config-vlan)# vlan 30
S1(config-vlan)# vlan 40
S1(config-vlan)# vlan 50
S1(config-vlan)# vlan 60
S1(config-vlan)# vlan 70
S1(config-vlan)# vlan 80
S1(config-vlan)# vlan 99
S2(config)# vlan 10
S2(config-vlan)# vlan 20
S2(config-vlan)# vlan 30
S2(config-vlan)# vlan 40
S2(config-vlan)# vlan 50
S2(config-vlan)# vlan 60
S2(config-vlan)# vlan 70
S2(config-vlan)# vlan 80
S2(config-vlan)# vlan 99
S3(config)# vlan 10
S3(config-vlan)# vlan 20
S3(config-vlan)# vlan 30
S3(config-vlan)# vlan 40
S3(config-vlan)# vlan 50
S3(config-vlan)# vlan 60
S3(config-vlan)# vlan 70
S3(config-vlan)# vlan 80
S3(config-vlan)# vlan 99
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Port assignments are listed in the table at the beginning of the activity. Save your
configurations after assigning switch ports to the VLANs.
Use the show vlan brief command on all switches to verify that all VLANs are registered in
the VLAN table.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Use the appropriate command to configure ports F0/1 to F0/4 on each switch as trunk ports,
and assign these trunk ports to native VLAN 99.
Step 6: Configure the management interface on all three switches with an address.
Verify that the switches are correctly configured by pinging between them.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Because there is a separate instance of the spanning tree for every active VLAN, a separate
root election is conducted for each instance. If the default switch priorities are used in root
selection, the same root is elected for every spanning tree instance, as we have seen. This
could lead to an inferior design. Some reasons to control the selection of the root switch
include:
The root switch is responsible for generating BPDUs for STP 802.1D and is the
focal point for spanning tree to control traffic. The root switch must be capable of
handling this additional load.
The placement of the root defines the active switched paths in the network. Random
placement is likely to lead to suboptimal paths. Ideally the root is in the distribution
layer.
Consider the topology used in this activity. Of the six trunks configured, only three
are carrying traffic. While this prevents loops, it is a waste of resources. Because the
root can be defined on the basis of the VLAN, you can have some ports blocking for
one VLAN and forwarding for another. This is demonstrated below.
Use the spanning-tree mode command to configure the switches so they use PVST as the
STP mode.
a. Configure S1 to be the primary root for VLANs 1, 10, 30, 50, and 70. Configure S3
to be the primary root for VLANs 20, 40, 60, 80, and 99. Configure S2 to be the
secondary root for all VLANs.
PortFast causes a port to enter the forwarding state almost immediately by dramatically
decreasing the time of the listening and learning states. PortFast minimizes the time it takes
for the server or workstation to come online. Configure PortFast on the switch interfaces
that are connected to PCs.
The STP PortFast BPDU guard enhancement allows network designers to enforce the STP
domain borders and keep the active topology predictable. The devices behind the ports that
have STP PortFast enabled are unable to influence the STP topology. At the reception of
BPDUs, the BPDU guard operation disables the port that has PortFast configured. The
BPDU guard transitions the port into the err-disable state, and a message appears on the
console. Configure BPDU guard on switch interfaces that are connected to PCs.
Topology
Addressing Table
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Objectives
Background
In this activity, you will configure VLANs and trunks, Rapid Spanning Tree PVST+, primary
and secondary root bridges, and examine the configuration results. You will also optimize
the network by configuring PortFast, and BPDU Guard on edge ports.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Using the appropriate command, create VLANs 10, 20, 30, 40, 50, 60, 70, 80, and 99 on all
of the switches.
S1(config)# vlan 10
S1(config-vlan)# vlan 20
S1(config-vlan)# vlan 30
S1(config-vlan)# vlan 40
S1(config-vlan)# vlan 50
S1(config-vlan)# vlan 60
S1(config-vlan)# vlan 70
S1(config-vlan)# vlan 80
S1(config-vlan)# vlan 99
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
S2(config)# vlan 10
S2(config-vlan)# vlan 20
S2(config-vlan)# vlan 30
S2(config-vlan)# vlan 40
S2(config-vlan)# vlan 50
S2(config-vlan)# vlan 60
S2(config-vlan)# vlan 70
S2(config-vlan)# vlan 80
S2(config-vlan)# vlan 99
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
S3(config)# vlan 10
S3(config-vlan)# vlan 20
S3(config-vlan)# vlan 30
S3(config-vlan)# vlan 40
S3(config-vlan)# vlan 50
S3(config-vlan)# vlan 60
S3(config-vlan)# vlan 70
S3(config-vlan)# vlan 80
S3(config-vlan)# vlan 99
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Port assignments are listed in the table at the beginning of the activity. Save your
configurations after assigning switch ports to the VLANs.
Use the show vlan brief command on all switches to verify that all VLANs are registered in
the VLAN table.
Use the appropriate command to configure ports F0/1 to F0/4 on each switch as trunk ports
and assign these trunk ports to native VLAN 99.
S1(config)# interface range f0/1-4
S1(config-if-range)# switchport mode trunk
S1(config-if-range)# switchport trunk native vlan 99
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Step 6: Configure the management interface on all three switches with an address.
Verify that the switches are correctly configured by pinging between them.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Use the spanning-tree mode command to configure the switches to use rapid PVST as the
STP mode.
S1(config)# spanning-tree mode rapid-pvst
PortFast causes a port to enter the forwarding state almost immediately by dramatically
decreasing the time of the listening and learning states. PortFast minimizes the time it takes
for the server or workstation to come online. Configure PortFast on S2 interfaces that are
connected to PCs.
The STP PortFast BPDU Guard enhancement allows network designers to enforce the STP
domain borders and keep the active topology predictable. The devices behind the ports that
have STP PortFast enabled are not able to influence the STP topology. At the reception of
BPDUs, the BPDU Guard operation disables the port that has PortFast configured. The
BPDU Guard transitions the port into err-disable state, and a message appears on the console.
Configure BPDU Guard on S2 interfaces that are connected to PCs.
Topology
Objectives
Background
Three switches have just been installed. There are redundant uplinks between the switches.
Usually, only one of these links could be used; otherwise, a bridging loop might occur.
However, using only one link utilizes only half of the available bandwidth. EtherChannel
allows up to eight redundant links to be bundled together into one logical link. In this lab,
you will configure Port Aggregation Protocol (PAgP), a Cisco EtherChannel protocol, and
Link Aggregation Control Protocol (LACP), an IEEE 802.3ad open standard version of
EtherChannel.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Switch(config)# hostname S1
Switch(config)# hostname S2
Switch(config)# hostname S3
Note: If the ports are configured with dynamic auto mode, and you do not set the
mode of the ports to trunk, the links do not form trunks and remain access ports. The
default mode on a 2960 switch is dynamic auto.
a. The first EtherChannel created for this activity aggregates ports F0/22 and F0/21
between S1 and S3. Use the show interfaces trunk command to ensure that you have
an active trunk link for those two links.
<output omitted>
b. On both switches, add ports F0/21 and F0/22 to Port Channel 1 with the channel-
group 1 mode desirable command. The mode desirable option enables the switch to
actively negotiate to form a PAgP link.
c. Configure the logical interface to become a trunk by first entering the interface port-
channel number command and then the switchport mode trunk command. Add this
configuration to both switches.
b. If the EtherChannel does not come up, shut down the physical interfaces on both
ends of the EtherChannel and then bring them back up again. This involves using the
shutdown command on those interfaces, followed by a no shutdown command a few
seconds later.
The show interfaces trunk and commands also show the port channel as one
logical link.
a. Use the show commands from Part 1 Step 2 to verify the status of Port Channel 2.
Look for the protocol used by each port.
There are various ways to enter the channel-group number mode command:
S2(config)# interface range f0/23 - 24
S2(config-if-range)# channel-group 3 mode ?
active Enable LACP unconditionally
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
passive Enable LACP only if a LACP device is detected
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
a. On switch S2, add ports F0/23 and F0/24 to Port Channel 3 with the channel-group
3 mode passive command. The passive option indicates that you want the switch to
use LACP only if another LACP device is detected. Statically configure Port Channel
3 as a trunk interface.
b. On switch S3, add ports F0/23 and F0/24 to Port Channel 3 with the channel-group
3 mode active command. The active option indicates that you want the switch to use
LACP unconditionally. Statically configure Port Channel 3 as a trunk interface.
a. Use the show commands from Part 1 Step 2 to verify the status of Port Channel 3.
Look for the protocol used by each port.
b. Port Channel 2 is not operative because spanning tree protocol placed some ports
into blocking mode. Unfortunately, those ports were Gigabit ports. To restore these
ports, configure S1 to be primary root for VLAN 1 or set the priority to 24576.
Topology
Objectives
Part 1: Examine the Physical Layer and Correct Switch Port Mode Issues
Part 2: Identify and Correct Port Channel Assignment Issues
Part 3: Identify and Correct Port Channel Protocol Issues
Background
Four switches were recently configured by a junior technician. Users are complaining that
the network is running slow and would like you to investigate.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Part 1: Examine the Physical Layer and Correct Switch Port Mode Issues
Examine the switches. When physical ports are assigned to an EtherChannel port, they
behave as one. Each pair will either be operational or down. They will not be mixed with one
port green and the other port orange.
a. Verify that all physical ports in the topology are set to trunking. Correct any that are
in access mode.
b. Correct any EtherChannel ports that are not set to trunking mode.
The topology illustrates physical ports and their EtherChannel assignments. Verify that the
switches are configured as indicated.
Correct any switch ports that are not assigned to the correct EtherChannel port.
S4(config)# interface range f0/21 - 22
S4(config-if-range)# channel-group 5 mode active
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
In 2000, the IEEE released 802.3ad (LACP), which is an open standard version of
EtherChannel. For compatibility reasons, the network design team chose to use LACP across
the network. All ports that participate in EtherChannel need to actively negotiate the link as
LACP, as opposed to PAgP. Verify that the physical ports are configured as indicated.
Correct any switch ports that are not negotiating using LACP.
S3(config)# interface range g0/1 - 2
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 1 mode active
S3(config-if-range)# interface range f0/21 - 22
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 6 mode active
S3(config-if-range)# interface range f0/23 - 24
S3(config-if-range)# no channel-group
S3(config-if-range)# channel-group 4 mode active
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Topología
Dirección
Dispositivo Interfaz IP Máscara de subred
Objetivos
Parte 1: armar la red y configurar los parámetros básicos de los dispositivos
Parte 2: Determinar el puente raíz
Parte 3: Observar la selección del puerto STP sobre la base del costo de puerto
Parte 4: Observar la selección del puerto STP sobre la base de la prioridad de puerto
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Información básica/situación
La redundancia aumenta la disponibilidad de los dispositivos en la topología de la red
mediante la protección de la red contra un único punto de falla. La redundancia en una
red conmutada se logra con el uso de varios switches o varios enlaces entre switches.
Cuando se introduce la redundancia física en un diseño de red, se producen bucles y se
duplican las tramas.
El protocolo de árbol de expansión (STP) se desarrolló como mecanismo para evitar
bucles de capa 2 en los enlaces redundantes en una red conmutada. STP asegura que
exista sólo una ruta lógica entre todos los destinos de la red, al realizar un bloqueo de
forma intencional a aquellas rutas redundantes que puedan ocasionar un bucle.
En esta práctica de laboratorio, utilizará el comando show spanning-tree para observar
el proceso de elección del puente raíz con STP. También observará el proceso de
selección de puertos según el costo y la prioridad.
Nota: los switches que se utilizan son Cisco Catalyst 2960s con IOS de Cisco versión
15.0(2) (imagen de lanbasek9). Se pueden utilizar otros switches y otras versiones del
IOS de Cisco. Según el modelo y la versión de IOS de Cisco, los comandos disponibles
y los resultados que se obtienen pueden diferir de los que se muestran en las prácticas de
laboratorio.
Nota: asegúrese de que los switches se hayan borrado y que no tengan configuraciones
de inicio. Si no está seguro, consulte al instructor.
Recursos necesarios
3 switches (Cisco 2960 con IOS de Cisco versión 15.0(2), imagen lanbasek9 o
similar)
Cables de consola para configurar los dispositivos con IOS de Cisco mediante los
puertos de consola
Cables Ethernet, como se muestra en la topología
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0cd9.96d2.4000
Cost 19
Port 2 (FastEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0cd9.96d2.4000
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0cd9.96d2.4000
Cost 19
Port 2 (FastEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Nota: el modo STP predeterminado del switch 2960 es el protocolo de árbol de expansión
por VLAN (PVST).
En el diagrama que se muestra a continuación, registre la función y el estado de los
puertos activos en cada switch de la topología.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Sobre la base del resultado de los switches, responda las siguientes preguntas:
¿Qué switch es el puente raíz? S2
¿Por qué el árbol de expansión eligió este switch como puente raíz?
Por el valor de prioridad vlan y por la mac
¿Cuáles son los puertos raíz en los switches? S3 fa0/2, S1 fa0/2
¿Cuáles son los puertos designados en los switches? S2 fa0/2 y fa0/4, S3 Fa0/4
¿Qué puerto se muestra como puerto alternativo y está actualmente bloqueado? S1 fa0/4
¿Por qué el árbol de expansión seleccionó este puerto como puerto no designado
(bloqueado)?
S1 porque tiene mayor Mac
Parte 2. Observar la selección del puerto STP sobre la base del costo de puerto
El algoritmo de árbol de expansión (STA) utiliza el puente raíz como punto de referencia
y después determina qué puertos debe bloquear según el costo de la ruta. Se prefiere el
puerto con el menor costo de ruta. Si los costos de puerto son iguales, entonces el árbol
de expansión compara los BID. Si los BID son iguales, entonces se utilizan las
prioridades de puerto para diferenciarlos. Siempre se prefieren los valores inferiores. En
la parte 3, modificará el costo de puerto para controlar qué puerto se bloquea mediante el
árbol de expansión.
Paso 1. Buscar el switch con el puerto bloqueado.
Con la configuración actual, solo debe haber un switch con un puerto bloqueado por STP.
Emita el comando show spanning-tree en ambos switches que no son raíz. En el ejemplo
anterior, el árbol de expansión bloquea el puerto F0/4 en el switch con el BID más alto
(el S1).
S1# show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0cd9.96d2.4000
Cost 19
Port 2 (FastEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0cd9.96d2.4000
Cost 19
Port 2 (FastEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0cd9.96d2.4000
Cost 18
Port 2 (FastEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0cd9.96d2.4000
Cost 19
Port 2 (FastEthernet0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Parte 3. Observar la selección del puerto STP sobre la base de la prioridad de puerto
Si los costos de puerto son iguales, entonces el árbol de expansión compara los BID. Si
los BID son iguales, entonces se utilizan las prioridades de puerto para diferenciarlos. El
valor predeterminado de prioridad de puerto es 128. STP agrega el número de puerto a la
prioridad de puerto para desequiparar. Siempre se prefieren los valores inferiores. En la
parte 4, activará las rutas redundantes a cada switch para observar cómo STP selecciona
un puerto mediante la prioridad de puerto.
k. Activar los puertos F0/1 y F0/3 en todos los switches.
l. Espere 30 segundos hasta que STP complete el proceso de transición de puerto y, a
continuación, emita el comando show spanning-tree en los switches que no son raíz.
Observe que el puerto raíz pasó a ser el puerto de menor número conectado al switch
raíz y bloqueó el puerto raíz anterior.
S1# show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0cd9.96d2.4000
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Cost 19
Port 1 (FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0cd9.96d2.4000
Cost 19
Port 1 (FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
¿Cuál es el puerto que seleccionó STP como puerto raíz en cada switch que no es raíz?
S1 fa0/1, S3 fa0/1
¿Por qué STP seleccionó estos puertos como puertos raíz en estos switches? Por la
prioridad del priority number de cada puerto ya que sus costos son iguales
Reflexión
1. Después de que se selecciona un puente raíz, ¿cuál es el primer valor que utiliza STP para
determinar la selección de puerto?
Primer valor es el costo
2. Si el primer valor es igual en los dos puertos, ¿cuál es el siguiente valor que utiliza STP
para determinar la selección de puerto?
Esta dado por el VID, la prioridad y la Mac
3. Si ambos valores son iguales en los dos puertos, ¿cuál es el siguiente valor que utiliza
STP para determinar la selección de puerto?
Number Priority
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Topología
Asignación de VLAN
VLAN Nombre
10 Usuario
99 Management
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Objetivos
Parte 1: armar la red y configurar los parámetros básicos de los dispositivos
Parte 2: Configurar redes VLAN, VLAN nativa y enlaces troncales
Parte 3: Configurar el puente raíz y examinar la convergencia de PVST+
Parte 4: Configurar el PVST+ rápido, PortFast, la protección BPDU, y examinar la
convergencia
Información básica/situación
El protocolo de árbol de expansión por VLAN (PVST) es exclusivo de Cisco. Los
switches Cisco funcionan con PVST de manera predeterminada. PVST+ rápido (IEEE
802.1w) es una versión mejorada de PVST+ y permite un cálculo de árbol de expansión
y una convergencia más rápidos en respuesta a los cambios de topología de capa 2.
PVST+ rápido define tres estados de puerto: descartar, descubrir y reenviar, y
proporciona varias mejoras para optimizar el rendimiento de la red.
En esta práctica de laboratorio, configurará los puentes raíz principal y secundario,
examinará la convergencia de PVST+, configurará PVST+ rápido y comparará su
convergencia con la de PVST+. Además, configurará los puertos perimetrales para que
pasen de inmediato al estado de reenvío mediante PortFast y evitará que los puertos
perimetrales reenvíen BPDU mediante la protección BPDU.
Nota: en esta práctica de laboratorio, se proporciona la ayuda mínima relativa a los
comandos que efectivamente se necesitan para la configuración. Sin embargo, los
comandos requeridos se proporcionan en el apéndice A. Ponga a prueba su conocimiento
e intente configurar los dispositivos sin consultar el apéndice.
Nota: los switches que se utilizan en las prácticas de laboratorio de CCNA son Cisco
Catalyst 2960s con IOS de Cisco versión 15.0(2) (imagen lanbasek9). Se pueden utilizar
otros switches y otras versiones del IOS de Cisco. Según el modelo y la versión de IOS
de Cisco, los comandos disponibles y los resultados que se obtienen pueden diferir de los
que se muestran en las prácticas de laboratorio.
Nota: asegúrese de que los switches se hayan borrado y que no tengan configuraciones
de inicio. Si no está seguro, consulte al instructor.
Recursos necesarios
3 switches (Cisco 2960 con IOS de Cisco versión 15.0(2), imagen lanbasek9 o
similar)
2 computadoras (Windows 7, Vista o XP con un programa de emulación de terminal,
como Tera Term)
Cables de consola para configurar los dispositivos con IOS de Cisco mediante los
puertos de consola
Cables Ethernet, como se muestra en la topología
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
S2(config)# vlan 10
S2(config-vlan)# name User
S2(config-vlan)# vlan 99
S2(config-vlan)# name Management
S3(config)# vlan 10
S3(config-vlan)# name User
S3(config-vlan)# vlan 99
S3(config-vlan)# name Management
Utilice el comando en los tres switches para determinar las respuestas a las siguientes
preguntas:
Nota: hay tres instancias del árbol de expansión en cada switch. La configuración
predeterminada de STP en los switches Cisco es PVST+, lo que crea una instancia de
árbol de expansión distinta para cada VLAN (la VLAN 1 y cualquier VLAN configurada
por el usuario).
¿Cuál es la prioridad del puente del switch S1 para la VLAN 1? 32769
¿Cuál es la prioridad del puente del switch S2 para la VLAN 1? 32769
¿Cuál es la prioridad del puente del switch S3 para la VLAN 1? 32769
¿Qué switch es el puente raíz? S2
¿Por qué se eligió este switch como puente raíz?
Paso 2. Configurar un puente raíz principal y secundario para todas las VLAN
existentes.
Si se elige un puente raíz (switch) por la dirección MAC, esto puede generar una
configuración poco óptima. En esta práctica de laboratorio, configurará el switch S2
como puente raíz y el S1 como puente raíz secundario.
t. Configure el switch S2 como puente raíz principal para todas las VLAN existentes.
Escriba el comando en el espacio proporcionado.
spanning-tree vlan 1 root primary
u. Configure el switch S1 como puente raíz secundario para todas las VLAN existentes.
Escriba el comando en el espacio proporcionado.
spanning-tree vlan 1 root secondary
Utilice el comando show spanning-tree para responder las siguientes preguntas:
¿Cuál es la prioridad del puente del S1 para la VLAN 1? 28673
¿Cuál es la prioridad del puente del S2 para la VLAN 1? 24577
¿Qué interfaz de la red está en estado de bloqueo? Fa0/3 de S3
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Reflexión
1. ¿Cuál es el principal beneficio de utilizar PVST+ rápido?
Por el tiempo
2. ¿Cómo se logra una convergencia más rápida configurando un puerto con PortFast?
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Al comunicar los puestos con fast, hace que siempre estén en fordwarding, y se han
mas rápido.
3. ¿Qué es lo que protege la protección BPDU?
Que la información que este en el dominio de spanning-tree no sea modificado.
Switch S1
S1(config)# vlan 10
S1(config-vlan)# name User
S1(config-vlan)# vlan 99
S1(config-vlan)# name Management
S1(config-vlan)# exit
S1(config)# interface f0/6
S1(config-if)# no shutdown
S1(config-if)# switchport mode access
S1(config-if)# switchport access vlan 10
S1(config-if)# interface f0/1
S1(config-if)# no shutdown
S1(config-if)# switchport mode trunk
S1(config-if)# switchport trunk native vlan 99
S1(config-if)# interface f0/3
S1(config-if)# no shutdown
S1(config-if)# switchport mode trunk
S1(config-if)# switchport trunk native vlan 99
S1(config-if)# interface vlan 99
S1(config-if)# ip address 192.168.1.11 255.255.255.0
S1(config-if)# exit
S1(config)# spanning-tree vlan 1,10,99 root secondary
S1(config)# spanning-tree mode rapid-pvst
S1(config)# interface f0/6
S1(config-if)# spanning-tree portfast
S1(config-if)# spanning-tree bpduguard enable
Switch S2
S2(config)# vlan 10
S2(config-vlan)# name User
S2(config-vlan)# vlan 99
S2(config-vlan)# name Management
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
S2(config-vlan)# exit
S2(config)# interface f0/1
S2(config-if)# no shutdown
S2(config-if)# switchport mode trunk
S2(config-if)# switchport trunk native vlan 99
S2(config-if)# interface f0/3
S2(config-if)# no shutdown
S2(config-if)# switchport mode trunk
S2(config-if)# switchport trunk native vlan 99
S2(config-if)# interface vlan 99
S2(config-if)# ip address 192.168.1.12 255.255.255.0
S2(config-if)# exit
S2(config)# spanning-tree vlan 1,10,99 root primary
S2(config)# spanning-tree mode rapid-pvst
Switch S3
S3(config)# vlan 10
S3(config-vlan)# name User
S3(config-vlan)# vlan 99
S3(config-vlan)# name Management
S3(config-vlan)# exit
S3(config)# interface f0/18
S3(config-if)# no shutdown
S3(config-if)# switchport mode access
S3(config-if)# switchport access vlan 10
S3(config-if)# spanning-tree portfast
S3(config-if)# spanning-tree bpduguard enable
S3(config-if)# interface f0/1
S3(config-if)# no shutdown
S3(config-if)# switchport mode trunk
S3(config-if)# switchport trunk native vlan 99
S3(config-if)# interface f0/3
S3(config-if)# no shutdown
S3(config-if)# switchport mode trunk
S3(config-if)# switchport trunk native vlan 99
S3(config-if)# interface vlan 99
S3(config-if)# ip address 192.168.1.13 255.255.255.0
S3(config-if)# exit
S3(config)# spanning-tree mode rapid-pvst
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Topología
Máscara de
Dispositivo Interfaz Dirección IP subred
Objetivos
Parte 1: Configurar los parámetros básicos del switch
Parte 2: configurar PAgP
Parte 3: configurar LACP
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Información básica/situación
La agregación de enlaces permite la creación de enlaces lógicos que se componen de dos
o más enlaces físicos. Esto proporciona un mayor rendimiento más allá del uso de un
único enlace físico. Si uno de los enlaces falla, la agregación de enlaces también
proporciona redundancia.
En esta práctica de laboratorio, configurará EtherChannel, una forma de agregación de
enlaces que se utiliza en las redes conmutadas. Configurará EtherChannel mediante el
protocolo de agregación de puertos (PAgP) y el protocolo de control de agregación de
enlaces (LACP).
Nota: PAgP es un protocolo exclusivo de Cisco que solo se puede ejecutar en switches
Cisco y en switches que sean de proveedores con licencia para admitir PAgP. LACP es
un protocolo de agregación de enlaces definido en IEEE 802.3ad y no se asocia a ningún
proveedor específico.
LACP permite que los switches Cisco administren los canales Ethernet entre los switches
que cumplen con el protocolo 802.3ad. Puede configurar hasta 16 puertos para formar un
canal. Ocho de los puertos están en modo activo y los otros ocho están en modo de espera.
Cuando falla alguno de los puertos activos, se activa un puerto en espera. El modo de
espera funciona solo para LACP, no para PAgP.
Nota: los switches que se utilizan en las prácticas de laboratorio de CCNA son Cisco
Catalyst 2960s con IOS de Cisco versión 15.0(2) (imagen lanbasek9). Se pueden utilizar
otros switches y otras versiones del IOS de Cisco. Según el modelo y la versión de IOS
de Cisco, los comandos disponibles y los resultados que se obtienen pueden diferir de los
que se muestran en las prácticas de laboratorio.
Nota: asegúrese de que los switches se hayan borrado y que no tengan configuraciones
de inicio. Si no está seguro, consulte al instructor.
Recursos necesarios
3 switches (Cisco 2960 con IOS de Cisco versión 15.0(2), imagen lanbasek9 o
similar)
3 computadoras (Windows 7, Vista o XP con un programa de emulación de terminal,
como Tera Term)
Cables de consola para configurar los dispositivos con IOS de Cisco mediante los
puertos de consola
Cables Ethernet, como se muestra en la topología
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
S1(config-if-range)# no shutdown
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
S3(config-if-range)# no shutdown
*Mar 1 00:09:12.792: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed
state to up
*Mar 1 00:09:12.792: %LINK-3-UPDOWN: Interface FastEthernet0/4, changed
state to up
S3(config-if-range)#
*Mar 1 00:09:15.384: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet0/3, changed state to up
*Mar 1 00:09:16.265: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet0/4, changed state to up
S3(config-if-range)#
*Mar 1 00:09:16.357: %LINK-3-UPDOWN: Interface Port-channel1, changed state
to up
*Mar 1 00:09:17.364: %LINEPROTO-5-UPDOWN: Line protocol on Interface
Port-channel1, changed state to up
*Mar 1 00:09:44.383: %LINEPROTO-5-UPDOWN: Line protocol on Interface
Vlan1, changed state to up
Paso 5. Verificar que los puertos estén configurados como puertos de enlace troncal.
n. Emita los comandos show run interface id-interfaz en el S1 y el S3. ¿Qué comandos
se indican para F0/3 y F0/4 en ambos switches? ¿Compare los resultados con la
configuración en ejecución para la interfaz Po1? Registre la observación.
Configuracion de los puertos f0/3 y f0/4 y el Nuevo Puerto creado Port channel
1.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
S1(config-if-range)# no shutdown
S3(config-if-range)# no shutdown
q. Verifique que se haya formado el EtherChannel.
Reflexión
¿Qué podría evitar que se formen los EtherChannels?
Las interfaces físicas tienen que tener el mismo modo dotas en troncal, la misma
encapsulación, la misma vlan native
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Topología
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Gateway
Dispositivo Interfaz Dirección IP Máscara de subred predeterminado
Objetivos
Parte 1: armar la red y verificar la conectividad
Parte 2: Configurar la redundancia de primer salto mediante HSRP
Parte 3: Configurar la redundancia de primer salto mediante GLBP
Información básica/situación
El árbol de expansión proporciona una redundancia sin bucles entre los switches dentro
de la LAN. Sin embargo, no proporciona gateways predeterminados redundantes para los
dispositivos para usuarios finales dentro de la red si falla uno de los routers. Los
protocolos de redundancia de primer salto (FHRP) proporcionan gateways
predeterminados redundantes para las terminales sin necesidad de una configuración de
usuario final.
En esta práctica de laboratorio, configurará dos FHRP. En la parte 2, configurará el
protocolo del router de reserva activa (HSRP) de Cisco, y en la parte 3, configurará el
protocolo de balanceo de carga de gateway (GLBP).
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Nota: los routers que se utilizan en las prácticas de laboratorio de CCNA son routers de
servicios integrados (ISR) Cisco 1941 con IOS de Cisco versión 15.2(4)M3 (imagen
universalk9). Los switches que se utilizan son Cisco Catalyst 2960s con IOS de Cisco
versión 15.0(2) (imagen de lanbasek9). Se pueden utilizar otros routers, switches y otras
versiones del IOS de Cisco. Según el modelo y la versión de IOS de Cisco, los comandos
disponibles y los resultados que se obtienen pueden diferir de los que se muestran en las
prácticas de laboratorio. Consulte la tabla Resumen de interfaces del router que se
encuentra al final de esta práctica de laboratorio para obtener los identificadores de
interfaz correctos.
Nota: asegúrese de que los routers y los switches se hayan borrado y no tengan
configuraciones de inicio. Si no está seguro, consulte al instructor.
Recursos necesarios
3 routers (Cisco 1941 con Cisco IOS, versión 15.2(4)M3, imagen universal o similar)
2 switches (Cisco 2960 con IOS de Cisco versión 15.0(2), imagen lanbasek9 o
similar)
2 computadoras (Windows 7, Vista o XP con un programa de emulación de terminal,
como Tera Term)
Cables de consola para configurar los dispositivos con IOS de Cisco mediante los
puertos de consola
Cables Ethernet y seriales, como se muestra en la topología.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
Paso 3. Inicialice y vuelva a cargar los routers y switches, según sea necesario.
g. Configure logging synchronous para evitar que los mensajes de consola interrumpan
la entrada de comandos.
h. Copie la configuración en ejecución en la configuración de inicio
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
m. Desde la PC-C, debería poder hacer ping a cualquier interfaz en el R1, el R2, el R3 y
la PC-A. ¿Todos los pings se realizaron correctamente? SI
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
1 1 ms 1 ms 1 ms 192.168.1.1
2 13 ms 13 ms 13 ms 209.165.200.225
Trace complete.
¿Qué ruta tomaron los paquetes desde la PC-A hacia 209.165.200.225?
_________________________________
o. En el símbolo del sistema en la PC-C, emita un comando tracert a la dirección de
loopback 209.165.200.225 del R2.
¿Qué ruta tomaron los paquetes desde la PC-C hacia 209.165.200.225?
________________________________
___________________________________________________________________
_________________
___________________________________________________________________
_________________
w. Utilice el comando show standby brief en el R1 y el R3 para ver un resumen del
estado de HSRP. A continuación, se muestra un ejemplo de resultado.
R1# show standby brief
P indicates configured to preempt.
|
Interface Grp Pri P State Active Standby Virtual IP
Gi0/1 1 150 P Active local 192.168.1.3 192.168.1.254
Paso 4. Iniciar una sesión de ping en la PC-A e interrumpir la conexión entre el switch
que está conectado al R1.
a. En el símbolo del sistema en la PC-A, emita un comando ping –t a la dirección
209.165.200.225 en el R2. Asegúrese de dejar abierta la ventana del símbolo del
sistema.
b. A medida que continúa el ping, desconecte el cable Ethernet de F0/5 en el S1 o
desactive la interfaz F0/5.
¿Qué pasó con el tráfico del ping?
___________________________________________________________________
_________________
___________________________________________________________________
_________________
Reflexión
1. ¿Por qué se necesitaría redundancia en una LAN?
______________________________________________________________________
_________________
______________________________________________________________________
_________________
2. Si pudiera elegir, ¿qué protocolo implementaría en su red, HSRP o GLBP? Explique su
elección.
______________________________________________________________________
_________________
______________________________________________________________________
_________________
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
1800 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1) (S0/0/0)
1900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1) (S0/0/0)
2801 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/1/0 Serial 0/1/1 (S0/1/1)
(F0/0) (F0/1) (S0/1/0)
2811 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1) (S0/0/0)
2900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1) (S0/0/0)
Nota: para conocer la configuración del router, observe las interfaces a fin de identificar el tipo de router
y cuántas interfaces tiene. No existe una forma eficaz de confeccionar una lista de todas las combinaciones
de configuraciones para cada clase de router. En esta tabla, se incluyen los identificadores para las
posibles combinaciones de interfaces Ethernet y seriales en el dispositivo. En esta tabla, no se incluye
ningún otro tipo de interfaz, si bien puede haber interfaces de otro tipo en un router determinado. La
interfaz BRI ISDN es un ejemplo. La cadena entre paréntesis es la abreviatura legal que se puede utilizar
en los comandos de IOS de Cisco para representar la interfaz.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
CONCLUSIONES
Por otra parte se consiguió uno de los objetivos de la UNAD, el cual es la interacción
y retroalimentación de la información, entre los integrantes del grupo, con esto se
pudo realizar un muy buen trabajo final.
UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA – UNAD
LAN INALAMBRICA Y CABLEADA (MOD3 - CISCO) (E-LEARNING)
REFERENCIAS BIBLIOGRAFICAS
OVA Unidad 1 - Video Instalación y Configuración del IOS en Switches. Este Objeto
Virtual de Aprendizaje, titulado Video - Instalación y Configuración del IOS en
Switches, tiene como objetivo, orientar al estudiante sobre la instalación y
configuración básica de Switches bajo el uso de Tecnología CISCO. UNAD (2014).
Instalación y Configuración del IOS en Switches [OVA]. Recuperado de
https://1drv.ms/u/s!AmIJYei-NT1IlyYRohwtwPUV64dg