Submit Search
Upload
Junos CoS Technical Resources
•
0 likes
•
627 views
AI-enhanced title
D
dborsan
Follow
Day one-poster-junos-cos
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 2
Download now
Download to read offline
Recommended
Dynamic routing
Dynamic routing
ajeela mushtaq
MPLS Traffic Engineering
MPLS Traffic Engineering
APNIC
QoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.net
Febrian
Hot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) using
ShubhiGupta94
Automating for Monitoring and Troubleshooting your Cisco IOS Network
Automating for Monitoring and Troubleshooting your Cisco IOS Network
Cisco Canada
Quality of Service
Quality of Service
silenceIT Inc.
Spannig tree
Spannig tree
1 2d
Netmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoS
Chris Changmo Yoo
Recommended
Dynamic routing
Dynamic routing
ajeela mushtaq
MPLS Traffic Engineering
MPLS Traffic Engineering
APNIC
QoS Cheatsheet by packetlife.net
QoS Cheatsheet by packetlife.net
Febrian
Hot standby router protocol (hsrp) using
Hot standby router protocol (hsrp) using
ShubhiGupta94
Automating for Monitoring and Troubleshooting your Cisco IOS Network
Automating for Monitoring and Troubleshooting your Cisco IOS Network
Cisco Canada
Quality of Service
Quality of Service
silenceIT Inc.
Spannig tree
Spannig tree
1 2d
Netmanias L2,L3 Training (3) L2, L3 QoS
Netmanias L2,L3 Training (3) L2, L3 QoS
Chris Changmo Yoo
MPLS & BASIC LDP
MPLS & BASIC LDP
Reza Farahani
MPLS-TE
MPLS-TE
Aymen Bouzid
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
Spanning Tree Protocol Cheat Sheet
Spanning Tree Protocol Cheat Sheet
Prasanna Shanmugasundaram
Dynamic Routing
Dynamic Routing
tmavroidis
Networking in Telecommunication (signalling, tcp, ucp, ss7, sctp, sigtran)
Networking in Telecommunication (signalling, tcp, ucp, ss7, sctp, sigtran)
GLC Networks
Ospf area types
Ospf area types
CoderGenie Technologies
Quality of Service
Quality of Service
S. M. Shakib Limon
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS)
Reza Farahani
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & James
Febrian
Introduction of dmvpn
Introduction of dmvpn
E-Lins Technology Co. Ltd.
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
Bertrand Duvivier
CCNA TCP/IP
CCNA TCP/IP
Dsunte Wilson
Segment routing tutorial
Segment routing tutorial
Yi-Sung Chiu
Overview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
Arash Foroughi
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme Networks
Dani Royman Simanjuntak
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKS
KABILESH RAMAR
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building Blocks
APNIC
FastNetMon Advanced DDoS detection tool
FastNetMon Advanced DDoS detection tool
Pavel Odintsov
STP (spanning tree protocol)
STP (spanning tree protocol)
Netwax Lab
Presentacion QoS.pptx
Presentacion QoS.pptx
Daniel Viveros Sepulveda
CisCon 2018 - Overlay Management Protocol e IPsec
CisCon 2018 - Overlay Management Protocol e IPsec
AreaNetworking.it
More Related Content
What's hot
MPLS & BASIC LDP
MPLS & BASIC LDP
Reza Farahani
MPLS-TE
MPLS-TE
Aymen Bouzid
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
Spanning Tree Protocol Cheat Sheet
Spanning Tree Protocol Cheat Sheet
Prasanna Shanmugasundaram
Dynamic Routing
Dynamic Routing
tmavroidis
Networking in Telecommunication (signalling, tcp, ucp, ss7, sctp, sigtran)
Networking in Telecommunication (signalling, tcp, ucp, ss7, sctp, sigtran)
GLC Networks
Ospf area types
Ospf area types
CoderGenie Technologies
Quality of Service
Quality of Service
S. M. Shakib Limon
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS)
Reza Farahani
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & James
Febrian
Introduction of dmvpn
Introduction of dmvpn
E-Lins Technology Co. Ltd.
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
Bertrand Duvivier
CCNA TCP/IP
CCNA TCP/IP
Dsunte Wilson
Segment routing tutorial
Segment routing tutorial
Yi-Sung Chiu
Overview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
Arash Foroughi
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme Networks
Dani Royman Simanjuntak
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKS
KABILESH RAMAR
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building Blocks
APNIC
FastNetMon Advanced DDoS detection tool
FastNetMon Advanced DDoS detection tool
Pavel Odintsov
STP (spanning tree protocol)
STP (spanning tree protocol)
Netwax Lab
What's hot
(20)
MPLS & BASIC LDP
MPLS & BASIC LDP
MPLS-TE
MPLS-TE
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
Spanning Tree Protocol Cheat Sheet
Spanning Tree Protocol Cheat Sheet
Dynamic Routing
Dynamic Routing
Networking in Telecommunication (signalling, tcp, ucp, ss7, sctp, sigtran)
Networking in Telecommunication (signalling, tcp, ucp, ss7, sctp, sigtran)
Ospf area types
Ospf area types
Quality of Service
Quality of Service
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS)
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & James
Introduction of dmvpn
Introduction of dmvpn
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
CCNA TCP/IP
CCNA TCP/IP
Segment routing tutorial
Segment routing tutorial
Overview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
RIP Routing Information Protocol Extreme Networks
RIP Routing Information Protocol Extreme Networks
BASICS OF ROUTING IN NETWORKS
BASICS OF ROUTING IN NETWORKS
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building Blocks
FastNetMon Advanced DDoS detection tool
FastNetMon Advanced DDoS detection tool
STP (spanning tree protocol)
STP (spanning tree protocol)
Similar to Junos CoS Technical Resources
Presentacion QoS.pptx
Presentacion QoS.pptx
Daniel Viveros Sepulveda
CisCon 2018 - Overlay Management Protocol e IPsec
CisCon 2018 - Overlay Management Protocol e IPsec
AreaNetworking.it
Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...
RealTime-at-Work (RTaW)
IETF87 - STATUS BoF: Performance Engineered LSPs
IETF87 - STATUS BoF: Performance Engineered LSPs
Rob Shakir
Quality of service
Quality of service
Yasser El Harbili
4th SDN Interest Group Seminar-Session 2-3(130313)
4th SDN Interest Group Seminar-Session 2-3(130313)
NAIM Networks, Inc.
Quality of Servise
Quality of Servise
Raza_Abidi
Sl3c3
Sl3c3
FNian
Prevention of Data Loss in physical implementation of FIFOs and Data Synchron...
Prevention of Data Loss in physical implementation of FIFOs and Data Synchron...
rameraja
Qo s
Qo s
Ashok Dwivedi
Cisco crs1
Cisco crs1
wjunjmt
Qos Demo
Qos Demo
love4upratik
Cisco: QoS
Cisco: QoS
Fundación Proydesa
Advanced networking scheduling and QoS part 2
Advanced networking scheduling and QoS part 2
GIST (Gwangju Institute of Science and Technology)
50120130405013
50120130405013
IAEME Publication
1.CN-PPT.ppt
1.CN-PPT.ppt
KARPAGAM INSTITUTE OF TECHNOLOGY
SDN Security Talk - (ISC)2_3
SDN Security Talk - (ISC)2_3
Wen-Pai Lu
Enabling SDN in old school networks with Software-Controlled Routing Protocols
Enabling SDN in old school networks with Software-Controlled Routing Protocols
Open Networking Summits
Networks
Networks
Alvaro Gomes
TechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the Datacenter
Robb Boyd
Similar to Junos CoS Technical Resources
(20)
Presentacion QoS.pptx
Presentacion QoS.pptx
CisCon 2018 - Overlay Management Protocol e IPsec
CisCon 2018 - Overlay Management Protocol e IPsec
Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...
IETF87 - STATUS BoF: Performance Engineered LSPs
IETF87 - STATUS BoF: Performance Engineered LSPs
Quality of service
Quality of service
4th SDN Interest Group Seminar-Session 2-3(130313)
4th SDN Interest Group Seminar-Session 2-3(130313)
Quality of Servise
Quality of Servise
Sl3c3
Sl3c3
Prevention of Data Loss in physical implementation of FIFOs and Data Synchron...
Prevention of Data Loss in physical implementation of FIFOs and Data Synchron...
Qo s
Qo s
Cisco crs1
Cisco crs1
Qos Demo
Qos Demo
Cisco: QoS
Cisco: QoS
Advanced networking scheduling and QoS part 2
Advanced networking scheduling and QoS part 2
50120130405013
50120130405013
1.CN-PPT.ppt
1.CN-PPT.ppt
SDN Security Talk - (ISC)2_3
SDN Security Talk - (ISC)2_3
Enabling SDN in old school networks with Software-Controlled Routing Protocols
Enabling SDN in old school networks with Software-Controlled Routing Protocols
Networks
Networks
TechWiseTV Workshop: Segment Routing for the Datacenter
TechWiseTV Workshop: Segment Routing for the Datacenter
More from dborsan
All shotokan karate katas
All shotokan karate katas
dborsan
Ribbon ntta switching evolution
Ribbon ntta switching evolution
dborsan
Avaya call routing_flowchart
Avaya call routing_flowchart
dborsan
Sigtran oracle
Sigtran oracle
dborsan
Hol 1940-01-net pdf-en
Hol 1940-01-net pdf-en
dborsan
Sdwan comp 2018
Sdwan comp 2018
dborsan
Ccna3 mod1-classless routing
Ccna3 mod1-classless routing
dborsan
Crypto map based IPsec VPN fundamentals - negotiation and configuration
Crypto map based IPsec VPN fundamentals - negotiation and configuration
dborsan
More from dborsan
(8)
All shotokan karate katas
All shotokan karate katas
Ribbon ntta switching evolution
Ribbon ntta switching evolution
Avaya call routing_flowchart
Avaya call routing_flowchart
Sigtran oracle
Sigtran oracle
Hol 1940-01-net pdf-en
Hol 1940-01-net pdf-en
Sdwan comp 2018
Sdwan comp 2018
Ccna3 mod1-classless routing
Ccna3 mod1-classless routing
Crypto map based IPsec VPN fundamentals - negotiation and configuration
Crypto map based IPsec VPN fundamentals - negotiation and configuration
Recently uploaded
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
rakeshbaidya232001
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
ranjana rawat
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
KurinjimalarL3
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
Suhani Kapoor
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
RajkumarAkumalla
Extrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
120cr0395
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
SIVASHANKAR N
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
ranjana rawat
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Call Girls in Nagpur High Profile
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
ranjana rawat
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
ranjana rawat
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
Asutosh Ranjan
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
ranjana rawat
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls in Nagpur High Profile
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
RajaP95
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
rknatarajan
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
ssuser5c9d4b1
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
pranjaldaimarysona
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur High Profile
Recently uploaded
(20)
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
Extrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Junos CoS Technical Resources
1.
For additional technical
resources, please visit: www.juniper.net/documentation/ ©2016 by Juniper Networks, Inc. All rights reserved. Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice. ISBN: 978-1-941441-33-6 2 3 4 5 6 7 Juniper Networks Information and Learning Experience (iLX) DAY ONE POSTER Junos CoS www.juniper.net/posters Obtain Quality of Service with Junos CoS Junos CoS enables prioritization of traffic flows over a common path. It offers a means to recognize and control different types of traffic, provides the ability for applications to be considered more or less important, and provides mechanisms to manage congestion. Junos CoS is implemented “hop by hop”, at each device in the data path. CoS Fields in Packet Headers NETWORK DEVICE C L A S S I F I C A T I O N Q U E U I N G / S C H E D U L I N G P O L I C I N G (optional) S H A P I N G (optional) R E M A R K I N G (optional) Packet flow through a device running the Junos OS R E M A R K I N G Data Data Data DSCP xxxxxx DSCP yyyyyy DSCP zzzzzz Data Data Data Class C Class B Class A Rewrite rules Ethernet (802.1p) Class of Service Feature Guide for Routing Devices Learning Bytes Series: Class of Service Basics Day One: Deploying Basic QoS Day One: Junos QoS for IOS Engineers Training Course: Junos Class of Service (JCOS) Shaping controls outbound traffic flow. • Throttles the amount of traffic passing through an interface or queue to less than line rate. • Provides egress rate-limiting for downstream congestion management. S H A P I N G Data DataData Data DataDataShaper Data Data Further CoS processing Data Outbound packets at sub-line rateOutbound packets at line rate Q U E U I N G / S C H E D U L I N G Queuing and scheduling control the prioritization of traffic flows. • Defines treatment of packets and queues. Each queue has four configurable characteristics: • Transmission rate – bandwidth assigned to the queue. • Priority – importance of the queue (relative to other queues). • Delay buffer – storage space during congestion. • Congestion management (drop profiles) – amount and type of traffic to drop as congestion increases. Data Class B (Queue 2) Data Data Data Data Class A (Queue 1) Data Class C (Queue 3) Scheduler Further CoS processing MPLS Label TC S TTL Traffic Class (formerly EXP) IPv6 Version Traffic Class Hop Limit Flow Label Payload Length Next Header DSCP *Priority Code Point Dest Addr Src Addr TPID TCI Data FCS VLAN IDPCP* CFI Type/Len IPv4 Version IHL Type of Service Protocol PaddingOptions Fragment Offset Total Length Time to Live Header Checksum DSCP IP Precedence C L A S S I F I C A T I O N Classifiers assign inbound traffic to forwarding classes. • Forwarding classes are linked to physical queues in the device. Classifiers also specify packet loss priority (drop precedence). • Used by policers and schedulers to help determine which traffic to drop under congestion. Junos OS includes four default classes: • Best effort (BE), Expedited forwarding (EF), Assured forwarding (AF), Network control (NC). Three methods of classification: • Behavior aggregate (BA) – separates incoming traffic based on existing CoS markings. • Multifield (MF) – separates incoming traffic based on packet header fields. • Fixed – assigns all of an interface’s incoming traffic to one forwarding class. Further CoS processing Class A (Queue 1) Class B (Queue 2) Class C (Queue 3) Classifier Data Data DataData DataData P O L I C I N G Policing controls inbound traffic burstiness. • Defines what is considered “too much” traffic. • Provides first-level congestion management. Thresholds determine in-profile vs. excess traffic. • Bandwidth – data rate for traffic sent through policer (in bps). • Burst size – number of bytes allowed during a burst (in bytes). • Both thresholds exceeded together = excess traffic. Two policer actions: • ‘Hard’ policer – drops excess traffic. • ‘Soft’ policer – marks excess traffic with lower priority. Policer Accept Traffic exceeding thresholds Traffic within thresholds Drop (make lower priority) Further CoS processing Data DataData Bandwidth Burst Size Source Address Destination Address Identification Flags Source Address Destination Address Remarking applies CoS values to outbound traffic. • Simplifies packet classification processing for downstream devices. • CoS values are assigned based on packets’ forwarding class and packet loss priority (PLP) settings. Reverse function of classification: • Classification = inbound packet forwarding class (and PLP). • Remarking = Forwarding class (and PLP) CoS-marked outbound packet. Learn About: Quality of Service (QoS)
2.
©2016 by Juniper
Networks, Inc. All rights reserved. Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice. ISBN: 978-1-941441-33-6 2 3 4 5 6 7 For additional technical resources, please visit: www.juniper.net/documentation/ Configuring Junos CoS This example contains the main CoS configuration elements for a device running the Junos OS: forwarding classes, classifiers, policers, schedulers, shapers, and rewrite rules. Note that this example is for illustrative purposes only; while functional, there are many more configuration options and advanced settings not displayed here. firewall { family inet { filter MF-CLASSIFIER { term VOICE { from { protocol udp; port 16384-32767; } then { loss-priority low; forwarding-class Voice; accept; } } term INTERACTIVE-VIDEO { from { protocol [ tcp udp ]; port 6060-6061; } then { loss-priority low; forwarding-class Data-1; accept; } } term CALL-SIGNALING { from { protocol tcp; port 1720; } then { loss-priority high; forwarding-class Data-1; accept; } } term NETWORK-MANAGEMENT-TELNET-SSH { from { protocol tcp; port [ telnet ssh ]; } then { loss-priority high; forwarding-class Network-Control; accept; } } term ICMP-POLICE { from { protocol [ icmp icmp6 ]; } then { policer POLICER-ICMP-5M-DISCARD; forwarding-class Data-2; accept; } } term BEST-EFFORT-INTRANET-TRAFFIC { from { protocol tcp; port 8080; } then { policer POLICER-250M-FC_D3-BE; forwarding-class Data-2; accept; } } term BEST-EFFORT-TRAFFIC { from { protocol tcp; port [ ftp ftp-data http https ]; } then { loss-priority high; forwarding-class Data-3-BE; accept; } } term all-else { then accept; } } } policer POLICER-ICMP-5M-DISCARD { if-exceeding { bandwidth-limit 10m; burst-size-limit 625k; } then discard; } policer POLICER-250M-FC_D3-BE { if-exceeding { bandwidth-limit 250m; burst-size-limit 625k; } then { loss-priority low; forwarding-class Data-3-BE; } } } CLASSIFICATIONPOLICING Firewall Stanza class-of-service { classifiers { dscp DSCP-BA-CLASSIFIER { forwarding-class Voice { loss-priority low code-points ef; } forwarding-class Data-1 { loss-priority low code-points af41; loss-priority medium-high code-points cs4; loss-priority high code-points cs3; } forwarding-class Data-2 { loss-priority low code-points af21; loss-priority high code-points cs2; } forwarding-class Data-3-BE { loss-priority low code-points be; loss-priority high code-points cs1; } forwarding-class Network-Control { loss-priority low code-points [ cs6 cs7 ]; } } } drop-profiles { WRED-DROP-PROFILE-MODERATE { fill-level 75 drop-probability 20; fill-level 85 drop-probability 35; fill-level 95 drop-probability 50; fill-level 100 drop-probability 100; } WRED-DROP-PROFILE-AGGRESSIVE { fill-level 50 drop-probability 10; fill-level 70 drop-probability 40; fill-level 85 drop-probability 75; fill-level 100 drop-probability 100; } } forwarding-classes { queue 0 Data-3-BE; queue 2 Voice; queue 3 Network-Control; queue 4 Data-2; queue 6 Data-1; } interfaces { ge-* { scheduler-map SCHEDULER-MAP-A; unit * { classifiers { dscp DSCP-BA-CLASSIFIER; } rewrite-rules { dscp DSCP-REMARKING; } } } ge-0/0/1 { scheduler-map SCHEDULER-MAP-A; shaping-rate 800m; } } rewrite-rules { dscp DSCP-REMARKING { forwarding-class Voice { loss-priority low code-point ef; } forwarding-class Data-1 { loss-priority low code-point af41; loss-priority medium-high code-point cs4; loss-priority high code-point cs3; } forwarding-class Data-2 { loss-priority low code-point af21; loss-priority high code-point cs2; } forwarding-class Data-3-BE { loss-priority low code-point be; loss-priority high code-point cs1; } } } CLASSIFICATIONREMARKING scheduler-maps { SCHEDULER-MAP-A { forwarding-class Voice scheduler Voice-Scheduler; forwarding-class Data-1 scheduler Data-1-Scheduler; forwarding-class Data-2 scheduler Data-2-Scheduler; forwarding-class Data-3-BE scheduler Data-3-Scheduler; forwarding-class Network-Control scheduler Nwk-Ctl-Scheduler; } } schedulers { Voice-Scheduler { transmit-rate percent 10; buffer-size percent 5; priority high; } Data-1-Scheduler { transmit-rate percent 10; buffer-size percent 10; priority medium-high; } Data-2-Scheduler { transmit-rate percent 40; buffer-size percent 25; priority medium-low; drop-profile-map loss-priority low protocol any drop-profile WRED-DROP-PROFILE-MODERATE; } Data-3-Scheduler { transmit-rate { remainder; } buffer-size { remainder; } priority low; drop-profile-map loss-priority low protocol any drop-profile WRED-DROP-PROFILE-AGGRESSIVE; } Nwk-Ctl-Scheduler { transmit-rate percent 5; buffer-size percent 5; priority high; } } QUEUING/SCHEDULINGSHAPING Class of Service Stanza QUEUING/SCHEDULING Interfaces Stanza interfaces { … ge-0/0/2 { unit 0 { family inet { filter { input MF-CLASSIFIER; } address 192.168.1.254/24; } } } … } E D D C Code Point Aliases (included by default on Junos devices) can be used in place of numeric values user@device> show class-of-service code-point-aliases dscp Code point type: dscp Alias Bit pattern af11 001010 af12 001100 af13 001110 af21 010010 af22 010100 af23 010110 af31 011010 af32 011100 af33 011110 af41 100010 af42 100100 af43 100110 be 000000 cs1 001000 cs2 010000 cs3 011000 cs4 100000 cs5 101000 cs6 110000 cs7 111000 ef 101110 nc1 110000 nc2 111000 CoS uses a modularized configuration model. Some elements are created and then referenced elsewhere. Apply the policers within the firewall filters (MF classifiers) B Apply the drop profiles within the schedulers D Use a scheduler-map to apply schedulers to traffic classes E Apply the BA classifier to the desired inbound interface(s) Create Reference A Apply the scheduler-map to the desired outbound interface(s) F Apply the rewrite rule to the desired outbound interface(s) G Apply the firewall filter (MF classifier) to the desired inbound interface(s) C A D D E F A G F G F E C B B B B
Download now