Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Deshabilita Puertos. Switch(config)# interface range fastethernet 0/1-24 Switch(config-if-range)# shutdown Configuracion basica.

Switch# configure terminal Switch(config)# hostname Switch Switch(config)# line vty 0 4 Switch(config-line)# password cisco Switch(config-line)# login Switch(config-line)# line console 0 Switch(config-line)# password cisco Switch(config-line)# login Switch(config-line)# end Creacion de vlan. Switch(config)# vlan vlan_id Switch(config-vlan)# name vlan_nombre Switch(config-vlan)# end Asignar puertos a vlan. Switch(config)# interface range fastethernet 0/1-4 Switch(config-if-range)# switchport mode access Switch(config-if-range)# switchport access vlan vlan_id Switch(config-if-range)# no shutdown Eliminar puerto a vlan . Switch(config)# interface range fastethernet 0/1-4 Switch(config-if-range)# no switchport access vlan Configurar direccion IP a vlan. Switch(config)# interface vlan vlan_id Switch(config-if)# ip address 172.17.99.12 255.255.255.0 Switch(config-if)# no shutdown Configuracion de enlaces troncales. Switch(config)# interface range fastethernet 0/1-4 Switch(config-if-range)# switchport mode access Switch(config-if-range)# switchport mode trunk Switch(config-if-range)# switchport trunk allowed vlan vlans_ids (solo trafico para vlan especificadas) Switch(config-if-range)# switchport trunk native vlan vlan_id_native Switch(config-if-range)# no shutdown Switch(config-if-range)# end Modo dispositivo ya es servidor VTP. Switch(config)# vtp mode server Switch(config)# vtp domain solemne Switch(config)# vtp password cisco Switch(config)# end Configurar el dispositivo en modo cliente VTP Switch(config)# vtp mode client Switch(config)# vtp domain solemne Switch(config)# vtp password cisco Switch(config)# end Configurar el dispositivo en modo transparente VTP. Switch(config)#vtp mode transparent Switch(config)#vtp domain solemne Switch(config)#vtp password cisco Switch(config)#end Para la configuracin. router> enable router# config t router(config)# hostname router1 router1(config)# line vty 0 4 router1(config-line)# password cisco router1(config-line)# login router1(config-line)# exit router1(config)# enable password cisco router1(config)# interface fast 0/0 router1(config-if)# ip address 192.0.0.0 255.255.255.0 router1(config-if)# no shutdown router1(config-if)# exit router1(config)# exit router1# wr Rip. router1(config)# router rip router1(config-router)# version 2 router1(config-router)# no auto-summary router1(config-router)# network 192.0.0.0 router1(config-router)# network 200.0.0.0

Rutas estaticas. router1(config)# ip route 192.0.0.0 255.255.255.0 200.0.0.0 router1(config)# ip route 0.0.0.0 0.0.0.0 s0/0 Ospf. router1(config)# router ospf 1 router1(config-router)# network 172.28.40.216 0.0.0.3 area 0 Eigrp. router1(config)# router eigrp 30 router1(config-router)# network 10.17.0.1 0.0.0.3 router1(config-router)# no auto-summary router1(config-router)# redistribute static Ppp/Pap. router1(config)# username router2 password cisco router1(config)# interface s0/0/0 router1(config-if)# encapsulation ppp router1(config-if)# ppp authentication pap router1(config-if)# ppp pap sent-username router1 password cisco Ppp/Chap. router2(config)# username router1 password cisco router2(config)# interface s0/0/0 router2(config-if)# encapsulation ppp router2(config-if)# ppp authentication chap Con cable serial. router1(config)# interface serial 2/0 router1(config-if)# ip address 192.0.0.0 255.255.255.0 router1(config-if)# clock rate 64000 router1(config-if)# no shutdown Vlan. router1(config)# interface fast 0/0.30 router1(config-subif)# encapsulation dot1q 30 router1(config-subif)# ip address 192.0.0.0 255.255.255.0 router1(config-subif)# no shutdown Punto a punto. router1(config)# interface s0/0 router1(config-if)# encapsulation frame-relay router1(config-if)# interface s0/0.110 point-to-point router1(config-subif)# ip address 10.17.0.1 255.255.255.0 router1(config-subif)# bandwidth 64 router1(config-subif)# frame-relay interface-dlci 110 Multipunto. router1(config)# interface s0/0 router1(config-if)# encapsulation frame-relay router1(config-if)# interface s0/0.100 multipoint router1(config-subif)# ip address 10.17.0.1 255.255.255.0 router1(config-subif)# frame-relay map ip 10.17.0.2 110 broadcast Formula para los host. 128 64 32 16 8 4 2 1 n= 7 6 5 4 3 2 1 0 n 2 -2 Valor de la mascara. 24 = 0 255 = 255 7 2 = 128 -2 = 126 25 = 128 255 = 127 6 2 = 64 -2 = 62 26 = 192 255 = 63 5 2 = 32 -2 = 30 27 = 224 255 = 31 4 2 = 16 -2 = 14 28 = 240 255 = 15 3 2 = 8 -2 = 6 29 = 248 255 = 7 2 2 = 4 -2 = 2 30 = 252 255 = 3 1 2 = 2 -2 = 0 31 = 254 255 = 1 0 2 = 1 -2 = -1 32 = 255 255 = 0

You might also like