Académique Documents
Professionnel Documents
Culture Documents
(LBD) LABORATORIO 4: STP LABORATORIO 5: RUTEO RIP LABORATORIO 6: LACP / PORT TRUNKING LABORATORIO 7: STACKING - PAB STACKING
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
Configuracin
Direccin IP del switch config ipif System ipaddress 192.168.1.1/24
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
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
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
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
DGS 1210
192.168.0.40
PC 192.168.0.5
192.168.0.30 192.168.0.20
TOPOLOGIA
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
DCS-942
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
Comandos
Verificar Loops Verificar estado de las interfaces show loopdetect ports 1-20 show ports
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
Verificacin:
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,.
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
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
Comandos:
Verificacin de puertos show stp ports 20-21
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
Laboratorio N 5 - RIP
Verificacin: PC3PC3-PC6
Laboratorio N 5 - RIP
Verificacin:
Laboratorio N 6 - LACP
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
Laboratorio N 6 - LACP
Comandos:
Verificacin de uso de puertos show utilization ports
Laboratorio N 7 - Stack
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
Comandos:
show stackin_mode show stack_information Indica si modo Stack esta habilitado. Muestra la tabla de informacin del stack.