Beruflich Dokumente
Kultur Dokumente
Configuración
L2 Básica
Agenda
A. El comando
show port {<portlist>} info
permite ver la configuración de una puerta
* Summit1iTx:38 # sh po 1-6 inf
Port Diag Flags Link Link Num Num Num Jumbo QOS Load
State UPs STP VLAN Proto Size Profile Master
1 P e-lm------ ready 0 0 1 1 9216 1 p
2 P e-lm------ ready 0 0 0 1 9216 1 p
3 P e-lm------ ready 0 0 0 1 9216 1 p
4 P e--m------ active 1 0 2 4 9216
5 P e--m------ ready 0 0 2 4 9216
6 P e--m------ ready 0 0 2 4 9216
A. El comando
show port {<portlist>} configuration
permite ver el resultado de la autonegociación de una puerta
A. Los comandos
show port {<portlist>} rxerrors
show port {<portlist>} txerrors
show port {<portlist>} collisions
muestran contadores de errores y colisiones.
B. Los comandos
show port {<portlist>} utilization
show port {<portlist>} packet
show port {<portlist>} stats
muestran contadores de utilización pico y promedio, de
cantidades de paquetes transmitidos (agrupados por tamaño),
y estadísticas sobre paquetes y bytes unicast transmitidos y
sobre paquetes y bytes broadcast, unicast y multicast
recibidos.
Laboratorio 1
Laboratorio 1
Load Sharing y Redundant Link
Objetivo
B. Aprender a configurar enlaces múltiples mediante Load Sharing
C. Aprender a configurar enlaces redundantes mediante
Redundant PHY
D. Aprender a configurar enlaces múltiples redundantes
Laboratorio 1-A
Load Sharing
Laboratorio 1-B
Redundant Link
Laboratorio 1-C
Load Sharing y Redundant Link
VLANs
L2 Switching
La VLAN Default
VLAN Default
L2 Switching
Tipos de VLANs
C
Ethernet-encoded TPID 0x8100 F
I
802.1p VLAN ID
3 bits 12 bits
Tag Protocol Identifier (TPID) Tag Control Information (TCI) Format
L2 Switching
Port Tagging
VLAN A
VLAN B
VLAN C
L2 Switching
Crear VLANs Por Puerto
VLAN A
VLAN B
VLAN C
L2 Switching
Crear VLANs 802.1Q
Summit2
B lu e P r o t o c o l
VLAN
R e d P ro to c o l
VLAN
L2 Switching
Por Protocolo (cont.)
A. El comando
show vlan
permite ver la configuración de todas las vlans definidas en el
switch
A. El comando
show <vlan_name>
permite ver información detallada de una determinada VLAN
* Summit1iTx:21 # sh v-nb
VLAN Interface[4-208] with name "v-nb" created by user
Tagging: Untagged (Internal tag 4092)
Priority: 802.1P Priority 0
STPD: None
Protocol: netbios = LLC:f0f0 LLC:f0f1
Loopback: Disable
Rate Shape: Disable
QosProfile:QP1
Ports: 3. (Number of active ports=0)
Untag: 4 5 6
L2 Switching
Troubleshooting (cont.)
A. El comando
show vlan stat vlan <vlan-name> vlan
<vlan_name> vlan <vlan-name> vlan <vlan_name>
muestran estadísticas sobre paquetes broadcast, unicast y
multicast transmitidos y recibidos en hasta 4 VLANs.
Objetivo
B. Aprender a crear y configurar VLANs por puerto
C. Aprender a crear y configurar VLANs 802.1Q
D. Aprender a crear y configurar VLANs por protocolo
E. Aprender a propagar VLANs a través de múltiples switches
Laboratorio 2-A
VLANs Por Puerto
Unconfigure switch V1
Create vlan v1 V2
Create vlan v2 V3
Create vlan v3
Config v1 add port <portlist> untagged
Config v2 add port <portlist> untagged
Config v3 add port <portlist> untagged
Save
Show vlan
Show vlan detail
Show vlan stat vlan v1 vlan v2 vlan v3
Show v1
Show v2
Show v3
Laboratorio 2-B
VLANs 802.1Q
Create vlan v2 B lu e P r o t o c o l
VLAN
Config v1 protocol ip R e d P ro to c o l
Config v2 protocol netbios VLAN
Prioridades
L2 Switching
Prioridades
VLAN A
VLAN B
Troubleshooting
L2 Switching
Troubleshooting
A. El comando
show stp
permite ver los dominios de STP definidos en el
switch
* Summit1iTx:71 # sh stp
Name Tag Flags Ports Bridge ID Designated Root Rt Port Rt Cost
s0 0000 E----- 10 8000000130f37120 8000000130086300 8 4
Si son iguales,
este switch es
el Root Bridge
L2 Switching
Troubleshooting
A. El comando
show stp <stpd_name>
permite ver la configuración detallada de un dominio
de STP
* Summit1iTx:72 # sh s0
Stpd: s0 Stp: ENABLED Number of Ports: 10
Rapid Root Failover: Disabled
802.1Q Tag: (none)
Ports: 1,2,3,4,5,6,7,8 Si son iguales,
Active Vlans: Default este switch es
Bridge Priority: 32768
BridgeID: 80:00:00:01:30:f3:71:20 el Root Bridge
Designated root: 80:00:00:01:30:08:63:00
RootPathCost: 4 Root Port: 8
MaxAge: 20s HelloTime: 2s ForwardDelay: 15s
CfgBrMaxAge: 20s CfgBrHelloTime: 2s CfgBrForwardDelay: 15s
Topology Change Time: 35s Hold time: 1s
Topology Change Detected: FALSE Topology Change: FALSE
Number of Topology Changes: 1
Time Since Last Topology Change: 1448s
L2 Switching
Troubleshooting
A. El comando
show stp <stpd_name> ports
permite ver el estado de los puertos
* Summit1iTx:75 # sh s0 po
Port Mode State Cost Flags Priority Port ID Designated Bridge
1 802.1D DISABLED 4 e---- 16 16385 80:00:00:01:30:08:63:00
2 802.1D DISABLED 4 e---- 16 16386 80:00:00:01:30:08:63:00
3 802.1D DISABLED 4 e---- 16 16387 80:00:00:01:30:08:63:00
4 802.1D DISABLED 4 e---- 16 16388 80:00:00:01:30:08:63:00
5 802.1D DISABLED 4 e---- 16 16389 80:00:00:01:30:08:63:00
6 802.1D DISABLED 4 e---- 16 16390 80:00:00:01:30:08:63:00
7 802.1D BLOCKING 4 e-A-- 16 16391 80:00:00:01:30:08:63:00
8 802.1D FORWARDING 4 e-R-- 16 16392 80:00:00:01:30:08:63:00
Total Ports: 8
A. El comando
show stp <stpd_name> ports <portlist>
permite ver el estado de los puertos
* Summit1iTx:75 # sh s0 po 7
Stpd: s0 Port: 7 PortId: 4007 Stp: ENABLED Path Cost: 4
Port State: FORWARDING Topology Change Ack: FALSE
Port Priority: 16
Designated Root: 80:00:00:01:30:f2:d9:c0 Designated Cost: 0
Designated Bridge: 80:00:00:01:30:f2:d9:c0 Designated Port Id: 2031
Este es el
estado del
puerto
Laboratorio 3
Laboratorio 3
Spanning Tree
Objetivo
B. Aprender a habilitar Spanning Tree.
C. Aprender a configurar prioridades y costos
D. Aprender a quitar VLANs de STP
Laboratorio 3-A
Spanning Tree
VLAN V2
VLAN Default
¡ Fin !