Vous êtes sur la page 1sur 38

|

DOCUMENTACIN
CASO DE ESTUDIO 1
VLANs, VTP, and Inter-VLAN Routing Case Study

Integrantes:
Xavier guila Castro
Paolo Cedeo Donoso
Carlos Torres Morn
CCNP SWITH
Instructor: ING. ALBERT ESPINAL

|
Contenido
1. Topologa ............................................................................................. 3
2. Requisitos ............................................................................................ 3
3. Solucin al Caso de Estudio ................................................................. 3
4. Evaluacin a la red ............................................................................. 19
5. Configuraciones finales: .................................................................... 22
5.1 DLS1 .......................................................................................................................... 22
5.2 DLS2 .......................................................................................................................... 24
5.3 ALS1 .......................................................................................................................... 27
5.4 ALS2 .......................................................................................................................... 32
5.5 Router ...................................................................................................................... 36






3
CASO DE ESTUDIO 1: CCNP SWITCH
1. Topologa

2. Requisitos

You will configure a group of switches and a router for the International Travel Agency.
The network includes two distribution switches, DLS1 and DLS2, and two access layer
switches, ALS1 and ALS2. External router R1 and DLS1 provide inter-VLAN routing.
Design the addressing scheme using the address space 172.16.0.0/16 range. You can
subnet it any way you want, although it is recommended to use /24 subnets for
simplicity.

3. Solucin al Caso de Estudio

1. Disable the links between the access layer switches.
Para empezar, deshabilitaremos todos los puertos a fin de que no empiecen el proceso
de negociacin spanning-tree hasta haber configurado correctamente VTP y los
correspondientes puertos como troncales y de acceso.

Configuracin:
DLS1(config)#interface range fastEthernet 0/7 - 12
DLS1(config-if-range)#shutdown

DLS2(config)#interface range fastEthernet 0/7 - 12
DLS2(config-if-range)#shutdown
4
CASO DE ESTUDIO 1: CCNP SWITCH

ALS1(config)#interface range fastEthernet 0/7 - 10
ALS1(config-if-range)#shutdown

ALS2(config)#interface range fastEthernet 0/7 - 10
ALS2(config-if-range)#shutdown

2. Place all switches in the VTP domain CISCO. Make DLS1 the VTP server and all other
switches VTP clients.
Configuramos todos los switches en el mismo dominio a fin de que compartan las
VLAN aprendidas desde el server (DLS1) para luego asignarlas a los respectivos puertos
de acceso.

Configuracin:
DLS1(config)#vtp mode server
Device mode already VTP SERVER.
DLS1(config)#vtp domain CISCO
Changing VTP domain name from NULL to CISCO
DLS1(config)#end
DLS1#show vtp status
VTP Version : running VTP1 (VTP2 capable)
Configuration Revision : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name : CISCO
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xD3 0x78 0x41 0xC8 0x35 0x56 0x89 0x97
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)
5
CASO DE ESTUDIO 1: CCNP SWITCH
DLS1#

ALS1(config)#vtp mode client
Device mode already VTP CLIENT.
ALS1(config)#vtp domain CISCO
Changing VTP domain name from cisco.com to CISCO
Se repite este ltimo con ALS2 y DLS2.

Una vez terminado de configurar vtp en todos los switches, levantamos las interfaces
para que las VLAN a continuacin puedan ser aprendidas por todos los switches:

DLS1(config)#interface range fastEthernet 0/7 - 12
DLS1(config-if-range)#no shutdown

DLS2(config)#interface range fastEthernet 0/7 - 12
DLS2(config-if-range)#no shutdown

ALS1(config)#interface range fastEthernet 0/7 - 10
ALS1(config-if-range)#no shutdown

ALS2(config)#interface range fastEthernet 0/7 - 10
ALS2(config-if-range)#no shutdown

3. On DLS1, create the VLANs shown in the VLAN table and assign the names given. For
subnet planning, allocate a subnet for each VLAN.
Configuramos las VLAN solicitadas por el cliente desde DLS1 (vtp mode server) a fin de
que puedan ser aprendidas por el resto de switches.

