SlideShare a Scribd company logo
1 of 15
500 dis
200 dis
100Dis
40Dis
2 dis
172.16.0.0/16
2^n-2>=500
N=9 ceros
255.255.254.0
255.255.11111110.00000000
Sbr 0
172.16.0.0/23 172.16.0.1/23 172.16.1.254/23 maquinas500
Sbr1
172.16.2.0/23 172.16.0.0/23
2^n-2>=300 n=8 ceros
255.255.255.0
255.255.111111111.00000000
Sbr1.0
172.16.2.0/24 172.16.2.1/23 2.254 172.16.2.255/23 mauinas200
Sbr 1.1
172.16.031/23
2^n-2>=100 n=7 ceros
255.255.255.128
255.255.255.10000000
1.1.0 172.16.3.0/25 172.16.3.1/25 3.126 172.16.3.127/25 maquinas100
1.1.1 172.16.3.128/25
2^n-2>=40 n=6 ceros
1111111.11111111.11111111.11000000
1.1.1.0 172.16.3.128/26 172.16.3.129/26 3.190 172.16.3.191 ma40
1.1.1.1 172.16.3.192/26
2^n-2>=2 n=2 ceros
11111111.1111111.11111111.11111100
1.1.1.1.0 172.16.3.192/30 172.16.3.193 3.194 172.16.3.195 ma 2
1.1.1.1.1 172.16.3.196/30
Maquinas
Primeropones la direcciónip a todas la maquinascon su gatway y su amscara
Ahora vamos conlos swichs
Switch>enable
Switch#conf term
Enter configurationcommands,one perline. EndwithCNTL/Z.
Switch(config)#hos
Switch(config)#hostnames1
s1(config)#enable pas
s1(config)#enable passwordcisco
s1(config)#en
s1(config)#ena
s1(config)#enable s
s1(config)#enable secretcisco
s1(config)#line con
s1(config)#line console 0
s1(config-line)#pa
s1(config-line)#pas
s1(config-line)#passwordcisco
s1(config-line)#login
s1(config-line)#exit
s1(config)#line vty015
s1(config-line)#pas
s1(config-line)#passwordcisco
s1(config-line)#login
s1(config-line)#exit
s1(config)#end
s1#
%SYS-5-CONFIG_I:Configuredfrom consolebyconsole
s1#vlan data base
^
% Invalidinputdetectedat'^' marker.
s1#
s1#va
s1#v
s1#vlan d
s1#vlan database
% Warning:It isrecommendedtoconfigure VLAN fromconfigmode,
as VLAN database mode isbeingdeprecated.Please consultuser
documentationforconfiguringVTP/VLANinconfigmode.
s1(vlan)#vlan10name v10
VLAN 10 added:
Name:v10
s1(vlan)#vlan20name v20
VLAN 20 added:
Name:v20
s1(vlan)#end
^
% Invalidinputdetectedat'^' marker.
s1(vlan)#exit
APPLYcompleted.
Exiting....
s1#copy r
s1#copy running-configs
s1#copy running-configstartup-config
Destinationfilename [startup-config]?
Buildingconfiguration...
[OK]
s1#conf tern
^
% Invalidinputdetectedat'^' marker.
s1#conf term
Enter configurationcommands,one perline. EndwithCNTL/Z.
s1(config)#inter
s1(config)#interface r
s1(config)#interface range 0/1- 10
^
% Invalidinputdetectedat'^' marker.
s1(config)#interface range fa
s1(config)#interface range fastEthernet0/1- 10
s1(config-if-range)#sw
s1(config-if-range)#switchportm
s1(config-if-range)#switchportmode a
s1(config-if-range)#switchportmode access
s1(config-if-range)#s
s1(config-if-range)#sw
s1(config-if-range)#switchporta
s1(config-if-range)#switchportaccessvlan20
s1(config-if-range)#exit
s1(config)#interface range fastEthernet0/11 - 20
s1(config-if-range)#switchportmode access
s1(config-if-range)#switchportaccessvlan 10
s1(config-if-range)#interfacerange fastEthernet0/23 - 24
s1(config-if-range)#exit
s1(config)#interface range fastEthernet0/23 - 24
s1(config-if-range)#sw
s1(config-if-range)#switchportm
s1(config-if-range)#switchportmode tr
s1(config-if-range)#switchportmode trunk
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/23,changedstate todown
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/23,changedstate toup
s1(config-if-range)#exit
s1(config)#end
s1#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
s1#copy r
s1#copy running-configs
s1#copy running-configstartup-config
Destinationfilename [startup-config]?
Buildingconfiguration...
[OK]
s1#
swich2
Switch>enable
Switch#conf term
Enter configurationcommands,one perline. EndwithCNTL/Z.
Switch(config)#ho
Switch(config)#hostnames2
s2(config)#enable pas
s2(config)#enable passwordcisco
s2(config)#ena
s2(config)#enable se
s2(config)#enable secretcisco
s2(config)#line
s2(config)#line c
s2(config)#line console 0
s2(config-line)#pas
s2(config-line)#passwordcisco
s2(config-line)#login
s2(config-line)#exit
s2(config)#line vty015
s2(config-line)#pas
s2(config-line)#passwordcisco
s2(config-line)#login
s2(config-line)#exit
s2(config)#exit
s2#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
s2#vl
s2#vlan d
s2#vlan database
% Warning:It isrecommendedtoconfigure VLAN fromconfigmode,
as VLAN database mode isbeingdeprecated.Please consultuser
documentation forconfiguringVTP/VLANinconfigmode.
s2(vlan)#vlan10name v10
VLAN 10 added:
Name:v10
s2(vlan)#vlan20name v20
VLAN 20 added:
Name:v20
s2(vlan)#exit
APPLYcompleted.
Exiting....
s2#conf term
Enter configurationcommands,one perline. EndwithCNTL/Z.
s2(config)#inr
s2(config)#int
s2(config)#interface r
s2(config)#interface range f
s2(config)#interface range fastEthernet0/1- 10
s2(config-if-range)#sw
s2(config-if-range)#switchportm
s2(config-if-range)#switchportmode a
s2(config-if-range)#switchportmode access
s2(config-if-range)#sw
s2(config-if-range)#switchporta
s2(config-if-range)#switchportaccessvlan20
s2(config-if-range)#exit
s2(config)#interface range fastEthernet0/11 - 20
s2(config-if-range)#switchportmode access
s2(config-if-range)#switchportaccessvlan10
s2(config-if-range)#exit
s2(config)#in
s2(config)#interface fa
s2(config)#interface fastEthernet0/23
s2(config-if)#sw
s2(config-if)#switchportm
s2(config-if)#switchportmode t
s2(config-if)#switchportmode trunk
s2(config-if)#end
s2#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
s2#copy
s2#copy r
s2#copy running-configs
s2#copy running-configstartup-config
Destinationfilename [startup-config]?
Buildingconfiguration...
[OK]
s2#
swich3
Switch>enable
Switch#hos
Switch#conf term
Enter configurationcommands,one perline. EndwithCNTL/Z.
Switch(config)#h
Switch(config)#hostnames3
s3(config)#enable pas
s3(config)#enable passwordcisco
s3(config)#en
s3(config)#ena
s3(config)#enable s
s3(config)#enable secretcisco
s3(config)#line co
s3(config)#line console 0
s3(config-line)#pasc
s3(config-line)#pas
s3(config-line)#passwordcisco
s3(config-line)#login
s3(config-line)#exit
s3(config)#line vty015
s3(config-line)#pas
s3(config-line)#passwordcisco
s3(config-line)#login
s3(config-line)#end
s3#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
s3#vlan
s3#vlan d
s3#vlan database
% Warning:It isrecommendedtoconfigure VLAN fromconfigmode,
as VLAN database mode isbeingdeprecated.Please consultuser
documentationforconfiguringVTP/VLANinconfigmode.
s3(vlan)#vlan30name v30
VLAN 30 added:
Name:v30
s3(vlan)#vlan40name v40
VLAN 40 added:
Name:v40
s3(vlan)#exit
APPLYcompleted.
Exiting....
s3#conf term
Enter configurationcommands, one perline. EndwithCNTL/Z.
s3(config)#inter
s3(config)#interface r
s3(config)#interface range f
s3(config)#interface range fastEthernet0/1- 10
s3(config-if-range)#sw
s3(config-if-range)#switchportm
s3(config-if-range)#switchportmode a
s3(config-if-range)#switchportmode access
s3(config-if-range)#sw
s3(config-if-range)#switchporta
s3(config-if-range)#switchportaccessvlan40
s3(config-if-range)#exit
s3(config)#interface range fastEthernet0/11 - 20
s3(config-if-range)#switchportmode access
s3(config-if-range)#switchportaccessvlan30
s3(config-if-range)#exit
s3(config)#in
s3(config)#interface r
s3(config)#interface range f
s3(config)#interface range fastEthernet0/23 - 24
s3(config-if-range)#sw
s3(config-if-range)#switchportm
s3(config-if-range)#switchportmode tr
s3(config-if-range)#switchportmode trunk
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/23,changedstate todown
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/23,changedstate toup
s3(config-if-range)#end
s3#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
s3#copy r
s3#copy running-configs
s3#copy running-configstartup-config
Destinationfilename [startup-config]?
Buildingconfiguration...
[OK]
s3#
swich4
Switch>enable
Switch#conf ter
Enter configurationcommands,one perline. EndwithCNTL/Z.
Switch(config)#h
Switch(config)#hostnames4
s4(config)#enable p
s4(config)#enable passwordcisco
s4(config)#ena
s4(config)#enable s
s4(config)#enable secretcisco
s4(config)#line console 0
s4(config-line)#pas
s4(config-line)#passwordcisco
s4(config-line)#login
s4(config-line)#exit
s4(config)#line vty015
s4(config-line)#pas
s4(config-line)#passwordcisco
s4(config-line)#login
s4(config-line)#end
s4#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
s4#v
s4#vlan d
s4#vlan database
% Warning:It isrecommendedtoconfigure VLAN fromconfigmode,
as VLAN database mode isbeingdeprecated.Please consultuser
documentationforconfiguringVTP/VLANinconfigmode.
s4(vlan)#vlan30name vlan30
^
% Invalidinputdetectedat'^' marker.
s4(vlan)#vlan30name v30
VLAN 30 added:
Name:v30
s4(vlan)#vlan40name v40
VLAN 40 added:
Name:v40
s4(vlan)#end
^
% Invalidinputdetectedat'^' marker.
s4(vlan)#
s4(vlan)#exit
APPLYcompleted.
Exiting....
s4#
s4#conf ter
Enter configurationcommands,one perline. EndwithCNTL/Z.
s4(config)#in
s4(config)#interface r
s4(config)#interface range f
s4(config)#interface range fastEthernet0/1- 10
s4(config-if-range)#s
s4(config-if-range)#sw
s4(config-if-range)#switchportm
s4(config-if-range)#switchportmode a
s4(config-if-range)#switchportmode access
s4(config-if-range)#sw
s4(config-if-range)#switchporta
s4(config-if-range)#switchportaccessvlan40
s4(config-if-range)#exit
s4(config)#interface range fastEthernet0/11 - 20
s4(config-if-range)#switchportmode access
s4(config-if-range)#switchportaccessvlan30
s4(config-if-range)#exit
s4(config)#interface fastEthernet0/23
s4(config-if)#sw
s4(config-if)#switchportm
s4(config-if)#switchportmode tr
s4(config-if)#switchportmode trunk
s4(config-if)#end
s4#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
s4#copy
s4#copy r
s4#copy running-configs
s4#copy running-configstartup-config
Destinationfilename [startup-config]?
Buildingconfiguration...
[OK]
s4#
configurar los routesr
Primero se pone el enncasulation
Router>enable
Router#conf term
Enter configurationcommands,one perline. EndwithCNTL/Z.
Router(config)#hos
Router(config)#hostname r0
r0(config)#enable pas
r0(config)#enable passwordcisco
r0(config)#enable s
r0(config)#enable secretcisco
r0(config)#lineconsole0
r0(config-line)#pas
r0(config-line)#passwordcisco
r0(config-line)#login
r0(config-line)#exit
r0(config)#linevty015
r0(config-line)#pas
r0(config-line)#passwordcisco
r0(config-line)#login
r0(config-line)#exit
r0(config)#inte
r0(config)#interface f
r0(config)#interface fastEthernet0/0.10
r0(config-subif)#ipad
r0(config-subif)#ipaddress172.16.1.254 255.255.254.0
% ConfiguringIProutingonaLAN subinterface isonlyallowedif that
subinterface isalreadyconfiguredaspart of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.
r0(config-subif)#en
r0(config-subif)#encapsulationd
r0(config-subif)#encapsulation dot1Q10
r0(config-subif)#nos
r0(config-subif)#noshutdown
r0(config-subif)#exit
r0(config)#interface fastEthernet0/0.20
r0(config-subif)#ipaddress172.16.2.254 255.255.255.0
% ConfiguringIProutingonaLAN subinterface isonlyallowedif that
subinterface isalreadyconfiguredaspart of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.
r0(config-subif)#encapsulationdot1Q20
r0(config-subif)#noshutdown
r0(config-subif)#xit
^
% Invalidinputdetectedat'^' marker.
r0(config-subif)#exit
r0(config)#in
r0(config)#interface fa
r0(config)#interface fastEthernet0/0.10
r0(config-subif)#ip
r0(config-subif)#ipa
r0(config-subif)#ipad
r0(config-subif)#ipaddress172.16.1.254 255.255.254.0
r0(config-subif)#no
r0(config-subif)#nos
r0(config-subif)#noshutdown
r0(config-subif)#exit
r0(config)#in
r0(config)#interface f
r0(config)#interface fastEthernet0/0.20
r0(config-subif)#ip
r0(config-subif)#ips
r0(config-subif)#ipsd
r0(config-subif)#ipsdd
r0(config-subif)#ipad
r0(config-subif)#ip address172.16.2.254 255.255.255.0
r0(config-subif)#nosh
r0(config-subif)#noshutdown
r0(config-subif)#
r0#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
r0#
r0(config)#interface f
r0(config)#interface fastEthernet0/0
r0(config-if)#nos
r0(config-if)#nosh
r0(config-if)#noshutdown
%LINK-5-CHANGED:Interface FastEthernet0/0,changedstate toup
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0,changedstate toup
%LINK-5-CHANGED:Interface FastEthernet0/0.10,changedstate toup
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0.10,changedstate toup
%LINK-5-CHANGED:Interface FastEthernet0/0.20,changedstate toup
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0.20,changedstate toup
r0(config-if)#
r0(config)#in
r0(config)#interface s
r0(config)#interface serial 2/0
r0(config-if)#ipad
r0(config-if)#ipaddress172.16.3.193 255.255.255.252
r0(config-if)#cl
r0(config-if)#clockr
r0(config-if)#clockrate 4000000
r0(config-if)#nos
r0(config-if)#nosh
r0(config-if)#noshutdown
%LINK-5-CHANGED:Interface Serial2/0,changedstate todown
r0(config-if)#end
r0#
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
r0#conf ter
Enter configurationcommands,one perline. EndwithCNTL/Z.
r0(config)#rou
r0(config)#routerrip
r0(config-router)#version2
r0(config-router)#net
r0(config-router)#network172.16.0.0
r0(config-router)#network172.16.2.0
r0(config-router)#network172.16.3.192
r0(config-router)#
router 2
Router>enable
Router#conf term
Enter configurationcommands,one perline. EndwithCNTL/Z.
Router(config)#hos
Router(config)#hostname name r2
^
% Invalidinputdetectedat'^' marker.
Router(config)#hostname name r1
^
% Invalidinputdetectedat'^' marker.
Router(config)#hostname r2
r2(config)#enable
% Incomplete command.
r2(config)#enabl
r2(config)#enable pas
r2(config)#enable passwordcisco
r2(config)#e
r2(config)#en
r2(config)#ena
r2(config)#enable se
r2(config)#enable secretcisco
r2(config)#lineconsole0
r2(config-line)#pas
r2(config-line)#passwordcisco
r2(config-line)#login
r2(config-line)#exit
r2(config)#linevty015
r2(config-line)#pas
r2(config-line)#passwordcisco
r2(config-line)#login
r2(config-line)#exit
r2(config)#inte
r2(config)#interface f
r2(config)#interface fastEthernet0/0.30
r2(config-subif)#e
r2(config-subif)#enc
r2(config-subif)#encapsulationd
r2(config-subif)#encapsulationdot1Q30
r2(config-subif)#ipadd
r2(config-subif)#ipaddress172.16.3.126 255.255.255.128
r2(config-subif)#cl
r2(config-subif)#clo
r2(config-subif)#nosh
r2(config-subif)#noshutdown
r2(config-subif)#exit
r2(config)#interface fastEthernet0/0.40
r2(config-subif)#encapsulationdot1Q40
r2(config-subif)#ipaddress172.16.3.190 255.255.255.192
r2(config-subif)#nos
r2(config-subif)#noshutdown
r2(config-subif)#exit
r2(config)#in
r2(config)#interface f
r2(config)#interface fastEthernet0/0
r2(config-if)#nosh
r2(config-if)#noshutdown
%LINK-5-CHANGED:Interface FastEthernet0/0, changedstate toup
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0,changedstate toup
%LINK-5-CHANGED:Interface FastEthernet0/0.30,changedstate toup
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0.30,changedstate toup
%LINK-5-CHANGED:Interface FastEthernet0/0.40,changedstate toup
%LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0.40,changedstate toup
r2(config-if)#exit
r2(config)#interface s
r2(config)#interface serial 2/0
r2(config-if)#ipad
r2(config-if)#ipaddress172.16.3.194 255.255.255.252
r2(config-if)#cl
r2(config-if)#clockra
r2(config-if)#clockrate 4000000
r2(config-if)#nosh
r2(config-if)#noshutdown
%LINK-5-CHANGED:Interface Serial2/0,changedstate toup
r2(config-if)#
%LINEPROTO-5-UPDOWN:Line protocol onInterface Serial2/0,changedstate toup
r2(config-if)#exit
r2(config)#rou
r2(config)#routerrip
r2(config-router)#version2
r2(config-router)#net
r2(config-router)#network172.16.3.0
r2(config-router)#network172.16.3.128
r2(config-router)#network172.16.3.192
r2(config-router)#exit
r2(config)#exit
%SYS-5-CONFIG_I:Configuredfromconsolebyconsole
r2#
r2#copy
% Incomplete command.
r2#copy r
r2#copy running-configs
r2#copy running-configstartup-config
Destinationfilename [startup-config]?
Buildingconfiguration...
[OK]
r2#

