Output

60

Transcript of Output

Page 1: Output
Page 2: Output

LABORATORIO 1: COMANDOS-ACTUALIZACION FIRMWARE- GUARDAR/SUBIR CONFIGURACION

LABORATORIO 2: VLAN’S - AUTO SURVEILLANCE VLAN (ASV)

LABORATORIO 3: LOOPBACK DETECTION (LBD)

LABORATORIO 4: STP

LABORATORIO 5: RUTEO RIP

LABORATORIO 6: LACP / PORT TRUNKING

LABORATORIO 7: STACKING- PAB STACKING

Page 3: Output

Laboratorio Nº 1 Laboratorio Nº 1 Laboratorio Nº 1 Laboratorio Nº 1 ---- Comandos BásicosComandos BásicosComandos BásicosComandos Básicos

Equipos:Equipos:Equipos:Equipos:

�DGSDGSDGSDGS----3120312031203120----24 PC24 PC24 PC24 PC�PCPCPCPC�Cable de ConsolaCable de ConsolaCable de ConsolaCable de Consola

Configuración

Dirección IP por default 10.90.90.90/8

Cambiar dirección IP config ipif System ipaddress

192.168.100.10/24

Verificar Configuración show switch

Resetear reset config : las configuraciones de fábrica

son restauradas incluyendo la dirección IP.

reset system: las configuraciones de fábrica

son restauradas exepto la dirección IP.

* El switch no guardará ni reiniciará.

Reiniciar reboot

Guardar save

Page 4: Output

Laboratorio Nº 1 Laboratorio Nº 1 Laboratorio Nº 1 Laboratorio Nº 1 ---- Comandos: Actualización de firmwareComandos: Actualización de firmwareComandos: Actualización de firmwareComandos: Actualización de firmware

Configuración

Dirección IP del

switch

config ipif System ipaddress 192.168.1.1/24

Descargar el

firmware PC-SW

download firmware_from TFTP 192.168.1.10

src_file DGS-

3120_Series_A2_Runtime_v2.50.015.had

Verificar show switch

show firmware version

* Dependerá del modelo

Page 5: Output

Verificación:Verificación:Verificación:Verificación:

Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 ---- Comandos: Actualización de firmwareComandos: Actualización de firmwareComandos: Actualización de firmwareComandos: Actualización de firmware

Page 6: Output

Laboratorio Nº 1 Laboratorio Nº 1 Laboratorio Nº 1 Laboratorio Nº 1 ---- Comandos: Comandos: Comandos: Comandos: Guardar configuraciónGuardar configuraciónGuardar configuraciónGuardar configuración

DGS-3627:admin#upload cfg_toTFTP 192.168.0.23 conf3627g.txtCommand: upload cfg_toTFTP 192.168.0.23 conf3627g.txt

Connecting to server................... Done.Upload configuration................... Done.

DGS-3627:admin#

Page 7: Output

Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 ---- VLANVLANVLANVLAN

Equipos:Equipos:Equipos:Equipos:

�DGSDGSDGSDGS----3627G # 13627G # 13627G # 13627G # 1�DGSDGSDGSDGS----3650 3650 3650 3650 # 2# 2# 2# 2�DGSDGSDGSDGS----3620362036203620 # 3 # 3 # 3 # 3

Vlan V10

Vlan V20

Vlan V30

Vlan V40

Page 8: Output

Comandos:

Quitar puertos a la VLAN

default para otra vlan

config vlan default delete 1-15

Creación de VLAN y

asinación de puertos untagged

create vlan V10 tag 10

config vlan V10 add untag 1-5

Asignación de puertos tagged config vlan V10 add tag 20-21

Verificar VLAN show vlan

Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 ---- VLANVLANVLANVLAN

Vlan V10

Vlan V20

Vlan V30

Vlan V40

Page 9: Output

DGSDGSDGSDGS----3650 # 23650 # 23650 # 23650 # 2

config vlan default delete 1-15

create vlan V10 tag 10

create vlan V20 tag 20

create vlan V30 tag 30

config vlan V10 add untag 1-5

config vlan V20 add untag 6-10

config vlan V30 add untag 11-15

config vlan V10 add tag 20-21

config vlan V20 add tag 20-21

config vlan V30 add tag 20-21

Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 ---- VLANVLANVLANVLAN

DGSDGSDGSDGS----3627G # 13627G # 13627G # 13627G # 1

config vlan default delete 1-15

create vlan V10 tag 10

create vlan V20 tag 20

create vlan V40 tag 40

config vlan V10 add untag 1-5

config vlan V20 add untag 6-10

config vlan V40 add untag 11-15

config vlan V10 add tag 20-21

config vlan V20 add tag 20-21

config vlan V40 add tag 20-21

