configuraciÓn equipos.docx

35
1 05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació PART 1 RT-HONGKONG RT-HONGKONG#show ip route Codes: L - local, 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, E - EGP i - IS-IS, 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 192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.0.0/24 is directly connected, GigabitEthernet0/0 L 192.168.0.1/32 is directly connected, GigabitEthernet0/0 RT-HONGKONG#show run Building configuration... Current configuration : 786 bytes ! version 15.1 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname RT-HONGKONG Gonzalo González Moraño

Upload: gonzalo-gonzalez-morano

Post on 06-Dec-2015

236 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: CONFIGURACIÓN EQUIPOS.docx

1

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

PART 1

RT-HONGKONG

RT-HONGKONG#show ip routeCodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static route

Gateway of last resort is not set

192.168.0.0/24 is variably subnetted, 2 subnets, 2 masksC 192.168.0.0/24 is directly connected, GigabitEthernet0/0L 192.168.0.1/32 is directly connected, GigabitEthernet0/0RT-HONGKONG#show runBuilding configuration...

Current configuration : 786 bytes!version 15.1no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname RT-HONGKONG!!!no ip cefno ipv6 cef!!!!license udi pid CISCO2911/K9 sn FTX1524CCO5!!!!

Gonzalo González Moraño

Page 2: CONFIGURACIÓN EQUIPOS.docx

2

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!!!spanning-tree mode pvst!!!!!!interface GigabitEthernet0/0ip address 192.168.0.1 255.255.255.0duplex autospeed auto!interface GigabitEthernet0/1no ip addressduplex autospeed autoshutdown!interface GigabitEthernet0/2no ip addressduplex autospeed autoshutdown!interface Vlan1no ip addressshutdown!router ospf 3log-adjacency-changesnetwork 192.168.0.0 0.0.0.255 area 0!ip classless!ip flow-export version 9!!line con 0!line aux 0!line vty 0 4login!!!

Gonzalo González Moraño

Page 3: CONFIGURACIÓN EQUIPOS.docx

3

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

end

PART 2

RT-SEDE

RT-SEDE#show runnBuilding configuration...

Current configuration : 2657 bytes!version 15.1no service timestamps log datetime msecno service timestamps debug datetime msecservice password-encryption!hostname RT-SEDE!!!enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0!!!ip dhcp pool LAN30network 172.16.14.0 255.255.255.192

Gonzalo González Moraño

Page 4: CONFIGURACIÓN EQUIPOS.docx

4

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

default-router 172.16.14.1ip dhcp pool LAN31network 172.16.14.0 255.255.255.192default-router 172.16.14.1ip dhcp pool LAN32network 172.16.14.0 255.255.255.192default-router 172.16.14.1!!!no ip cefno ipv6 cef!!license udi pid CISCO2911/K9 sn FTX15246XEZ!!!spanning-tree mode pvst!!!interface GigabitEthernet0/0no ip addressip access-group 1 inip nat insideduplex autospeed auto!interface GigabitEthernet0/0.1no ip address!interface GigabitEthernet0/0.15description SERVERSencapsulation dot1Q 15ip address 172.16.15.17 255.255.255.240!interface GigabitEthernet0/0.30description DEP ITencapsulation dot1Q 30ip address 172.16.14.1 255.255.255.192!interface GigabitEthernet0/0.31description DEPT FIN/CONTencapsulation dot1Q 31ip address 172.16.14.65 255.255.255.192!interface GigabitEthernet0/0.32description DEPT ALM

Gonzalo González Moraño

Page 5: CONFIGURACIÓN EQUIPOS.docx

5

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

