Delete "lab EV1 - ISP1" config

lab EV1 - ISP1

!
hostname ISP1
!
! ===== ISP1 - Dominio OSPF Area 0 =====
! Ethernet0/3 NO SE CONFIGURA NI SE MODIFICA (restriccion de la actividad)
no ip domain-lookup
ipv6 unicast-routing
line console 0
 logging synchronous
 exec-timeout 0 0
!
ipv6 router ospf 1
 router-id 11.11.11.11
!
interface Loopback0
 description Simula servidor nube 8.8.4.4 (opcional)
 ip address 8.8.4.4 255.255.255.255
 ipv6 address 2001:4860:4860::8844/128
 ipv6 ospf 1 area 0
interface Ethernet0/1
 description Enlace a ISP2 e0/1
 ip address 10.5.0.1 255.255.255.252
 ipv6 address 2001:DB8:5::1/64
 ipv6 ospf 1 area 0
 no shutdown
interface Ethernet0/2
 description Enlace a R3 e0/2
 ip address 210.0.0.1 255.255.255.252
 ipv6 address 2001:DB8:210::1/64
 ipv6 ospf 1 area 0
 no shutdown
ipv6 router ospf 1
 passive-interface Loopback0
!
router ospf 1
 router-id 11.11.11.11
 network 8.8.4.4 0.0.0.0 area 0
 network 10.5.0.0 0.0.0.3 area 0
 network 210.0.0.0 0.0.0.3 area 0
 passive-interface Loopback0
!
end
Delete "lab EV1 - ISP2" config

lab EV1 - ISP2

!
hostname ISP2
!
! ===== ISP2 - ROUTER DE FRONTERA (ASBR) =====
! e0/1 = dominio OSPF | e0/2 = dominio EIGRP 1234
! Ethernet0/3 NO SE CONFIGURA NI SE MODIFICA (restriccion de la actividad)
no ip domain-lookup
ipv6 unicast-routing
line console 0
 logging synchronous
 exec-timeout 0 0
!
ipv6 router ospf 1
 router-id 22.22.22.22
ipv6 router eigrp 1234
 eigrp router-id 22.22.22.22
 no shutdown
!
interface Loopback0
 description Simula servidor nube 8.8.8.8 (opcional)
 ip address 8.8.8.8 255.255.255.255
 ipv6 address 2001:4860:4860::8888/128
 ipv6 ospf 1 area 0
interface Ethernet0/1
 description Enlace a ISP1 e0/1 - Dominio OSPF
 ip address 10.5.0.2 255.255.255.252
 ipv6 address 2001:DB8:5::2/64
 ipv6 ospf 1 area 0
 no shutdown
interface Ethernet0/2
 description Enlace a R4 e0/2 - Dominio EIGRP
 ip address 220.0.0.1 255.255.255.252
 ipv6 address 2001:DB8:220::1/64
 ipv6 eigrp 1234
 ! Ajuste por latencia del simulador (igual en R4 e0/2)
 ip hello-interval eigrp 1234 10
 ip hold-time eigrp 1234 60
 ipv6 hello-interval eigrp 1234 10
 ipv6 hold-time eigrp 1234 60
 no shutdown
!
! ---------- IPv4 ----------
router ospf 1
 router-id 22.22.22.22
 network 8.8.8.8 0.0.0.0 area 0
 network 10.5.0.0 0.0.0.3 area 0
 passive-interface Loopback0
 redistribute eigrp 1234 metric 20 metric-type 2 subnets
router eigrp 1234
 eigrp router-id 22.22.22.22
 network 220.0.0.0 0.0.0.3
 no auto-summary
 redistribute ospf 1 metric 10000 100 255 1 1500
!
! ---------- IPv6 ----------
ipv6 router ospf 1
 passive-interface Loopback0
 redistribute eigrp 1234 include-connected
ipv6 router eigrp 1234
 default-metric 10000 100 255 1 1500
 redistribute ospf 1 include-connected
!
end
Delete "lab EV1 - PC_Oper." config

lab EV1 - PC_Oper.

!
hostname PC-OPERACIONES
!
logging console notifications
no ip domain-lookup
no ip routing
line console 0
 logging synchronous
 exec-timeout 0 0
interface Ethernet0/3
 ip address dhcp
 ipv6 enable
 ipv6 address autoconfig default
 no shutdown
!
end
Delete "lab EV1 - PC_RRHH" config

lab EV1 - PC_RRHH

!
hostname PC-RRHH
!
logging console notifications
no ip domain-lookup
no ip routing
line console 0
 logging synchronous
 exec-timeout 0 0