DGSDGSDGSDGS----3620 # 33620 # 33620 # 33620 # 3

config vlan default delete 1-15

create vlan V10 tag 10

create vlan V30 tag 30

create vlan V40 tag 40

config vlan V10 add untag 1-5

config vlan V30 add untag 6-10

config vlan V40 add untag 11-15

config vlan V10 add tag 20-21

config vlan V30 add tag 20-21

config vlan V40 add tag 20-21

Page 10: Output

Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 ---- VLANVLANVLANVLAN

DGSDGSDGSDGS----3650 # 23650 # 23650 # 23650 # 2configconfigconfigconfig vlanvlanvlanvlan default default default default deletedeletedeletedelete 1111----15151515createcreatecreatecreate vlanvlanvlanvlan V10 V10 V10 V10 tagtagtagtag 10101010createcreatecreatecreate vlanvlanvlanvlan V20 V20 V20 V20 tagtagtagtag 20202020createcreatecreatecreate vlanvlanvlanvlan V30 V30 V30 V30 tagtagtagtag 30303030configconfigconfigconfig vlanvlanvlanvlan V10 V10 V10 V10 addaddaddadd untaguntaguntaguntag 1111----5555configconfigconfigconfig vlanvlanvlanvlan V20 V20 V20 V20 addaddaddadd untaguntaguntaguntag 6666----10101010configconfigconfigconfig vlanvlanvlanvlan V30 V30 V30 V30 addaddaddadd untaguntaguntaguntag 11111111----15151515configconfigconfigconfig vlanvlanvlanvlan V10 V10 V10 V10 addaddaddadd tagtagtagtag 20202020----21212121configconfigconfigconfig vlanvlanvlanvlan V20 V20 V20 V20 addaddaddadd tagtagtagtag 20202020----21212121configconfigconfigconfig vlanvlanvlanvlan V30 V30 V30 V30 addaddaddadd tagtagtagtag 20202020----21212121

DGS-3650# sh vlan

Page 11: Output

Enrutamiento entre VLANsEnrutamiento entre VLANsEnrutamiento entre VLANsEnrutamiento entre VLANs

Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 ---- VLANVLANVLANVLAN

Equipos:Equipos:Equipos:Equipos:

�DGSDGSDGSDGS----3627G 3627G 3627G 3627G # 1# 1# 1# 1�DGSDGSDGSDGS----3650 3650 3650 3650 # 2# 2# 2# 2� DGSDGSDGSDGS----3620 3620 3620 3620 # 3# 3# 3# 3�PC PC PC PC –––– V10 V10 V10 V10 IP : 192.168.10.10IP : 192.168.10.10IP : 192.168.10.10IP : 192.168.10.10

�PC PC PC PC –––– V30 V30 V30 V30 IP : 192.168.30.10 IP : 192.168.30.10 IP : 192.168.30.10 IP : 192.168.30.10

Page 12: Output

Comandos:

Creación de IP para la

interfaz de la vlan

create ipif ipif10 192.168.10.1/24 V10 state enable

Verificación de IPs show ipif

DGSDGSDGSDGS----3627G # 13627G # 13627G # 13627G # 1

config vlan default delete 1-15

create vlan V10 tag 10

create vlan V20 tag 20

create vlan V30 tag 30

config vlan V10 add untag 1-5

config vlan V20 add untag 6-10

config vlan V30 add untag 11-15

config vlan V10 add tag 20-21

config vlan V20 add tag 20-21

config vlan V30 add tag 20-21

create ipif ipif10 192.168.10.1/24 V10 state enable

create ipif ipif20 192.168.20.1/24 V20 state enable

create ipif ipif30 192.168.30.1/24 V30 state enable

DGSDGSDGSDGS----3620 # 33620 # 33620 # 33620 # 3

config vlan default delete 1-15

create vlan V10 tag 10

create vlan V20 tag 20

create vlan V30 tag 30

config vlan V10 add untag 1-5

config vlan V20 add untag 6-10

config vlan V30 add untag 11-15

config vlan V10 add tag 20-21

config vlan V20 add tag 20-21

config vlan V30 add tag 20-21

DGSDGSDGSDGS----3650 # 23650 # 23650 # 23650 # 2

config vlan default delete 1-15

create vlan V10 tag 10

create vlan V20 tag 20

create vlan V30 tag 30

config vlan V10 add untag 1-5

config vlan V20 add untag 6-10

config vlan V30 add untag 11-15

config vlan V10 add tag 20-21

config vlan V20 add tag 20-21

config vlan V30 add tag 20-21

Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 ---- VLANVLANVLANVLAN

Page 13: Output

Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 ---- VLANVLANVLANVLAN

VerificaciónVerificaciónVerificaciónVerificación

