Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Service
Module Objectives
Upon successful completion of this module, the student will be able:
• Create a basic QoS policy
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).
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.
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)
Egress Queue 4
CIR=10000
PIR=20000
Internet
2. Display the settings for the default SAP ingress and network policies.
#------------------------------------------
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
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>config>qos>sap-ingress>queue$ back ↵
SR>config>qos>sap-ingress# info ↵
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$ description
www_ingress_filter ↵
Note: use IP criteria to identify the web traffic going to a web server.
SR>config>qos>sap-ingress>ip-criteria>entry$ info ↵
description "www_ingress_filter"
match protocol 6
dst-port eq 80
exit
action
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 ↵
SR>config>qos>sap-ingress# info ↵
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 ↵
SR>config>qos>sap-ingress# fc be create ↵
SR>config>qos>sap-ingress>fc# queue 2 ↵
SR>config>qos>sap-ingress>fc# back ↵
SR>config>qos>sap-ingress# info ↵
SR>conf>qos>sap-egress>queue$ back ↵
SR>conf>qos>sap-egress$ fc be create ↵
SR>conf>qos>sap-egress>fc$ queue 4 ↵
7. Apply your SAP policies to the SAP on port 1/1/1/ for VPLS Service XXX.
SR>config>service>vpls>sap# exit ↵
SR>config>service>vpls# info ↵
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>config>qos>network$ info ↵