Vous êtes sur la page 1sur 60

LABORATORIO 1: COMANDOS -ACTUALIZACION FIRMWARE - GUARDAR/SUBIR CONFIGURACION LABORATORIO 2: VLANS - 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

Laboratorio N 1 - Comandos Bsicos

Equipos: DGSDGS-31203120-24 PC PC Cable de Consola

Configuracin
Direccin IP por default Cambiar direccin IP Verificar Configuracin Resetear 10.90.90.90/8 config ipif System ipaddress 192.168.100.10/24 show switch reset config : las configuraciones de fbrica son restauradas incluyendo la direccin IP. reset system: las configuraciones de fbrica son restauradas exepto la direccin IP. * El switch no guardar ni reiniciar. reboot save

Reiniciar Guardar

Laboratorio N 1 - Comandos: Actualizacin de firmware

Configuracin
Direccin 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 DGS3120_Series_A2_Runtime_v2.50.015.had show switch show firmware version * Depender del modelo

Verificar

Laboratorio N 2 - Comandos: Actualizacin de firmware Verificacin:

Laboratorio N 1 - Comandos: Guardar configuracin

DGS-3627:admin#upload cfg_toTFTP 192.168.0.23 conf3627g.txt Command: upload cfg_toTFTP 192.168.0.23 conf3627g.txt Connecting to server................... Done. Upload configuration................... Done. DGS-3627:admin#

Laboratorio N 2 - VLAN

Equipos: DGSDGS-3627G DGSDGS-3650 DGSDGS-3620 #1 #2 #3

Vlan V10 Vlan V20 Vlan V30 Vlan V40

Laboratorio N 2 - VLAN

Comandos:
Quitar puertos a la VLAN default para otra vlan Creacin de VLAN y asinacin de puertos untagged Asignacin de puertos tagged Verificar VLAN config vlan default delete 1-15 create vlan V10 tag 10 config vlan V10 add untag 1-5 config vlan V10 add tag 20-21 show vlan

Vlan V10 Vlan V20 Vlan V30 Vlan V40

Laboratorio N 2 - VLAN
DGS#1 DGS-3627G 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 DGS#2 DGS-3650 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 DGS#3 DGS-3620 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

Laboratorio N 2 - VLAN

DGS-3650# sh vlan

DGS#2 DGS-3650 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 1111-15 config vlan V10 add tag 2020-21 config vlan V20 add tag 2020-21 config vlan V30 add tag 2020-21

Laboratorio N 2 - VLAN Enrutamiento entre VLANs Equipos: DGS#1 DGS-3627G DGS#2 DGS-3650 DGS#3 DGS-3620 PC V10 IP : 192.168.10.10 PC V30 IP : 192.168.30.10

Laboratorio N 2 - VLAN

Comandos:
Creacin de IP para la interfaz de la vlan Verificacin de IPs create ipif ipif10 192.168.10.1/24 V10 state enable

DGSDGS-3650

#2

show ipif

DGSDGS-3627G

#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

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

DGSDGS-3620

#3

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

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 - VLAN

Verificacin

Laboratorio N 2 - VLAN Pruebas entre las PCs

AUTO SURVEILLANCE VLAN

DGS 1210

192.168.0.40

PC 192.168.0.5

SERVIDOR DVIEW-CAM 192.168.0.10

192.168.0.30 192.168.0.20

TOPOLOGIA

SERVIDOR SIN TRAFICO EN LA RED

SERVIDOR CON TRAFICO EN LA RED

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

Cambiar la direccin IP.


NOS DIRIGIMOS A SISTEMA PARAMETROS DEL SISTEMA

NOS DIRIGIMOS A CONFIGURACIN

VLAN DE VIGILANCIA AUTOMATICA

AGREGAMOS EL SERVIDOR DE VIDEO VIGILANCIA

AGREGAMOS LOS DISPOSITIVOS NO RECONOCIDOS AUTOMATICAMENTE

DCS-942

VERIFICAR LOS PUERTOS ASIGNADOS A LA VLAN

VERIFICAR LOS PUERTOS ASIGNADOS A LA VLAN


ANTES DE CONECTAR LAS CAMARAS

DESPUES DE CONECTAR LAS CAMARAS

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

SWITCH 1

SWITCH 2

Laboratorio N 3 - Loopback Detection (LBD) LBD - Modo Puerto DGSDGS-3120 Equipos: DGSDGS-3120 DGSDGS-1210

DGSDGS-1210

Comandos
Habilitar LBD Configuracin de puertos Configuracin del modo enable loopdetect config loopdetect ports 1-20 state enable config loopdetect mode port-based config loopdetect mode vlan-based show loopdetect