Page 14: Output

Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 Laboratorio Nº 2 ---- VLANVLANVLANVLAN

Pruebas entre las PCsPruebas entre las PCsPruebas entre las PCsPruebas entre las PCs

Page 15: Output

192.168.0.20

SERVIDOR

DVIEW-CAM

192.168.0.10

PC

192.168.0.5 192.168.0.30

192.168.0.40

TOPOLOGIA

AUTO SURVEILLANCE VLAN

DGS – 1210

Page 16: Output

SERVIDOR SIN TRAFICO EN LA RED

SERVIDOR CON TRAFICO EN LA RED

Page 17: Output

EL DES-1210 TIENE LA IP POR DEFECTO 10.90.90.90 POR LO CUAL CONFIGURAMOS LA IP DE LA PC EN ESE RANGO PARA POR ACCEDER A LA CONFIGURACION WEB DEL SWITCH

admin

Page 18: Output

Cambiar la dirección IP.

NOS DIRIGIMOS A SISTEMA ���� PARAMETROS DEL SISTEMA

Page 19: Output

NOS DIRIGIMOS A CONFIGURACIÓN ���� VLAN DE VIGILANCIA AUTOMATICA

Page 20: Output
Page 21: Output

AGREGAMOS EL SERVIDOR DE VIDEO VIGILANCIA

Page 22: Output
Page 23: Output

AGREGAMOS LOS DISPOSITIVOS NO RECONOCIDOS AUTOMATICAMENTE

DCS-942

Page 24: Output
Page 25: Output

VERIFICAR LOS PUERTOS ASIGNADOS A LA VLAN

Page 26: Output

ANTES DE CONECTAR LAS CAMARAS

DESPUES DE CONECTAR LAS CAMARAS

VERIFICAR LOS PUERTOS ASIGNADOS A LA VLAN

Page 27: Output

CONFIGURAMOS EL SEGUNDO SWITCH CON LA IP 192.168.0.10 Y ACTIVAMOS EL ASV TAL COMO EN

EL SWITCH 1

Page 28: Output

SWITCH 2

SWITCH 1

Page 29: Output

Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 ---- Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)

Equipos:Equipos:Equipos:Equipos:

�DGSDGSDGSDGS----3120312031203120�DGSDGSDGSDGS----1210121012101210

Comandos

Habilitar LBD enable loopdetect

Configuración de puertos config loopdetect ports 1-20 state enable

Configuración del modo config loopdetect mode port-based

config loopdetect mode vlan-based

Verificación show loopdetect

LBD LBD LBD LBD ---- Modo PuertoModo PuertoModo PuertoModo Puerto

DGSDGSDGSDGS----3120312031203120

DGSDGSDGSDGS----1210121012101210

Page 30: Output

Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 ---- Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)

Configuraciones:Configuraciones:Configuraciones:Configuraciones:

DGSDGSDGSDGS----3120312031203120eeeenable loopdetectnable loopdetectnable loopdetectnable loopdetectconfig loopdetect ports 1config loopdetect ports 1config loopdetect ports 1config loopdetect ports 1----20 state enable 20 state enable 20 state enable 20 state enable config loopdetect mode portconfig loopdetect mode portconfig loopdetect mode portconfig loopdetect mode port----basedbasedbasedbased

Page 31: Output

Comandos

Verificar Loops show loopdetect ports 1-20

Verificar estado de las interfaces show ports

Verificación:

Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 ---- Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)

Page 32: Output

Verificación:Verificación:Verificación:Verificación:

Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 ---- Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)

Page 33: Output

Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 ---- Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)

Equipos:Equipos:Equipos:Equipos:

�DGSDGSDGSDGS----3120312031203120�DGSDGSDGSDGS----3650365036503650�DGSDGSDGSDGS----1210121012101210----28p28p28p28p

LBD LBD LBD LBD ---- Modo VLANModo VLANModo VLANModo VLAN

DGSDGSDGSDGS----3120312031203120

DGSDGSDGSDGS----1210121012101210

Page 34: Output

Configuraciones:Configuraciones:Configuraciones:Configuraciones:

DGSDGSDGSDGS----3650 / DGS3650 / DGS3650 / DGS3650 / DGS----3120312031203120

create vlan v2 tag 2create vlan v2 tag 2create vlan v2 tag 2create vlan v2 tag 2create vlan v3 tag 3create vlan v3 tag 3create vlan v3 tag 3create vlan v3 tag 3config vlan default delete 8config vlan default delete 8config vlan default delete 8config vlan default delete 8----21212121config vlan default add tagged 20config vlan default add tagged 20config vlan default add tagged 20config vlan default add tagged 20----21212121config vlan v2 add untagged 9config vlan v2 add untagged 9config vlan v2 add untagged 9config vlan v2 add untagged 9----16161616config vlan v2 add tagged 20config vlan v2 add tagged 20config vlan v2 add tagged 20config vlan v2 add tagged 20----21212121config vlan v3 add untagged 17config vlan v3 add untagged 17config vlan v3 add untagged 17config vlan v3 add untagged 17----21212121config vlan v3 add tagged 20config vlan v3 add tagged 20config vlan v3 add tagged 20config vlan v3 add tagged 20----21212121