DLS1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
DLS1(config)#vlan 10
DLS1(config-vlan)#name Red
DLS1(config-vlan)#exit
DLS1(config)#vlan 20
DLS1(config-vlan)#name Blue
DLS1(config-vlan)#exit
6
CASO DE ESTUDIO 1: CCNP SWITCH
DLS1(config)#vlan 30
DLS1(config-vlan)#name Orange
DLS1(config-vlan)#exit
DLS1(config)#vlan 40
DLS1(config-vlan)#name Green
DLS1(config-vlan)#
DLS1(config-vlan)#exit+_ _
DLS1(config)#do 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
Gi0/1
10 Red active
20 Blue active
30 Orange active
40 Green active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup


4. Configure DLS1 as the primary spanning-tree root bridge for all VLANs. Configure DLS2 as
the backup root bridge for all VLANs.
A fin de garantizar que el swith elegido como root sea el ms adecuado en trminos de
recursos, forzaremos uno de los switch de capa 3 a ser el root bridge configurando
todas las VLAN para que formen parte de root primary en DLS1. Luego, realizamos el
mismo procedimiento para que si acaso en ese switch se llega a caer el servicio, el otro
switch de capa 3 (DLS2) sea el root bridge de backup de nuestra red.

DLS1(config)#spanning-tree mode rapid-pvst
DLS1(config)#spanning-tree vlan 1-100 root primary
DLS1#show spanning-tree

VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 24577
Address 0064.4066.9200
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 24577 (priority 24576 sys-id-ext 1)
Address 0064.4066.9200
7
CASO DE ESTUDIO 1: CCNP SWITCH
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
Fa0/1 Desg BLK 19 128.2 P2p
Fa0/2 Desg BLK 19 128.3 P2p
Fa0/3 Desg BKN*19 128.4 P2p
Fa0/4 Desg BKN*19 128.5 P2p
Fa0/5 Desg BLK 19 128.6 P2p Peer(STP)
Fa0/6 Desg BLK 19 128.7 P2p Peer(STP)



VLAN0010
Spanning tree enabled protocol rstp
Root ID Priority 24586
Address 0064.4066.9200
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 24586 (priority 24576 sys-id-ext 10)
Address 0064.4066.9200
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
Fa0/1 Desg BLK 19 128.2 P2p
Fa0/2 Desg BLK 19 128.3 P2p
Fa0/3 Desg BKN*19 128.4 P2p
Fa0/4 Desg BKN*19 128.5 P2p
Fa0/5 Desg BLK 19 128.6 P2p Peer(STP)
Fa0/6 Desg BLK 19 128.7 P2p Peer(STP)



VLAN0020
Spanning tree enabled protocol rstp
Root ID Priority 24596
Address 0064.4066.9200
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 24596 (priority 24576 sys-id-ext 20)
Address 0064.4066.9200
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

8
CASO DE ESTUDIO 1: CCNP SWITCH
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
Fa0/1 Desg BLK 19 128.2 P2p
Fa0/2 Desg BLK 19 128.3 P2p
Fa0/3 Desg BKN*19 128.4 P2p
Fa0/4 Desg BKN*19 128.5 P2p
Fa0/5 Desg BLK 19 128.6 P2p Peer(STP)
Fa0/6 Desg BLK 19 128.7 P2p Peer(STP)



VLAN0030
Spanning tree enabled protocol rstp
Root ID Priority 24606
Address 0064.4066.9200
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 24606 (priority 24576 sys-id-ext 30)
Address 0064.4066.9200
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
Fa0/1 Desg BLK 19 128.2 P2p
Fa0/2 Desg BLK 19 128.3 P2p
Fa0/3 Desg BKN*19 128.4 P2p
Fa0/4 Desg BKN*19 128.5 P2p
Fa0/5 Desg BLK 19 128.6 P2p Peer(STP)
Fa0/6 Desg BLK 19 128.7 P2p Peer(STP)




VLAN0040
Spanning tree enabled protocol rstp
Root ID Priority 24616
Address 0064.4066.9200
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 24616 (priority 24576 sys-id-ext 40)
Address 0064.4066.9200
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
9
CASO DE ESTUDIO 1: CCNP SWITCH
Fa0/1 Desg BLK 19 128.2 P2p
Fa0/2 Desg BLK 19 128.3 P2p
Fa0/3 Desg BKN*19 128.4 P2p
Fa0/4 Desg BKN*19 128.5 P2p
Fa0/5 Desg BLK 19 128.6 P2p Peer(STP)
Fa0/6 Desg BLK 19 128.7 P2p Peer(STP)



