Você está na página 1de 19

TOPOLOGIA

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


DHCP

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


DNS

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


WEB

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


MAIL

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


SPANNING-TREE

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


HSRP

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


OSPF

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


CONFIGURACIONES:

SW-1////////////////////////////////////////////////////// SW-2//////////////////////////////////////////////////////

enable enable

config t config t
no ip domain-lookup no ip domain-lookup
hostname SW-1 hostname SW-2
line console 0 line console 0
password cisco password cisco
login login
exit exit
line vty 0 15 line vty 0 15
password cisco password cisco
login login
exit exit

service password-encryption service password-encryption


spanning-tree mode rapid-pvst spanning-tree mode rapid-pvst

vlan 10 vlan 10
name diez name diez
vlan 20 vlan 20
name veinte name veinte

interface range f 0/1 - 2 interface range f 0/1 - 2


switchport mode trunk switchport mode trunk
switchport trunk allowed vlan 1,10,20 switchport trunk allowed vlan 1,10,20

interface range f 0/23-24 interface range f 0/23-24


switchport mode access switchport mode access
switchport access vlan 10 switchport access vlan 20
spanning-tree portfast spanning-tree portfast
spanning-tree bpduguard enable spanning-tree bpduguard enable

interface range f 0/3 - 22 interface range f 0/3 - 22


shutdown shutdown
interface range g 0/1 - 2 interface range g 0/1 - 2
shutdown shutdown

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


!
SW-4//////////////////////////////////////////////////////
SW-3//////////////////////////////////////////////////////
enable
enable
config t
config t no ip domain-lookup
no ip domain-lookup hostname SW-4
hostname SW-3 line console 0
line console 0 password cisco
password cisco login
login exit
exit line vty 0 15
line vty 0 15 password cisco
password cisco login
login exit
exit
service password-encryption
service password-encryption spanning-tree mode rapid-pvst
spanning-tree mode rapid-pvst
vlan 30
vlan 30 name treinta
name treinta vlan 40
vlan 40 name cuarenta
name cuarenta
interface range f 0/1 - 2
interface range f 0/1 - 2 switchport mode trunk
switchport mode trunk switchport trunk allowed vlan 1,30,40
switchport trunk allowed vlan 1,30,40
interface range f 0/23-24
interface range f 0/23-24 switchport mode access
switchport mode access switchport access vlan 40
switchport access vlan 30 spanning-tree portfast
spanning-tree portfast spanning-tree bpduguard enable
spanning-tree bpduguard enable
interface range f 0/3 - 22
interface range f 0/3 - 22 shutdown
shutdown interface range g 0/1 - 2
interface range g 0/1 - 2 shutdown
shutdown !
!
DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3
SW-5////////////////////////////////////////////////////// SW-6//////////////////////////////////////////////////////

enable enable

config t config t
no ip domain-lookup no ip domain-lookup
hostname SW-5 hostname SW-6
line console 0 line console 0
password cisco password cisco
login login
exit exit
line vty 0 15 line vty 0 15
password cisco password cisco
login login
exit exit

service password-encryption service password-encryption


spanning-tree mode rapid-pvst spanning-tree mode rapid-pvst

vlan 50 vlan 50
name cincuenta name cincuenta

interface range f 0/1 - 2 interface range f 0/1 - 2


switchport mode trunk switchport mode trunk
switchport trunk allowed vlan 1,50 switchport trunk allowed vlan 1,50

interface range f 0/23-24 interface range f 0/23-24


switchport mode access switchport mode access
switchport access vlan 50 switchport access vlan 50
spanning-tree portfast spanning-tree portfast
spanning-tree bpduguard enable spanning-tree bpduguard enable

interface range f 0/3 - 22 interface range f 0/3 - 22


shutdown shutdown
interface range g 0/1 - 2 interface range g 0/1 - 2
shutdown shutdown

DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3


AGG-1//////////////////////////////////////////////////////
interface gigabitethernet 0/2
enable no switchport
ip address 172.30.3.2 255.255.255.252
config t no shutdown
no ip domain-lookup
hostname AGG-1 interfa vlan 10
ip routing ip address 192.168.10.2 255.255.255.0
ip ospf priority 10
line console 0 standby version 2
password cisco standby 10 ip 192.168.10.1
login standby 10 priority 150
exit standby 10 preempt
ip helper-address 192.168.50.5
service password-encryption

vlan 10 interfa vlan 20


name diez ip address 192.168.20.2 255.255.255.0
vlan 20 standby version 2
name veinte standby 20 ip 192.168.20.1
exit ip helper-address 192.168.50.5

spanning-tree mode rapid-pvst


spanning-tree vlan 10 root primary
spanning-tree vlan 20 root secondary

