Sie sind auf Seite 1von 5

PACKET 1

step1
R1:
enable
conf ter
no ip domain-lookup
hostname R1name
service password-encryption
enable secret class
banner motd #solo personal autorizado#
line console 0
logging synchronous
password cisco
login
exit
ip domain-name cisco.com
username admin password class
crypto key generate rsa
:1024
ip ssh version 2
line vty 0 4
transsport input ssh
login local
exit
------------------------------------------------
step2(tabla) 192.168.2.0/24 .1
int g0/1
description lan-2
ip address 192.168.2.1 255.255.255.0
no shutdown
exit
int s0/0/0
description connection-to-R2name
ip add 10.1.1.1 255.255.255.252
no shutdown
exit
----------------------------------------------------------
step3
s1:
enable
conf t
hostname SW1name
vlan 5
name VLAN5Name
exit
vlan 10
name
vlan 15
name
exit
int range f0/23, f0/24, g0/1
switchport mode trunk
s2:
enable
conf t
hostname SW1name
vlan 5
name VLAN5Name
vlan 10
name
vlan 15
name
int f0/23
switchport mode trunk
int f0/5
switchport mode access
switchport access vlan 5
int f0/10
switchport mode access
switchport access vlan 10
int f0/15
switchport mode access
switchport access vlan 15
int f0/20
switchport mode access
switchport access vlan 50
s3:
enable
conf t
hostname SW1name
vlan 5
name VLAN5Name
vlan 10
name
vlan 15
name
int f0/24
switchport mode trunk

int f0/5
switchport mode access
switchport access vlan 5
int f0/10
switchport mode access
switchport access vlan 10
int f0/15
switchport mode access
switchport access vlan 15
int f0/20
switchport mode access
switchport access vlan 50
---------
step4
G0/0.5 192.168.1.0/28 secod subnet,first address
.1
.17
.33
0.50 .49
R1:
:cisco
enable
:class
int g0/0.5
encapsulation dot1q 5
ip add 192.168.1.1 255.255.255.240
description VLAN 5
int g0/0.10
encapsulation dot1q 10
ip add 192.168.1.7 255.255.255.240
description VLAN 10
int g0/0.15
encapsulation dot1q 15
ip add 192.168.1.33 255.255.255.240
description VLAN 15
int g0/0.50
encapsulation dot1q 50
ip add 192.168.1.49 255.255.255.240
description VLAN 50
int g0/0.99
description NO-VLAN
int g0/0
no shutdown
exit
---------------
step 5
ip access-list standar block15
deny 192.168.1.32 0.0.0.15
permit any
int go/0.10
ip address-group block14 0ut
step 6
-------------------
s1:
ena
conf t
int vlan50
ip add 192.168.1.50 255.255.255.240
no shut
exit
ip default-gateway 192.168.1.49

s2:
ena
conf t
int vlan50
ip add 192.168.1.51 255.255.255.240
no shut
exit
ip default-gateway 192.168.1.49
s3:
ena
conf t
int vlan50
ip add 192.168.1.52 255.255.255.240
no shut
exit
ip default-gateway 192.168.1.49
step7
sw2
int range f0/1-4, f0/6-9, f0/11-14, f0/16-19, f0/21-22, f0/24, go/1-2
no shut
int range f0/5, f0/10, f0/15, f0/20
switchport port-security
switchport port-security maximum 2
switchport port-security mac-addresses sticky
switchport port-security violation restrict

step 8:
R1:
en
conf t
router rip
version 2
do show ip route connected
network 10.1.1.0
192.168.1.0
.16
.32
.48
network 192.168.2.0
no auto-summary
passive-interface g0/0.5
passive-interface g0/0.10
passive-interface g0/0.15
passive-interface g0/0.50
passive-interface g0/1
R2:
enable
conf t
do show ip route connected
network 10.1.1.0
192.168.1.0
.16
.32
.48
network 192.168.2.0
no auto-summary
network 10.1.1.0
network 192.168.3.0
s*
default-informatiom originate
no auto-summary
passive-int g0/0
passive-interface s0/0/1
step 9
R1:
service timestamps log dateline msec
service timestamps log dateline msec
ntp server 192.168.2.10
logging trap debugging
nto update

Das könnte Ihnen auch gefallen