DLS2(config)#spanning-tree mode rapid-pvst
DLS2(config)#spanning-tree vlan 1-1000 root secondary
DLS2#show spanning-tree

VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 24577
Address 0064.4066.9200
Cost 19
Port 13 (FastEthernet0/11)
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 28673 (priority 28672 sys-id-ext 1)
Address 0016.47b8.bf80
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
Fa0/7 Altn BLK 19 128.9 P2p Peer(STP)
Fa0/8 Altn BLK 19 128.10 P2p Peer(STP)
Fa0/9 Desg FWD 19 128.11 P2p Peer(STP)
Fa0/10 Desg FWD 19 128.12 P2p Peer(STP)
Fa0/11 Root FWD 19 128.13 P2p

VLAN0010
Spanning tree enabled protocol rstp
Root ID Priority 24586
Address 0064.4066.9200
Cost 19
Port 13 (FastEthernet0/11)
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 28682 (priority 28672 sys-id-ext 10)
Address 0016.47b8.bf80
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
Fa0/7 Altn BLK 19 128.9 P2p Peer(STP)
10
CASO DE ESTUDIO 1: CCNP SWITCH
Fa0/8 Altn BLK 19 128.10 P2p Peer(STP)
Fa0/9 Desg FWD 19 128.11 P2p Peer(STP)
Fa0/10 Desg FWD 19 128.12 P2p Peer(STP)
Fa0/11 Root FWD 19 128.13 P2p


VLAN0020
Spanning tree enabled protocol rstp
Root ID Priority 24596
Address 0064.4066.9200
Cost 19
Port 13 (FastEthernet0/11)
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 28692 (priority 28672 sys-id-ext 20)
Address 0016.47b8.bf80
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
Fa0/7 Altn BLK 19 128.9 P2p Peer(STP)
Fa0/8 Altn BLK 19 128.10 P2p Peer(STP)
Fa0/9 Desg FWD 19 128.11 P2p Peer(STP)
Fa0/10 Desg FWD 19 128.12 P2p Peer(STP)
Fa0/11 Root FWD 19 128.13 P2p



VLAN0030
Spanning tree enabled protocol rstp
Root ID Priority 24606
Address 0064.4066.9200
Cost 19
Port 13 (FastEthernet0/11)
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 28702 (priority 28672 sys-id-ext 30)
Address 0016.47b8.bf80
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
Fa0/7 Altn BLK 19 128.9 P2p Peer(STP)
Fa0/8 Altn BLK 19 128.10 P2p Peer(STP)
Fa0/9 Desg FWD 19 128.11 P2p Peer(STP)
Fa0/10 Desg FWD 19 128.12 P2p Peer(STP)
Fa0/11 Root FWD 19 128.13 P2p

11
CASO DE ESTUDIO 1: CCNP SWITCH


VLAN0040
Spanning tree enabled protocol rstp
Root ID Priority 24616
Address 0064.4066.9200
Cost 19
Port 13 (FastEthernet0/11)
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec

Bridge ID Priority 28712 (priority 28672 sys-id-ext 40)
Address 0016.47b8.bf80
Hello Time 2 sec Max Age 20 sec Forward Delay
15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- ----------------
----------------
Fa0/7 Altn BLK 19 128.9 P2p Peer(STP)
Fa0/8 Altn BLK 19 128.10 P2p Peer(STP)
Fa0/9 Desg FWD 19 128.11 P2p Peer(STP)
Fa0/10 Desg FWD 19 128.12 P2p Peer(STP)
Fa0/11 Root FWD 19 128.13 P2p

5. Configure Fa0/12 between DLS1 and DLS2 as a Layer 3 link and assign a subnet to it.
A continuacin utilizaremos el comando no switchport a fin de deshabilitar las
funciones de capa 2 o switching en esta interface y permitir aprovechar las
funcionalidades de enrutamiento de capa 3.

DLS1(config)#inter fastEthernet 0/12
DLS1(config-if)#no sw
DLS1(config-if)#no switchport
DLS1(config-if)#ip address 172.16.50.10 255.255.255.0
DLS1(config-if)#no shut
DLS1(config-if)#exit