Verificacin

Laboratorio N 3 - Loopback Detection (LBD) Configuraciones: DGSDGS-3120 enable loopdetect config loopdetect ports 11-20 state enable config loopdetect mode portport-based

Laboratorio N 5 - Loopback Detection (LBD) Verificacin:

Comandos
Verificar Loops Verificar estado de las interfaces show loopdetect ports 1-20 show ports

Laboratorio N 3 - Loopback Detection (LBD) Verificacin:

Laboratorio N 3 - Loopback Detection (LBD)

LBD - Modo VLAN DGSDGS-3120

Equipos: DGSDGS-3120 DGSDGS-3650 DGSDGS-12101210-28p

DGSDGS-1210

Comandos
Configurar Modo Vlan
config loopdetect mode vlan-based

Configuraciones: DGSDGS-3650 / DGSDGS-3120 create vlan v2 tag 2 create vlan v3 tag 3 config vlan default delete 88-21 config vlan default add tagged 2020-21 config vlan v2 add untagged 99-16 config vlan v2 add tagged 2020-21 config vlan v3 add untagged 1717-21 config vlan v3 add tagged 2020-21 enable loopdetect config loopdetect mode vlanvlan-based config loopdetect ports 11-24 state enabled

Laboratorio N 3 - Loopback Detection (LBD)

Verificacin:

Laboratorio N 3 - Loopback Detection (LBD) Verificacin:

Laboratorio N 4 - Protocolo Spanning Tree

Equipos: DGSDGS-3627G DGSDGS-3650 DGSDGS-3620 #1 #2 #3

Laboratorio N 4 - Protocolo Spanning Tree Eleccin del Root Bridge (Automtico o por defecto) Al escoger eleccin por defecto (prioridad y MAC) puede que el resultado no sea el ms ptimo; ptimo; ya que por defecto todos tienen la misma prioridad pero ser elegido como Root Bridge el switch de MAC ms baja, baja,.

Comandos Habilitar STP enable stp

DGSDGS-3627G enable stp DGSDGS-3650 enable stp DGSDGS-3620 enable stp

Laboratorio N 4 - Protocolo Spanning Tree

Configuracin
Verificar el estado Verificar el root bridge Versin del stp * por defecto esta en rstp. show stp show stp instance config stp version rstp

Designated Root Bridge: Bridge: Es la direccin MAC del root bridge. bridge. Regional Root Bridge: Bridge: Es la direccin MAC del swich local. local.

Laboratorio N 4 - Protocolo Spanning Tree Eleccin del Root Bridge (Prioridad) El root bridge debe ser el switch ms potente y aquel que este ms centrado en la estructura de la red, nunca un switch de acceso.

Configuracin
Cambiar prioridad config stp priority 4096 instance_id 0

DGSDGS-3627G config stp priority 4096 instance_id 0 DGSDGS-3650 config stp priority 8192 instance_id 0 DGSDGS-3620 config stp priority 8192 instance_id 0

Laboratorio N 4 - Protocolo Spanning Tree

Designated Root Bridge: Se observa el cambio en la prioridad del root bridge a---a---->4096 ---->4096 Regional Root Bridge: Se observa el cambio en la prioridad del switch local a ----->8192 ----->8192

Laboratorio N 4 - Protocolo Spanning Tree

Comandos:
Verificacin de puertos show stp ports 20-21

Laboratorio N 4 - Protocolo Spanning Tree

Laboratorio N 4 - Protocolo Spanning Tree Puertos Edge : puertos finales que no transmiten paquetes BPDU.

Comandos:
Configuracin: DGS#1 DGS-3627G config stp ports 11-19 edge true DGS#2 DGS-3650 config stp ports 11-19 edge true DGS#3 DGS-3650 config stp ports 11-19 edge true Puertos edge config stp ports 9 edge true

Laboratorio N 5 - RIP Equipos: DGSDGS-3637G DGSDGS-3650 DGSDGS-3620 PC1 PC1V10 PC2PC2- V20 PC3 V40 PC4 V10 PC5 V20 PC6 V30 PC7 V10 PC8 V30 PC9 V40 Vlan V10 Vlan V20 Vlan V30 Vlan V40

Laboratorio N 5 - RIP

Comandos:
Habilitar RIP Habilitar las interfaces que se conectarn entre los switches enable rip config rip ipif net1 tx_mode v2_only rx_mode v2_only state enabled