enable loopdetectenable loopdetectenable loopdetectenable loopdetectconfig loopdetect mode vlanconfig loopdetect mode vlanconfig loopdetect mode vlanconfig loopdetect mode vlan----basedbasedbasedbasedconfig loopdetect ports 1config loopdetect ports 1config loopdetect ports 1config loopdetect ports 1----24 state enabled24 state enabled24 state enabled24 state enabled

Comandos

Configurar Modo Vlan config loopdetect mode vlan-based

Page 35: Output

Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 ---- Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)

Verificación:Verificación:Verificación:Verificación:

Page 36: Output

Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 Laboratorio Nº 3 ---- Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)Loopback Detection (LBD)

Verificación:Verificación:Verificación:Verificación:

Page 37: Output

Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 ---- Protocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning Tree

Equipos:Equipos:Equipos:Equipos:

�DGSDGSDGSDGS----3627G # 1 3627G # 1 3627G # 1 3627G # 1 �DGSDGSDGSDGS----3650365036503650 # 2# 2# 2# 2� DGSDGSDGSDGS----3620362036203620 # 3 # 3 # 3 # 3

Page 38: Output

Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 ---- Protocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning Tree

DGSDGSDGSDGS----3627G 3627G 3627G 3627G eeeenable stpnable stpnable stpnable stp

DGSDGSDGSDGS----3650365036503650enable stpenable stpenable stpenable stp

DGSDGSDGSDGS----3620362036203620enableenableenableenable stpstpstpstp

Elección del Root Bridge (Automático o por defecto)Elección del Root Bridge (Automático o por defecto)Elección del Root Bridge (Automático o por defecto)Elección del Root Bridge (Automático o por defecto)

AlAlAlAl escogerescogerescogerescoger elecciónelecciónelecciónelección porporporpor defectodefectodefectodefecto (prioridad(prioridad(prioridad(prioridad yyyy MAC)MAC)MAC)MAC) puedepuedepuedepuede quequequeque elelelel resultadoresultadoresultadoresultado nonononoseaseaseasea elelelel másmásmásmás óptimoóptimoóptimoóptimo;;;; yayayaya quequequeque porporporpor defectodefectodefectodefecto todostodostodostodos tienentienentienentienen lalalala mismamismamismamisma prioridadprioridadprioridadprioridad peroperoperoperoseráseráseráserá elegidoelegidoelegidoelegido comocomocomocomo RootRootRootRoot BridgeBridgeBridgeBridge elelelel switchswitchswitchswitch dededede MACMACMACMAC másmásmásmás bajabajabajabaja,,,,....

Comandos

Habilitar STP enable stp

Page 39: Output

Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 ---- Protocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning Tree

Configuración

Verificar el estado show stp

Verificar el root bridge show stp instance

Versión del stp

* por defecto esta en

rstp.

config stp version rstp

�DesignatedDesignatedDesignatedDesignated RootRootRootRoot BridgeBridgeBridgeBridge:::: EsEsEsEs lalalaladireccióndireccióndireccióndirección MACMACMACMAC deldeldeldel rootrootrootroot bridgebridgebridgebridge....

�RegionalRegionalRegionalRegional RootRootRootRoot BridgeBridgeBridgeBridge:::: EsEsEsEs lalalaladireccióndireccióndireccióndirección MACMACMACMAC deldeldeldel swichswichswichswich locallocallocallocal....

Page 40: Output

Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 ---- Protocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning Tree

Elección del Root Bridge (Prioridad)Elección del Root Bridge (Prioridad)Elección del Root Bridge (Prioridad)Elección del Root Bridge (Prioridad)

El root bridge debe ser el switch más potente y aquel que este más centrado en la El root bridge debe ser el switch más potente y aquel que este más centrado en la El root bridge debe ser el switch más potente y aquel que este más centrado en la El root bridge debe ser el switch más potente y aquel que este más centrado en la estructura de la red, nunca un switch de acceso. estructura de la red, nunca un switch de acceso. estructura de la red, nunca un switch de acceso. estructura de la red, nunca un switch de acceso.

Configuración

Cambiar prioridad config stp priority 4096 instance_id 0

DGSDGSDGSDGS----3627G 3627G 3627G 3627G config stp priority 4096 instance_id 0config stp priority 4096 instance_id 0config stp priority 4096 instance_id 0config stp priority 4096 instance_id 0