DLS2(config)#inter fastEthernet 0/12
DLS2(config-if)#no switchport
DLS2(config-if)#ip a
DLS2(config-if)#ip address 172.16.60.11 255.255.255.0
DLS2(config-if)#no shutdown
DLS2(config-if)#exit

6. Create a loopback interface on DLS1 and assign a subnet to it.
Ahora que hemos configurado VTP y en qu modo van a funcionar algunos puertos,
procedemos a configurar la loopback0. La direccin de red seleccionada para la misma
es:
12
CASO DE ESTUDIO 1: CCNP SWITCH

DLS1(config)#interface loopback 0
DLS1(config-if)#ip add
DLS1(config-if)#ip address 172.16.100.1 255.255.255.0
DLS1(config-if)#no shut
DLS1(config-if)#exit

7. Configure the Fa0/11 link between DLS1 and DLS2 as an ISL trunk.
El siguiente paso consiste en configurar la interface fa0/11 entre DLS1 and DLS2 como
ISL trunk. Los comandos son los siguientes:

DLS1(config)#interface fastEthernet 0/11
DLS1(config-if)#switchport trunk encapsulation isl
DLS1(config-if)#switchport mode trunk
DLS1(config-if)#no shutdown

DLS2(config)#interface fastEthernet 0/11
DLS2(config-if)#switchport trunk encapsulation isl
DLS2(config-if)#switchport mode trunk
DLS2(config-if)#no shutdown

8. Statically configure all inter-switch links as trunks.
&
9. Configure all other trunk links using 802.1Q.
A continuacin configuraremos todos los enlaces entre switches como enlaces
troncales mediante el protocolo de encapsulamiento 802.1q. Esto permitir el envo de
paquetes de diferentes VLAN a travs de estos enlaces y no necesariamente un enlace
para cada VLAN (optimizando recursos). La configuracin a seguir es la siguiente:
(config)#interface range fastEthernet 0/7 - 10
(config-if-range)#switchport trunk encapsulation dot1q
(config-if-range)#switchport mode trunk
(config-if-range)#no shutdown


10. Bind together the links from DLS1 to each access switch together in an EtherChannel.
La gran ventaja que ofrece EtherChannel radica en unir o sumar ancho de banda de
diferentes interfaces, de Fast Ethernet por ejemplo, a fin de aumentar la capacidad de
transmisin de nuestros datos. Todos los puertos que van desde DLS1 a cada switch de
acceso (ALS1, ALS2) formarn parte de un canal a fin de duplicar el ancho de banda de
transmisin.

DLS1(config)#interface range fastEthernet 0/7 - 8
DLS1(config-if-range)#channel-group 3 mode desirable
DLS1(config-if)#exit
13
CASO DE ESTUDIO 1: CCNP SWITCH
DLS1(config)#interface port-channel 3
DLS1(config-if)#switchport trunk encapsulation dot1q
DLS1(config-if)#switchport mode trunk

DLS1(config)#interface range fastEthernet 0/9 - 10
DLS1(config-if-range)#channel-group 4 mode desirable
DLS1(config-if)#exit
DLS1(config)#interface port-channel 4
DLS1(config-if)#switchport trunk encapsulation dot1q
DLS1(config-if)#switchport mode trunk

DLS2(config)#interface range fastEthernet 0/7 - 8
DLS2(config-if-range)#channel-group 4 mode desirable
DLS2(config-if-range)#exit
DLS2(config)#interface port-channel 4
DLS2(config-if)#switchport trunk encapsulation dot1q
DLS2(config-if)#switchport mode trunk

DLS2(config)#interface range fastEthernet 0/9 - 10
DLS2(config-if-range)#channel-group 3 mode desirable
DLS2(config-if-range)#exit
DLS2(config)#interface port-channel 3
DLS2(config-if)#switchport trunk encapsulation dot1q
DLS2(config-if)#switchport mode trunk

ALS1(config)#interface range fastEthernet 0/7 - 8
ALS1(config-if-range)#channel-group 1 mode desirable
ALS1(config-if-range)#exit
ALS1(config)#interface port-channel 1
ALS1(config-if)#switchport trunk encapsulation dot1q
ALS1(config-if)#switchport mode trunk

