0% found this document useful (0 votes)
20 views18 pages

Et R&S Config

The document contains configurations for routers and switches to set up routing and VLANs. Router and switch interfaces are configured with IP addresses and VLAN configurations. OSPF and EIGRP routing protocols are configured between the routers to enable routing between VLANs. HSRP is configured on routers R1 and R3 to provide redundancy for VLAN gateways. MSTP is configured on switch DLS1 to support multiple VLAN instances.

Uploaded by

mati.alfarom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views18 pages

Et R&S Config

The document contains configurations for routers and switches to set up routing and VLANs. Router and switch interfaces are configured with IP addresses and VLAN configurations. OSPF and EIGRP routing protocols are configured between the routers to enable routing between VLANs. HSRP is configured on routers R1 and R3 to provide redundancy for VLAN gateways. MSTP is configured on switch DLS1 to support multiple VLAN instances.

Uploaded by

mati.alfarom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

ET R&S

Dispositivos encendidos:

1) Direccionamiento
====
R1
====
ena
conf t
hostname R1
int s1/0
ip address 12.0.1.1 255.255.255.252
no shutdown
exit

int e0/2
ip address 209.60.20.1 255.255.255.252
no shutdown
exit
====
R2
====
ena
conf t
hostname R2
int e0/2
ip address 209.60.20.2 255.255.255.252
no shutdown
exit

int e0/1
ip address 209.50.10.2 255.255.255.252
no shutdown
exit
int e0/0
ip address 209.70.30.1 255.255.255.252
no shutdown
exit

====
R3
====
ena
conf t
hostname R3
int s1/0
ip address 12.0.1.2 255.255.255.252
no shutdown
exit

int e0/1
ip address 209.50.10.1 255.255.255.252
no shutdown
exit

int e0/2
ip address 209.90.50.1 255.255.255.252
no shutdown
exit

====
R4
====

ena
conf t
hostname R4
int e0/1
ip address 209.80.40.2 255.255.255.252
no shutdown
exit

int e0/0
ip address 209.70.30.2 255.255.255.252
no shutdown
exit

====
R5
====
ena
conf t
hostname R5
int e0/2
ip address 209.80.40.1 255.255.255.252
no shutdown
exit

int s1/0
ip address 172.16.10.1 255.255.255.252
no shutdown
exit

int s1/1
ip address 172.16.30.1 255.255.255.252
no shutdown
exit

====
R6
====

ena
conf t
hostname R6

int s1/0
ip address 172.16.10.2 255.255.255.252
no shutdown
exit

int s1/2
ip address 172.16.20.2 255.255.255.252
no shutdown
exit

int e0/1
ip address 209.100.60.1 255.255.255.252
no shutdown

====
R7
====

ena
conf t
hostname R7

int s1/2
ip address 172.16.20.1 255.255.255.252
no shutdown
exit

int s1/1
ip address 172.16.30.2 255.255.255.252
no shutdown
exit

int e0/0
ip address 209.110.70.1 255.255.255.252
no shut
exit

====
R8
====

ena
conf t
hostname R8

int e0/0
ip address 209.110.70.2 255.255.255.252
no shutdown
exit

int e0/1
ip address 209.100.60.2 255.255.255.252
no shutdown
exit

int e0/2
ip address 209.90.50.2 255.255.255.252
no shutdown
exit

3)
ALS1

en
conf t
HOSTNAME ALS1
vlan 110
name FINANZAS
vlan 210
name RRHH
vlan 310
name VENTAS
VLAN 410
name TI
VLAN 510
name NATIVA
exit
vtp mode transparent
int e0/0
no shut
sw mo acc
sw acc vlan 210
int e0/1
sw mo acc
sw acc vlan 310
int range e1/1-2
no shut
channel-group 2 mode passive
sw tr encap dot1q
sw mo tr
sw tr all vlan 110,210,310,410
sw tr native vlan 510

int port 2
sw tr encap dot1q
sw mo tr
sw tr all vlan 110,210,310,410
sw tr native vlan 510

int range e1/3, e2/0


no shut
sw tr encap dot1q
sw mo tr
sw tr all vlan 110,210,310,410
sw tr native vlan 510
channel-group 3 mode on
sw tr encap dot1q
sw mo tr
sw tr all vlan 110,210,310,410
sw tr native vlan 510
exit

DSL1

eNA
conf t
hostname DLS1
ip routing
nvlan 110
name FINANZAS
vlan 210
name RRHH
vlan 310
name VENTAS
VLAN 410
name TI
VLAN 510
name NATIVA
exit
vtp mode transparent
int e2/1
sw mo acc
sw acc vlan 110
int RANGE e0/1-3, e1/0
no shut
channel-group 1 mode desirable
int port 1
no sw
ip addr 12.12.1.1 255.255.255.240
exit
int range e1/1-2
no shut
sw tr encap dot1q
sw mo tr
sw tr all vlan 110,210,310,410
sw tr native vlan 510
channel-group 2 mode active
int port 2
sw tr encap dot1q
no shut
sw mo tr
sw tr all vlan 110,210,310,410
sw tr native vlan 510