encapsulation dot1Q 32ip address 172.16.14.129 255.255.255.192!interface GigabitEthernet0/0.45description NATIVEencapsulation dot1Q 45 nativeip address 172.16.15.1 255.255.255.248!interface GigabitEthernet0/0.60description MANAGEMENTencapsulation dot1Q 60ip address 172.16.15.9 255.255.255.248!interface GigabitEthernet0/1no ip addressduplex autospeed autoshutdown!interface GigabitEthernet0/2no ip addressduplex autospeed autoshutdown!interface Serial0/2/0ip address 172.16.115.245 255.255.255.252clock rate 2000000!interface Serial0/2/1ip address 172.16.115.254 255.255.255.252clock rate 2000000!interface Serial0/3/0ip address 209.165.202.138 255.255.255.252ip nat outsideclock rate 2000000!interface Serial0/3/1no ip addressclock rate 2000000shutdown!interface Vlan1no ip addressshutdown!router ospf 1router-id 1.1.1.1

Gonzalo González Moraño

Page 6: CONFIGURACIÓN EQUIPOS.docx

6

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

log-adjacency-changesnetwork 172.16.14.0 0.0.1.255 area 1default-information originate!ip nat pool INTERNET 198.133.219.128 198.133.219.129 netmask 255.255.255.252ip nat inside source list 2 pool INTERNET overloadip nat inside source static 172.16.15.18 198.133.219.130 ip classlessip route 0.0.0.0 0.0.0.0 Serial0/3/0 !ip flow-export version 9!!access-list 1 permit 172.16.14.0 0.0.1.255access-list 2 permit 172.16.14.0 0.0.0.127!!!!!line con 0password 7 0822455D0A16!line aux 0password 7 0822455D0A16!line vty 0 4password 7 0822455D0A16login!!!end

Gonzalo González Moraño

Page 7: CONFIGURACIÓN EQUIPOS.docx

7

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

SW-ADMIN

SW-ADMIN#show runBuilding configuration...

Current configuration : 2319 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname SW-ADMIN!!!enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0!!username cisco privilege 15 password 0 cisco!!!ip ssh version 1ip domain-name SW-ADMIN!!spanning-tree mode pvst!!!interface FastEthernet0/1switchport access vlan 30switchport port-security maximum 2switchport port-security violation protect !interface FastEthernet0/2switchport access vlan 30!interface FastEthernet0/3switchport access vlan 31!interface FastEthernet0/4switchport access vlan 31!interface FastEthernet0/5switchport access vlan 32switchport mode access

Gonzalo González Moraño

Page 8: CONFIGURACIÓN EQUIPOS.docx

8

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!interface FastEthernet0/6switchport access vlan 32switchport mode access!interface FastEthernet0/7switchport access vlan 32switchport mode access!interface FastEthernet0/8switchport access vlan 32switchport mode access!interface FastEthernet0/9switchport access vlan 32switchport mode access!interface FastEthernet0/10switchport access vlan 15!interface FastEthernet0/11switchport access vlan 15!interface FastEthernet0/12switchport access vlan 15!interface FastEthernet0/13switchport access vlan 15!interface FastEthernet0/14switchport access vlan 15!interface FastEthernet0/15switchport access vlan 15!interface FastEthernet0/16switchport access vlan 15!interface FastEthernet0/17switchport access vlan 15!interface FastEthernet0/18switchport access vlan 15!interface FastEthernet0/19switchport access vlan 15!interface FastEthernet0/20shutdown

Gonzalo González Moraño

Page 9: CONFIGURACIÓN EQUIPOS.docx

9

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!interface FastEthernet0/21shutdown!interface FastEthernet0/22shutdown!interface FastEthernet0/23shutdown!interface FastEthernet0/24shutdown!interface GigabitEthernet0/1description link to RT-SEDEswitchport trunk encapsulation dot1qswitchport mode trunk!interface GigabitEthernet0/2!interface Vlan1no ip addressshutdown!interface Vlan60ip address 172.16.15.10 255.255.255.248!ip classless!ip flow-export version 9!!line con 0password ciscologin!line aux 0password ciscologin!line vty 0 4password ciscologintransport input sshline vty 5 15password ciscologintransport input sshend

Gonzalo González Moraño

Page 10: CONFIGURACIÓN EQUIPOS.docx