ALS1(config)#interface range fastEthernet 0/9 - 10
ALS1(config-if-range)#channel-group 2 mode desirable
ALS1(config-if-range)#exit
ALS1(config)#interface port-channel 2
ALS1(config-if)#switchport trunk encapsulation dot1q
ALS1(config-if)#switchport mode trunk

ALS2(config)#interface range fastEthernet 0/7 - 8
ALS2(config-if-range)#channel-group 2 mode desirable
ALS2(config-if-range)#exit
ALS2(config)#interface port-channel 2
ALS2(config-if)#switchport trunk encapsulation dot1q
ALS2(config-if)#switchport mode trunk

ALS2(config)#interface range fastEthernet 0/9 - 10
ALS2(config-if-range)#channel-group 1 mode desirable
ALS2(config-if-range)#exit
ALS2(config)#interface port-channel 1
ALS2(config-if)#switchport trunk encapsulation dot1q
ALS2(config-if)#switchport mode trunk

11. Enable PortFast on all access ports.
14
CASO DE ESTUDIO 1: CCNP SWITCH
Configurar un puerto con portfast en aquellos que estamos seguros irn dispositivos
terminales resulta ms eficiente, permitiendo que est listo para usar mucho ms
rpido (a lo mucho 20 seg). De no configurarlo as, este proceso podra tomar hasta 50
seg antes de que el host pueda acceder a la red. Habilitaremos el modo "PortFast"
accediendo mediante consola al Switch y ejecutando los siguientes comandos:

(config)#interface range FastEthernet 0/15 - 17
(config-if)# spanning-tree portfast

(config)#interface range FastEthernet 0/18 - 19
(config-if)# spanning-tree portfast

(config)#interface FastEthernet 0/20
(config-if)# spanning-tree portfast

(Hay que tener en cuenta que este comando solo puede ser ejecutado en dispositivos
finales de la red).

12. Place Fa0/15 through Fa0/17 on ALS1 and ALS2 in VLAN 10. Place Fa0/18 and Fa0/19 on
ALS1 and ALS2 in VLAN 20. Place Fa0/20 on ALS1 and ALS2 in VLAN 30.
A continuacin asignaremos la respectiva VLAN a los respectivos puertos del switch en
modo de acceso. Este procedimiento ser realizado en los switches a los que se
encuentren conectados dispositivos finales de red y una vez confirmado que hayamos
aprendido las VLAN configuradas por DLS1.

Configuracin:

ALS1(config)#interface range fastEthernet 0/15 - 17
ALS1(config-if-range)#switchport access vlan 10
ALS1(config-if-range)#switchport mode access

ALS2(config)#interface range fastEthernet 0/15 - 17
ALS2(config-if-range)#switchport access vlan 10
ALS2(config-if-range)#switchport mode access
15
CASO DE ESTUDIO 1: CCNP SWITCH

ALS1(config)#interface range fastEthernet 0/18 - 19
ALS1(config-if-range)#switchport access vlan 20
ALS1(config-if-range)#switchport mode access

ALS2(config)#interface range fastEthernet 0/18 - 19
ALS2(config-if-range)#switchport access vlan 20
ALS2(config-if-range)#switchport mode access

ALS1(config)#interface fastEthernet 0/20
ALS1(config-if)#switchport access vlan 30
ALS1(config-if)#switchport mode access

ALS2(config)#interface fastEthernet 0/20
ALS2(config-if)#switchport access vlan 30
ALS2(config-if)#switchport mode access


13. Create an 802.1Q trunk link between R1 and ALS2. Allow only VLANs 10 and 40 to pass
through the trunk.
Creamos un enlace troncal entre el Switch ALS2 y el R1. Esto permitir la comunicacin
de los hosts que pertenecen a las VLANs 10 y 40 por medio del puerto 0/1 que est
directamente conectado al Router.

ALS2(config)#interface fastEthernet 0/1
ALS2(config-if)#switchport trunk encapsulation dot1q
ALS2(config-if)#switchport mode trunk
ALS2(config-if)#switchport trunk allowed vlan 10,40

R1(config)#interface ethernet 0/0
R1(config-if)#no shutdown

16
CASO DE ESTUDIO 1: CCNP SWITCH
R1(config)#interface ethernet 0/0.10
R1(config-subif)#encapsulation dot1Q 10

R1(config)#interface ethernet 0/0.40
R1(config-subif)#encapsulation dot1Q 40

