Está en la página 1de 16

COLEGIO DE EDUCACIN PROFESIONAL TCNICA DEL

ESTADO DE MXICO

PLANTEL IXTAPALUCA

MANEJO DE REDES
MRDE-02

NOMBRE DEL ESTUDIANTE: Gonzlez Alvarado Ricardo


CARRERA: P.T.B. EN INFORMATICA
MATRCULA: 122360194-7
CICLO ESCOLAR: 2.14.15
GRUPO: 604
PLANTEL: IXTAPALUCA 236

Practica 9

SECRETARA DE EDUCACIN
SUBSECRETARA DE EDUCACIN MEDIA SUPERIOR Y SUPERIOR
IXTAPALUCA
AV. VICENTE GUERRERO No. 2, AYOTLA, IXTAPALUCA, ESTADO DE MXICO C.P. 56560,
TELS. (55) 59862312, 59862313 ixtapaluca@conalepmex.edu.mx - www.conalepmex.edu.mx

Topologia de la Practica

Aqui insertaremos dos computadoras y un switch, para conectarlos necesitamos de un


cable recto y un cable de consola, estos cables conectan el switch con la PC1.
aqu Debemos Ingresar a las
configuraciones de cada pc
asignar la ip, mascara de
subred
y
gateway
predeterminado, para ello
damos doble clic sobre la pc y
seleccionamos la ficha config,
ubicamos la seccion de IP
CONFIGURATION,
y
marcamos ip static,

para

SECRETARA DE EDUCACIN
SUBSECRETARA DE EDUCACIN MEDIA SUPERIOR Y SUPERIOR
IXTAPALUCA
AV. VICENTE GUERRERO No. 2, AYOTLA, IXTAPALUCA, ESTADO DE MXICO C.P. 56560,
TELS. (55) 59862312, 59862313 ixtapaluca@conalepmex.edu.mx - www.conalepmex.edu.mx

interfaz, selecciona la pestaa


Config,
en
Global Settings, y damos clic en el botn de erase, como se muestra en la siguiente imagen;

Entrar al modo privilegiado


En la interfaz del switch de clic en la ficha CLI para poder entrar al modo EXEC privilegiado
introduciendo el comando enable

Examina el contenido actual de la NVRAM con el comando show startup- config: Esto
muestra la inforamacion de cada computadora que estamos usando :

SECRETARA DE EDUCACIN
SUBSECRETARA DE EDUCACIN MEDIA SUPERIOR Y SUPERIOR
IXTAPALUCA
AV. VICENTE GUERRERO No. 2, AYOTLA, IXTAPALUCA, ESTADO DE MXICO C.P. 56560,
TELS. (55) 59862312, 59862313 ixtapaluca@conalepmex.edu.mx - www.conalepmex.edu.mx

Aqu para obtener la informacin de la ip es show ip interface para que te mostre los
contenido de cada uno

Aqu en este codigo de muestrara la version de cada computadora que se estamos ocupando
show version:
Switch#show version
Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX,
RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
ROM: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE
SOFTWARE (fc4)
System returned to ROM by power-on
Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.
24 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)
SECRETARA DE EDUCACIN

63488K bytes of flash-simulated SUBSECRETARA


non-volatile configuration
memory.
DE EDUCACIN
MEDIA SUPERIOR Y SUPERIOR
IXTAPALUCA
AV. VICENTE GUERRERO No. 2, AYOTLA, IXTAPALUCA, ESTADO DE MXICO C.P. 56560,
TELS. (55) 59862312, 59862313 ixtapaluca@conalepmex.edu.mx - www.conalepmex.edu.mx

Base ethernet MAC Address


: 0003.E447.DBE7
Motherboard assembly number : 73-9832-06
Power supply part number
: 341-0097-02
Motherboard serial number
: FOC103248MJ
Power supply serial number
: DCA102133JA
Model revision number
: B0
Motherboard revision number : C0
Model number
: WS-C2960-24TT
System serial number
: FOC1033Z1EY
Top Assembly Part Number
: 800-26671-02
Top Assembly Revision Number : B0
Version ID
: V02
CLEI Code Number
: COM3K00BRA
Hardware Board Revision Number : 0x01

Switch Ports Model


