SEEREN CoS JUNOS Module2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 98

SEEREN2 Summer School

Heraklion, Sept 25th

Routing Issues: QoS/CoS


Jean-Marc Uzé
Liaison Research & Education, EMEA
juze@juniper.net

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 1


Agenda: QoS/CoS Workshop

ƒ Module 1: Overview of QoS/CoS


ƒ Module 2: JUNOS QoS implementation (J/M/T-
Series)
ƒ Module 3: Introduction to JUNOS CLI
ƒ Module 4: GEANT2 QoS services Implementation

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 2


Module 2: JUNOS CoS implementation
ƒ Router Architecture
ƒ Components and Implementation of JUNOS
QoS
ƒ Diffserv IPv6
ƒ Edge-optimized Intelligent Queuing PICs
ƒ Real-Time Performance Monitoring

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 3


Juniper Networks Product Portfolio

Application Secure Access Intrusion Integrated Edge Service


Acceleration SSL VPN Firewall / IPSec VPN Routers
Prevention
Data Centre

Application Session Small/Med Large Core


BRAS & Circuit
Border Controllers Circuit Aggregation Metro Aggregation
Acceleration Aggregation
WAN

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 4


M-series Service-Built Portfolio
Single JUNOS image
Gbps for all M Series
10Gig
Uplinks
320
M320

120
M120 2.5Gig
Uplinks
40

20
M40e
10
M20
5 M10i
M7i

Campus/Enterprise Med / Lg PoP 10G PoP

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 5


Purpose Built Architecture

Common Processor

Routing Forwarding Routing


Forwarding
Topology

Services@ Scale
Services
Delivered
on Purpose
Built Silicon
(ASIC’s)

‘Traditional’ CPU-Based Router Juniper Networks Architecture

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 6


M-series Logical View
ƒ Clean separation of routing and packet Junos
forwarding functions Internet Software
RE
• Consistent performance Forwarding
Table
• Stability
Update
• Provider-class routing
ƒ Routing Engine (RE) Internet Processor II
• Intel-based processor Forwarding
PFE Table
• JUNOS software
Switch Fabric
ƒ Packet Forwarding Engine (PFE)
• Processor-based design I/O Card I/O Card

• FEB/SSB/SFM and FPC/PICs

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 7


M-series Packet Forwarding Engine
Architecture
Internet
ƒ Simplicity Processor II
ASIC
• One forwarding table
Distributed FEB Distributed
• One lookup Buffer Manager
SSB Buffer Manager
ASIC ASIC
SFM
• Single-stage, shared
memory Passive Midplane

ƒ High performance I/O I/O I/O I/O


Mgr Mgr Mgr Mgr

ƒ Highly integrated
PD PD PD PD
In Out In Out
ƒ CoS queuing
FPC FPC
ƒ Multicast
PIC PIC PIC PIC PIC PIC PIC PIC

ƒ Redundant SFMs

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 8


M-series CoS architecture

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 9


T-series Packet Forwarding Engine
Components and Data Flow

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 10


Module 2: JUNOS CoS implementation
ƒ Router Architecture
ƒ Components and Implementation of JUNOS
QoS
ƒ Diffserv IPv6
ƒ Edge-optimized Intelligent Queuing PICs
ƒ Real-Time Performance Monitoring

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 11


Components of JUNOS QoS

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 12


Classifiers

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 13


Classifiers
ƒ Associate incoming packets with a forwarding class and loss priority
and, based on the associated forwarding class, assign packets to
output queues.
• Behavior aggregate (BA) or code point traffic classifiers
• Code points determine each packet’s forwarding class and
loss priority. BA classifiers allow you to set the forwarding
class and loss priority of a packet based on DiffServ code
point (DSCP) bits, DSCP IPv6, IP precedence bits, MPLS
EXP bits, and IEEE 802.1p bits. The default classifier is
based on IP precedence bits.
• Multifield (MF) traffic classifiers
• Allow you to set the forwarding class and loss priority of a
packet based on firewall filter rules.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 14