DGSDGSDGSDGS----3650365036503650config stp priority 8192 instance_id 0config stp priority 8192 instance_id 0config stp priority 8192 instance_id 0config stp priority 8192 instance_id 0

DGSDGSDGSDGS----3620362036203620config stp priority 8192 instance_id 0config stp priority 8192 instance_id 0config stp priority 8192 instance_id 0config stp priority 8192 instance_id 0

Page 41: Output

Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 ---- Protocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning Tree

�Designated Root Bridge: Se observa el cambio en la prioridad del Designated Root Bridge: Se observa el cambio en la prioridad del Designated Root Bridge: Se observa el cambio en la prioridad del Designated Root Bridge: Se observa el cambio en la prioridad del root bridge aroot bridge aroot bridge aroot bridge a---------------->4096>4096>4096>4096

�Regional Root Bridge: Se observa el cambio en la prioridad del Regional Root Bridge: Se observa el cambio en la prioridad del Regional Root Bridge: Se observa el cambio en la prioridad del Regional Root Bridge: Se observa el cambio en la prioridad del switch local a switch local a switch local a switch local a -------------------->8192>8192>8192>8192

Page 42: Output

Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 ---- Protocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning Tree

Comandos:

Verificación de puertos show stp ports 20-21

Page 43: Output

Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 ---- Protocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning Tree

Page 44: Output

Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 Laboratorio Nº 4 ---- Protocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning TreeProtocolo Spanning Tree

Comandos:

Puertos edge config stp ports 9 edge true

Puertos Edge : Puertos Edge : Puertos Edge : Puertos Edge : puertos finales que no transmiten paquetes BPDU.puertos finales que no transmiten paquetes BPDU.puertos finales que no transmiten paquetes BPDU.puertos finales que no transmiten paquetes BPDU.

Configuración:Configuración:Configuración:Configuración:

DGSDGSDGSDGS----3627G # 13627G # 13627G # 13627G # 1

config stp ports 1config stp ports 1config stp ports 1config stp ports 1----19 edge true19 edge true19 edge true19 edge true

DGSDGSDGSDGS----3650 # 23650 # 23650 # 23650 # 2

config stp ports 1config stp ports 1config stp ports 1config stp ports 1----19 edge true19 edge true19 edge true19 edge true

DGSDGSDGSDGS----3650 # 33650 # 33650 # 33650 # 3

config stp ports 1config stp ports 1config stp ports 1config stp ports 1----19 edge true19 edge true19 edge true19 edge true

Page 45: Output

Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 ---- RIPRIPRIPRIP

Equipos:Equipos:Equipos:Equipos:

�DGSDGSDGSDGS----3637G3637G3637G3637G�DGSDGSDGSDGS----3650365036503650�DGSDGSDGSDGS----3620362036203620�PC1PC1PC1PC1––––V10 V10 V10 V10 �PC2PC2PC2PC2---- V20 V20 V20 V20 �PC3 PC3 PC3 PC3 –––– V40V40V40V40�PC4 PC4 PC4 PC4 ––––V10V10V10V10�PC5 PC5 PC5 PC5 ––––V20V20V20V20�PC6 PC6 PC6 PC6 ––––V30V30V30V30�PC7 PC7 PC7 PC7 –––– V10V10V10V10�PC8 PC8 PC8 PC8 –––– V30V30V30V30�PC9 PC9 PC9 PC9 –––– V40V40V40V40

Vlan V10

Vlan V20

Vlan V30

Vlan V40

Page 46: Output

Comandos:

Habilitar RIP enable rip

Habilitar las interfaces

que se conectarán entre

los switches

config rip ipif net1 tx_mode v2_only rx_mode v2_only state enabled

Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 ---- RIPRIPRIPRIP

DGSDGSDGSDGS----3627G3627G3627G3627G