10

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

PART 3

RT-HONGKONG

RT-HONGKONG#show runBuilding configuration...

Current configuration : 976 bytes!version 15.1no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname RT-HONGKONG!!no ip cefno ipv6 cef!!!!license udi pid CISCO2911/K9 sn FTX15245V4I!!spanning-tree mode pvst!!!interface GigabitEthernet0/0ip address 192.168.0.1 255.255.255.0

Gonzalo González Moraño

Page 11: CONFIGURACIÓN EQUIPOS.docx

11

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

duplex autospeed auto!interface GigabitEthernet0/1no ip addressduplex autospeed autoshutdown!interface GigabitEthernet0/2no ip addressduplex autospeed autoshutdown!interface Serial0/0/0ip address 10.0.0.1 255.255.255.0encapsulation frame-relay!interface Serial0/0/1no ip addressclock rate 2000000!interface Vlan1no ip addressshutdown!router ospf 3log-adjacency-changesnetwork 192.168.0.0 0.0.0.255 area 0!ip classlessip route 172.16.14.0 255.255.254.0 10.0.0.2 !ip flow-export version 9!!!line con 0!line aux 0!line vty 0 4login!!!End

Gonzalo González Moraño

Page 12: CONFIGURACIÓN EQUIPOS.docx

12

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

RT-SEDE

RT-SEDE#sh runBuilding configuration...

Current configuration : 2448 bytes!version 15.1no service timestamps log datetime msecno service timestamps debug datetime msecservice password-encryption!hostname RT-SEDE!!!enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0!!!ip dhcp pool LAN30network 172.16.14.0 255.255.255.192default-router 172.16.14.1ip dhcp pool LAN31network 172.16.14.0 255.255.255.192default-router 172.16.14.1ip dhcp pool LAN32network 172.16.14.0 255.255.255.192default-router 172.16.14.1!no ip cefno ipv6 cef!!license udi pid CISCO2911/K9 sn FTX15246A2J!!spanning-tree mode pvst!!!interface GigabitEthernet0/0no ip addressip nat insideduplex autospeed auto!

Gonzalo González Moraño

Page 13: CONFIGURACIÓN EQUIPOS.docx

13

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

interface GigabitEthernet0/0.1no ip address!interface GigabitEthernet0/0.15description SERVERSencapsulation dot1Q 15ip address 172.16.15.17 255.255.255.240!interface GigabitEthernet0/0.30description DEP ITencapsulation dot1Q 30ip address 172.16.14.1 255.255.255.192!interface GigabitEthernet0/0.31description DEPT FIN/CONTencapsulation dot1Q 31ip address 172.16.14.65 255.255.255.192!interface GigabitEthernet0/0.32description DEPT ALMencapsulation dot1Q 32ip address 172.16.14.129 255.255.255.192!interface GigabitEthernet0/0.45description NATIVEencapsulation dot1Q 45 nativeip address 172.16.15.1 255.255.255.248!interface GigabitEthernet0/0.60description MANAGEMENTencapsulation dot1Q 60ip address 172.16.15.9 255.255.255.248!interface GigabitEthernet0/1no ip addressduplex autospeed autoshutdown!interface GigabitEthernet0/2no ip addressduplex autospeed autoshutdown!interface Serial0/2/0ip address 172.16.115.245 255.255.255.252clock rate 2000000!

Gonzalo González Moraño

Page 14: CONFIGURACIÓN EQUIPOS.docx

14

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

interface Serial0/2/1ip address 172.16.115.254 255.255.255.252clock rate 2000000!interface Serial0/3/0ip address 209.165.202.138 255.255.255.252clock rate 2000000!interface Serial0/3/1ip address 10.0.0.2 255.255.255.0encapsulation frame-relay!interface Vlan1no ip addressshutdown!router ospf 1router-id 1.1.1.1log-adjacency-changesnetwork 172.16.14.0 0.0.1.255 area 1default-information originate!ip nat pool INTERNET 198.133.219.128 198.133.219.129 netmask 255.255.255.252ip classlessip route 192.168.0.0 255.255.255.0 10.0.0.1 !ip flow-export version 9!!!line con 0password 7 0822455D0A16!line aux 0password 7 0822455D0A16!line vty 0 4password 7 0822455D0A16login!!!end