Loss Priority
ƒ Each packet is associated with a loss priority during classification or policing
• Action modifier in a multifield classifier or the interpretation of a behavior aggregate
pattern
• A policer action for data in excess of the profile
ƒ Loss priority is used to influence probability of RED drops within a given
forwarding class
• Similar in function to ATM’s CLP or Frame’s DE
ƒ Marker rewrite often required to convey loss-priority status between routers

Out of Mild RED


Policer In Policer Low Loss Bronze
Profile Profile Priority
(LP = 0)
Packet B Packet A
Classifier
Aggressive RED
Bronze
High Loss
Priority (LP = 1)

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 15


BA Classifier Configuration
1. Create a dscp, exp, ieee-802.1p or ip
precedence classifier:

[edit]
class-of-service {
classifiers {
[dscp | exp | ieee-802.1 | inet-precedence] classifier-name {
import [classifier-name | default];
forwarding-class class-name {
loss-priority [low | high] code-points [alias | bits];

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 16


>>BA Classifier Configuration
2. Bind the classifier to an incoming logical
interface:
[edit]

class-of-service {

interfaces {

interface-name {

unit unit-number {

classifiers {

[dscp | exp | ieee-802.1 | inet-precedence] [classifier-name |


default];

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 17


MF classifier example
1. Define the firewall filter:
[edit]

firewall {

filter foo {

term term-1 {

from {

match-conditions;

then {

forwarding-class class-name;

loss-priority [low|high];

accept;

term default {

then accept;

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 18


>>MF classifier example
2. Apply the firewall filter to an interface:
[edit]
interfaces interface-name {
unit logical-unit-number {
family inet {
filter {
input foo;

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 19


Policers

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 20


Policers

Ingress Egress
Interface Interface

Interface
Limiter/Shaper

ƒ Policing and shaping limit traffic volume and burstiness


• Enforce/protect service level agreements
• Excess traffic can be marked with loss priority or discarded
ƒ Interface policers can function at ingress, egress, or both

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 21


Rate Policing
firewall { JUNOS can perform rate policing on
policer limit-ingress-traffic {
if-exceeding {
criteria such as protocol flow or
bandwidth-limit 400k; ingress interface
burst-size-limit 100k;
} Policer actions include:
discard
then discard;
}
} loss-priority [high|low]
forwarding-class class-name
interfaces {
ge-0/0/0 {
unit 0 { Multiple policer statements per filter
family inet {
policer {
input limit-ingress-traffic;
Bandwidth-limit in bits per second
}
} Burst-size-limit in bytes per second
}
}
Min should = MTU of IP packets
} Max = 16.7 Mb

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 22


Two-rate Tri-color Marking
(on E2-FPC for T-Series and M320)
ƒ Behavior of trTCM

• Described in RFC 2698

• Defined in terms of 2 token buckets P and C


with rates PIR and CIR and bucket sizes PBS
and CBS respectively

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 23


Color Blind Mode of trTCM
New token
CIR times/sec
Not enough
New token CBS Yellow tokens
PIR times/sec

PBS Tc Enough yellow tokens


But not enough green
tokens
Tp
Enough yellow
And green
tokens

trTCM?

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 24


Color Aware Mode of trTCM
New token
CIR times/sec Pre-colored Red OR any
other color and not enough
New token CBS yellow tokens
PIR times/sec
Pre-colored yellow OR
PBS Tc green and enough yellow
tokens but not enough green
tokens
Tp
Pre-colored green
and enough yellow
and green tokens

trTCM?

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 25


Forwarding Policy Options

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 26


CoS-Based Forwarding
ƒ Used to select among a set of equal-cost
nexthops based on the packet’s forwarding-
class
• If the prefix only has one nexthop, CBF does not
apply
ƒ A single forwarding-class can be mapped to multiple
next-hops
• load balancing will occur for that forwarding-class

ƒ Prefix next-hops which are not specified within the CoS


next-hop-map are not placed in the forwarding table
• i.e. unspecified next-hops won’t be used

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 27


CoS-Based Forwarding
Example
2. Configure the next-hop-map
1. Define the interesting set of routes with
policy options [edit]
# show class-of-service forwarding-policy
[edit] next-hop-map cos-map {
# show policy-options policy-statement cos- forwarding-class voice {
forwarding lsp-next-hop voice-lsp-to-ny;
term a { }
from { }
route-filter 192.168.8.0/24 exact; class voice {
} classification-override {
then cos-next-hop-map cos-map; forwarding-class voice;
} }
term b { }
then accept;
}
3. Export the policy defined under policy
options into the forwarding-table

[edit]
# show routing-options
}
forwarding-table {
export cos-forwarding;
}

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 28


Forwarding Classes

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 29


Forwarding Classes: ordered aggregates
ƒ Affect the forwarding, scheduling, and marking
policies applied to packets as they transit a
routing platform. The forwarding class plus the
loss priority define the per-hop behavior.
• Best effort,
• Assured forwarding,
• Expedited forwarding,
• Network control.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 30


Queues: Define forwarding-classes
ƒ Queue numbers are now abstracted to
“forwarding-classes”
ƒ Default Forwarding-classes:
• be -> queue0
• ef -> queue1
• af -> queue2
• nc -> queue3

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 31


Queues: Define forwarding-classes
ƒ Assign forwarding-classes to queues:
[edit]
class-of-service {
forwarding-classes {
queue queue-number class-name;
queue queue-number class-name;
queue queue-number class-name;
queue queue-number class-name;

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 32


Scheduling and rate Control

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 33


M320 and T-Series QoS
ƒ Class-based queuing decisions made on egress PFE
• Eight queues available on egress PFE

ƒ On ingress PFE, traffic classified into two strict


priorities
• High and low for all packets bound for a
destination PFE
ƒ Fabric architecture based on these two priorities
• 2x speed-up in fabric to ensure no congestion

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 34


CoS Hardware Overview:
Ingress PFE

Input L3 Hard and Fabric Strict


Input L2 Rate Soft Policing Priority Queuing
Limiting and Policing (All PICs) (All PICs)
(Specific PICs)

Switch Fabric

PIC Ingress PFE


SIB

PIC SIB

SIB
PIC L2/3 M320 Queuing
Packet Internet ASIC SIB
PIC Processing Processor

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 35


Fabric Queuing
ƒ Two fabric queues are enough because
• One per forwarding class priority
• Very high fabric bandwidth makes scheduling
among forwarding classes of the same priority
meaningless
ƒ Minimal Jitter
• Parallel virtual paths for high and low priority
packets
• No serialization delay for high priority packet

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 36


Scheduling and rate Control

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 37


Transmission Scheduling and rate control
ƒ Schedulers
• Define the priority, bandwidth, delay buffer size, rate
control status, and RED drop profiles to be applied to
a particular forwarding class for packet transmission.
ƒ Policers for traffic classes
• limits traffic of a certain class to a specified bandwidth
and burst size. Packets exceeding the policer limits
can be discarded, or can be assigned to a different
forwarding class or to a different loss priority, or to
both. You define policers with filters that can be
associated with input or output interfaces.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 38


Queues: Size
ƒ Large queues may increase latency during
congestion
ƒ smaller queues may be more appropriate for
delay sensitive traffic
ƒ The default configuration has queue 0 with 95%
of queue memory and queue 3 with 5%

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 39


Queues: Size Configuration
ƒ Queue size configuration:
[edit]
class-of-service {
schedulers {
scheduler-name {
buffer-size [time|percent percentage|remainder];

• Bind the scheduler to a queue and interface

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 40


Queues: Transmit Rate
ƒ Determines the actual traffic bandwidth
• Rate is specified in bits per second
• Limit the transmission bandwidth to the exact value
• Allow it to exceed the configured rate if additional
bandwidth is available from other queues.
• Also referred to as WRR%
ƒ The default configuration has queue 0 with 95%
of queue bandwith and queue 3 with 5%

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 41


Queues: Transmit Rate Configuration
ƒ Transmit rate configuration:
[edit]
class-of-service {
schedulers {
scheduler-name {
transmit-rate [rate | percent percentage | remainder]
<exact>;

• Bind the scheduler to a queue and interface

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 42


Queues: Priority
ƒ Determines the order in which an output
interface transmits traffic from the queues
ƒ JUNOS supports:
• Low priority,
• High priority,
• Strict-high priority

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 43


Queues: Priority Configuration
[edit]
class-of-service {
schedulers {
scheduler-name {
priority priority-level;

• Bind the scheduler to a queue and interface


ƒ Default “no-config” settings:
• All queues are low priority

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 44


Priority Level Mappings
Mappings for Mappings for M320 FPCs and T-series
Priority Levels
FPCs Enhanced FPCs

low 0 0

medium-low 0 1

medium-high 1 1

high 1 2
strict-high (full
interface 1 2
bandwidth)

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 45


Schedulers Configuration

[edit]

class-of-service {

schedulers {

scheduler-name {

transmit-rate [rate|percent percentage|remainder] <exact>; WRR config

buffer-size [milliseconds|percent percentage|remainder]; queue size config

priority [low|high|strict-high]; queue priority config

drop-profile-map loss-priority [low|high] protocol [non-tcp|tcp|any] drop-profile profile-name; RED profile assignment

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 46


Queues: Drop Profile
ƒ Defines the drop probabilities across the range
of delay-buffer occupancy, thereby supporting
the RED process
ƒ For each scheduler, you can configure four
separate drop profiles, one for each combination
of loss priority (low or high) and IP transport
protocol (TCP/IP or non-TCP/IP)

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 47


Congestion Management

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 48


Congestion Management
1. Configure the RED profiles:
[edit]
class-of-service {
drop-profiles {
profile-name {
fill-level percentage1 drop-probability probability1;
fill-level percentage2 drop-probability probability2;
… up to 64 times, OR
interpolate {
drop-probability [ p1 p2 p3 p4 p5 …];
fill-level [ f1 f2 f3 f4 f5 …] ;

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 49


Mapping queued packets to WRED profile

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 50


Congestion Management
2. map the drop-profile to a scheduler:
[edit]
class-of-service {
schedulers {
scheduler-name {
drop-profile-map loss-priority [low|high] protocol [non-tcp|tcp|any]
drop-profile profile-name;

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 51


Scheduler-map Configuration
[edit]
class-of-service {
scheduler-maps {
map-name {
forwarding-class class-name1 scheduler scheduler-name1;
forwarding-class class-name2 scheduler scheduler-name2;
forwarding-class class-name3 scheduler scheduler-name3;
forwarding-class class-name4 scheduler scheduler-name4;

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 52


>> Scheduler-map Configuration
Bind the scheduler map to a physical interface:
[edit]
class-of-service {
interfaces {
interface-name {
scheduler-map map-name;

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 53


DWRR Example

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 54


Combination of Strict Priority and DWRR

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 55


Rewrite

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 56


Rewrite Markers
ƒ Rewrite markers
• Redefines the code-point value of outgoing
packets.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 57


Rewriting Configuration
1. Configure rewrite-rule;
[edit]

class-of-service {

rewrite-rules {

dscp|exp|ieee-802.1|inet-precedence <table-name> {

import [<table-name>|default]; (default=“exp-default”)

forwarding-class <class-name1> {

loss-priority [low|high] code-point [<alias>|bits];

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 58


>>Rewriting Configuration
2. Apply rewrite-rule to outgoing logical interface;

[edit]

class-of-service {

interfaces {

interface-name {

unit <unit-number> {

rewrite-rules [dscp|exp|ieee-802.1|inet-precedence] [rewrite-name


|default] ;

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 59


Module 2: JUNOS CoS implementation
ƒ Router Architecture
ƒ Components and Implementation of JUNOS
QoS
ƒ Diffserv IPv6
ƒ Edge-optimized Intelligent Queuing PICs
ƒ Real-Time Performance Monitoring

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 60


Overview of Diffserv IPv6
Class of service Components:

BA Multi field
Forwarding
Classifier Classifier

Queuing /
Rewrite RED Drop
Scheduling

•BA Classifier and Rewrite were enhanced to


support IPv6.
•Rest of the components already support IPv6.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 61


Overview Contd..
32 bits
Traffic Class Field
Ver.
Ver. Traffic
Traffic class
class Flow
Flow label
label DSCP
DSCP Unused
Unused
66 88 bits
bits 20
20 bits
bits 6bits
6bits 22 bits
bits
Payload
Payload Length
Length Next
Next Hdr.
Hdr. Hop
Hop Limit
Limit
16
16 bits
bits 88 bits
bits 88 bits
bits
• Use 6 bits in Traffic Class
Source
Source Address
Address field as DiffServ Code Point.
128
128 bits
bits
• User can configure IPv6
DSCP field to forwarding
Destination
Destination Address
Address class/loss priority mapping.
128
128 bits
bits
• User can configure remarking
of IPv6 DSCP field based on
IPv6 header forwarding class/loss priority.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 62


Configuring BA Classifier
[edit class-of-service]
classifiers {
dscp-ipv6 <classifier-name> {
import [<classifier-name>|default];
forwarding-class <class-name> {
loss-priority [low|high] code-points <alias> |<bits> ];
}
}
}

Not much difference from dscp classifier configuration.


Just use type <dscp-ipv6>.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 63


Assigning BA Classifier to a Logical
Interface
[edit class-of-service]
interfaces {
<interface-name> {
unit <unit-number> {
classifiers {
dscp <classifier-name>|default;
dscp-ipv6 <classifier-name>|default;
exp <classifier-name>|default;
}
}
}
}
Logical Interface can have multiple classifiers bound to it.
But, there are some limitations.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 64


Classifiers – Known limitations
• On M-series:
• We do not support both dscp & dscp-ipv6 classifiers on same interface.
• If a logical interface has dscp classifier, it will be used to classify both
IPv4 & IPv6 packets.
• If a logical interface has just dscp-ipv6 classifier, it will be used to
classify both IPv4 and IPv6 packets. We log a warning message to
notify the user.
• If a logical interface has inet-precedence classifier, it will be used for
classifying IPv6 packets too. But lower three bits of the DSCP field will
be ignored.
• On T-series:
• We do not support IPv6 classifier with ieee classifier.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 65


Configuring Rewrite Rule
[edit class-of-service]
rewrite-rules {
dscp-ipv6 <rewrite-name> {
import [<rewrite-name>|default];
forwarding-class <class-name> {
loss-priority [low|high] code-point [<alias>|<bits>...];
}
}
}

Similar to dscp configuration

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 66


Assigning Rewrite Rule to Logical
interface
[edit class-of-service]
interfaces {
<interface-name> {
unit <unit-number> {
rewrite-rules {
dscp <rewrite-name>|default;
dscp-ipv6 <rewrite-name>|default;
exp <rewrite-name>|default;
ieee-802.1 <rewrite-name>|default;
}
}
}
}
Multiple Rewrite Rules can be applied to a Logical
Interface. No limitations.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 67


Configuring Code Point Aliases
[edit class-of-service]
code-point-aliases {
dscp-ipv6 {
<alias-name> <bits>;
}
}

¾ User can configure code point aliases of type IPv6. These


exist solely for user’s convenience and are significant only
from CLI perspective.
¾ Default dscp-ipv6 code points are pre-created and they are
identical to dscp code points.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 68


Module 2: JUNOS CoS implementation
ƒ Router Architecture
ƒ Components and Implementation of JUNOS
QoS
ƒ Diffserv IPv6
ƒ Edge-optimized Intelligent Queuing PICs
ƒ Real-Time Performance Monitoring

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 69


Edge-optimized Intelligent Queuing PICs
ƒ ATM2 IQ PICs
ƒ Channelized IQ PICs
ƒ Gigabit Ethernet IQ PICs
Shaping &
ƒ Discrete IQ PICs (e.g. E3, DS3) Policing
ƒ Granular per-logical interface QoS Police
Multilink Services
• VC, VP, DLCI, VLAN Classify
Shape
ƒ Dense multi-level channelization to DS0 Strict priority
• With per channel QoS Queuing WRR Dedicated Access
ƒ Granular accounting & statistics RED
ƒ Extensive diagnostics WRED
Marking
ƒ VLAN tagging, deleting, and rewrite Channelization
Marking

Accounting
Fractional

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 70


IQ PIC: Optimized for the Network Edge
Feature Rich Service Creation Dense Multi-level Connectivity
4 configurable length output queues per channel 768 Customer Channels per PIC
WRR & Strict priority queuing Channelization to NxDS0
Shaping & policing per channel/queue Dynamic channel re-provisioning
RED and WRED w/ 64 drop profiles ML support for NxT1/E1
GE Q-PIC: VLAN rewrite, tagging, deleting

Multilink Services Dedicated Line

Accounting

Queuing Shaping &


Fractional Policing Channelization

Granular Accounting & Statistics Extensive Diagnostics


4096 sets of L2 counter CSU/DSU DS3 subrate & scrambling
Per packet/byte Tx/Rx counters BERT patterns for T1, DS3, NxDS0
Per queue drop counters Alarm and error reporting
GE Q-PIC: per VLAN and MAC accounting FDL and inband loopback

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 71


ATM2 Details
ƒ Queuing and Classification ƒ Cell relay support - 3 different modes
• 4/8 configurable length queues per • Cell relay VCI mode
VC/VP • Cell relay promiscuous VPI mode
• Output shaping/rate limiting • Cell relay promiscuous port mode
• Per VP or VC output shaping
• Cell Packing
• Max Burst Size 4000 cells
• VP/VC shaping granularity –64 kbps
• UBR, nrt-VBR, CBR, rt-VBR
ƒ Encapsulations
• WRR, strict priority, alternate priority • Martini – Cell mode and AAL5 mode
• Counter for out-of-sequence packets
• Per VC configurable queue length
• PPPoA encaps
• RED, EPD w/64 drop profiles
• L2 <-> L3 CoS mapping
ƒ Diagnostic, Instrumentation, CLI and
maintenance
ƒ Cell Format • Idle cell/unassigned cells transmission
• Entire VCI range (16 bits) • F4 and F5 OAM loop back cells
• UNI VPI range ( 8 bits) • Counters: Per VC and Per VP
• NNI VPI range (12 bits) for cell relay counters
port mode only • Remote and local loop backs

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 72


New: IQ2 Models
Avail
PIC Platform Support Transponder
Date

4GE-TYPE1-SFP-IQ2 May 15
M7i, M10i, M20, M40e, SFPs: SX, LX,
4 ports x 1GigE Type 1 2006
M320, T320, T640 H, Copper
4:1 Oversubscription Rel 7.6

8GE-TYPE2-SFP-IQ2 May 15
M40e, M320, T320, SFPs: SX, LX,
8 ports x 1GigE Type 2 2006
T640, Tx Matrix H, Copper
2:1 Oversubscription Rel 7.6

8GE-TYPE3-SFP-IQ2 Nov 15
M320, T320, T640, Tx SFPs: SX, LX,
8 ports x 1GigE Type 3 2006
Matrix H, Copper
Line Rate (no OSE) Rel 8.1

1XGE-TYPE3-SFP-IQ2 Aug 15
M320, T320, T640, Tx XFPs: SR, LR,
1 Port x10GigE Type 3 2006
Matrix LX4 - WAN PHY
Line Rate (no OSE) Rel 8.0

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 73


Key IQ2 Ethernet Service Engine Capabilities
ƒ GigE and 10 GigE ports with fine-grain QoS
ƒ Intelligent Oversubscription for GigE
• Intelligent sharing of excess bandwidth
• Advanced QoS mechanisms at both egress and ingress
ƒ Enhanced hierarchical QoS per VLAN/Logical Interface
ƒ Software programmable for rich traffic engineering
ƒ More VLANs & MACs per port and per card
ƒ More ports per shelf, system, rack
ƒ QoS w/802.3ad Ethernet Link Aggregation
ƒ Advances Juniper Ethernet to carrier grade service

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 74


Hierarchical QoS for
Multiple Services MPLS VPN
Internet
IQ2 ESE PICs support
• Multiple services per end IQ
customer
21
0G
igE
• Multiple customers per GigE
• Service density and scalability
Cust n

VoIP
Cust 4
VideoConf
MPLS IQ2 GigE
Cust 3 Tunnel
VideoStream Customer
# 1 VLAN Cust 2
Data p1
Data p2 Cust 1
Internet

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 75


Enhanced QoS for Service Enablement
ƒ Fine-Grained per-VLAN QoS IFL
with 8 queues per VLAN ‘A’

8 Queues
ƒ Per-VLAN statistics and accounting
ƒ VLAN ID Stacking and rewrite
with COS Mapping & translation
Up to
ƒ Hierarchical queuing, shaping, policing 1024
and scheduling on both Ingress & Egress shapers

IFL
ƒ MDRR scheduling with ‘B’
64 RED drop profiles per PIC
IFL Port
ƒ MAC learning, filtering, ‘C’
accounting, and policing 8 Queues
IFL
‘D’
ƒ Two Rate Three Color Marking
(TrTCM) at line rate throughput Dual shapers
(VLAN and Port level)

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 76


IQ2 ESE Intelligent Oversubscription
ƒ Intelligent dropping during congestion
ƒ Intelligent sharing of excess bandwidth
ƒ Doubles the number of ports per system
• Ethernet Service Engine assists PFE in data
path packet processing
8 ports x 1 GigE

8G
PIC 4G
Packets in Ba + Mf Intelligent
Classifier drop

FPC
PIC
PIC
PIC

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 77


IQ2 Benefits Summary
MPLS VPN
ƒ Industry-leading Ethernet densityInternet
and QoS for the efficient and
reliable deployment of intelligent converged services

• Hierarchical QoS: Multiple services per VLAN, each


with its own QoS
• Scalability: More VLANs and more customers per
port, shelf, system Cust n
•VoIPIntelligent Oversubscription:
Cust 4 Lower cost per GigE
VideoConf IQ2 GigE
• Future Proof ProgrammableCust 3 Architecture: New
VideoStream Customer
features added
#1 via software
Cust 2 = superior investment
Data p1
protection (no need to purchase new cards to get new
Data p2 Cust 1
features)
Internet

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 78


Module 2: JUNOS CoS implementation
ƒ Router Architecture
ƒ Components and Implementation of JUNOS
QoS
ƒ Diffserv IPv6
ƒ Edge-optimized Intelligent Queuing PICs
ƒ Real-Time Performance Monitoring

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 79


Real-Time Performance Monitoring
Active Probes to Monitor Performance

ƒ Probes collect on a per


destination & application
basis
• Ping (ICMP) packet
• UDP/TCP packets with
user configured ports ƒ Alarm generation on SLA
violation (SNMP & syslog)
• User configured DSCP
(ToS) ƒ Ability to export records to J-
Web and external network
• Web (HTTP) management applications
• VPN tests supported

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 80


RPM Overview
ƒ Introduced in JUNOS 7.1
ƒ Supported on J, M & T series
ƒ RFC 2925 MIB support with extensions
ƒ Configuration and results supported via CLI & SNMP
ƒ Probe types supported
• ICMP Echo ƒ TOS/DSCP marking support
• ICMP Timestamp ƒ Packet size & content (all 1s, 0s,
• HTTP Get etc) configurable
• UDP Echo ƒ All Probe types supported over
VPNs in 7.4
• TCP Connection

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 81


RPM Probe Results
ƒ Minimum round trip time
ƒ Maximum round trip time
ƒ Average round trip time
ƒ Standard deviation of the round trip time
ƒ Jitter of the round trip time (diff between min & max RTT)
ƒ One way measurements for ICMP timestamp probes:
• min/max/stddev/jitter egress and ingress times
ƒ Number of probes sent
ƒ Number of probe responses received
ƒ Percentage of lost probes

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 82


RPM Thresholds, Events & Traps
ƒ Configurable Thresholds:
• Round trip time
• Ingress/egress delay
• Standard deviation
• Jitter
• Successive lost probes
• Total lost probes (per test)
ƒ Syslog events generated when threshold exceeded
ƒ SNMP trap (if configured) generated when threshold
exceeded

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 83


Reporting Tool/Data Export options
ƒ JUNOScope or JWeb
ƒ SNMP (through rfc2925 & jnx-ping.mib)
ƒ Potential Partner interoperability
• eHealth (by Concord)
• VistaView and VistaNext (by InfoVista)
• Brixworx
• PROVISO (by Quallaby)
• Performance Insight (by HP Openview)
• Netally (by Viola Networks)
• Firehunter (by Agilent)

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 84


Configuring RPM with J-Web
ƒ Users select the
“Configuration” tab followed by
the “RPM” Quick Configuration
wizard…

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 85


Configuring RPM with J-Web
ƒ First time around users
must create a Probe
Owner…

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 86


Configuring RPM with J-Web
ƒ Users specify the
name and source
plus optional
threshold values.
ƒ Orange asterisk is
a mandatory field.
ƒ Tool tips are
available on
“mouse over”
operations.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 87


Configuring RPM with J-Web
ƒ Specifying the frequency and
probe type are mandatory.
ƒ Supported types are:
• HTTP Get
• HTTP Metadata Get
• ICMP ping
• ICMP ping timestamp
• TCP ping
• UDP ping

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 88


Configuring RPM with J-Web
ƒ Optionally the user can
specify if SNMP
notifications should be
generated when
thresholds are crossed.
ƒ Traps go to targets
defined in JUNOS SNMP
trap groups

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 89


Configuring SNMP with J-Web
ƒ Trap groups are
defined using the J-
Web SNMP Quick
Configuration
wizard…

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 90


Configuring RPM with J-Web
ƒ The probe is
created once the
user clicks “Apply”
or “OK”.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 91


Monitoring RPM with J-Web
ƒ Users select the “Monitor” tab
followed by the “RPM” option
below it.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 92


Monitoring RPM with J-Web
ƒ The current running tests are displayed in the
browser…

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 93


Monitoring RPM with J-Web
ƒ Users can expand results to view statistics for
the test plus a graph displaying the results of
each probe.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 94


Deleting RPM with J-Web
ƒ Users select the
“Configuration” tab followed
by the “RPM” Quick
Configuration option.
ƒ A list of running probes are
shown.
ƒ Probe name is a link – click it
to edit the probe again or
select the probe, check the
box and delete it.

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 95


Additional Information on JUNOS CoS (1/2)
ƒ JUNOS Internet Software Class of Service Configuration Guide Release 8.0
• http://www.juniper.net/techpubs/software/junos/junos80/swconfig80-
cos/frameset.htm
ƒ CoS on J-Series
• http://www.juniper.net/techpubs/software/jseries/junos80/jseries80-
config-guide-advanced/frameset.html
ƒ Operation of Modified Deficit Round Robin in M-series Routers
• http://www.juniper.net/solutions/literature/app_note/350061.pdf
ƒ Applying JUNOS Class-of-service Features
• http://www.juniper.net/solutions/literature/app_note/350030.pdf
ƒ MPLS DiffServ-aware Traffic Engineering
• http://www.juniper.net/solutions/literature/white_papers/200048.pdf

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 96


Additional Information on JUNOS CoS (2/2)
ƒ Supporting Differentiated Service Classes: Active Queue Memory
Management
• http://www.juniper.net/solutions/literature/white_papers/200021.pdf
ƒ Supporting Differentiated Service Classes in Large IP Networks
• http://www.juniper.net/solutions/literature/white_papers/200019.pdf
ƒ Supporting Differentiated Service Classes: Queue Scheduling Disciplines
• http://www.juniper.net/solutions/literature/white_papers/200020.pdf
ƒ Supporting Differentiated Service Classes: TCP Congestion Control
Mechanisms
• http://www.juniper.net/solutions/literature/white_papers/200022.pdf

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 97


Thank you
Jean-Marc Uzé
Liaison Research & Education, EMEA
juze@juniper.net
Mobile: +33615432512
31 Place Ronde, 92986 Paris-La-Defense, France

Copyright © 2006 Juniper Networks, Inc. www.juniper.net 98

You might also like