Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Extreme Networks B5 Configuracion QoS Basica
Extreme Networks B5 Configuracion QoS Basica
Configuración
QoS
Básica
Agenda
G. Perfiles de QoS
H. Garantía de Ancho de Banda
I. Output Rate-Limiting
J. Input Rate-Limiting
K. Laboratorio 2
Políticas de
Calidad de Servicio
QoS
Políticas de Calidad de Servicio
================================================================================
A. El comando
show qosprofile <qosprofile>
permite ver las puertas físicas, VLANs y MAC
addresses que están configurados para usar ese perfil
* Summit1iTx:57 # sh qp2
Qos Profile(1): QP2 Priority: LowHi Min Bw: 0 MaxBw: 100 MinQBuf: 0%
MaxQBuf: 0K
Ports: 5
Vlans: d2
Mac Addreses:
{00:01:02:03:04:05 Default(1)}{00:01:02:03:04:08 Servers(4094)}
MAC MAC
Address Address
Routing IP
Troubleshooting
A. El comando
show ports info
permite ver el perfil asignado a la puerta
* Summit1iTx:67 # sh po inf
Port Diag Flags Link Link Num Num Num Jumbo QOS Load
State UPs STP VLAN Proto Size Profile Master
1 P e--mq----- active 1 0 1 1 9216
2 P e--mq----- active 1 0 1 1 9216
3 P e--m------ ready 0 0 1 1 9216
4 P e--m------ active 2 0 1 1 9216
5 P e--m------ ready 0 0 1 1 9216 QP2
6 P e--mq----- ready 0 0 1 1 9216
7 P e--m------ ready 0 0 0 0 9216
8 P e--m------ ready 0 0 1 1 9216
Routing IP
Troubleshooting
A. El comando
show port <port> info detail
da diversas informaciones sobre QoS
Perfil
asignado a la
* Summit1iTx:61 # show ports 5 info detail puerta
QoS profile: QP2 configured by user
Queue: Q0 using QP1 MinBw=0% MaxBw=40% Pri=0. Parámetros
Q1 using QP2 MinBw=0% MaxBw=100% Pri=1. de los
Q2 using QP3 MinBw=0% MaxBw=100% Pri=2. perfiles
Q3 using QP4 MinBw=0% MaxBw=100% Pri=3.
Q4 using QP5 MinBw=0% MaxBw=100% Pri=4. DiffServ
Q5 using QP6 MinBw=0% MaxBw=100% Pri=5. Examination
Q6 using QP7 MinBw=0% MaxBw=100% Pri=6.
Q7 using QP8 MinBw=0% MaxBw=100% Pri=7. Mapeo de
Ingress IPTOS: Examination is disabled DiffServ a
IPTOS->QOSProfile mapping: QoS
00->QP1 01->QP1 02->QP1 03->QP1 04->QP1 05->QP1 06->QP1 07->QP1
08->QP2 09->QP2 10->QP2 11->QP2 12->QP2 13->QP2 14->QP2 15->QP2
DiffServ
16->QP3 17->QP3 18->QP3 19->QP3 20->QP3 21->QP3 22->QP3 23->QP3
Replacement
24->QP4 25->QP4 26->QP4 27->QP4 28->QP4 29->QP4 30->QP4 31->QP4
32->QP5 33->QP5 34->QP5 35->QP5 36->QP5 37->QP5 38->QP5 39->QP5
40->QP6 41->QP6 42->QP6 43->QP6 44->QP6 45->QP6 46->QP6 47->QP6 Mapeo de
48->QP7 49->QP7 50->QP7 51->QP7 52->QP7 53->QP7 54->QP7 55->QP7 802.1p a
56->QP8 57->QP8 58->QP8 59->QP8 60->QP8 61->QP8 62->QP8 63->QP8 DiffServ
Egress IPTOS: Replacement is disabled
Mapeo de
802.1p Pri->IPTOS mapping:
802.1p a
0->00 1->08 2->16 3->24 4->32 5->40 6->48 7->56
DiffServ
802.1p: Disabled marking of priority field based on queue number
Routing IP
Troubleshooting
A. El comando
show vlan <name>
muestra el perfil asignado a la VLAN
* Summit1iTx:63 # sh servers
VLAN Interface[2-202] with name "servers" created by user
Tagging: Untagged (Internal tag 4094)
Priority: 802.1P Priority 0
IP: 10.1.0.1/255.255.255.0
STPD: None
Protocol: Match all unfiltered protocols.
Loopback: Disable
Rate Shape: Disable
QosProfile:QP1
Ports: 1. (Number of active ports=0)
Untag: 6
Routing IP
Troubleshooting
A. El comando
show dot1p
muestra la tabla de equivalencias entre prioridades
802.1p y perfiles QoS
* Summit1iTx:66 # sh dot1p
802.1p Priority Value QOS Profile
0 QP1
1 QP2
2 QP3
3 QP4
4 QP5
5 QP6
6 QP7
7 QP8
Laboratorio 1
Laboratorio 1
Access Control Lists
Objetivo
A. Aprender a agrupar tráfico mediante ACLs
B. Aprender a agrupar tráfico según MAC address de destino
C. Aprender a agrupar tráfico según puerta de ingreso o VLAN
D. Aprender a marcar tráfico y a agrupar tráfico según Clase de
Servicio explícita
Laboratorio 1-A
Agrupamiento Por ACLs
VLAN Servers
10.1.0.1/24
VLAN D2 VLAN D1
10.0.2.1/24 10.0.1.1/24
Laboratorio 1-A
Agrupamiento Por ACLs
Unconfigure switch
Config default del port all
Create vlan servers
Create vlan d1
Create vlan d2
Config servers ip 10.1.0.1/24
Config d1 ip 10.0.1.1/24
Config d2 ip 10.0.2.1/24
Config servers add ports <portlist>
Config d1 add ports <portlist>
Config d2 add ports <portlist>
Enable ipforward
# Asignar al tráfico Telnet el perfil de QoS QP4
create access-list tel0 tcp dest any ip-port 23 source any ip-port any
permit qp4 ports any precedence 100
create access-list tel1 tcp dest any ip-port any source any ip-port 23
permit qp4 ports any precedence 200
# Asignar al tráfico HTTP el perfil QP5
create access-list http0 tcp dest any ip-port 80 source any ip-port any
permit qp5 ports any precedence 300
create access-list http1 tcp dest any ip-port any source any ip-port 80
permit qp5 ports any precedence 400
# Asignar el resto del tráfico al perfil QP1
create access-list allqp1 ip dest any source any permit qp1 ports any
Laboratorio 1-B
Agrupamiento Por MAC Address
Unconfigure switch
Config default del port all
Create vlan servers
Config servers add ports all
# Asignar a la MAC address del server el perfil de QoS QP7
create fdbentry xx:xx:xx:xx:xx:xx vlan servers dynamic qosprofile
qp7
Laboratorio 1-C
Agrupamiento Por Puertas o VLANs
Unconfigure switch
Config default del port all
Create vlan servers
Config servers add ports all
# Asignar el tráfico de la VLAN servers al perfil de QoS QP7
config vlan servers qosprofile qp7
# Asignar el tráfico de una determinada puerta física al perfil de QoS QP6
config ports <Y> qosprofile qp6
Laboratorio 1-D
Marcado y Agrupamiento Por Clases de
Servicio Explícitas
A. Conectar dos switches (S1 y S2 ) entre sí a través de la puerta
C.
B. Crear en ambos una VLAN Servers y asignarle las puertas C,
X, Y y Z de cada switch
C. En el switch S1 asignar el tráfico de la VLAN servers al perfil
de QoS QP7 y habilitar el marcado de tráfico con 802.1p.
D. En el switch S2 asignar el tráfico entrante por la puerta C con
prioridad 802.1p = 6 al perfil de QoS QP3.
E. Conectar una PC a la puerta X del switch S1 y un servidor de
Telnet a la puerta C del switch S2.
F. Generar tráfico entre ambos switches y verificar que es
asignado correctamente a los perfiles indicados.
G. En el switch S1 habilitar el marcado de tráfico con Diffserv.
H. En el switch S2 asignar el tráfico entrante por la puerta C con
DiffServ Code Point = 48 al perfil de QoS QP2.
I. Generar tráfico entre ambos switches y verificar que es
asignado correctamente a los perfiles indicados.
Laboratorio 1-D
Marcado y Agrupamiento Por 802.1p
Switch S1
Unconfigure switch
Config default del port all
Create vlan servers
Config servers tag 100
Config servers add ports <C> tagged
Config servers add ports all
# Asignar el tráfico de la VLAN servers al perfil de QoS QP7
config vlan servers qosprofile qp7
# Habilitar marcado de tráfico con 802.1p en la puerta C
Enable dot1p replacement ports <C>
Switch S2
Unconfigure switch
Config default del port all
Create vlan servers
Config servers tag 100
Config servers add ports <C> tagged
Config servers add ports all
# Asignar el tráfico entrante con prioridad 802.1p=6 al perfil de QoS QP3
config dot1p type dot1p_priority 6 qosprofile qp3
Laboratorio 1-D
Marcado y Agrupamiento Por DiffServ
Switch S1
# Configurar el valor de DiffServ Code Point para la puerta C
conf diffserv replacement priority vpri 6 code-point 60 ports <C>
# Habilitar marcado de tráfico con DiffServ en la puerta C
Enable diffserv replacement ports <C>
Switch S2
# Asignar el tráfico entrante por la puerta C con código diffserv=60 al
perfil de QoS QP2
Config diffserv examination code-point 60 qosprofile qp2 ports <C>
# Habilitar el exámen de DiffServ en la puerta C
Enable diffserv examination ports <C>
Perfiles
de
QoS
QoS
Perfiles de QoS
Objetivo
A. Aprender a garantizar ancho de banda en un enlace
B. Aprender a limitar el ancho de banda de determinado tráfico en
la salida al switch
C. Aprender a limitar el ancho de banda de determinado tráfico a
la entrada del switch
Laboratorio 2-A
Garantía de Ancho de Banda
Switch S2
Unconfigure switch
Config default del port all
Create vlan v1
Config v1 add ports <X>, <Y>, <Z>
Config ports <Z> auto off speed 10 duplex full
# Asignar el tráfico de la puerta física X al perfil de QoS QP5
config ports <X> qosprofile qp5
# Asignar el tráfico de la puerta física Y al perfil de QoS QP6
config ports <Y> qosprofile qp6
# Asignar al perfil de QoS QP5 de la puerta Z un MinBW de 80%
config qosprofile qp5 minbw 80% maxbw 100 % priority medium <Z>
Laboratorio 2-B
Output Rate-Shaping
Switch S2
Unconfigure switch
Config default del port all
Create vlan v1
Config v1 add ports <X>, <Y>, <Z>
Config ports <Z> auto off speed 10 duplex full
# Asignar el tráfico de la puerta física X al perfil de QoS QP5
config ports <X> qosprofile qp5
# Asignar el tráfico de la puerta física Y al perfil de QoS QP6
config ports <Y> qosprofile qp6
# Asignar al perfil de QoS QP6 de la puerta Z un MaxBW de 10%
config qosprofile qp6 minbw 0% maxbw 10 % priority mediumhi <Z>
Laboratorio 2-C
Input Rate-Shaping
Switch S1 Switch S2
Unconfigure switch Unconfigure switch
Config default del port all Config default del port all
Create vlan v1 Create vlan v1
Config v1 add ports <X>, <Z> Config v1 add ports <X>, <Z>
Config ports <W> auto off speed 10 duplex Config ports <W> auto off speed 10 duplex
full full
Config ports <Z> auto off speed 10 duplex Config ports <Z> auto off speed 10 duplex
full full
# Asignar el tráfico de la puerta física # Asignar el tráfico de la puerta física
X al perfil de QoS QP5 X al perfil de QoS QP5
config ports <X> qosprofile qp5 config ports <X> qosprofile qp5
# Agregar a la VLAN V1 una puerta W de # Agregar a la VLAN V1 una puerta W de
loopback loopback
Config v1 add ports <W> loopback-vid 1000 Config v1 add ports <W> loopback-vid 1000
# Agregar a la VLAN V1 una puerta Y rate- # Agregar a la VLAN V1 una puerta Y rate-
shaped shaped
config v1 add ports <Y> rate-shaped config v1 add ports <Y> rate-shaped
# Asignar el tráfico de la puerta física # Asignar el tráfico de la puerta física
Y al perfil de QoS QP6 Y al perfil de QoS QP6
config ports <Y> qosprofile qp6 config ports <Y> qosprofile qp6
# Asignar al perfil de QoS QP6 de la # Asignar al perfil de QoS QP6 de la
puerta W un MaxBW de 10% puerta W un MaxBW de 10%
config qosprofile qp6 maxbw 10% <W> config qosprofile qp6 maxbw 10% <W>
¡ Fin !