config vlan default delete 1config vlan default delete 1config vlan default delete 1config vlan default delete 1----24242424create vlan V10 tag 10create vlan V10 tag 10create vlan V10 tag 10create vlan V10 tag 10config vlan V10 add untagged 1config vlan V10 add untagged 1config vlan V10 add untagged 1config vlan V10 add untagged 1----8888create ipif net1 192.168.10.2/24 V10 state enabledcreate ipif net1 192.168.10.2/24 V10 state enabledcreate ipif net1 192.168.10.2/24 V10 state enabledcreate ipif net1 192.168.10.2/24 V10 state enabledcreate create create create vlanvlanvlanvlan V20 V20 V20 V20 tagtagtagtag 20202020config config config config vlanvlanvlanvlan V20 add untagged 9V20 add untagged 9V20 add untagged 9V20 add untagged 9----16161616create ipif net4 192.168.20.1/24 V20 state enabledcreate ipif net4 192.168.20.1/24 V20 state enabledcreate ipif net4 192.168.20.1/24 V20 state enabledcreate ipif net4 192.168.20.1/24 V20 state enabledcreate create create create vlanvlanvlanvlan V40 V40 V40 V40 tagtagtagtag 40404040config config config config vlanvlanvlanvlan V40 add untagged 17V40 add untagged 17V40 add untagged 17V40 add untagged 17----24242424create ipif net5 192.168.40.1/24 V40 state enabledcreate ipif net5 192.168.40.1/24 V40 state enabledcreate ipif net5 192.168.40.1/24 V40 state enabledcreate ipif net5 192.168.40.1/24 V40 state enabledenable ripenable ripenable ripenable ripconfig rip all state enabledconfig rip all state enabledconfig rip all state enabledconfig rip all state enabledconfig rip ipif net1 tx_mode v2_only rx_mode v2_only config rip ipif net1 tx_mode v2_only rx_mode v2_only config rip ipif net1 tx_mode v2_only rx_mode v2_only config rip ipif net1 tx_mode v2_only rx_mode v2_only state enabledstate enabledstate enabledstate enabled

Page 47: Output

Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 ---- RIPRIPRIPRIPConfiguración:Configuración:Configuración:Configuración:

DGSDGSDGSDGS----3650365036503650

config vlan default delete 1config vlan default delete 1config vlan default delete 1config vlan default delete 1----24242424create vlan V10 tag 10create vlan V10 tag 10create vlan V10 tag 10create vlan V10 tag 10config vlan V10 add untagged 1config vlan V10 add untagged 1config vlan V10 add untagged 1config vlan V10 add untagged 1----8888create ipif net1 192.168.10.2/24 V10 state enabledcreate ipif net1 192.168.10.2/24 V10 state enabledcreate ipif net1 192.168.10.2/24 V10 state enabledcreate ipif net1 192.168.10.2/24 V10 state enabledcreate vlan V20 tag 20create vlan V20 tag 20create vlan V20 tag 20create vlan V20 tag 20config vlan V20 add untagged 9config vlan V20 add untagged 9config vlan V20 add untagged 9config vlan V20 add untagged 9----16161616create ipif net2 192.168.20.2/24 V20 state enabledcreate ipif net2 192.168.20.2/24 V20 state enabledcreate ipif net2 192.168.20.2/24 V20 state enabledcreate ipif net2 192.168.20.2/24 V20 state enabledcreate vlan V30 tag 30create vlan V30 tag 30create vlan V30 tag 30create vlan V30 tag 30config vlan V30 add untagged 17config vlan V30 add untagged 17config vlan V30 add untagged 17config vlan V30 add untagged 17----24242424create ipif net3 192.168.30.1/24 V30 state enablecreate ipif net3 192.168.30.1/24 V30 state enablecreate ipif net3 192.168.30.1/24 V30 state enablecreate ipif net3 192.168.30.1/24 V30 state enableenable ripenable ripenable ripenable ripconfig rip all state enabledconfig rip all state enabledconfig rip all state enabledconfig rip all state enabledconfig rip ipif net1 tx_mode v2_only rx_mode v2_only config rip ipif net1 tx_mode v2_only rx_mode v2_only config rip ipif net1 tx_mode v2_only rx_mode v2_only config rip ipif net1 tx_mode v2_only rx_mode v2_only state enabledstate enabledstate enabledstate enabled

Configuración:Configuración:Configuración:Configuración:

DGSDGSDGSDGS----3620362036203620

config vlan default delete 1config vlan default delete 1config vlan default delete 1config vlan default delete 1----24242424create vlan V10 tag 10create vlan V10 tag 10create vlan V10 tag 10create vlan V10 tag 10config vlan V10 add untagged 1config vlan V10 add untagged 1config vlan V10 add untagged 1config vlan V10 add untagged 1----8888create ipif net1 192.168.10.3/24 V10 state enabledcreate ipif net1 192.168.10.3/24 V10 state enabledcreate ipif net1 192.168.10.3/24 V10 state enabledcreate ipif net1 192.168.10.3/24 V10 state enabledcreatecreatecreatecreate vlan V30 tag 30vlan V30 tag 30vlan V30 tag 30vlan V30 tag 30config vlan V30 add untagged 17config vlan V30 add untagged 17config vlan V30 add untagged 17config vlan V30 add untagged 17----24242424create ipif net3 192.168.30.2/24 V30 state enablecreate ipif net3 192.168.30.2/24 V30 state enablecreate ipif net3 192.168.30.2/24 V30 state enablecreate ipif net3 192.168.30.2/24 V30 state enablecreatecreatecreatecreate vlanvlanvlanvlan V40 V40 V40 V40 tagtagtagtag 40404040configconfigconfigconfig vlanvlanvlanvlan V40 V40 V40 V40 add untagged 9add untagged 9add untagged 9add untagged 9----16161616create create create create ipifipifipifipif net2 net2 net2 net2 192.168.40.2/24 V40 192.168.40.2/24 V40 192.168.40.2/24 V40 192.168.40.2/24 V40 state enabledstate enabledstate enabledstate enabledenableenableenableenable ripripripripconfig rip all state enabledconfig rip all state enabledconfig rip all state enabledconfig rip all state enabledconfig rip ipif net1 tx_mode v2_only rx_mode v2_only config rip ipif net1 tx_mode v2_only rx_mode v2_only config rip ipif net1 tx_mode v2_only rx_mode v2_only config rip ipif net1 tx_mode v2_only rx_mode v2_only state enabledstate enabledstate enabledstate enabled