SW Version
SW Image
------ ----- ----------------------* 1 26 WS-C2960-24TT
12.2
C2960-LANBASE- Switch#
Para Examinar las interfaces del FastEthernet es necesario Examina las propiedades
predeterminadas de la interfaz
Switch#show interface fastethernet 0/18
FastEthernet0/18 is up, line protocol is up (connected)
Hardware is Lance, address is 0060.3eed.9c12 (bia 0060.3eed.9c12)
BW 100000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s
input flow-control is off, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec

SECRETARA DE EDUCACIN

SUBSECRETARA DE EDUCACIN MEDIA SUPERIOR Y SUPERIOR


IXTAPALUCA

AV. VICENTE GUERRERO No. 2, AYOTLA, IXTAPALUCA, ESTADO DE MXICO C.P. 56560,
TELS. (55) 59862312, 59862313 ixtapaluca@conalepmex.edu.mx - www.conalepmex.edu.mx

5 minute output rate 0 bits/sec, 0 packets/sec


956 packets input, 193351 bytes, 0 no buffer
Received 956 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0
ignored, 0 abort
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
2357 packets output, 263570 bytes, 0 underruns
Switch#
Para Examinar la informacion de la VLAN. Utilizamos
el comando show vlan para examinar la configuracion
VLAN predeterminada del switch:
Switch#show vla

Examinar el archivo de configuracin de inicio


Aqu Ejecuta el comando show startup-config en el modo exec privilegiado para que te
muestre si hay un contacto o no

Aqui escribimos varios comandos que nos sirve para guardar el contenido de los archivos
de configuracin

SECRETARA DE EDUCACIN
SUBSECRETARA DE EDUCACIN MEDIA SUPERIOR Y SUPERIOR
IXTAPALUCA
AV. VICENTE GUERRERO No. 2, AYOTLA, IXTAPALUCA, ESTADO DE MXICO C.P. 56560,
TELS. (55) 59862312, 59862313 ixtapaluca@conalepmex.edu.mx - www.conalepmex.edu.mx

Aqu para mostrar los contenidos de la NVRAM usando el comando show startup-config.
Para saber todo sobre ese dispositvo que estamos ocupando
interface FastEthernet0/12
S1#show startup-config
!
Using 1066 bytes
interface FastEthernet0/13
!
!
version 12.2
interface FastEthernet0/14
no service timestamps log datetime msec
!
no service timestamps debug datetime
interface FastEthernet0/15
msec
!
no service password-encryption
interface FastEthernet0/16
!
!
hostname S1
interface FastEthernet0/17
!
!
!
interface FastEthernet0/18
!
!
interface FastEthernet0/1
interface FastEthernet0/19
switchport trunk allowed vlan 2-1001
!
switchport mode trunk
interface FastEthernet0/20
!
!
interface FastEthernet0/2
interface FastEthernet0/21
!
!
interface FastEthernet0/3
interface FastEthernet0/22
!
!
interface FastEthernet0/4
interface FastEthernet0/23
!
!
interface FastEthernet0/5
interface FastEthernet0/24
!
!
interface FastEthernet0/6
interface GigabitEthernet1/1
!
!
interface FastEthernet0/7
interface GigabitEthernet1/2
!
!
interface FastEthernet0/8
interface Vlan1
!
no ip address
interface FastEthernet0/9
shutdown
!
!
interface FastEthernet0/10
!
!
line con 0
SECRETARA DE EDUCACIN
interface FastEthernet0/11
!
SUBSECRETARAline
DEvty
EDUCACIN
MEDIA SUPERIOR Y SUPERIOR
!
04

IXTAPALUCA

AV. VICENTE GUERRERO No. 2, AYOTLA, IXTAPALUCA, ESTADO DE MXICO C.P. 56560,
TELS. (55) 59862312, 59862313 ixtapaluca@conalepmex.edu.mx - www.conalepmex.edu.mx

login
line vty 5 15
login

!
!
end

SECRETARA DE EDUCACIN
SUBSECRETARA DE EDUCACIN MEDIA SUPERIOR Y SUPERIOR
IXTAPALUCA
AV. VICENTE GUERRERO No. 2, AYOTLA, IXTAPALUCA, ESTADO DE MXICO C.P. 56560,
TELS. (55) 59862312, 59862313 ixtapaluca@conalepmex.edu.mx - www.conalepmex.edu.mx

S1#
Crear una configuracin bsica de switch
Aqu Debemos asigna un nombre al switch con el comando hostname .