router ospf 10
router-id 1.1.1.1
network 192.168.10.0 0.0.0.255 area 1
network 192.168.20.0 0.0.0.255 area 1
network 172.30.1.0 0.0.0.3 area 0
network 172.30.3.0 0.0.0.3 area 0

interface range f 0/1-3


switchport trunk encapsulation dot1q
switchport mode trunk

interface gigabitethernet 0/1


no switchport
ip address 172.30.1.2 255.255.255.252
no shutdown
DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3
AGG-2//////////////////////////////////////////////////////
interface gigabitethernet 0/2
enable no switchport
ip address 172.30.2.2 255.255.255.252
config t no shutdown
no ip domain-lookup
hostname AGG-2 interfa vlan 10
ip routing ip address 192.168.10.3 255.255.255.0
standby version 2
line console 0 standby 10 ip 192.168.10.1
password cisco ip helper-address 192.168.50.5
login
exit interfa vlan 20
ip address 192.168.20.3 255.255.255.0
service password-encryption ip ospf priority 10
standby version 2
vlan 10 standby 20 ip 192.168.20.1
name diez standby 20 priority 150
vlan 20 standby 20 preempt
name veinte ip helper-address 192.168.50.5
exit

spanning-tree mode rapid-pvst


spanning-tree vlan 20 root primary
spanning-tree vlan 10 root secondary

router ospf 10
router-id 2.2.2.2
network 192.168.10.0 0.0.0.255 area 1
network 192.168.20.0 0.0.0.255 area 1
network 172.30.2.0 0.0.0.3 area 0
network 172.30.4.0 0.0.0.3 area 0

interface range f 0/1-3


switchport trunk encapsulation dot1q
switchport mode trunk

interface gigabitethernet 0/1


no switchport
ip address 172.30.4.2 255.255.255.252
no shutdown
DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3
AGG-3//////////////////////////////////////////////////////
interface gigabitethernet 0/2
enable no switchport
ip address 172.30.7.2 255.255.255.252
config t no shutdown
no ip domain-lookup
hostname AGG-3 interfa vlan 30
ip routing ip address 192.168.30.2 255.255.255.0
ip ospf priority 10
line console 0 standby version 2
password cisco standby 30 ip 192.168.30.1
login standby 30 priority 150
exit standby 30 preempt
ip helper-address 192.168.50.5
service password-encryption
interfa vlan 40
vlan 30 ip address 192.168.40.2 255.255.255.0
name treinta standby version 2
vlan 40 standby 40 ip 192.168.40.1
name cuarenta ip helper-address 192.168.50.5
exit

spanning-tree mode rapid-pvst


spanning-tree vlan 30 root primary
spanning-tree vlan 40 root secondary

router ospf 10
router-id 3.3.3.3
network 192.168.30.0 0.0.0.255 area 2
network 192.168.40.0 0.0.0.255 area 2
network 172.30.5.0 0.0.0.3 area 0
network 172.30.7.0 0.0.0.3 area 0

interface range f 0/1-3


switchport trunk encapsulation dot1q
switchport mode trunk

interface gigabitethernet 0/1


no switchport
ip address 172.30.5.2 255.255.255.252
no shutdown
DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3
AGG-4//////////////////////////////////////////////////////
interface gigabitethernet 0/2
enable no switchport
ip address 172.30.6.2 255.255.255.252
config t no shutdown
no ip domain-lookup
hostname AGG-4 interfa vlan 30
ip routing ip address 192.168.30.3 255.255.255.0
standby version 2
line console 0 standby 30 ip 192.168.30.1
password cisco ip helper-address 192.168.50.5
login
exit interfa vlan 40
ip address 192.168.40.3 255.255.255.0
service password-encryption ip ospf priority 10
standby version 2
vlan 30 standby 40 ip 192.168.40.1
name treinta standby 40 priority 150
vlan 40 standby 40 preempt
name cuarenta ip helper-address 192.168.50.5
exit

spanning-tree mode rapid-pvst


spanning-tree vlan 40 root primary
spanning-tree vlan 30 root secondary

router ospf 10
router-id 4.4.4.4
network 192.168.30.0 0.0.0.255 area 2
network 192.168.40.0 0.0.0.255 area 2
network 172.30.6.0 0.0.0.3 area 0
network 172.30.8.0 0.0.0.3 area 0

interface range f 0/1-3


switchport trunk encapsulation dot1q
switchport mode trunk

interface gigabitethernet 0/1


no switchport
ip address 172.30.8.2 255.255.255.252
no shutdown
DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3
AGG-5////////////////////////////////////////////////////// no shutdown

enable interfa vlan 50