14. Configure R1 subinterfaces for VLANs 10 and 40.
La configuracin de varias interfaces lgicas dentro de una misma interfaz fsica
permite optimizar recursos utilizando un mismo puerto como enlace troncal para el
enrutamiento de VLANs. Para este paso utilizaremos dot1Q como protocolo de
encapsulamiento.

Configuracin:
R1#config t
R1(config)#int fa0/1
R1(config-if)#no shutdown
R1(config-if)#int fa0/1.10
R1(config-subif)#description Red
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 172.16.10.1 255.255.255.0
R1(config-subif)#exit
R1(config-if)#int fa0/1.40
R1(config-subif)#description Green
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 172.16.40.1 255.255.255.0
R1(config-subif)#exit

R1#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset up up
FastEthernet0/1.10 172.16.10.1 YES manual up up
17
CASO DE ESTUDIO 1: CCNP SWITCH
FastEthernet0/1.40 172.16.40.1 YES manual up up
BRI0/1/0 unassigned YES unset administratively down down
BRI0/1/0:1 unassigned YES unset administratively down down
BRI0/1/0:2 unassigned YES unset administratively down down
Serial0/2/0 unassigned YES unset administratively down down
Serial0/2/1 unassigned YES unset administratively down down
Serial0/3/0 unassigned YES unset administratively down down
--More--


15. Create an SVI on DLS1 in VLANs 20, 30, and 40. Create an SVI on DLS2 in VLAN 10,
an SVI on ALS1 in VLAN 30, and an SVI on ALS2 in VLAN 40.
Una SVI es una interfaz virtual que permitir a un conmutador L3 enrutar paquetes
entre VLAN. Otra facilidad que nos ofrece ser podernos conectar a travs de telnet o
SSH al switch utilizando la direccin IP configurada en la SVI. A continuacin se detalla
su configuracin de acuerdo a lo solicitado:


DLS1(config)#interface vlan 20
DLS1(config-if)#ip address 172.16.20.10 255.255.255.0
DLS1(config-if)#no shutdown

DLS1(config)#interface vlan 30
DLS1(config-if)#ip address 172.16.30.10 255.255.255.0
DLS1(config-if)#no shutdown

DLS1(config)#interface vlan 40
DLS1(config-if)#ip address 172.16.40.10 255.255.255.0
DLS1(config-if)#no shutdown

DLS2(config)#interface vlan 10
DLS2(config-if)#ip address 172.16.10.20 255.255.255.0
DLS2(config-if)#no shutdown

ALS1(config)#interface vlan 30
ALS1(config-if)#ip address 172.16.30.30 255.255.255.0
ALS1(config-if)#no shutdown

ALS2(config)#interface vlan 40
ALS2(config-if)#ip address 172.16.40.40 255.255.255.0
ALS2(config-if)#no shutdown

16. Enable IP routing on DLS1. On R1 and DLS1, configure EIGRP for the whole major
network (172.16.0.0/16) and disable automatic summarization.

DLS1(config)#ip routing
18
CASO DE ESTUDIO 1: CCNP SWITCH
DLS1(config)#router eigrp 1
DLS1(config-router)#no auto-summary
DLS1(config-router)#network 172.16.0.0

R1(config)#router eigrp 1
R1(config-router)#no auto-summary
R1(config-router)#network 172.16.0.0




















19
CASO DE ESTUDIO 1: CCNP SWITCH
4. Evaluacin a la red

DLS1#ping 172.16.10.20

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.20, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
DLS1#
DLS1#ping 172.16.30.30

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.30.30, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
DLS1#
DLS1#ping 172.16.40.40

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.40.40, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
DLS1#
DLS1#ping 172.16.10.50

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.50, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
DLS1#
DLS1#ping 172.16.40.50
20
CASO DE ESTUDIO 1: CCNP SWITCH

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.40.50, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
DLS1#
DLS1#ping 172.16.60.20

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.60.20, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
DLS1#

DLS2#ping 172.16.50.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.50.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
DLS2#

ALS1#ping 172.16.50.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.50.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
ALS1#

ALS2#ping 172.16.50.10
21
CASO DE ESTUDIO 1: CCNP SWITCH

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.50.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
ALS2#