interface Ethernet0/3
 ip address dhcp
 ipv6 enable
 ipv6 address autoconfig default
 no shutdown
!
end
Delete "lab EV1 - PC_Ventas" config

lab EV1 - PC_Ventas

!
hostname PC-VENTAS
!
logging console notifications
no ip domain-lookup
no ip routing
line console 0
 logging synchronous
 exec-timeout 0 0
interface Ethernet0/3
 ip address dhcp
 ipv6 enable
 ipv6 address autoconfig default
 no shutdown
!
end
Delete "lab EV1 - R1" config

lab EV1 - R1

!
hostname R1
!
! ===== R1 - Dominio OSPF Area 0 =====
no ip domain-lookup
ipv6 unicast-routing
line console 0
 logging synchronous
 exec-timeout 0 0
!
ipv6 router ospf 1
 router-id 1.1.1.1
 passive-interface Ethernet0/1
!
interface Ethernet0/0
 description Enlace a R3 e0/0
 ip address 10.10.11.2 255.255.255.0
 ipv6 address 2001:DB8:11::2/64
 ipv6 ospf 1 area 0
 no shutdown
interface Ethernet0/1
 description LAN PC User1
 ip address 10.10.13.1 255.255.255.0
 ipv6 address 2001:DB8:13::1/64
 ipv6 ospf 1 area 0
 no shutdown
interface Ethernet0/2
 description Enlace a R2 e0/2
 ip address 10.10.10.1 255.255.255.0
 ipv6 address 2001:DB8:10::1/64
 ipv6 ospf 1 area 0
 no shutdown
!
ip dhcp excluded-address 10.10.13.1 10.10.13.10
ip dhcp pool USER1
 network 10.10.13.0 255.255.255.0
 default-router 10.10.13.1
 dns-server 8.8.8.8
!
router ospf 1
 router-id 1.1.1.1
 network 10.10.10.0 0.0.0.255 area 0
 network 10.10.11.0 0.0.0.255 area 0
 network 10.10.13.0 0.0.0.255 area 0
 passive-interface Ethernet0/1
!
end
Delete "lab EV1 - R2" config

lab EV1 - R2

!
hostname R2
!
! ===== R2 - Dominio OSPF Area 0 =====
no ip domain-lookup
ipv6 unicast-routing
line console 0
 logging synchronous
 exec-timeout 0 0
!
ipv6 router ospf 1
 router-id 2.2.2.2
 passive-interface Ethernet0/3
!
interface Loopback0
 description Loopback del diagrama
 ip address 2.2.2.2 255.255.255.255
 ipv6 address 2022:ACAD:ACAD:1::1/64
 ipv6 ospf network point-to-point
 ipv6 ospf 1 area 0
interface Ethernet0/1
 description Enlace a R3 e0/1
 ip address 10.10.12.2 255.255.255.0
 ipv6 address 2001:DB8:12::2/64
 ipv6 ospf 1 area 0
 no shutdown
interface Ethernet0/2
 description Enlace a R1 e0/2
 ip address 10.10.10.2 255.255.255.0
 ipv6 address 2001:DB8:10::2/64
 ipv6 ospf 1 area 0
 no shutdown
interface Ethernet0/3
 description LAN PC User2
 ip address 10.10.14.1 255.255.255.0
 ipv6 address 2001:DB8:14::1/64
 ipv6 ospf 1 area 0
 no shutdown
!
ip dhcp excluded-address 10.10.14.1 10.10.14.10
ip dhcp pool USER2
 network 10.10.14.0 255.255.255.0
 default-router 10.10.14.1
 dns-server 8.8.8.8
!
ipv6 router ospf 1
 passive-interface Loopback0
router ospf 1
 router-id 2.2.2.2
 network 2.2.2.2 0.0.0.0 area 0
 network 10.10.10.0 0.0.0.255 area 0
 network 10.10.12.0 0.0.0.255 area 0
 network 10.10.14.0 0.0.0.255 area 0
 passive-interface Ethernet0/3
 passive-interface Loopback0
!
end
Delete "lab EV1 - R3" config

lab EV1 - R3

!
hostname R3
!
! ===== R3 - Dominio OSPF Area 0 =====
! e0/3 (hacia ISP2 e0/3) NO se configura
no ip domain-lookup
ipv6 unicast-routing
line console 0
 logging synchronous
 exec-timeout 0 0
!
ipv6 router ospf 1
 router-id 3.3.3.3
