Sei sulla pagina 1di 14

Section 5 Introduction to Quality of

Service

Module 2 Lab - Basic QoS Configuration


Alcatel 7450 Implementation R2.0 Alcatel University

7450 ESS Implementation R2.0

Basic QoS Lab All rights reserved © 2004, Alcatel

Section 5 Module 1 Lab - Basic QoS Configuration Page 2


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 3


Alcatel 7450 Implementation R2.0 Alcatel University

Basic Quality of Service 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 4


Alcatel 7450 Implementation R2.0 Alcatel University

QoS Lab

(BE in-profile)
Be in-profile lsp-exp-in-profile 5
CIR=10000
Web Traffic PIR=20000
Be out-of-profile lsp-exp-out-profile 0
FC=Be Queue 2 (Be out-of-profile default)

SAP Network Egress Port

Port 1/1/1 FC=Ef Queue 3


Non-Web CIR=0
Traffic
PIR=Max

Egress Queue 4
CIR=10000
PIR=20000
Internet

Basic QoS Lab All rights reserved © 2004, Alcatel

Section 5 Module 1 Lab - Basic QoS Configuration Page 5


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 ↵

description "Web Traffic Ingress QoS Policy"


queue 1 create
exit
queue 11 multipoint create
exit

Section 5 Module 1 Lab - Basic QoS Configuration Page 6


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 ↵

description "Web Traffic Ingress QoS Policy"


queue 1 create
exit
queue 2 create
exit
queue 3 create
exit
queue 11 multipoint create
exit

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 7


Alcatel 7450 Implementation R2.0 Alcatel University

SR>config>qos>sap-ingress>ip-criteria>entry$ info ↵

description "www_ingress_filter"
match protocol 6
dst-port eq 80
exit
action

Note: mark all ingress web traffic as best effort.

SR>config>qos>sap-ingress>ip-criteria>entry$ action fc be ↵

SR>config>qos>sap-ingress>ip-criteria>entry$ info ↵

description "www_ingress_filter"
match protocol 6
dst-port eq 80
exit
action fc 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 8


Alcatel 7450 Implementation R2.0 Alcatel University

SR>config>qos>sap-ingress# info ↵

description "Web Traffic QoS Ingress Policy"


queue 1 create
exit
queue 2 create
exit
queue 2 create
exit
queue 11 multipoint create
exit
ip-criteria
entry 10 create
description "www_ingress"
match protocol 6
dst-port eq 80
exit
action fc be
exit
exit
default-fc 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 9


Alcatel 7450 Implementation R2.0 Alcatel University

description "Web Traffic QoS Ingress Policy"


queue 1 create
exit
queue 2 create
exit
queue 2 create
exit
queue 11 multipoint create
exit
fc ef create
queue 3
exit
ip-criteria
entry 10 create
description "www_ingress"
match protocol 6
dst-port eq 80
exit
action fc be
exit
exit
default-fc 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 10


Alcatel 7450 Implementation R2.0 Alcatel University

SR>config>qos>sap-ingress# info ↵

description "Web Traffic QoS Ingress Policy"


queue 1 create
exit
queue 2 create
exit
queue 3 create
exit
queue 11 multipoint create
exit
fc be create
queue 2
exit
fc ef create
queue 3
exit
ip-criteria
entry 10 create
description "www_ingress"
match protocol 6
dst-port eq 80
exit
action fc be
exit
exit
default-fc 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 11


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 ↵

description "VPLS XXX"


stp
no shutdown
exit
sap 1/1/1 create
ingress
qos 10
egress
qos 11
exit
exit
mesh-sdp x:xxx create
exit
mesh-sdp x:xxx create
exit
mesh-sdp x:xxx create
exit
no shutdown

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 12


Alcatel 7450 Implementation R2.0 Alcatel University

SR>config>qos>network$ info ↵

description "Remark In-Profile Web Traffic"


ingress
exit
egress
fc be
lsp-exp-in-profile 5
exit
exit

Section 5 Module 1 Lab - Basic QoS Configuration Page 13


Alcatel 7450 Implementation R2.0 Alcatel University

This page left blank intentionally

Basic QoS Lab All rights reserved © 2004, Alcatel

Section 5 Module 1 Lab - Basic QoS Configuration Page 14

Potrebbero piacerti anche