R1#ping 172.16.50.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.50.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
R1#
22
CASO DE ESTUDIO 1: CCNP SWITCH
5. Configuraciones finales:
5.1 DLS1

DLS1#show
*Mar 1 01:29:26.695: %SYS-5-CONFIG_I: Configured from console
by consolerun
DLS1#show running-config
Building configuration...

Current configuration : 1944 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
system mtu routing 1508
ip subnet-zero
ip routing
no ip domain-lookup
!
!
!
--More-- _________ _________!
!
!
!
!
!
!
!
spanning-tree mode rapid-pvst
spanning-tree portfast default
spanning-tree extend system-id
spanning-tree vlan 1-100 priority 24576
!
vlan internal allocation policy ascending
!
!
!
!
interface Loopback0
ip address 172.16.200.1 255.255.255.0
!
interface Port-channel1
switchport trunk encapsulation dot1q
23
CASO DE ESTUDIO 1: CCNP SWITCH
--More-- _________ _________ switchport mode trunk
!
interface Port-channel2
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode desirable
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode desirable
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
--More-- _________ _________ switchport mode trunk
channel-group 2 mode desirable
!
interface FastEthernet0/5
switchport trunk encapsulation isl
switchport mode trunk
!
interface FastEthernet0/6
no switchport
ip address 172.16.60.10 255.255.255.0
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface GigabitEthernet0/1
!
interface Vlan1
no ip address
shutdown
!
interface Vlan20
ip address 172.16.20.10 255.255.255.0
--More-- _________ _________!
interface Vlan30
ip address 172.16.30.10 255.255.255.0
!
interface Vlan40
ip address 172.16.40.10 255.255.255.0
!
!
router eigrp 1
no auto-summary
24
CASO DE ESTUDIO 1: CCNP SWITCH
network 172.16.20.0 0.0.0.255
network 172.16.30.0 0.0.0.255
network 172.16.40.0 0.0.0.255
network 172.16.60.0 0.0.0.255
!
ip classless
ip http server
ip http secure-server
!
!
!
control-plane
!
--More-- _________ _________!
line con 0
line vty 5 15
!
end

DLS1# _ _ show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-
user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 5 subnets
C 172.16.200.0 is directly connected, Loopback0
C 172.16.60.0 is directly connected, FastEthernet0/6
C 172.16.40.0 is directly connected, Vlan40
C 172.16.30.0 is directly connected, Vlan30
C 172.16.20.0 is directly connected, Vlan20
DLS1#
5.2 DLS2
DLS2#show running-config
Building configuration...

Current configuration : 1780 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DLS2
25
CASO DE ESTUDIO 1: CCNP SWITCH
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
ip routing
!
!
!
!
--More-- _________ _________!
!
!
!
!
!
!
spanning-tree mode rapid-pvst
spanning-tree portfast default
spanning-tree extend system-id
spanning-tree vlan 1-1000 priority 28672
!
vlan internal allocation policy ascending
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
--More-- _________ _________interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/8
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/10
switchport trunk encapsulation dot1q
26
CASO DE ESTUDIO 1: CCNP SWITCH
switchport mode trunk
!
interface FastEthernet0/11
--More-- _________ _________ switchport trunk
encapsulation isl
switchport mode trunk
!
interface FastEthernet0/12
no switchport
ip address 172.16.60.11 255.255.255.0
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
--More-- _________ _________interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 172.16.10.20 255.255.255.0
!
ip classless
ip http server
ip http secure-server
!
--More-- _________ _________!
!
control-plane
!
!
line con 0
27
CASO DE ESTUDIO 1: CCNP SWITCH
line vty 5 15
!
end

DLS2#


5.3 ALS1
ALS1#show run
Building configuration...

