Professional Documents
Culture Documents
www.juniper.net
www.juniper.net
www.juniper.net
www.juniper.net
10Gig Uplinks
120 40 20 10 5
M7i M10i
M120
2.5Gig Uplinks
M40e M20
Campus/Enterprise
Med / Lg PoP
10G PoP
www.juniper.net
Services
Services@ Scale
Delivered on Purpose Built Silicon (ASICs)
www.juniper.net
Forwarding Table
Switch Fabric
I/O Card I/O Card
www.juniper.net
Passive Midplane
I/O Mgr I/O Mgr PD In PD Out
FPC
PIC PIC PIC PIC PIC PIC
FPC
PIC PIC
www.juniper.net
www.juniper.net
www.juniper.net
10
www.juniper.net
11
www.juniper.net
12
Classifiers
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 packets 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.
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 ATMs CLP or Frames DE
Bronze (LP = 0)
Classifier
High Loss Priority
Bronze (LP = 1)
Aggressive RED
www.juniper.net
15
BA Classifier Configuration
1.
www.juniper.net
16
www.juniper.net
17
MF classifier example
1.
www.juniper.net
18
www.juniper.net
19
Policers
www.juniper.net
20
Policers
Ingress Interface Egress 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
www.juniper.net
21
Rate Policing
firewall { policer limit-ingress-traffic { if-exceeding { bandwidth-limit 400k; burst-size-limit 100k; } then discard; } } interfaces { ge-0/0/0 { unit 0 { family inet { policer { input limit-ingress-traffic; } } } } }
JUNOS can perform rate policing on criteria such as protocol flow or ingress interface Policer actions include: discard loss-priority [high|low] forwarding-class class-name Multiple policer statements per filter Bandwidth-limit in bits per second Burst-size-limit in bytes per second Min should = MTU of IP packets Max = 16.7 Mb
www.juniper.net
22
www.juniper.net
23
Tc
Tp
trTCM?
www.juniper.net
24
Tc
Tp
trTCM?
www.juniper.net
25
www.juniper.net
26
CoS-Based Forwarding
Used to select among a set of equal-cost nexthops based on the packets forwardingclass
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 wont be used
www.juniper.net
27
CoS-Based Forwarding
Example
2. 1.
[edit] # show policy-options policy-statement cosforwarding term a { from { route-filter 192.168.8.0/24 exact; } then cos-next-hop-map cos-map; } term b { then accept; }
[edit] # show class-of-service forwarding-policy next-hop-map cos-map { forwarding-class voice { lsp-next-hop voice-lsp-to-ny; } } class voice { classification-override { forwarding-class voice; } }
3.
Export the policy defined under policy options into the forwarding-table
www.juniper.net
28
Forwarding Classes
www.juniper.net
29
www.juniper.net
30
www.juniper.net
31
www.juniper.net
32
www.juniper.net
33
www.juniper.net
34
Switch Fabric
Ingress PFE
Queuing ASIC
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
www.juniper.net
36
www.juniper.net
37
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%
www.juniper.net
39
www.juniper.net
40
Also referred to as WRR% The default configuration has queue 0 with 95% of queue bandwith and queue 3 with 5%
www.juniper.net
41
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
www.juniper.net
43
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
0 0 1 1 1
0 1 1 2 2
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
www.juniper.net
46
www.juniper.net
47
Congestion Management
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 ] ;
www.juniper.net
49
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;
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;
www.juniper.net
52
www.juniper.net
53
DWRR Example
www.juniper.net
54
www.juniper.net
55
Rewrite
www.juniper.net
56
Rewrite Markers
Rewrite markers Redefines the code-point value of outgoing packets.
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] ;
www.juniper.net
59
www.juniper.net
60
Rewrite
Queuing / Scheduling
RED Drop
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
Ver. Traffic class Ver. Traffic class 6 8 bits 6 8 bits Payload Length Payload Length 16 bits 16 bits Flow label Flow label 20 bits 20 bits Next Hdr. Next Hdr. 8 bits 8 bits Hop Limit Hop Limit 8 bits 8 bits
IPv6 header
Use 6 bits in Traffic Class field as DiffServ Code Point. User can configure IPv6 DSCP field to forwarding class/loss priority mapping. User can configure remarking of IPv6 DSCP field based on forwarding class/loss priority.
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
www.juniper.net
64
www.juniper.net
65
www.juniper.net
66
67
User can configure code point aliases of type IPv6. These exist solely for users convenience and are significant only from CLI perspective. Default dscp-ipv6 code points are pre-created and they are identical to dscp code points.
www.juniper.net
68
www.juniper.net
69
Queuing
Multilink Services
Dedicated Access
Channelization
Marking
Accounting
Fractional
www.juniper.net
70
Dedicated Line
Fractional
Channelization
Extensive Diagnostics
CSU/DSU DS3 subrate & scrambling BERT patterns for T1, DS3, NxDS0 Alarm and error reporting FDL and inband loopback
www.juniper.net
71
ATM2 Details
Queuing and Classification 4/8 configurable length queues per VC/VP Output shaping/rate limiting
Per VP or VC output shaping Max Burst Size 4000 cells VP/VC shaping granularity 64 kbps UBR, nrt-VBR, CBR, rt-VBR
Cell relay support - 3 different modes Cell relay VCI mode Cell relay promiscuous VPI mode Cell relay promiscuous port mode Cell Packing Encapsulations Martini Cell mode and AAL5 mode
Counter for out-of-sequence packets
WRR, strict priority, alternate priority Per VC configurable queue length RED, EPD w/64 drop profiles L2 <-> L3 CoS mapping
PPPoA encaps
Cell Format Entire VCI range (16 bits) UNI VPI range ( 8 bits) NNI VPI range (12 bits) for cell relay port mode only
Diagnostic, Instrumentation, CLI and maintenance Idle cell/unassigned cells transmission F4 and F5 OAM loop back cells Counters: Per VC and Per VP counters Remote and local loop backs
www.juniper.net
72
Platform Support
M7i, M10i, M20, M40e, M320, T320, T640
Transponder
SFPs: SX, LX, H, Copper
Avail Date May 15 2006 Rel 7.6 May 15 2006 Rel 7.6 Nov 15 2006 Rel 8.1 Aug 15 2006 Rel 8.0
www.juniper.net
73
74
MPLS VPN
Internet
IQ 21 0G igE
Cust 4 Cust 3
Customer # 1 VLAN
MPLS Tunnel
IQ2 GigE
Cust 2 Cust 1
www.juniper.net
75
Port
www.juniper.net
76
Packets in
8G
FPC
Ba + Mf Classifier
Intelligent drop
PIC
4G
www.juniper.net
77
Hierarchical QoS: Multiple services per VLAN, each with its own QoS Scalability: More VLANs and more customers per port, shelf, system Cust n
VoIP Intelligent Oversubscription: Lower cost per GigE Cust 4 Cust 3 Future Proof Programmable Architecture: New Customer VideoStream features added via software = superior investment #1 Cust 2 Data p1 protection (no need to purchase new cards to get new Data p2 Cust 1 features) Internet VideoConf IQ2 GigE
www.juniper.net
78
www.juniper.net
79
Alarm generation on SLA violation (SNMP & syslog) Ability to export records to JWeb and external network management applications
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 ICMP Timestamp HTTP Get UDP Echo TCP Connection TOS/DSCP marking support Packet size & content (all 1s, 0s, etc) configurable All Probe types supported over VPNs in 7.4
www.juniper.net
81
www.juniper.net
82
83
www.juniper.net
84
www.juniper.net
85
www.juniper.net
86
87
www.juniper.net
88
www.juniper.net
89
www.juniper.net
90
www.juniper.net
91
www.juniper.net
92
www.juniper.net
93
www.juniper.net
94
95
www.juniper.net
96
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
www.juniper.net
98