Gonzalo González Moraño

Page 15: CONFIGURACIÓN EQUIPOS.docx

15

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

PART 4

RT-HONGKONG

RT-HONGKONG#SHOW RUNNBuilding configuration...

Current configuration : 1056 bytes!version 15.1no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname RT-HONGKONG!!no ip cefno ipv6 cef!!!!license udi pid CISCO2911/K9 sn FTX15249H22!!spanning-tree mode pvst

Gonzalo González Moraño

Page 16: CONFIGURACIÓN EQUIPOS.docx

16

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!!!!!!interface GigabitEthernet0/0ip address 192.168.0.1 255.255.255.0duplex autospeed autostandby version 2standby 0 ip 192.168.0.250standby priority 99!interface GigabitEthernet0/1ip address 10.0.1.1 255.255.255.252duplex autospeed auto!interface GigabitEthernet0/2no ip addressduplex autospeed autoshutdown!interface Serial0/0/0ip address 10.0.0.1 255.255.255.0encapsulation frame-relay!interface Serial0/0/1no ip addressclock rate 2000000!interface Vlan1no ip addressshutdown!router ospf 3log-adjacency-changesnetwork 192.168.0.0 0.0.0.255 area 0!ip classlessip route 172.16.14.0 255.255.254.0 10.0.0.2 !ip flow-export version 9!!!line con 0

Gonzalo González Moraño

Page 17: CONFIGURACIÓN EQUIPOS.docx

17

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!line aux 0!line vty 0 4login!!!End

RT-H-BACKUP

RT-H-BACKUP#SHOW RUNBuilding configuration...

Current configuration : 818 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname RT-H-BACKUP!!!ip cefno ipv6 cef!!interface FastEthernet0/0ip address 192.168.0.2 255.255.255.0duplex autospeed autostandby version 2standby 0 ip 192.168.0.250standby preempt!interface FastEthernet1/0ip address 10.0.2.1 255.255.255.252duplex autospeed auto!interface Serial2/0no ip addressclock rate 2000000shutdown!

Gonzalo González Moraño

Page 18: CONFIGURACIÓN EQUIPOS.docx

18

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

interface Serial3/0no ip addressclock rate 2000000shutdown!interface FastEthernet4/0no ip addressshutdown!interface FastEthernet5/0no ip addressshutdown!ip classless!ip flow-export version 9!!!!!!!line con 0!line aux 0!line vty 0 4login!!!end

RT-SEDE#show runBuilding configuration...

Current configuration : 2838 bytes!version 15.1no service timestamps log datetime msecno service timestamps debug datetime msecservice password-encryption!hostname RT-SEDE

Gonzalo González Moraño

Page 19: CONFIGURACIÓN EQUIPOS.docx

19

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!!!enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0!!!ip dhcp pool LAN30network 172.16.14.0 255.255.255.192default-router 172.16.14.1ip dhcp pool LAN31network 172.16.14.0 255.255.255.192default-router 172.16.14.1ip dhcp pool LAN32network 172.16.14.0 255.255.255.192default-router 172.16.14.1!!!no ip cefno ipv6 cef!!!!license udi pid CISCO2911/K9 sn FTX15247N5J!!!!!!!!!!!spanning-tree mode pvst!!!!!!interface GigabitEthernet0/0no ip addressip nat insideduplex autospeed auto

Gonzalo González Moraño

Page 20: CONFIGURACIÓN EQUIPOS.docx