Current configuration : 3958 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname ALS1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$ZeZN$PMRm8nc/ueNoZmpkOCiPh0
!
username admin privilege 15 secret 5 $1$SQWL$81KpwFlnbMfV.7IKjatuI0
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
no ip domain-lookup
28
CASO DE ESTUDIO 1: CCNP SWITCH
--More-- !
!
crypto pki trustpoint TP-self-signed-4267998592
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-4267998592
revocation-check none
rsakeypair TP-self-signed-4267998592
!
!
crypto pki certificate chain TP-self-signed-4267998592
certificate self-signed 01
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
--More-- !
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
29
CASO DE ESTUDIO 1: CCNP SWITCH
interface FastEthernet0/7
switchport mode trunk
!
interface FastEthernet0/8
switchport mode trunk
!
interface FastEthernet0/9
switchport mode trunk
!
interface FastEthernet0/10
switchport mode trunk
!
interface FastEthernet0/11
switchport mode trunk
--More-- !
interface FastEthernet0/12
switchport mode trunk
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/16
switchport access vlan 10
switchport mode access
spanning-tree portfast
30
CASO DE ESTUDIO 1: CCNP SWITCH
!
interface FastEthernet0/17
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
--More-- interface FastEthernet0/18
switchport access vlan 20
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/19
switchport access vlan 20
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
--More-- interface GigabitEthernet0/1
!
31
CASO DE ESTUDIO 1: CCNP SWITCH
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan30
ip address 172.16.30.30 255.255.255.0
no ip route-cache
!
ip default-gateway 172.16.30.10
ip http server
ip http secure-server
!
control-plane
!
banner motd ^C PROHIBIDO EL ACCESO NO AUTORIZADO ^C
!
line con 0
password 7 094F471A1A0A
--More-- logging synchronous
login
line vty 0 4
login local
transport input telnet ssh
line vty 5 15
login local
transport input telnet ssh
!
end
32
CASO DE ESTUDIO 1: CCNP SWITCH

ALS1#

5.4 ALS2

ALS2#show run
Building configuration...
Current configuration : 3958 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname ALS2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
no ip domain-lookup
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport mode trunk
33
CASO DE ESTUDIO 1: CCNP SWITCH
channel-group 2 mode auto
!
interface FastEthernet0/8
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 2 mode auto
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 4 mode auto
!
interface FastEthernet0/10
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 4 mode auto
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 6 mode auto
!
interface FastEthernet0/12
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 6 mode auto
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
34
CASO DE ESTUDIO 1: CCNP SWITCH
interface FastEthernet0/15
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/16
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/17
switchport access vlan 10
switchport mode access
spanning-tree portfast
!
--More--
interface FastEthernet0/18
switchport access vlan 20
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/19
switchport access vlan 20
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/20
switchport access vlan 30
switchport mode access
spanning-tree portfast
!
35
CASO DE ESTUDIO 1: CCNP SWITCH
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan40
ip address 172.16.40.40 255.255.255.0
no ip route-cache
!
ip default-gateway 172.16.30.10
ip http server
ip http secure-server
!
control-plane
!
!
!
end

36
CASO DE ESTUDIO 1: CCNP SWITCH
5.5 Router

R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-
user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 6 subnets
D 172.16.200.0
[90/156160] via 172.16.40.10, 00:03:45,
FastEthernet0/1.40
D 172.16.60.0 [90/30720] via 172.16.40.10, 00:03:45,
FastEthernet0/1.40
C 172.16.40.0 is directly connected, FastEthernet0/1.40
D 172.16.30.0 [90/28416] via 172.16.40.10, 00:03:45,
FastEthernet0/1.40
D 172.16.20.0 [90/28416] via 172.16.40.10, 00:03:45,
FastEthernet0/1.40
C 172.16.10.0 is directly connected, FastEthernet0/1.10
R1#show run
R1#show running-config
Building configuration...

Current configuration : 1326 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 25
ip cef
!
!
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
37
CASO DE ESTUDIO 1: CCNP SWITCH
--More-- _________ _________!
!
voice-card 0
!
!
!
!
--More-- _________ _________!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.10
description Red
encapsulation dot1Q 10
ip address 172.16.10.1 255.255.255.0
!
interface FastEthernet0/1.40
description Green
encapsulation dot1Q 40
ip address 172.16.40.1 255.255.255.0
!
interface BRI0/1/0
--More-- _________ _________ no ip address
encapsulation hdlc
shutdown
!
interface Serial0/2/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/2/1
no ip address
shutdown
clock rate 2000000
!
interface Serial0/3/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/3/1
no ip address
shutdown
clock rate 2000000
--More-- _________ _________!
router eigrp 10
network 172.16.0.0
38
CASO DE ESTUDIO 1: CCNP SWITCH
no auto-summary
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
--More-- _________ _________!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end

R1#

Vous aimerez peut-être aussi