Aqu estableceremos las contraseas de acceso Con el comando line console 0 entra al
modo de configuracin de lnea de la consola. Establece cisco como contrasea para iniciar
sesin. Ingresa los siguientes comando

Y Ahora tenemos que


establecer la contrasea
screta de enable como
class

Configure la direccion de la capa 3 del switch


Aqu insertaremos la ip a las consola VLAN 99 en el switch, luego configuramos la
direccion IP del switch en 172.17.99.11 con la mascara de subred 255.255.255.0 en la
interfaz virtual interna aqu ingresamos los comandos ocupado :

Despues de que me timos las ip vamos a asigna todos los puertos de usuario a la VLAN 99
ya que la interfaz se encuentra desactivada, ingrese los siguientes comandos:

Ingrese los siguientes comandos para verificar la configuracion de interfaz: show interface
vlan 99:
S1#show interface vlan 99
Vlan99 is up, line protocol is up
Hardware is CPU Interface, address is 0003.e447.dbe7 (bia 0003.e447.dbe7)
Internet address is 172.17.99.11/24
MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 21:40:21, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1682 packets input, 530955 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicast)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
563859 packets output, 0 bytes, 0 underruns
0 output errors, 23 interface resets
0 output buffer failures, 0 output buffers swapped out:

Aqui insertaremos los n ping ingresamos a la interfaz de configuracion de la PC, a qui


metermos el codigo de seria ip de que estemos ocupado y nos mandara las informacion
correspondiente

Qaqui Ingresamos configure terminal como comando, damos enter, y escribimos speed
y luego dplex y por ultimo end. Como se muestra a continuacion.

Verificamos las nuevas configuraciones de duplex y de velocidad en la interfaz


FastEthernet con el show interface fastethernet 0/18

Guardar la configuracin
Aqu debemos hacer una copia de seguridad para que
los datos de la NVRAM no se pierdan si el sistema se
reinicia o se apague: Para ello ingresamos el comando
copy running-config startup-config

Aqu se utiliza el comando show startup-config para el modo


EXEC privilegiado para ver la configuracin guardada en la
NVRAM. Y saldr ms o menos lo que se muestra en la imagen

Anota las direcciones MAC de los hosts.


Aqu seleccionaresmo y a notamos las ip que nos propuso y con
cada uno de los elementos

Aqu Insertaremo el comando show mac-address-table para mostrar las direcciones MAC
en modo EXEC privilegiado.

Ingresaremos el comando show mac-address-table para enumerar las opciones.

Utilicaremos el comando clear mac-address-table dynamic para limpiar las direcciones


MAC existentes:

Ingresaremos el cpomando show mac-address-table


direcciones MAC est en blanco.

para verificar que la tabla de

Configuraremos una direccin MAC esttica


Crearemos una asignacin esttica de la direccin MAC del host a un puerto, para
especificar a que puertos se puede conectar un host.:

Eliminaremos la entrada de MAC estatica, ingresa el comando que se muestra en la


imagen:

Verificaremos que la direccin MAC estatica se haya borrado con el comando show macaddress-table

Configurar la seguridad del puerto Aqu configuraremos el Segundo host Aqu vamos a
darle ping en este host, como se realiz en la configuracion del primer host y anota las
direcciones MAC .y Muestrar de nuevo las direcciones MAC.

Ingresaremos los siguientes comandos para enumerar las opciones de seguridad del puerto
en la interfaz FastEthernet 0/18:

Configuramos el puerto del switch


FastEthernet 0/18 para que acepte
solo dos dispositivos y asi aprenda las
direcciones
MAC
de
dichos
dispositivos
dinamicamente,
bloqueando as el trfico de hosts
invlidos en caso de violacin:
En la interfaz fastethernet 0/18,
establezca la direccion MAC de seguridad maxima del puerto en 1 y se desactive

Aqu Muestrareos la configuracion de seguridad de puerto con el comando show portsecurity:

Aqu Examinaremos el
comando show run

archivo de configuracion con el

Aqu Muestraremos la informacin sobre la configuracin del Puerto solo para el


fastethernet 0/18

Reactivar el puerto Ingresaremos los siguientes comandos en el switch, por si se produce


una violacin de seguridad y el Puerto se desconecta, utilice el comando no shutdown para
reactivarlo

También podría gustarte