20

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!interface GigabitEthernet0/0.1no ip address!interface GigabitEthernet0/0.15description SERVERSencapsulation dot1Q 15ip address 172.16.15.17 255.255.255.240standby version 2standby 0 ip 172.16.15.20standby preempt!interface GigabitEthernet0/0.30description DEP ITencapsulation dot1Q 30ip address 172.16.14.1 255.255.255.192standby version 2standby 0 ip 172.16.14.10standby preempt!interface GigabitEthernet0/0.31description DEPT FIN/CONTencapsulation dot1Q 31ip address 172.16.14.65 255.255.255.192standby version 2standby 0 ip 172.16.14.70standby preempt!interface GigabitEthernet0/0.32description DEPT ALMencapsulation dot1Q 32ip address 172.16.14.129 255.255.255.192standby version 2standby 0 ip 172.16.14.140standby preempt!interface GigabitEthernet0/0.45description NATIVEencapsulation dot1Q 45 nativeip address 172.16.15.1 255.255.255.248standby version 2standby 0 ip 172.16.15.5standby preempt!interface GigabitEthernet0/0.60description MANAGEMENTencapsulation dot1Q 60ip address 172.16.15.9 255.255.255.248standby version 2

Gonzalo González Moraño

Page 21: CONFIGURACIÓN EQUIPOS.docx

21

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

standby 0 ip 172.16.15.15standby preempt!interface GigabitEthernet0/1ip address 10.0.2.2 255.255.255.252duplex autospeed auto!interface GigabitEthernet0/2no ip addressduplex autospeed autoshutdown!interface Serial0/2/0ip address 172.16.115.245 255.255.255.252clock rate 2000000!interface Serial0/2/1ip address 172.16.115.254 255.255.255.252clock rate 2000000!interface Serial0/3/0ip address 209.165.202.138 255.255.255.252clock rate 2000000!interface Serial0/3/1ip address 10.0.3.1 255.255.255.0encapsulation frame-relay!interface Vlan1no ip addressshutdown!router ospf 1router-id 1.1.1.1log-adjacency-changesnetwork 172.16.14.0 0.0.1.255 area 1default-information originate!ip nat pool INTERNET 198.133.219.128 198.133.219.129 netmask 255.255.255.252ip classlessip route 192.168.0.0 255.255.255.0 10.0.0.1 !ip flow-export version 9!!!!

Gonzalo González Moraño

Page 22: CONFIGURACIÓN EQUIPOS.docx

22

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!!!line con 0password 7 0822455D0A16!line aux 0password 7 0822455D0A16!line vty 0 4password 7 0822455D0A16login!!!end

RT-S-BACKUP#SHOW RUNNBuilding configuration...

Current configuration : 2370 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname RT-S-BACKUP!ip dhcp pool LAN30network 172.16.14.0 255.255.255.192default-router 172.16.14.2ip dhcp pool LAN31network 172.16.14.0 255.255.255.192default-router 172.16.14.2ip dhcp pool LAN32network 172.16.14.0 255.255.255.192default-router 172.16.14.2!!!ip cefno ipv6 cef!!

Gonzalo González Moraño

Page 23: CONFIGURACIÓN EQUIPOS.docx

23

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

interface FastEthernet0/0no ip addressduplex autospeed autoshutdown!interface FastEthernet1/0ip address 10.0.2.2 255.255.255.252duplex autospeed auto!interface Serial2/0no ip addressclock rate 2000000!interface Serial3/0no ip addressclock rate 2000000shutdown!interface FastEthernet4/0no ip addressshutdown!interface FastEthernet5/0no ip addressshutdown!interface GigabitEthernet6/0no ip addressduplex autospeed autostandby version 2standby preempt!interface GigabitEthernet6/0.1no ip address!interface GigabitEthernet6/0.15description SERVERSencapsulation dot1Q 15ip address 172.16.15.18 255.255.255.240standby version 2standby 0 ip 172.16.15.20standby priority 99!interface GigabitEthernet6/0.30description DEP ITencapsulation dot1Q 30

Gonzalo González Moraño

Page 24: CONFIGURACIÓN EQUIPOS.docx