ip address 192.168.50.2 255.255.255.0
config t ip ospf priority 10
no ip domain-lookup standby version 2
hostname AGG-5 standby 50 ip 192.168.50.1
ip routing standby 50 priority 150
standby 50 preempt
line console 0
password cisco
login
exit

service password-encryption

vlan 50
name cincuenta
exit

spanning-tree mode rapid-pvst


spanning-tree vlan 50 root primary

router ospf 10
router-id 5.5.5.5
network 192.168.50.0 0.0.0.255 area 3
network 172.30.10.0 0.0.0.3 area 0
network 172.30.30.0 0.0.0.3 area 0

interface range f 0/1-3


switchport trunk encapsulation dot1q
switchport mode trunk

interface gigabitethernet 0/1


no switchport
ip address 172.30.10.2 255.255.255.252
no shutdown

interface gigabitethernet 0/2


no switchport
ip address 172.30.30.2 255.255.255.252
DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3
AGG-6////////////////////////////////////////////////////// no shutdown

enable interfa vlan 50


ip address 192.168.50.3 255.255.255.0
config t standby version 2
no ip domain-lookup standby 50 ip 192.168.50.1
hostname AGG-6
ip routing

line console 0
password cisco
login
exit

service password-encryption

vlan 50
name cincuenta
exit

spanning-tree mode rapid-pvst


spanning-tree vlan 50 root secondary

router ospf 10
router-id 6.6.6.6
network 192.168.50.0 0.0.0.255 area 3
network 172.30.20.0 0.0.0.3 area 0
network 172.30.40.0 0.0.0.3 area 0

interface range f 0/1-3


switchport trunk encapsulation dot1q
switchport mode trunk

interface gigabitethernet 0/1


no switchport
ip address 172.30.40.2 255.255.255.252
no shutdown

interface gigabitethernet 0/2


no switchport
ip address 172.30.20.2 255.255.255.252
DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3
R-1////////////////////////////////////////////////////// no switchport
ip address 172.30.4.1 255.255.255.252
enable no shutdown

config t interface f 0/3


no ip domain-lookup no switchport
hostname R-1 ip address 172.30.5.1 255.255.255.252
ip routing no shutdown

line console 0 interface f 0/4


password cisco no switchport
login ip address 172.30.8.1 255.255.255.252
exit no shutdown

service password-encryption interface g 0/1


no switchport
router ospf 10 ip address 172.30.10.1 255.255.255.252
router-id 7.7.7.7 no shutdown
network 10.10.10.0 0.0.0.3 area 0
network 172.30.1.0 0.0.0.3 area 0 interface g 0/2
network 172.30.4.0 0.0.0.3 area 0 no switchport
network 172.30.5.0 0.0.0.3 area 0 ip address 172.30.40.1 255.255.255.252
network 172.30.8.0 0.0.0.3 area 0 no shutdown
network 172.30.10.0 0.0.0.3 area 0
network 172.30.40.0 0.0.0.3 area 0

interface range f 0/9 - 16


channel-group 1 mode active

interface port-channel 1
no switchport
ip address 10.10.10.1 255.255.255.252
ip ospf priority 15
no shutdown

interface f 0/1
no switchport
ip address 172.30.1.1 255.255.255.252
no shutdown

interface f 0/2
DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3
R-2////////////////////////////////////////////////////// no switchport
ip address 172.30.2.1 255.255.255.252
enable no shutdown

config t interface f 0/3


no ip domain-lookup no switchport
hostname R-2 ip address 172.30.7.1 255.255.255.252
ip routing no shutdown

line console 0 interface f 0/4


password cisco no switchport
login ip address 172.30.6.1 255.255.255.252
exit no shutdown

service password-encryption interface g 0/1


no switchport
router ospf 10 ip address 172.30.30.1 255.255.255.252
router-id 8.8.8.8 no shutdown
network 10.10.10.0 0.0.0.3 area 0
network 172.30.3.0 0.0.0.3 area 0 interface g 0/2
network 172.30.2.0 0.0.0.3 area 0 no switchport
network 172.30.7.0 0.0.0.3 area 0 ip address 172.30.20.1 255.255.255.252
network 172.30.6.0 0.0.0.3 area 0 no shutdown
network 172.30.30.0 0.0.0.3 area 0
network 172.30.20.0 0.0.0.3 area 0

interface range f 0/9 - 16


channel-group 1 mode active

interface port-channel 1
no switchport
ip address 10.10.10.2 255.255.255.252
ip ospf priority 10
no shutdown

interface f 0/1
no switchport
ip address 172.30.3.1 255.255.255.252
no shutdown

interface f 0/2
DAVID CAZARES 303316176 CCNA R&S SABATINO TAREA MODULO 3

Você também pode gostar