Alcatel Lab Basic QoS Configuration
Alcatel Lab Basic QoS Configuration
Service
Modul e 2 Lab - Basic QoS Configuration
Section 5 Module 1 Lab - Basic QoS Configuration Page 2
Alcatel 7450 Implementation R2.0 Alcatel University
All rights reserved 2004, Alcatel Basic QoS Lab
7450 ESS Implementation R2.0
Section 5 Module 1 Lab - Basic QoS Configuration Page 3
Alcatel 7450 Implementation R2.0 Alcatel University
Module Objectives
Upon successful completion of this module, the student will be able:
Create a basic QoS policy
Section 5 Module 1 Lab - Basic QoS Configuration Page 4
Alcatel 7450 Implementation R2.0 Alcatel University
Basic Quality of Servi ce Lab
Configure QoS policies to achieve the following:
Most traffic ingressing on SAP 1/1/1 on VPLS Service XXX should pass through the 7750
unshaped and enter the MPLS network core with a forwarding class of EF.
Web traffic (going from the customer to the web needs to be shaped to a maximum rate of
20Mb/s. The first 10Mb/s of Web traffic should egress the node into the MPLS core network
with a QoS FC =BE in-profile, the remainder of the Web traffic should exit with FC =BE
out-ot-profile.
The following steps assume a working VPLS Service (ID of XXX) on your node.
1. Display the settings for SAP QoS ingress policy 1 (default policy).
SR# show qos sap-ingress 1
Note: The default qos ingress policy classifies all incoming traffic as FC BE regardless of
the settings of any DSCP, 802.1p bits etc.
Sap ingress traffic can be classified into one of eight internal forwarding classes (FC)
based on several match criteria (MAC, 802.1p, or L3-L7).
All traffic is marked internally as having come from a SAP or network port.
Section 5 Module 1 Lab - Basic QoS Configuration Page 5
Alcatel 7450 Implementation R2.0 Alcatel University
All rights reserved 2004, Alcatel Basic QoS Lab
QoS Lab
SAP
Queue 2
Queue 3
FC=Be
FC=Ef
CIR=10000
PIR=20000
CIR=0
PIR=Max
Be in-profile
Be out-of-profile
lsp-exp-in-profile 5
lsp-exp-out-profile 0
Network Egress Port
Port 1/1/1
Internet
Web Traffic
Non-Web
Traffic
(BE in-profile)
(Be out-of-profile default)
Egress Queue 4
CIR=10000
PIR=20000
Section 5 Module 1 Lab - Basic QoS Configuration Page 6
Alcatel 7450 Implementation R2.0 Alcatel University
2. Display the settings for the default SAP ingress and network policies.
SR# configure qos
SR>config>qos# info detail
#------------------------------------------
echo "QoS Policy Configuration"
#------------------------------------------
sap-ingress 1 create
description "Default SAP ingress QoS policy."
scope template
queue 1 auto-expedite create
no parent
adaptation-rule pir closest cir closest
rate max cir 0
mbs default
cbs default
high-prio-only default
exit
network 1 create
description "Default network QoS policy."
scope template
ingress
default-action fc be profile out
Note: By default all incoming traffic is classified as BE out-of-profile.
Default queue settings: PIR(rate) =MAX and CIR =0
3. Create a new SAP ingress policy, policy #10. The default SAP ingress QoS policy
(#1) has two queues associated with it, Queue 1 (unicast) and Queue 11
(multipoint). We will be creating two new queues, queues 2 and 3.
SR# configure qos sap-ingress 10 create
SR>config>qos>sap-ingress$ description Web Traffic Ingress QoS
Policy
SR>config>qos>sap-ingress$ info
descr i pt i on " Web Tr af f i c I ngr ess QoS Pol i cy"
queue 1 cr eat e
exi t
queue 11 mul t i poi nt cr eat e
exi t
Section 5 Module 1 Lab - Basic QoS Configuration Page 7
Alcatel 7450 Implementation R2.0 Alcatel University
4. Create new queues for your SAP ingress policy.
SR>config>qos>sap-ingress$ queue 2 create
SR>config>qos>sap-ingress>queue$ rate 20000 cir 10000
SR>config>qos>sap-ingress>queue$ back
SR>config>qos>sap-ingress$ queue 3 create
SR>config>qos>sap-ingress# info
descr i pt i on " Web Tr af f i c I ngr ess QoS Pol i cy"
queue 1 cr eat e
exi t
queue 2 cr eat e
exi t
queue 3 cr eat e
exi t
queue 11 mul t i poi nt cr eat e
exi t
5. Create a QoS traffic filter to separate incoming Web traffic from other traffic.
SR>config>qos>sap-ingress# ip-criteria
SR>config>qos>sap-ingress>ip-criteria# entry 10 create
SR>config>qos>sap-ingress>ip-criteria>entry$ description
www_ingress_filter
Note: use IP criteria to identify the web traffic going to a web server.
Note: Protocol 6 identifies TCP in the protocol field of the Ip header
Port 80 is HTTP at the application layer.
SR>config>qos>sap-ingress>ip-criteria>entry$ match protocol 6
dst-port eq 80
Section 5 Module 1 Lab - Basic QoS Configuration Page 8
Alcatel 7450 Implementation R2.0 Alcatel University
SR>config>qos>sap-ingress>ip-criteria>entry$ info
descr i pt i on " www_i ngr ess_f i l t er "
mat ch pr ot ocol 6
dst - por t eq 80
exi t
act i on
Note: mar k al l i ngr ess web t r af f i c as best ef f or t .
SR>config>qos>sap-ingress>ip-criteria>entry$ action fc be
SR>config>qos>sap-ingress>ip-criteria>entry$ info
descr i pt i on " www_i ngr ess_f i l t er "
mat ch pr ot ocol 6
dst - por t eq 80
exi t
act i on f c be
SR>config>qos>sap-ingress>ip-criteria# back
Note: set the default FC mapping for traffic that does not match your IP criteria for web
traffic.
SR>config>qos>sap-ingress# default-fc ef
Section 5 Module 1 Lab - Basic QoS Configuration Page 9
Alcatel 7450 Implementation R2.0 Alcatel University
SR>config>qos>sap-ingress# info
descr i pt i on " Web Tr af f i c QoS I ngr ess Pol i cy"
queue 1 cr eat e
exi t
queue 2 cr eat e
exi t
queue 2 cr eat e
exi t
queue 11 mul t i poi nt cr eat e
exi t
i p- cr i t er i a
ent r y 10 cr eat e
descr i pt i on " www_i ngr ess"
mat ch pr ot ocol 6
dst - por t eq 80
exi t
act i on f c be
exi t
exi t
def aul t - f c ef
6. Configure the FC to queue mappings.
SR>config>qos>sap-ingress# fc ef create
SR>config>qos>sap-ingress>fc# queue 3
SR>config>qos>sap-ingress>fc# back
SR>config>qos>sap-ingress# info
Section 5 Module 1 Lab - Basic QoS Configuration Page 10
Alcatel 7450 Implementation R2.0 Alcatel University
descr i pt i on " Web Tr af f i c QoS I ngr ess Pol i cy"
queue 1 cr eat e
exi t
queue 2 cr eat e
exi t
queue 2 cr eat e
exi t
queue 11 mul t i poi nt cr eat e
exi t
f c ef cr eat e
queue 3
exi t
i p- cr i t er i a
ent r y 10 cr eat e
descr i pt i on " www_i ngr ess"
mat ch pr ot ocol 6
dst - por t eq 80
exi t
act i on f c be
exi t
exi t
def aul t - f c ef
SR>config>qos>sap-ingress# fc be create
SR>config>qos>sap-ingress>fc# queue 2
SR>config>qos>sap-ingress>fc# back
Section 5 Module 1 Lab - Basic QoS Configuration Page 11
Alcatel 7450 Implementation R2.0 Alcatel University
SR>config>qos>sap-ingress# info
descr i pt i on " Web Tr af f i c QoS I ngr ess Pol i cy"
queue 1 cr eat e
exi t
queue 2 cr eat e
exi t
queue 3 cr eat e
exi t
queue 11 mul t i poi nt cr eat e
exi t
f c be cr eat e
queue 2
exi t
f c ef cr eat e
queue 3
exi t
i p- cr i t er i a
ent r y 10 cr eat e
descr i pt i on " www_i ngr ess"
mat ch pr ot ocol 6
dst - por t eq 80
exi t
act i on f c be
exi t
exi t
def aul t - f c ef
7. Create a SAP egress policy
SR#configure qos sap-egress 11 create
SR>conf>qos>sap-egress$ description QoS Egress Traffic
SR>conf>qos>sap-egress$ queue 4 create
SR>conf>qos>sap-egress>queue$ rate 20000 cir 10000
SR>conf>qos>sap-egress>queue$ back
SR>conf>qos>sap-egress$ fc be create
SR>conf>qos>sap-egress>fc$ queue 4
SR>conf>qos>sap-egress>fc$ exit all
Section 5 Module 1 Lab - Basic QoS Configuration Page 12
Alcatel 7450 Implementation R2.0 Alcatel University
7. Apply your SAP policies to the SAP on port 1/1/1/ for VPLS Service XXX.
SR# configure service vpls XXX
SR>config>service>vpls# sap 1/1/1
SR>config>service>vpls>sap# ingress qos 10
SR>config>service>vpls>sap# egress qos 11
SR>config>service>vpls>sap# exit
SR>config>service>vpls# info
descr i pt i on " VPLS XXX"
st p
no shut down
exi t
sap 1/ 1/ 1 cr eat e
i ngr ess
qos 10
egr ess
qos 11
exi t
exi t
mesh- sdp x: xxx cr eat e
exi t
mesh- sdp x: xxx cr eat e
exi t
mesh- sdp x: xxx cr eat e
exi t
no shut down
SR>config>service>vpls# exit all
8. Remap the in-profile Web traffic from the BE queue to an MPLS EXP value of 5 in
the MPLS header. This EXP value identifies in-profile Web traffic leaving the node
from Queue 2 on a network egress interface.
SR# configure qos network 10 create
SR>config>qos>network$ description Remark In-Profile Web
Traffic
SR>config>qos>network$ egress fc be lsp-exp-in-profile 5
Section 5 Module 1 Lab - Basic QoS Configuration Page 13
Alcatel 7450 Implementation R2.0 Alcatel University
SR>config>qos>network$ info
descr i pt i on " Remar k I n- Pr of i l e Web Tr af f i c"
i ngr ess
exi t
egr ess
f c be
l sp- exp- i n- pr of i l e 5
exi t
exi t
Section 5 Module 1 Lab - Basic QoS Configuration Page 14
Alcatel 7450 Implementation R2.0 Alcatel University
All rights reserved 2004, Alcatel Basic QoS Lab
This page left blank intentionally