You are on page 1of 8

ssh -l chile ip-address ===========ROUTER 1=========== enable configure terminal hostname R1 enable secret cisco line console 0 password

cisco login exit username chile password chile ip domain-name duoc.cl crypto key generate rsa 1024 ip ssh version 2 ip ssh time-out 120 ip ssh authentication-retries 2 line vty 0 4 transport input ssh login local exit interface serial 0/0/0 ip address 50.0.0.1 255.0.0.0 clock rate 128000 no shutdown exit interface fastethernet 0/0.99 encapsulation dot1q 99 native ip address 172.16.12.201 255.255.255.252 exit interface fastethernet 0/0.10 encapsulation dot1q 10 ip address 172.16.4.1 255.255.252.0 exit interface fastethernet 0/0.20 encapsulation dot1q 20 ip address 172.16.8.1 255.255.254.0 exit interface fastethernet 0/0.30 encapsulation dot1q 30 ip address 172.16.12.129 255.255.255.192 exit interface fastethernet 0/0 no shutdown exit router ospf 1

network network network network network end wr

50.0.0.0 0.255.255.255 area 0 172.16.12.200 0.0.0.3 area 0 172.16.4.0 0.0.3.255 area 0 172.16.8.0 0.0.1.255 area 0 172.16.12.128 0.0.0.63 area 0

===========ROUTER 2=========== enable configure terminal hostname R2 enable secret cisco line console 0 password cisco login exit username chile2 password chile2 ip domain-name duoc.cl crypto key generate rsa 1024 ip ssh version 2 line vty 0 4 transport input ssh login local exit interface serial 0/0/0 ip address 50.0.0.2 255.0.0.0 no shutdown exit interface fastethernet 0/0.100 encapsulation dot1q 100 native ip address 172.16.12.193 255.255.255.248 exit interface fastethernet 0/0.11 encapsulation dot1q 11 ip address 172.16.12.1 255.255.255.128 exit interface fastethernet 0/0.22 encapsulation dot1q 22 ip address 172.16.10.1 255.255.254.0 exit interface fastethernet 0/0.33 encapsulation dot1q 33 ip address 172.16.0.1 255.255.252.0 exit interface fastethernet 0/0

no shutdown exit router ospf 1 network 50.0.0.0 0.255.255.255 area 0 network 172.16.12.192 0.0.0.7 area 0 network 172.16.12.0 0.0.0.127 area 0 network 172.16.10.0 0.0.1.255 area 0 network 172.16.0.0 0.0.3.255 area 0 end wr ===========SWITCH 1=========== enable configure terminal hostname SW1 enable secret cisco line console 0 password cisco login exit line vty 0 15 password cisco login exit vlan 10 name ARICA exit vlan 20 name IQUIQUE exit vlan 30 name SERENA exit vlan 99 exit interface fastethernet 0/1 switchport mode trunk switchport trunk native vlan 99 exit interface range fastethernet 0/2 - 10 switchport mode access switchport access vlan 10 switchport port-security switchport port-security maximum 1 switchport port-security mac-addres sticky switchport port-security violation shutdown

shutdown exit interface fastethernet 0/5 no shutdown exit interface range fastethernet 0/11 - 19 switchport mode access switchport access vlan 20 switchport port-security switchport port-security maximum 1 switchport port-security mac-addres sticky switchport port-security violation shutdown shutdown exit interface fastethernet 0/15 no shutdown exit interface range fastethernet 0/20 - 24 switchport mode access switchport access vlan 30 switchport port-security switchport port-security maximum 1 switchport port-security mac-addres sticky switchport port-security violation shutdown shutdown exit interface fastethernet 0/22 no shutdown exit interface vlan 99 ip address 172.16.12.202 255.255.255.252 no shutdown exit ip default-gateway 172.16.12.201 end wr ===========SWITCH 2=========== enable configure terminal hostname SW2 enable secret cisco line console 0 password cisco login exit

