Professional Documents
Culture Documents
Objective
• CLI
QoS on the IHUB – General
Fixed Egress
Ingress QOS Switch to
Port Queue
Policy Egress Port
Policy
Service Map Packet Apply /Service Egress Priority Map FC Buffer Acceptance Port Egress
Lookup To FC Egress Rate Limit mapping To Queue & Scheduling Rate Limiter
The following QoS features are supported in the IHub switch hardware:
4
Forwarding Classes (FCs)
FCs serve to aggregate group of flows with similar loss, latency, jitter and bandwidth
characteristics from many user traffic flows
Provides network elements with a method to weigh relative importance of one packet in
relation to another
Network Control
High 1 U
S
Expedited SAP E
R
(FCs)
High 2
Low 1 T
R
Assured SDP A
F
Low 2 F
I
BEST EFFORT C
5
SERVICE
QoS Ingress Policies – Which FC will be selected?
Network Control
High 1 U
S
Expedited SAP E
R
(FCs)
High 2
Low 1 T
R
Assured SDP A
F
Low 2 F
I
BEST EFFORT C
6
SERVICE
QoS Ingress Access Policy – How does it map?
Untagged-Frames:
The default dot1p marking will be used for selecting the forwarding class
Pre-marked Packets
If DSCP, IP Precedence and dot1p criteria defined then they will be evaluated in
the following order
1. DSCP
2. IP Precedence
3. Dot1p
If no match is found on the packet, then the default FC (best effort) is used
7
QoS Ingress Access Policy – FC Selection Example
High 1
Low 1 SAP
3-) DSCP = 36, p-bit =3
Assured
4-) un-marked (untagged) Packet
Low 2
If no match is found on the packet, then the default forwarding class is selected
9
QoS Egress Network Policy
The Label Switching Routers in the MPLS network use the experimental (EXP) bits of
the outer label to define the QoS handling. Therefore the ISAM offers the possibility
to configure the setting of these EXP bits
• A new policy where EXP value is derived from the FCs
o If a new policy is not defined, the default policy will be used by the service
When the traffic received from SAPs is classified and about to be forwarded on the
Pseudo Wire (SDP), the packet is handled as follows:
• The EXP bits of the inner label will be derived from the FC and in/out profile, based on the
QoS Egress Network Policy
• The EXP bits of the outer label will be set to the same value as the inner label in the
Pseudo-Wire
• When the network interface is defined as a tagged interface, the priority bits of the outer
VLAN tag are derived from the EXP bits. This mapping is fixed (See notes)
10
Marking the frames from SAPs?
SAP TO SAP
SAP TO SDP
11
QoS Egress Network Policy – LSP EXP Marking Example
IN PROFILE FLOW OUT PROFILE FLOW
EXPEDITED
HIGH 2
LOW 1
SDP - LSP EXP =2
- LSP EXP =0
ASSURED
LOW 2
BE
(FCs) Egress
QoS Policy
12
2 Egress Rate Limiting,
Mapping (Queuing) and Buffer Admission
13
Egress Rate Limiting Per Service
14
Egress Rate Limiting Per Service/Port – Color Marking
15
Egress Rate Limiting – What happens to “Green Packets”?
Rate
PBS
CBS
RED
PIR
YELLOW
YELLOW
CIR
time
1- Profile IN/OUT packets were colored green/yellow at FC selection due to applied Ingress QoS Policy
2- Coloring is Traffic Rate dependent and is used to identify which packet will be dropped first. Not only in
case of congestion but also during limitation of the rate itself
3- The color of the packet/frame can be changed in these cases
16
FC to Queue Mapping
17
Egress Queuing
The QoS policy that determines the order in which egress queues are served
Egress queue policies are applied per port
In ISAM R3.7.10/R4.0.02, the egress queue policy cannot be configured instead
a default policy applies to all ports
Network Control
High 1
Expedited
High 2
Low 1
Assured
(FCs)
Low 2
BEST EFFORT
18
Buffer Admission
The queue parameters can not be changed in R.4.0.02
For tail drop we have one parameter per color
• maximum queue size
For WRED we have three parameters per color
• start average queue filling level
• maximum average queue filling level
• maximum drop probability
The algorithm to accept or discard the packets into the egress queue is based on:
• The color of the frame: green, yellow or red
• The queue filling level
19
Egress Scheduling
(FCs)
Network Control
High 1
Expedited
High 2
Low 1
Assured
Low 2
BEST EFFORT
20
Egress Rate Limiting Per Port - Shaping
The egress rate limiting per port is also possible at port level.
The following can be configured:
• Rate
• Burst Size (optionally, by default 256MB)
21
3 Self Generated Policies (SGTs)
22
Self Generated QoS Policy
What? a QoS policy to define the DSCP value and dot1P bits for traffic
that is originated from the CPU of the NANT-D board
the default service SGT QoS policy 1 is applied by default:
DSCP = NC2
dot1P = 7
EXP = 7
23
4 Configuring QoS on the IHUB
24
QoS Ingress Access Policy – Create - AMS (1/2)
Network
Select NE
Infrastructure
QoS
Create
25
QoS Ingress Access Policy – Create - AMS (2/2)
Network
Scope:
Template / Exclusive
Select NE
Infrastructure
QoS
In: Green
the default p-bits value for
Out: Yellow untagged frames
26
QoS Ingress Access Policy – Create Rule - AMS (1/2)
Network
Select NE
Infrastructure
QoS
QoS Ingress
Access Policy
Add a FC and profile for a specific
QoS Ingress dot1p value
Access Policy # Create RULE: A received packet with a
p-bit 1 marking will select FC “Low1”
802.1p and will be marked as “Green”.
Create
Network
Select NE
Infrastructure
QoS
Add a FC and profile for a specific
dot1p value
QoS Ingress
Create RULE: A received packet
Access Policy with a p-bit 1 marking will select FC
“Low1” and will be marked as
QoS Ingress “Green” (In Profile = Green).
Access Policy #
802.1p
Create
28
QoS Ingress Access Policy – Apply to Service - AMS
Network
Select NE
Infrastructure
Layer 2/3
L2 Services/ L3 Services
29
QoS Ingress Access Policy - CLI
1 Create a policy:
configure qos-servicerouter service-ingress 10 create
2 Modify the default-action to desired values:
configure qos-servicerouter service-ingress 10 default-action fc be profile in
3 Add a FC and profile for a specific dot1p value:
configure qos-servicerouter service-ingress 10 dot1p 5 fc ef profile in
4 Configure the default p-bits value for untagged frames
configure qos-servicerouter service-ingress 10 untagged-dot1p 4
5 The following command associates ingress QoS policy 10 to VPLS service 5:
configure service vpls 5 ingress qos 10
30
QoS Ingress Policy – CLI - Show
31
QoS Ingress Network Policy – Create - AMS (1/2)
Network
Select NE
Infrastructure
QoS
QoS Ingress
Network Policy
Create
32
QoS Ingress Network Policy – Create - AMS (2/2)
Network
Scope:
Template / Exclusive
Select NE
Infrastructure
QoS
QoS Ingress
the default-action to
Network Policy desired values
Create
In: Green
the default p-bits value for
Out: Yellow untagged frames
33
QoS Ingress Network Policy – Create Rule - AMS (1/2)
Network
Select NE
Infrastructure
QoS
QoS Ingress
Network Policy
QoS Ingress
Network Policy #
LSP ExP
Create
34
QoS Ingress Network Policy – Create Rule - AMS (2/2)
Network
Select NE
Infrastructure
QoS
QoS Ingress
Network Policy
QoS Ingress
Network Policy #
LSP EXP
Create
Network
Select NE
Infrastructure
Layer 2
L2 Services
36
QoS Ingress Network Policy - CLI
1 Create a policy:
configure qos-servicerouter service-ingress-network 4 create
2 Modify the default-action to desired values:
configure qos-servicerouter service-ingress-network 4 default-action fc
be profile out
3 Add a FC and profile for a specific lsp-exp value:
configure qos-servicerouter service-ingress-network 4 lsp-exp 3 fc "be"
profile "in“
4 The following command associates ingress QoS policy 10 to VPLS service
5:
configure service vpls 5 ingress-network qos 4
37
QoS Egress Network Policy – Create - AMS (1/2)
Network
Select NE
Infrastructure
QoS
QoS Egress
Network Policy
Create
38
QoS Egress Network Policy – Create a FC Rule - AMS (2/2)
Network
Select NE
Infrastructure
QoS
QoS Egress
Network Policy
QoS Egress
Network Policy
Create
Forwarding Class
39
QoS Egress Network Policy – Apply to Service - AMS
Network
Select NE
Infrastructure
Layer 2
L2 Services
40
QoS Egress Network Policy - CLI
1 Create a policy:
configure qos-servicerouter service-egress-network 3 create
2 Marking lsp-exp bits “Creating Rules based on forwarding classes”:
configure qos-servicerouter service-egress-network 3 fc "be" lsp-exp-in-
profile 3
3 The following command associates ingress QoS policy 10 to VPLS service 5:
configure service vpls 5 egress-network qos 3
41
Copy QoS Policies - CLI
configure qos-servicerouter copy ?
It is not allowed to copy a policy to an existing policy unless the overwrite keyword is specified.
- When the overwrite keyword is not specified, a new destination policy is created.
If you want to edit a policy that is currently in use, use the following procedure:
• 3 Copy the unused policy ID back to the policy ID in use, while specifying the overwrite
keyword
42
Copy QoS Policies - AMS
Network
Select NE
Infrastructure
QoS
QoS Ingress
Access Policy
QoS Ingress
Access Policy #
It’s also possible to
Actions overwrite an existing one
Copy
43
Egress Rate Limiting Per Service - AMS
equipment
Select NE
Infrastructure
Layer 2/Layer 3
L2 Services/L3 Services
44
Egress Rate Limiting Per Service - AMS
47
Egress Rate Limiting Per Port - AMS
equipment
Select NE
SLOT NT
Ethernet Port #
48
Egress Rate Limiting Conf. on Services and Ports - CLI
49
Egress Rate Limiting on Port– CLI - Show
50
Egress Rate Limiting – CLI - Show
51
Self Generated Policy – Create - AMS (1/2)
Network
Select NE
Infrastructure
QoS
QoS
Self-Generated Policy
52
Self Generated Policy – Create - AMS (2/2)
Network
Select NE
Infrastructure
QoS
QoS
Self-Generated Policy
53
Self Generated Policy– Apply to Service - AMS
Network
Select NE
Infrastructure
Layer 2/Layer 3
L2 Services/L3 Services
54
Self Generated Policy - CLI
55
Self Generated Policy – CLI - Show
56
The qos-using Command
57
www.alcatel-lucent.com
www.alcatel-lucent.com
58