DSL2
en
conf t
ip routing
vlan 110
name FINANZAS
vlan 210
name RRHH
vlan 310
name VENTAS
VLAN 410
name TI
VLAN 510
name NATIVA
exit
vtp mode transparent
int e2/1
sw mo acc
sw acc vlan 410
exit
int range e0/1-3, e1/0
sw mo trunk
no shut
channel-group 1 mode auto
int port 1
no sw
ip addr 12.12.1.2 255.255.255.240
exit
int range e1/3, e2/0
no shut
sw tr encap dot1q
sw mo tr
sw tr all vlan 110,210,310,410
sw tr native vlan 510
channel-group 3 mode on
int port 3
sw tr encap dot1q
no shut
sw mo tr
sw tr all vlan 110,210,310,410
sw tr native vlan 510

4) Configurar manualmente MST en DLS1


-Región: CCNP2
-Revisión 1
-Instancia 1: VLAN 1X0 y 2X0 y X99
-Instancia 2: VLAN 3X0 y 4X
-El VTP que se utilizará será el modo transparent que deberá ser configurado en todos los
switches

================
DLS 1
================

ena
conf t
hostname DLS1

vlan 110
name FINANZAS
exit

vlan 210
name RRHH
exit

vlan 310
name VENTAS
exit

vlan 410
name TI
exit

vlan 510
name NATIVA
exit

VLAN 199
name INSTANCIA
exit

spanning-tree mst configuration


name CCNP2
revision 1
instance 1 vlan 110,210,199
instance 2 vlan 310,410

—----------------------------------------------------------------------------------------------------------
8) Configurar HSRP en los routers R1 y R3
-Configure la versión más reciente del protocolo HSRP.
-Configure la dirección IP de la puerta de enlace virtual predeterminada que será la 3er IP
de acuerdo al diagrama de topología (red 11.0.x.0/28)
-Designe el router activo para el grupo HSRP, en este caso R1 será el router activo para las
VLANs 1X0 y 4X0, el R2 será router activo para las VLANs 2X0 y 3X0
—-----------------------------------------------------------------------------------------------------------
HSRP

R1

en
conf t
int e0/0
no shut
int e0/0.110
encap dot1q 110
ip addr 192.168.11.1 255.255.255.0
standby version 2
standby 1 ip 192.168.11.3
standby 1 preempt
standby 1 priority 150
int e0/0.210
encap dot1q 210
ip addr 192.168.12.1 255.255.255.0
standby version 2
standby 2 ip 192.168.12.3
standby 2 preempt
standby 2 priority 100
int e0/0.310
encap dot1q 310
ip addr 192.168.13.1 255.255.255.0
standby version 2
standby 3 ip 192.168.13.3
standby 3 preempt
standby 3 priority 100
exit
int e0/0.410
encap dot1q 410
ip addr 192.168.14.1 255.255.255.0
standby version 2
standby 4 ip 192.168.14.3
standby 4 preempt
standby 4 priority 150

R3

en
conf t
int e0/0
no shut
int e0/0.110
encap dot1q 110
ip addr 192.168.11.2 255.255.255.0
standby version 2
standby 1 ip 192.168.11.3
standby 1 preempt
standby 1 priority 100
int e0/0.210
encap dot1q 210
ip addr 192.168.12.2 255.255.255.0
standby version 2
standby 2 ip 192.168.12.3
standby 2 preempt
standby 2 priority 150
int e0/0.310
encap dot1q 310
ip addr 192.168.13.2 255.255.255.0
standby version 2
standby 3 ip 192.168.13.3
standby 3 preempt
standby 3 priority 150
exit
int e0/0.410
encap dot1q 410
ip addr 192.168.14.2 255.255.255.0
standby version 2
standby 4 ip 192.168.14.3
standby 4 preempt
standby 4 priority 100
exit

7) Configurar las interfaces SVI para establecer el enrutamiento InterVLAN y conectividad


entre los hosts de cada
VLANs (deberán utilizar las direcciones IP disponibles)

================
DLS1
================

int vlan 110


description FINANZAS
ip address 192.168.11.10 255.255.255.0
no shut
exit

================
DLS2
================

int vlan 410


description TI
ip address 192.168.14.40 255.255.255.0
no shut
exit

================
ALS1
================

int vlan 210


description RRHH
ip address 192.168.12.20 255.255.255.0
no shut
exit

int vlan 310


description VENTAS
ip address 192.168.13.30 255.255.255.0
no shut
exit

9) Configurar el enrutamiento OSPF multitarea según indicado en topología

================
R1
================

router ospf 10
router-id 1.1.1.1
network 192.168.0.1 0.0.63.255 area 25
network 192.168.11.0 0.0.0.255 area 0
network 192.168.12.0 0.0.0.255 area 0
network 192.168.13.0 0.0.0.255 area 0
network 192.168.14.0 0.0.0.255 area 0
passive-interface loo1
passive-interface loo2
passive-interface loo3
passive-interface loo4

network 12.0.1.0 0.0.0.3 area 0


exit

================
R3
================

int loo1
ip address 192.168.50.1 255.255.255.0
no shutdown
exit