Comandos:

Verificación de RIP show iproute

Page 48: Output

Verificación:Verificación:Verificación:Verificación:PC2 PC2 PC2 PC2 –––– PC5PC5PC5PC5

Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 ---- RIPRIPRIPRIP

Page 49: Output

Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 ---- RIPRIPRIPRIP

Verificación:Verificación:Verificación:Verificación:PC3PC3PC3PC3----PC6PC6PC6PC6

Page 50: Output

Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 Laboratorio Nº 5 ---- RIPRIPRIPRIP

Verificación:Verificación:Verificación:Verificación:

Page 51: Output

Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 ---- LACPLACPLACPLACP

Equipos:Equipos:Equipos:Equipos:

�DGSDGSDGSDGS----3120312031203120----24PC24PC24PC24PC�DGSDGSDGSDGS----3120312031203120----48PC48PC48PC48PC�DGSDGSDGSDGS----3650 3650 3650 3650 �PC TFTP PC TFTP PC TFTP PC TFTP ---- V30 V30 V30 V30 IP 192.168.30.10IP 192.168.30.10IP 192.168.30.10IP 192.168.30.10

�PC V10 PC V10 PC V10 PC V10 IP 192.168.10.10 IP 192.168.10.10 IP 192.168.10.10 IP 192.168.10.10

Page 52: Output

Comandos

Creación del Link Aggregation Group create link_aggregation group_id 1 type lacp

Selección de los miembros del Link

Aggregation

config link_aggregation group_id 1 master_port 20 ports 20-21 state enabled

Configuración del algoritmo

*Algoritmos

config link_aggregation algorithm mac_source

* mac_source (SA)

* mac_destination (DA)

* mac_source_dest (DA-SA)

* ip_source (SIP)

* ip_destination (DIP)

* ip_source_dest (DIP-SIP)

Activar los puertos del LACP config lacp ports 20-21 mode active

Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 ---- LACPLACPLACPLACP

Page 53: Output

Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 ---- LACPLACPLACPLACP

DGSDGSDGSDGS----3627362736273627

create link_aggregation group_id 1 type lacpcreate link_aggregation group_id 1 type lacpcreate link_aggregation group_id 1 type lacpcreate link_aggregation group_id 1 type lacp

create link_aggregation group_id 2 type lacpcreate link_aggregation group_id 2 type lacpcreate link_aggregation group_id 2 type lacpcreate link_aggregation group_id 2 type lacp

config link_aggregation algorithm mac_destinationconfig link_aggregation algorithm mac_destinationconfig link_aggregation algorithm mac_destinationconfig link_aggregation algorithm mac_destination

config link_aggregation group_id 1 master_port 20 ports 20config link_aggregation group_id 1 master_port 20 ports 20config link_aggregation group_id 1 master_port 20 ports 20config link_aggregation group_id 1 master_port 20 ports 20----21 state enabled21 state enabled21 state enabled21 state enabled

config link_aggregation group_id 2 master_port 22 ports 22config link_aggregation group_id 2 master_port 22 ports 22config link_aggregation group_id 2 master_port 22 ports 22config link_aggregation group_id 2 master_port 22 ports 22----23 state enabled23 state enabled23 state enabled23 state enabled

configconfigconfigconfig lacp_portslacp_portslacp_portslacp_ports 20202020----23 mode active23 mode active23 mode active23 mode active

DGSDGSDGSDGS----3650365036503650

create link_aggregation group_id 1 type lacpcreate link_aggregation group_id 1 type lacpcreate link_aggregation group_id 1 type lacpcreate link_aggregation group_id 1 type lacp

config link_aggregation algorithm mac_sourceconfig link_aggregation algorithm mac_sourceconfig link_aggregation algorithm mac_sourceconfig link_aggregation algorithm mac_source