!
interface Ethernet0/0
 description Enlace a R1 e0/0
 ip address 10.10.11.1 255.255.255.0
 ipv6 address 2001:DB8:11::1/64
 ipv6 ospf 1 area 0
 no shutdown
interface Ethernet0/1
 description Enlace a R2 e0/1
 ip address 10.10.12.1 255.255.255.0
 ipv6 address 2001:DB8:12::1/64
 ipv6 ospf 1 area 0
 no shutdown
interface Ethernet0/2
 description Enlace a ISP1 e0/2
 ip address 210.0.0.2 255.255.255.252
 ipv6 address 2001:DB8:210::2/64
 ipv6 ospf 1 area 0
 no shutdown
!
router ospf 1
 router-id 3.3.3.3
 network 10.10.11.0 0.0.0.255 area 0
 network 10.10.12.0 0.0.0.255 area 0
 network 210.0.0.0 0.0.0.3 area 0
!
end
Delete "lab EV1 - R4" config

lab EV1 - R4

!
hostname R4
!
! ===== R4 - Dominio EIGRP AS 1234 + Router-on-a-stick + DHCP =====
! e0/3 (hacia ISP1 e0/3) NO se configura
no ip domain-lookup
ipv6 unicast-routing
line console 0
 logging synchronous
 exec-timeout 0 0
!
ipv6 router eigrp 1234
 eigrp router-id 4.4.4.4
 no shutdown
!
interface Ethernet0/0
 description Trunk a SW1 e0/0
 no ip address
 no shutdown
interface Ethernet0/0.100
 description GW VLAN 100 Ventas
 encapsulation dot1Q 100
 ip address 192.168.100.1 255.255.255.0
 ipv6 address 2001:DB8:100::1/64
 ipv6 eigrp 1234
interface Ethernet0/0.200
 description GW VLAN 200 RRHH
 encapsulation dot1Q 200
 ip address 192.168.200.1 255.255.255.0
 ipv6 address 2001:DB8:200::1/64
 ipv6 eigrp 1234
interface Ethernet0/0.250
 description GW VLAN 250 Operaciones
 encapsulation dot1Q 250
 ip address 192.168.250.1 255.255.255.0
 ipv6 address 2001:DB8:250::1/64
 ipv6 eigrp 1234
interface Ethernet0/1
 description Enlace a R5 e0/1
 ip address 20.20.20.1 255.255.255.0
 ipv6 address 2001:DB8:20::1/64
 ipv6 eigrp 1234
 no shutdown
interface Ethernet0/2
 description Enlace a ISP2 e0/2
 ip address 220.0.0.2 255.255.255.252
 ipv6 address 2001:DB8:220::2/64
 ipv6 eigrp 1234
 ! Ajuste por latencia del simulador (igual en ISP2 e0/2)
 ip hello-interval eigrp 1234 10
 ip hold-time eigrp 1234 60
 ipv6 hello-interval eigrp 1234 10
 ipv6 hold-time eigrp 1234 60
 no shutdown
ipv6 router eigrp 1234
 passive-interface Ethernet0/0.100
 passive-interface Ethernet0/0.200
 passive-interface Ethernet0/0.250
!
ip dhcp excluded-address 192.168.100.1 192.168.100.10
ip dhcp excluded-address 192.168.200.1 192.168.200.10
ip dhcp excluded-address 192.168.250.1 192.168.250.10
ip dhcp pool VENTAS
 network 192.168.100.0 255.255.255.0
 default-router 192.168.100.1
 dns-server 8.8.8.8
ip dhcp pool RRHH
 network 192.168.200.0 255.255.255.0
 default-router 192.168.200.1
 dns-server 8.8.8.8
ip dhcp pool OPERACIONES
 network 192.168.250.0 255.255.255.0
 default-router 192.168.250.1
 dns-server 8.8.8.8
!
router eigrp 1234
 eigrp router-id 4.4.4.4
 network 20.20.20.0 0.0.0.255
 network 220.0.0.0 0.0.0.3
 network 192.168.100.0 0.0.0.255
 network 192.168.200.0 0.0.0.255
 network 192.168.250.0 0.0.0.255
 passive-interface Ethernet0/0.100
 passive-interface Ethernet0/0.200
 passive-interface Ethernet0/0.250
 no auto-summary
!
end
Delete "lab EV1 - R5" config

lab EV1 - R5

!
hostname R5
!
! ===== R5 - Dominio EIGRP AS 1234 =====
no ip domain-lookup
ipv6 unicast-routing
line console 0
 logging synchronous
 exec-timeout 0 0
!
ipv6 router eigrp 1234
 eigrp router-id 5.5.5.5
 no shutdown