More Related Content

More from Betto Andress (20)

Organigrama Institucional Isabel de godin
Organigrama Institucional Isabel de godin Organigrama Institucional Isabel de godin
Organigrama Institucional Isabel de godin
 
Ejercicios de redes
Ejercicios de redes Ejercicios de redes
Ejercicios de redes
 
Ejercicios de repaso de subnetting y vlsm
Ejercicios de repaso de subnetting y vlsmEjercicios de repaso de subnetting y vlsm
Ejercicios de repaso de subnetting y vlsm
 
Acta de compromis
Acta de compromisActa de compromis
Acta de compromis
 
Acuerdos y compromisos
Acuerdos y compromisos Acuerdos y compromisos
Acuerdos y compromisos
 
Seguimiento del silabo (Matriz)
Seguimiento del silabo (Matriz)Seguimiento del silabo (Matriz)
Seguimiento del silabo (Matriz)
 
SILABO REDES II
SILABO REDES IISILABO REDES II
SILABO REDES II
 
Estructuras doble
Estructuras doble Estructuras doble
Estructuras doble
 
Jquiz
Jquiz Jquiz
Jquiz
 
Estructura Simple
Estructura SimpleEstructura Simple
Estructura Simple
 
primer tema
primer tema primer tema
primer tema
 
