Académique Documents
Professionnel Documents
Culture Documents
Integrantes:
Katiuska Criollo, Johnny Segarra, Byron Asencio, Luis Pilay, Boris De la Torre
Taller 4
Securing Layer 2 Switching
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
description Enlace al S1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
exec-timeout 5 0
password ciscoconpass
logging synchronous
login
!
line aux 0
!
line vty 0 4
exec-timeout 5 0
password ciscovtypass
login
!
!
!
end
S1
S1#show run
Building configuration...
Current configuration : 1207 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname S1
!
enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
!
!
!
no ip domain-lookup
!
spanning-tree mode pvst
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
description VLan 1 S1
ip address 192.168.1.2 255.255.255.0
!
!
line con 0
password ciscoconpass
logging synchronous
login
exec-timeout 5 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
S2
S2#show run
Building configuration...
Current configuration : 1207 bytes
!
version 12.2
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
description VLan 1 S2
ip address 192.168.1.3 255.255.255.0
!
!
line con 0
password ciscoconpass
logging synchronous
login
exec-timeout 5 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
Building configuration...
Current configuration : 1434 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname S1
!
enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
!
!
!
ip ssh authentication-retries 2
ip ssh time-out 90
no ip domain-lookup
ip domain-name ccnasecurity.com
!
username admin secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
!
spanning-tree mode pvst
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
description VLan 1 S1
ip address 192.168.1.2 255.255.255.0
!
!
line con 0
password ciscoconpass
logging synchronous
login
exec-timeout 5 0
!
line vty 0 4
exec-timeout 5 0
login local
transport input ssh
privilege level 15
line vty 5 15
login
transport input none
!
!
end
S2
S2#show run
Building configuration...
Current configuration : 1434 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname S2
!
enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
!
!
!
ip ssh authentication-retries 2
ip ssh time-out 90
no ip domain-lookup
ip domain-name ccnasecurity.com
!
username admin secret 5 $1$mERr$.82qvoGUQIH4qvaicridz0
!
spanning-tree mode pvst
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
description VLan 1 S2
ip address 192.168.1.3 255.255.255.0
!
!
line con 0
password ciscoconpass
logging synchronous
login
exec-timeout 5 0
!
line vty 0 4
exec-timeout 5 0
login local
transport input ssh
privilege level 15
line vty 5 15
login
transport input none
!
!
end
R1#show run
Building configuration...
Current configuration : 703 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
description Enlace al S1
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
exec-timeout 5 0
password ciscoconpass
logging synchronous
login
!
line aux 0
!
line vty 0 4
exec-timeout 5 0
password ciscovtypass
login
!
!
!
end
S1
S1#show run
Building configuration...
Current configuration : 1729 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname S1
!
enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
!
!
!
ip ssh authentication-retries 2
ip ssh time-out 90
no ip domain-lookup
ip domain-name ccnasecurity.com
!
username admin secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
!
spanning-tree mode pvst
spanning-tree vlan 1 priority 0
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
storm-control broadcast level 50
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
switchport mode access
switchport port-security mac-address 0000.F320.E502
spanning-tree portfast
!
interface FastEthernet0/6
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
description VLan 1 S1
ip address 192.168.1.2 255.255.255.0
!
!
line con 0
password ciscoconpass
logging synchronous
login
exec-timeout 5 0
!
line vty 0 4
exec-timeout 5 0
login local
transport input ssh
privilege level 15
line vty 5 15
login
transport input none
!
!
end
S2
S2#show run
Building configuration...
Current configuration : 1628 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname S2
!
enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
!
!
!
ip ssh authentication-retries 2
ip ssh time-out 90
no ip domain-lookup
ip domain-name ccnasecurity.com
!
username admin secret 5 $1$mERr$.82qvoGUQIH4qvaicridz0
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
storm-control broadcast level 50
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
switchport mode access
spanning-tree portfast