int loo2
ip address 192.168.60.1 255.255.255.0
no shutdown
exit

int loo3
ip address 192.168.70.1 255.255.255.0
no shutdown
exit

int loo4
ip address 192.168.80.1 255.255.255.0
no shutdown
exit

router ospf 10
router-id 3.3.3.3
network 192.168.0.1 0.0.127.255 area 50
network 192.168.11.0 0.0.0.255 area 0
network 192.168.12.0 0.0.0.255 area 0
network 192.168.13.0 0.0.0.255 area 0
network 192.168.14.0 0.0.0.255 area 0
passive-interface loo1
passive-interface loo2
passive-interface loo3
passive-interface loo4

network 12.0.1.0 0.0.0.3 area 0


exit
—--

DlS1
en
conf t
router ospf 10
router-id 1.1.1.2
network 192.168.11.0 0.0.0.255 area 0
network 12.12.1.0 0.0.0.15 area 0
exit

DlS2
en
conf t
router ospf 10
router-id 1.1.1.3
network 192.168.14.0 0.0.0.255 area 0
network 12.12.1.0 0.0.0.15 area 0
exit

10) Configurar el enrutamiento EIGRP según indicado en topología

================
EIGRP
--

================
R5
================

router eigrp 123


eigrp router-id 5.5.5.5
network 172.16.10.0 0.0.0.3
network 172.16.30.0 0.0.0.3
exit

================
R6
================

int loo1
ip address 192.168.128.1 255.255.255.0
no shut
exit

int loo2
ip address 192.168.129.1 255.255.255.0
no shut
exit

int loo3
ip address 192.168.130.1 255.255.255.0
no shut
exit

int loo4
ip address 192.168.131.1 255.255.255.0
no shut
exit

int loo5
ip address 192.168.132.1 255.255.255.0
no shut
exit

router eigrp 123


eigrp router-id 6.6.6.6
network 192.168.128.0 0.0.7.255
passive-interface loo1
passive-interface loo2
passive-interface loo3
passive-interface loo4
passive-interface loo5

network 172.16.10.0 0.0.0.3


network 172.16.20.0 0.0.0.3
exit

================
R7
================

int loo1
ip address 192.168.192.1 255.255.255.0
no shut
exit

int loo2
ip address 192.168.193.1 255.255.255.0
no shut
exit

int loo3
ip address 192.168.194.1 255.255.255.0
no shut
exit

int loo4
ip address 192.168.195.1 255.255.255.0
no shut
exit

int loo5
ip address 192.168.196.1 255.255.255.0
no shut
exit

router eigrp 123


eigrp router-id 7.7.7.7
network 192.168.192.0 0.0.7.255
passive-interface loo1
passive-interface loo2
passive-interface loo3
passive-interface loo4
passive-interface loo5

network 172.16.30.0 0.0.0.3


network 172.16.20.0 0.0.0.3
exit

12) Configurar eBGP según el diagrama de topología

========
R4
========

int loo0
ip address 9.9.9.9 255.255.255.255
no shut
router bgp 100
bgp router-id 4.4.4.4
network 209.70.30.0 mask 255.255.255.252
network 8.8.8.8 mask 255.255.255.255

neighbor 209.80.40.0 remote-as 64400


exit

========
R2
========

int loo0
ip address 8.8.8.8 255.255.255.255
no shut

router bgp 100


bgp router-id 2.2.2.2
network 209.70.30.0 mask 255.255.255.252
network 8.8.8.8 mask 255.255.255.255

neighbor 209.50.10.0 remote-as 65500


neighbor 209.50.20.0 remote-as 65500
exit

========
R5
========

router bgp 64400


bgp router-id 5.5.5.5
network 172.16.10.0 mask 255.255.255.252
network 172.16.30.0 mask 255.255.255.252

neighbor 209.80.40.0 remote-as 100


exit

========
R6
========

router bgp 64400


bgp router-id 6.6.6.6
network 172.16.10.0 mask 255.255.255.252
network 172.16.20.0 mask 255.255.255.252
neighbor 209.100.60.0 remote-as 300
exit

========
R7
========

router bgp 64400


bgp router-id 7.7.7.7
network 172.16.30.0 mask 255.255.255.252
network 172.16.20.0 mask 255.255.255.252

neighbor 209.110.70.2 remote-as 300


exit

========
R3
========

router bgp 65500


bgp router-id 3.3.3.3
network 12.0.1.0 mask 255.255.255.252

neighbor 209.90.50.0 remote-as 300


exit

========
R1
========

router bgp 65500


bgp router-id 1.1.1.1
network 12.0.1.0 mask 255.255.255.252
network 192.168.0.1 mask 255.255.192.0
exit

========
R8
========

int loo0
ip address 7.7.7.7 255.255.255.255
no shut

router bgp 300


bgp router-id 8.8.8.8
network 7.7.7.7
neighbor 12.0.1.1 remote-as 65500
neighbor 12.0.1.1 update-source ethernet 0/2

neighbor 209.90.50.0 remote-as 65500


neighbor 209.110.70.1 remote-as 64400
neighbor 209.100.60.1 remote-as 64400
exit

You might also like