DGSDGS-3627G
config vlan default delete 11-24 create vlan V10 tag 10 config vlan V10 add untagged 11 -8 create ipif net1 192.168.10.2/24 V10 state enabled create vlan V20 tag 20 config vlan V20 add untagged 99-16 create ipif net4 192.168.20.1/24 V20 state enabled create vlan V40 tag 40 config vlan V40 add untagged 1717-24 create ipif net5 192.168.40.1/24 V40 state enabled enable rip config rip all state enabled config rip ipif net1 tx_mode v2_only rx_mode v2_only state enabled

Configuracin:
DGSDGS-3650
config vlan default delete 11-24 create vlan V10 tag 10 Verificacin de RIP config vlan V10 add untagged 11 -8 create ipif net1 192.168.10.2/24 V10 state enabled create vlan V20 tag 20 config vlan V20 add untagged 99-16 create ipif net2 192.168.20.2/24 V20 state enabled create vlan V30 tag 30 config vlan V30 add untagged 1717-24 create ipif net3 192.168.30.1/24 V30 state enable enable rip config rip all state enabled config rip ipif net1 tx_mode v2_only rx_mode v2_only state enabled

Laboratorio N 5 - RIP

Comandos:

show iproute

Configuracin:
DGSDGS-3620
config vlan default delete 11-24 create vlan V10 tag 10 config vlan V10 add untagged 11-8 create ipif net1 192.168.10.3/24 V10 state enabled create vlan V30 tag 30 config vlan V30 add untagged 1717-24 create ipif net3 192.168.30.2/24 V30 state enable create vlan V40 tag 40 config vlan V40 add untagged 99-16 create ipif net2 192.168.40.2/24 V40 state enabled enable rip config rip all state enabled config rip ipif net1 tx_mode v2_only rx_mode v2_only state enabled

Laboratorio N 5 - RIP

Verificacin: PC2 PC5

Laboratorio N 5 - RIP

Verificacin: PC3PC3-PC6

Laboratorio N 5 - RIP

Verificacin:

Laboratorio N 6 - LACP

Equipos: DGSDGS-31203120-24PC DGSDGS-31203120-48PC DGSDGS-3650 PC TFTP - V30 IP 192.168.30.10 PC V10 IP 192.168.10.10

Laboratorio N 6 - LACP

Comandos
Creacin del Link Aggregation Group Seleccin de los miembros del Link Aggregation Configuracin del algoritmo *Algoritmos create link_aggregation group_id 1 type lacp config link_aggregation group_id 1 master_port 20 ports 20-21 state enabled 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) config lacp ports 20-21 mode active

Activar los puertos del LACP

Laboratorio N 6 - LACP Configuraciones:


DGSDGS-3627 create link_aggregation group_id 1 type lacp create link_aggregation group_id 2 type lacp config link_aggregation algorithm mac_destination 20-21 state enabled config link_aggregation group_id 1 master_port 20 ports 20 22-23 state enabled config link_aggregation group_id 2 master_port 22 ports 22 config lacp_ports 2020-23 mode active DGSDGS-3650 create link_aggregation group_id 1 type lacp config link_aggregation algorithm mac_source 20-21 state enabled config link_aggregation group_id 1 master_port 20 ports 20 config lacp_ports 2020-21 mode active DGSDGS-3620 create link_aggregation group_id 2 type lacp config link_aggregation algorithm mac_source config link_aggregation group_id 2 master_port 20 ports 2020-21 state enabled config lacp_ports 2020-21 mode active

Laboratorio N 6 - LACP

Laboratorio N 6 - LACP Verificacin:

Comandos:
Verificacin de uso de puertos show utilization ports

Laboratorio N 7 - Stack

Equipos: DGSDGS-3650 DGSDGS-3627

Laboratorio N 7 - Stacking

Comandos:
config stacking_mode enable config stacking force_master_role state enable Habilita la configuracin en Stack. Habilita al switch con rol de Maestro.

Configuracin:
DGSDGS-3650 config stacking_mode enable config stacking force_master_role state enable config vlan default delete 1:11:1-1:20,2:11:20,2:1-2:20 create vlan V10 tag 10 create vlan V20 tag 20 create vlan V30 tag 30 config vlan V10 add untagged 1:11:1-1:5,2:11:5,2:1-2:5 config vlan V20 add untagged 1:61:6-1:10,2:61:10,2:6-2:10 config vlan V30 add untagged 1:111:11-1:15,2:111:15,2:11-2:15 DGSDGS-3627 config stacking_mode enable

Laboratorio N 7 - Stacking Verificacin:

Comandos:
show stackin_mode show stack_information Indica si modo Stack esta habilitado. Muestra la tabla de informacin del stack.

Laboratorio N 7 - Stacking Verificacin:

Vous aimerez peut-être aussi