!
interface Loopback1
 description Loopback del diagrama
 ip address 5.5.5.5 255.255.255.255
 ipv6 address 2022:ABCD:ABCD:1::1/64
 ipv6 eigrp 1234
interface Ethernet0/1
 description Enlace a R4 e0/1
 ip address 20.20.20.2 255.255.255.0
 ipv6 address 2001:DB8:20::2/64
 ipv6 eigrp 1234
 no shutdown
ipv6 router eigrp 1234
 passive-interface Loopback1
!
router eigrp 1234
 eigrp router-id 5.5.5.5
 network 5.5.5.5 0.0.0.0
 network 20.20.20.0 0.0.0.255
 passive-interface Loopback1
 no auto-summary
!
end
Delete "lab EV1 - SW1" config

lab EV1 - SW1

!
hostname SW1
!
! ===== SW1 - Trunk a R4, Po1 LACP a SW2, Po2 PAgP a SW3, PC RR.HH =====
! STP con prioridad por defecto (32768): el Root inicial se elige por MAC
no ip domain-lookup
logging console notifications
line console 0
 logging synchronous
 exec-timeout 0 0
vlan 100
 name Ventas
vlan 200
 name RRHH
vlan 250
 name Operaciones
spanning-tree mode rapid-pvst
!
interface Ethernet0/0
 description Trunk a R4 e0/0
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no shutdown
!
interface range Ethernet1/0 - 1
 description Po1 LACP a SW2
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 1 mode active
 no shutdown
interface Port-channel1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface range Ethernet2/0 - 1
 description Po2 PAgP a SW3
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 2 mode desirable
 no shutdown
interface Port-channel2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Ethernet0/3
 description PC RR.HH - VLAN 200
 switchport mode access
 switchport access vlan 200
 spanning-tree portfast
 no shutdown
!
end
Delete "lab EV1 - SW2" config

lab EV1 - SW2

!
hostname SW2
!
! ===== SW2 - Po1 LACP a SW1, Po3 estatico a SW3, PC Ventas =====
no ip domain-lookup
logging console notifications
line console 0
 logging synchronous
 exec-timeout 0 0
vlan 100
 name Ventas
vlan 200
 name RRHH
vlan 250
 name Operaciones
spanning-tree mode rapid-pvst
!
interface range Ethernet1/0 - 1
 description Po1 LACP a SW1
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 1 mode passive
 no shutdown
interface Port-channel1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface range Ethernet3/0 - 1
 description Po3 Estatico a SW3
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 3 mode on
 no shutdown
interface Port-channel3
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Ethernet0/3
 description PC Ventas - VLAN 100
 switchport mode access
 switchport access vlan 100
 spanning-tree portfast
 no shutdown
!
end
Delete "lab EV1 - SW3" config

lab EV1 - SW3

!
hostname SW3
!
! ===== SW3 - Po2 PAgP a SW1, Po3 estatico a SW2, PC Operaciones =====
no ip domain-lookup
logging console notifications
line console 0
 logging synchronous
 exec-timeout 0 0
vlan 100
 name Ventas
vlan 200
 name RRHH
vlan 250
 name Operaciones
spanning-tree mode rapid-pvst
!
interface range Ethernet2/0 - 1
 description Po2 PAgP a SW1
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 2 mode auto
 no shutdown
interface Port-channel2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface range Ethernet3/0 - 1
 description Po3 Estatico a SW2
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 3 mode on
 no shutdown
interface Port-channel3
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Ethernet0/3
 description PC Operaciones - VLAN 250
 switchport mode access
 switchport access vlan 250
 spanning-tree portfast
 no shutdown
!
! ---- Desafio Root Bridge (estado final): SW3 como Root Bridge ----
! Para reproducir el estado INICIAL (SW1 root), omitir esta linea.
spanning-tree vlan 1,100,200,250 priority 4096
!
end
Delete "lab EV1 - User1" config

lab EV1 - User1

!
hostname User1
!
logging console notifications
no ip domain-lookup
no ip routing
line console 0
 logging synchronous
 exec-timeout 0 0
interface Ethernet0/1
 ip address dhcp
 ipv6 enable
 ipv6 address autoconfig default
 no shutdown
!
end
Delete "lab EV1 - User2" config

lab EV1 - User2

!
hostname User2
!
logging console notifications
no ip domain-lookup
no ip routing
line console 0
 logging synchronous
 exec-timeout 0 0
interface Ethernet0/3
 ip address dhcp
 ipv6 enable
 ipv6 address autoconfig default
 no shutdown
!
end