24

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

ip address 172.16.14.2 255.255.255.192standby version 2standby 0 ip 172.16.14.10standby priority 99!interface GigabitEthernet6/0.31description DEPT FIN/CONTencapsulation dot1Q 31ip address 172.16.14.66 255.255.255.192standby version 2standby 0 ip 172.16.14.70standby priority 99!interface GigabitEthernet6/0.32description DEPT ALMencapsulation dot1Q 32ip address 172.16.14.130 255.255.255.192standby version 2standby 0 ip 172.16.14.140standby priority 99!interface GigabitEthernet6/0.45description NATIVEencapsulation dot1Q 45 nativeip address 172.16.15.2 255.255.255.248standby version 2standby 0 ip 172.16.15.5standby priority 99!interface GigabitEthernet6/0.60description MANAGEMENTencapsulation dot1Q 60ip address 172.16.15.10 255.255.255.248standby version 2standby 0 ip 172.16.15.15standby priority 99!router ospf 1router-id 1.1.1.2log-adjacency-changesnetwork 172.16.14.0 0.0.1.255 area 1!ip classless!ip flow-export version 9!!!!

Gonzalo González Moraño

Page 25: CONFIGURACIÓN EQUIPOS.docx

25

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!!!line con 0!line aux 0!line vty 0 4login!!!End

SW-ADMIN

SW-ADMIN#show runBuilding configuration...

Current configuration : 2319 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname SW-ADMIN!!!enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0!username cisco privilege 15 password 0 cisco!!!ip ssh version 1ip domain-name SW-ADMIN!!spanning-tree mode pvst!!!!!

Gonzalo González Moraño

Page 26: CONFIGURACIÓN EQUIPOS.docx

26

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!interface FastEthernet0/1switchport access vlan 30switchport port-security maximum 2switchport port-security violation protect !interface FastEthernet0/2switchport access vlan 30!interface FastEthernet0/3switchport access vlan 31!interface FastEthernet0/4switchport access vlan 31!interface FastEthernet0/5switchport access vlan 32switchport mode access!interface FastEthernet0/6switchport access vlan 32switchport mode access!interface FastEthernet0/7switchport access vlan 32switchport mode access!interface FastEthernet0/8switchport access vlan 32switchport mode access!interface FastEthernet0/9switchport access vlan 32switchport mode access!interface FastEthernet0/10switchport access vlan 15!interface FastEthernet0/11switchport access vlan 15!interface FastEthernet0/12switchport access vlan 15!interface FastEthernet0/13switchport access vlan 15!interface FastEthernet0/14switchport access vlan 15

Gonzalo González Moraño

Page 27: CONFIGURACIÓN EQUIPOS.docx

27

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!interface FastEthernet0/15switchport access vlan 15!interface FastEthernet0/16switchport access vlan 15!interface FastEthernet0/17switchport access vlan 15!interface FastEthernet0/18switchport access vlan 15!interface FastEthernet0/19switchport access vlan 15!interface FastEthernet0/20shutdown!interface FastEthernet0/21shutdown!interface FastEthernet0/22shutdown!interface FastEthernet0/23shutdown!interface FastEthernet0/24shutdown!interface GigabitEthernet0/1description link to RT-SEDEswitchport trunk encapsulation dot1qswitchport mode trunk!interface GigabitEthernet0/2!interface Vlan1no ip addressshutdown!interface Vlan60ip address 172.16.15.10 255.255.255.248!ip classless!ip flow-export version 9!

Gonzalo González Moraño

Page 28: CONFIGURACIÓN EQUIPOS.docx

28

05.576 · Disseny de Xarxes de Computadors · PAC 2 · 2014-015· Estudis d'Informàtica Multimèdia i Telecomunicació

!!!!!!line con 0password ciscologin!line aux 0password ciscologin!line vty 0 4password ciscologintransport input sshline vty 5 15password ciscologintransport input ssh!!!end

Gonzalo González Moraño