Plan por bloque Programacion
Plan por bloque ProgramacionPlan por bloque Programacion
Plan por bloque Programacion
 
Tipos de evaluacioni
Tipos de evaluacioniTipos de evaluacioni
Tipos de evaluacioni
 
SOFTWARE EDUCATIVO.
SOFTWARE EDUCATIVO.SOFTWARE EDUCATIVO.
SOFTWARE EDUCATIVO.
 
Realidad aumentadaii
Realidad aumentadaiiRealidad aumentadaii
Realidad aumentadaii
 
Go animate
Go animateGo animate
Go animate
 
Analisis
AnalisisAnalisis
Analisis
 
Erazo roberto 6_A_t15
Erazo roberto 6_A_t15Erazo roberto 6_A_t15
Erazo roberto 6_A_t15
 
Erazo roberto 6_a_ti_28
Erazo roberto 6_a_ti_28Erazo roberto 6_a_ti_28
Erazo roberto 6_a_ti_28
 
Erazo roberto 6_a_tI_22
Erazo roberto 6_a_tI_22Erazo roberto 6_a_tI_22
Erazo roberto 6_a_tI_22
 

Examen

  • 1. 500 dis 200 dis 100Dis 40Dis 2 dis 172.16.0.0/16 2^n-2>=500 N=9 ceros 255.255.254.0 255.255.11111110.00000000 Sbr 0 172.16.0.0/23 172.16.0.1/23 172.16.1.254/23 maquinas500 Sbr1 172.16.2.0/23 172.16.0.0/23 2^n-2>=300 n=8 ceros 255.255.255.0 255.255.111111111.00000000 Sbr1.0 172.16.2.0/24 172.16.2.1/23 2.254 172.16.2.255/23 mauinas200 Sbr 1.1 172.16.031/23 2^n-2>=100 n=7 ceros 255.255.255.128 255.255.255.10000000 1.1.0 172.16.3.0/25 172.16.3.1/25 3.126 172.16.3.127/25 maquinas100 1.1.1 172.16.3.128/25 2^n-2>=40 n=6 ceros 1111111.11111111.11111111.11000000 1.1.1.0 172.16.3.128/26 172.16.3.129/26 3.190 172.16.3.191 ma40 1.1.1.1 172.16.3.192/26 2^n-2>=2 n=2 ceros 11111111.1111111.11111111.11111100 1.1.1.1.0 172.16.3.192/30 172.16.3.193 3.194 172.16.3.195 ma 2
  • 2. 1.1.1.1.1 172.16.3.196/30 Maquinas Primeropones la direcciónip a todas la maquinascon su gatway y su amscara Ahora vamos conlos swichs Switch>enable Switch#conf term Enter configurationcommands,one perline. EndwithCNTL/Z. Switch(config)#hos Switch(config)#hostnames1 s1(config)#enable pas s1(config)#enable passwordcisco s1(config)#en s1(config)#ena s1(config)#enable s s1(config)#enable secretcisco s1(config)#line con s1(config)#line console 0 s1(config-line)#pa s1(config-line)#pas s1(config-line)#passwordcisco s1(config-line)#login s1(config-line)#exit s1(config)#line vty015 s1(config-line)#pas s1(config-line)#passwordcisco s1(config-line)#login s1(config-line)#exit s1(config)#end
  • 3. s1# %SYS-5-CONFIG_I:Configuredfrom consolebyconsole s1#vlan data base ^ % Invalidinputdetectedat'^' marker. s1# s1#va s1#v s1#vlan d s1#vlan database % Warning:It isrecommendedtoconfigure VLAN fromconfigmode, as VLAN database mode isbeingdeprecated.Please consultuser documentationforconfiguringVTP/VLANinconfigmode. s1(vlan)#vlan10name v10 VLAN 10 added: Name:v10 s1(vlan)#vlan20name v20 VLAN 20 added: Name:v20 s1(vlan)#end ^ % Invalidinputdetectedat'^' marker. s1(vlan)#exit APPLYcompleted. Exiting.... s1#copy r s1#copy running-configs s1#copy running-configstartup-config Destinationfilename [startup-config]? Buildingconfiguration... [OK] s1#conf tern ^ % Invalidinputdetectedat'^' marker. s1#conf term Enter configurationcommands,one perline. EndwithCNTL/Z. s1(config)#inter s1(config)#interface r s1(config)#interface range 0/1- 10 ^ % Invalidinputdetectedat'^' marker. s1(config)#interface range fa s1(config)#interface range fastEthernet0/1- 10 s1(config-if-range)#sw s1(config-if-range)#switchportm s1(config-if-range)#switchportmode a
  • 4. s1(config-if-range)#switchportmode access s1(config-if-range)#s s1(config-if-range)#sw s1(config-if-range)#switchporta s1(config-if-range)#switchportaccessvlan20 s1(config-if-range)#exit s1(config)#interface range fastEthernet0/11 - 20 s1(config-if-range)#switchportmode access s1(config-if-range)#switchportaccessvlan 10 s1(config-if-range)#interfacerange fastEthernet0/23 - 24 s1(config-if-range)#exit s1(config)#interface range fastEthernet0/23 - 24 s1(config-if-range)#sw s1(config-if-range)#switchportm s1(config-if-range)#switchportmode tr s1(config-if-range)#switchportmode trunk %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/23,changedstate todown %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/23,changedstate toup s1(config-if-range)#exit s1(config)#end s1# %SYS-5-CONFIG_I:Configuredfromconsolebyconsole s1#copy r s1#copy running-configs s1#copy running-configstartup-config Destinationfilename [startup-config]? Buildingconfiguration... [OK] s1# swich2 Switch>enable Switch#conf term Enter configurationcommands,one perline. EndwithCNTL/Z. Switch(config)#ho Switch(config)#hostnames2 s2(config)#enable pas s2(config)#enable passwordcisco s2(config)#ena s2(config)#enable se s2(config)#enable secretcisco
  • 5. s2(config)#line s2(config)#line c s2(config)#line console 0 s2(config-line)#pas s2(config-line)#passwordcisco s2(config-line)#login s2(config-line)#exit s2(config)#line vty015 s2(config-line)#pas s2(config-line)#passwordcisco s2(config-line)#login s2(config-line)#exit s2(config)#exit s2# %SYS-5-CONFIG_I:Configuredfromconsolebyconsole s2#vl s2#vlan d s2#vlan database % Warning:It isrecommendedtoconfigure VLAN fromconfigmode, as VLAN database mode isbeingdeprecated.Please consultuser documentation forconfiguringVTP/VLANinconfigmode. s2(vlan)#vlan10name v10 VLAN 10 added: Name:v10 s2(vlan)#vlan20name v20 VLAN 20 added: Name:v20 s2(vlan)#exit APPLYcompleted. Exiting.... s2#conf term Enter configurationcommands,one perline. EndwithCNTL/Z. s2(config)#inr s2(config)#int s2(config)#interface r s2(config)#interface range f s2(config)#interface range fastEthernet0/1- 10 s2(config-if-range)#sw s2(config-if-range)#switchportm s2(config-if-range)#switchportmode a s2(config-if-range)#switchportmode access s2(config-if-range)#sw s2(config-if-range)#switchporta s2(config-if-range)#switchportaccessvlan20 s2(config-if-range)#exit s2(config)#interface range fastEthernet0/11 - 20 s2(config-if-range)#switchportmode access s2(config-if-range)#switchportaccessvlan10 s2(config-if-range)#exit s2(config)#in
  • 6. s2(config)#interface fa s2(config)#interface fastEthernet0/23 s2(config-if)#sw s2(config-if)#switchportm s2(config-if)#switchportmode t s2(config-if)#switchportmode trunk s2(config-if)#end s2# %SYS-5-CONFIG_I:Configuredfromconsolebyconsole s2#copy s2#copy r s2#copy running-configs s2#copy running-configstartup-config Destinationfilename [startup-config]? Buildingconfiguration... [OK] s2# swich3 Switch>enable Switch#hos Switch#conf term Enter configurationcommands,one perline. EndwithCNTL/Z. Switch(config)#h Switch(config)#hostnames3 s3(config)#enable pas s3(config)#enable passwordcisco s3(config)#en s3(config)#ena s3(config)#enable s s3(config)#enable secretcisco s3(config)#line co s3(config)#line console 0 s3(config-line)#pasc s3(config-line)#pas s3(config-line)#passwordcisco s3(config-line)#login s3(config-line)#exit s3(config)#line vty015 s3(config-line)#pas s3(config-line)#passwordcisco s3(config-line)#login s3(config-line)#end s3# %SYS-5-CONFIG_I:Configuredfromconsolebyconsole s3#vlan s3#vlan d
  • 7. s3#vlan database % Warning:It isrecommendedtoconfigure VLAN fromconfigmode, as VLAN database mode isbeingdeprecated.Please consultuser documentationforconfiguringVTP/VLANinconfigmode. s3(vlan)#vlan30name v30 VLAN 30 added: Name:v30 s3(vlan)#vlan40name v40 VLAN 40 added: Name:v40 s3(vlan)#exit APPLYcompleted. Exiting.... s3#conf term Enter configurationcommands, one perline. EndwithCNTL/Z. s3(config)#inter s3(config)#interface r s3(config)#interface range f s3(config)#interface range fastEthernet0/1- 10 s3(config-if-range)#sw s3(config-if-range)#switchportm s3(config-if-range)#switchportmode a s3(config-if-range)#switchportmode access s3(config-if-range)#sw s3(config-if-range)#switchporta s3(config-if-range)#switchportaccessvlan40 s3(config-if-range)#exit s3(config)#interface range fastEthernet0/11 - 20 s3(config-if-range)#switchportmode access s3(config-if-range)#switchportaccessvlan30 s3(config-if-range)#exit s3(config)#in s3(config)#interface r s3(config)#interface range f s3(config)#interface range fastEthernet0/23 - 24 s3(config-if-range)#sw s3(config-if-range)#switchportm s3(config-if-range)#switchportmode tr s3(config-if-range)#switchportmode trunk %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/23,changedstate todown %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/23,changedstate toup s3(config-if-range)#end s3# %SYS-5-CONFIG_I:Configuredfromconsolebyconsole s3#copy r s3#copy running-configs s3#copy running-configstartup-config
  • 8. Destinationfilename [startup-config]? Buildingconfiguration... [OK] s3# swich4 Switch>enable Switch#conf ter Enter configurationcommands,one perline. EndwithCNTL/Z. Switch(config)#h Switch(config)#hostnames4 s4(config)#enable p s4(config)#enable passwordcisco s4(config)#ena s4(config)#enable s s4(config)#enable secretcisco s4(config)#line console 0 s4(config-line)#pas s4(config-line)#passwordcisco s4(config-line)#login s4(config-line)#exit s4(config)#line vty015 s4(config-line)#pas s4(config-line)#passwordcisco s4(config-line)#login s4(config-line)#end s4# %SYS-5-CONFIG_I:Configuredfromconsolebyconsole s4#v s4#vlan d s4#vlan database % Warning:It isrecommendedtoconfigure VLAN fromconfigmode, as VLAN database mode isbeingdeprecated.Please consultuser documentationforconfiguringVTP/VLANinconfigmode. s4(vlan)#vlan30name vlan30 ^ % Invalidinputdetectedat'^' marker. s4(vlan)#vlan30name v30 VLAN 30 added: Name:v30 s4(vlan)#vlan40name v40 VLAN 40 added: Name:v40 s4(vlan)#end ^ % Invalidinputdetectedat'^' marker.
  • 9. s4(vlan)# s4(vlan)#exit APPLYcompleted. Exiting.... s4# s4#conf ter Enter configurationcommands,one perline. EndwithCNTL/Z. s4(config)#in s4(config)#interface r s4(config)#interface range f s4(config)#interface range fastEthernet0/1- 10 s4(config-if-range)#s s4(config-if-range)#sw s4(config-if-range)#switchportm s4(config-if-range)#switchportmode a s4(config-if-range)#switchportmode access s4(config-if-range)#sw s4(config-if-range)#switchporta s4(config-if-range)#switchportaccessvlan40 s4(config-if-range)#exit s4(config)#interface range fastEthernet0/11 - 20 s4(config-if-range)#switchportmode access s4(config-if-range)#switchportaccessvlan30 s4(config-if-range)#exit s4(config)#interface fastEthernet0/23 s4(config-if)#sw s4(config-if)#switchportm s4(config-if)#switchportmode tr s4(config-if)#switchportmode trunk s4(config-if)#end s4# %SYS-5-CONFIG_I:Configuredfromconsolebyconsole s4#copy s4#copy r s4#copy running-configs s4#copy running-configstartup-config Destinationfilename [startup-config]? Buildingconfiguration... [OK] s4#
  • 10. configurar los routesr Primero se pone el enncasulation Router>enable Router#conf term Enter configurationcommands,one perline. EndwithCNTL/Z. Router(config)#hos Router(config)#hostname r0 r0(config)#enable pas r0(config)#enable passwordcisco r0(config)#enable s r0(config)#enable secretcisco r0(config)#lineconsole0 r0(config-line)#pas r0(config-line)#passwordcisco r0(config-line)#login r0(config-line)#exit r0(config)#linevty015 r0(config-line)#pas r0(config-line)#passwordcisco r0(config-line)#login r0(config-line)#exit r0(config)#inte r0(config)#interface f r0(config)#interface fastEthernet0/0.10 r0(config-subif)#ipad r0(config-subif)#ipaddress172.16.1.254 255.255.254.0 % ConfiguringIProutingonaLAN subinterface isonlyallowedif that subinterface isalreadyconfiguredaspart of an IEEE 802.10, IEEE 802.1Q,
  • 11. or ISL vLAN. r0(config-subif)#en r0(config-subif)#encapsulationd r0(config-subif)#encapsulation dot1Q10 r0(config-subif)#nos r0(config-subif)#noshutdown r0(config-subif)#exit r0(config)#interface fastEthernet0/0.20 r0(config-subif)#ipaddress172.16.2.254 255.255.255.0 % ConfiguringIProutingonaLAN subinterface isonlyallowedif that subinterface isalreadyconfiguredaspart of an IEEE 802.10, IEEE 802.1Q, or ISL vLAN. r0(config-subif)#encapsulationdot1Q20 r0(config-subif)#noshutdown r0(config-subif)#xit ^ % Invalidinputdetectedat'^' marker. r0(config-subif)#exit r0(config)#in r0(config)#interface fa r0(config)#interface fastEthernet0/0.10 r0(config-subif)#ip r0(config-subif)#ipa r0(config-subif)#ipad r0(config-subif)#ipaddress172.16.1.254 255.255.254.0 r0(config-subif)#no r0(config-subif)#nos r0(config-subif)#noshutdown r0(config-subif)#exit r0(config)#in r0(config)#interface f r0(config)#interface fastEthernet0/0.20 r0(config-subif)#ip r0(config-subif)#ips r0(config-subif)#ipsd r0(config-subif)#ipsdd r0(config-subif)#ipad r0(config-subif)#ip address172.16.2.254 255.255.255.0 r0(config-subif)#nosh r0(config-subif)#noshutdown r0(config-subif)# r0# %SYS-5-CONFIG_I:Configuredfromconsolebyconsole r0# r0(config)#interface f r0(config)#interface fastEthernet0/0 r0(config-if)#nos
  • 12. r0(config-if)#nosh r0(config-if)#noshutdown %LINK-5-CHANGED:Interface FastEthernet0/0,changedstate toup %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0,changedstate toup %LINK-5-CHANGED:Interface FastEthernet0/0.10,changedstate toup %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0.10,changedstate toup %LINK-5-CHANGED:Interface FastEthernet0/0.20,changedstate toup %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0.20,changedstate toup r0(config-if)# r0(config)#in r0(config)#interface s r0(config)#interface serial 2/0 r0(config-if)#ipad r0(config-if)#ipaddress172.16.3.193 255.255.255.252 r0(config-if)#cl r0(config-if)#clockr r0(config-if)#clockrate 4000000 r0(config-if)#nos r0(config-if)#nosh r0(config-if)#noshutdown %LINK-5-CHANGED:Interface Serial2/0,changedstate todown r0(config-if)#end r0# %SYS-5-CONFIG_I:Configuredfromconsolebyconsole r0#conf ter Enter configurationcommands,one perline. EndwithCNTL/Z. r0(config)#rou r0(config)#routerrip r0(config-router)#version2 r0(config-router)#net r0(config-router)#network172.16.0.0 r0(config-router)#network172.16.2.0 r0(config-router)#network172.16.3.192 r0(config-router)#
  • 13. router 2 Router>enable Router#conf term Enter configurationcommands,one perline. EndwithCNTL/Z. Router(config)#hos Router(config)#hostname name r2 ^ % Invalidinputdetectedat'^' marker. Router(config)#hostname name r1 ^ % Invalidinputdetectedat'^' marker. Router(config)#hostname r2 r2(config)#enable % Incomplete command. r2(config)#enabl r2(config)#enable pas r2(config)#enable passwordcisco r2(config)#e r2(config)#en r2(config)#ena r2(config)#enable se r2(config)#enable secretcisco r2(config)#lineconsole0 r2(config-line)#pas r2(config-line)#passwordcisco r2(config-line)#login r2(config-line)#exit r2(config)#linevty015 r2(config-line)#pas r2(config-line)#passwordcisco r2(config-line)#login r2(config-line)#exit r2(config)#inte r2(config)#interface f r2(config)#interface fastEthernet0/0.30 r2(config-subif)#e r2(config-subif)#enc r2(config-subif)#encapsulationd r2(config-subif)#encapsulationdot1Q30 r2(config-subif)#ipadd r2(config-subif)#ipaddress172.16.3.126 255.255.255.128 r2(config-subif)#cl r2(config-subif)#clo r2(config-subif)#nosh r2(config-subif)#noshutdown r2(config-subif)#exit r2(config)#interface fastEthernet0/0.40 r2(config-subif)#encapsulationdot1Q40 r2(config-subif)#ipaddress172.16.3.190 255.255.255.192
  • 14. r2(config-subif)#nos r2(config-subif)#noshutdown r2(config-subif)#exit r2(config)#in r2(config)#interface f r2(config)#interface fastEthernet0/0 r2(config-if)#nosh r2(config-if)#noshutdown %LINK-5-CHANGED:Interface FastEthernet0/0, changedstate toup %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0,changedstate toup %LINK-5-CHANGED:Interface FastEthernet0/0.30,changedstate toup %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0.30,changedstate toup %LINK-5-CHANGED:Interface FastEthernet0/0.40,changedstate toup %LINEPROTO-5-UPDOWN:Line protocol onInterface FastEthernet0/0.40,changedstate toup r2(config-if)#exit r2(config)#interface s r2(config)#interface serial 2/0 r2(config-if)#ipad r2(config-if)#ipaddress172.16.3.194 255.255.255.252 r2(config-if)#cl r2(config-if)#clockra r2(config-if)#clockrate 4000000 r2(config-if)#nosh r2(config-if)#noshutdown %LINK-5-CHANGED:Interface Serial2/0,changedstate toup r2(config-if)# %LINEPROTO-5-UPDOWN:Line protocol onInterface Serial2/0,changedstate toup r2(config-if)#exit r2(config)#rou r2(config)#routerrip r2(config-router)#version2 r2(config-router)#net r2(config-router)#network172.16.3.0 r2(config-router)#network172.16.3.128 r2(config-router)#network172.16.3.192 r2(config-router)#exit r2(config)#exit %SYS-5-CONFIG_I:Configuredfromconsolebyconsole r2# r2#copy % Incomplete command.
  • 15. r2#copy r r2#copy running-configs r2#copy running-configstartup-config Destinationfilename [startup-config]? Buildingconfiguration... [OK] r2#