line vty 0 15 password cisco login exit vlan 11 name COQUIMBO exit vlan 22 name ANTOFAGASTA exit vlan 33 name ELQUI exit vlan 100 exit interface fastethernet 0/1 switchport mode trunk switchport trunk native vlan 100 exit interface fastethernet 0/24 switchport mode trunk switchport trunk native vlan 100 exit interface range fastethernet 0/2 - 10 switchport mode access switchport access vlan 11 switchport port-security switchport port-security maximum 1 switchport port-security mac-addres sticky switchport port-security violation shutdown shutdown exit interface fastethernet 0/5 no shutdown exit interface range fastethernet 0/11 - 19 switchport mode access switchport access vlan 22 switchport port-security switchport port-security maximum 1 switchport port-security mac-addres sticky switchport port-security violation shutdown shutdown exit interface fastethernet 0/15 no shutdown exit interface range fastethernet 0/20 - 23

switchport switchport switchport switchport switchport switchport shutdown exit

mode access access vlan 33 port-security port-security maximum 1 port-security mac-addres sticky port-security violation shutdown

interface fastethernet 0/22 no shutdown exit interface vlan 100 ip address 172.16.12.194 255.255.255.248 no shutdown exit ip default-gateway 172.16.12.193 end wr ===========SWITCH 3=========== enable configure terminal hostname SW3 enable secret cisco line console 0 password cisco login exit line vty 0 15 password cisco login exit vlan 11 name COQUIMBO exit vlan 22 name ANTOFAGASTA exit vlan 33 name ELQUI exit vlan 100 exit interface fastethernet 0/24 switchport mode trunk

switchport trunk native vlan 100 exit interface range fastethernet 0/1 - 10 switchport mode access switchport access vlan 11 switchport port-security switchport port-security maximum 1 switchport port-security mac-addres sticky switchport port-security violation shutdown shutdown exit interface fastethernet 0/5 no shutdown exit interface range fastethernet 0/11 - 19 switchport mode access switchport access vlan 22 switchport port-security switchport port-security maximum 1 switchport port-security mac-addres sticky switchport port-security violation shutdown shutdown exit interface fastethernet 0/15 no shutdown exit interface range fastethernet 0/20 - 23 switchport mode access switchport access vlan 33 switchport port-security switchport port-security maximum 1 switchport port-security mac-addres sticky switchport port-security violation shutdown shutdown exit interface fastethernet 0/22 no shutdown exit interface vlan 100 ip address 172.16.12.195 255.255.255.248 no shutdown exit ip default-gateway 172.16.12.193 end wr ===========EQUIPOS===========

PC1 VLAN 10 IP ADDRESS : 172.16.4.10 MASCARA : 255.255.252.0 GATEWAY : 172.16.4.1 PC1 VLAN 20 IP ADDRESS : 172.16.8.10 MASCARA : 255.255.254.0 GATEWAY : 172.16.8.1 PC1 VLAN 30 IP ADDRESS : 172.16.12.138 MASCARA : 255.255.255.192 GATEWAY : 172.16.12.129 PC1 VLAN 11 IP ADDRESS : 172.16.12.10 MASCARA : 255.255.255.128 GATEWAY : 172.16.12.1 PC1 VLAN 22 IP ADDRESS : 172.16.10.10 MASCARA : 255.255.254.0 GATEWAY : 172.16.10.1 PC1 VLAN 33 IP ADDRESS : 172.16.0.10 MASCARA : 255.255.252.0 GATEWAY : 172.16.0.1 PC2 VLAN 11 IP ADDRESS : 172.16.12.20 MASCARA : 255.255.255.128 GATEWAY : 172.16.12.1 PC2 VLAN 22 IP ADDRESS : 172.16.10.20 MASCARA : 255.255.254.0 GATEWAY : 172.16.10.1 PC2 VLAN 33 IP ADDRESS : 172.16.0.20 MASCARA : 255.255.252.0 GATEWAY : 172.16.0.1

You might also like