config link_aggregation group_id 1 master_port 20 ports 20config link_aggregation group_id 1 master_port 20 ports 20config link_aggregation group_id 1 master_port 20 ports 20config link_aggregation group_id 1 master_port 20 ports 20----21 state enabled21 state enabled21 state enabled21 state enabled

configconfigconfigconfig lacp_portslacp_portslacp_portslacp_ports 20202020----21 mode active21 mode active21 mode active21 mode active

DGSDGSDGSDGS----3620362036203620

create link_aggregation group_id 2 type lacpcreate link_aggregation group_id 2 type lacpcreate link_aggregation group_id 2 type lacpcreate link_aggregation group_id 2 type lacp

config link_aggregation algorithm mac_sourceconfig link_aggregation algorithm mac_sourceconfig link_aggregation algorithm mac_sourceconfig link_aggregation algorithm mac_source

config link_aggregation group_id 2 config link_aggregation group_id 2 config link_aggregation group_id 2 config link_aggregation group_id 2 master_portmaster_portmaster_portmaster_port 20 20 20 20 portsportsportsports 20202020----21 state enabled21 state enabled21 state enabled21 state enabled

configconfigconfigconfig lacp_portslacp_portslacp_portslacp_ports 20202020----21 21 21 21 modemodemodemode activeactiveactiveactive

Configuraciones:Configuraciones:Configuraciones:Configuraciones:

Page 54: Output

Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 ---- LACPLACPLACPLACP

Page 55: Output

Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 Laboratorio Nº 6 ---- LACPLACPLACPLACP

Comandos:

Verificación de uso de puertos show utilization ports

Verificación:Verificación:Verificación:Verificación:

Page 56: Output

Laboratorio Nº 7 Laboratorio Nº 7 Laboratorio Nº 7 Laboratorio Nº 7 ---- StackStackStackStack

Equipos:Equipos:Equipos:Equipos:

�DGSDGSDGSDGS----3650365036503650�DGSDGSDGSDGS----3627362736273627

Page 57: Output

Comandos:

config stacking_mode enable Habilita la configuración en Stack.

config stacking force_master_role state enable Habilita al switch con rol de Maestro.

Laboratorio Nº 7 Laboratorio Nº 7 Laboratorio Nº 7 Laboratorio Nº 7 ---- StackingStackingStackingStacking

Configuración:Configuración:Configuración:Configuración:

DGSDGSDGSDGS----3650365036503650config stacking_mode enableconfig stacking_mode enableconfig stacking_mode enableconfig stacking_mode enableconfig stacking force_master_role state enableconfig stacking force_master_role state enableconfig stacking force_master_role state enableconfig stacking force_master_role state enableconfig vlan default delete 1:1config vlan default delete 1:1config vlan default delete 1:1config vlan default delete 1:1----1:20,2:11:20,2:11:20,2:11:20,2:1----2:202:202:202:20create vlan V10 tag 10create vlan V10 tag 10create vlan V10 tag 10create vlan V10 tag 10create vlan V20 tag 20create vlan V20 tag 20create vlan V20 tag 20create vlan V20 tag 20create vlan V30 tag 30create vlan V30 tag 30create vlan V30 tag 30create vlan V30 tag 30config vlan V10 add untagged 1:1config vlan V10 add untagged 1:1config vlan V10 add untagged 1:1config vlan V10 add untagged 1:1----1:5,2:11:5,2:11:5,2:11:5,2:1----2:52:52:52:5config vlan V20 add untagged 1:6config vlan V20 add untagged 1:6config vlan V20 add untagged 1:6config vlan V20 add untagged 1:6----1:10,2:61:10,2:61:10,2:61:10,2:6----2:102:102:102:10config vlan V30 add untagged 1:11config vlan V30 add untagged 1:11config vlan V30 add untagged 1:11config vlan V30 add untagged 1:11----1:15,2:111:15,2:111:15,2:111:15,2:11----2:152:152:152:15

DGSDGSDGSDGS----3627362736273627config stacking_mode enableconfig stacking_mode enableconfig stacking_mode enableconfig stacking_mode enable

Page 58: Output

Verificación:Verificación:Verificación:Verificación:Comandos:

show stackin_mode Indica si modo Stack esta habilitado.

show stack_information Muestra la tabla de información del stack.

Laboratorio Nº 7 Laboratorio Nº 7 Laboratorio Nº 7 Laboratorio Nº 7 ---- StackingStackingStackingStacking

Page 59: Output

Laboratorio Nº 7 Laboratorio Nº 7 Laboratorio Nº 7 Laboratorio Nº 7 ---- StackingStackingStackingStacking

Verificación:Verificación:Verificación:Verificación:

Page 60: Output