Tag Archives: Qos

Google BBR Algorithm

Google’s BBR algorithm for handling TCP traffic congestion could announce a new Era on the trasnport Control Protocol (TCP). Google announced integration with Google Cloud, a cloud hosting platform offered by Google to thousands of companies and which serves millions of websites on a daily basis.

BBR stands for “Bottleneck Bandwidth and RTT (Round-Trip Time),” and is an algorithm for optimizing how network packets travel through servers in order to avoid jamming certain routes.

If you want test this on your linux box, you can follow this guide here https://patchwork.ozlabs.org/patch/671069/

An draft IETF proposal as been made, you check see it here https://tools.ietf.org/html/draft-cheng-iccrg-delivery-rate-estimation-00

Share

Juniper vMX Update about QoS, Application Packages and Bandwidth Licenses

This was presented on Q115 Education and Certification webcast from Juniper, bringing it to my Lab for 90 days with all features is awesome!

vmx_features

vmx_qos

vmx_licenses

vmx_bandwidth_sku   vmx_products

References:

Juniper vMX

Juniper Networks Redefines Networking Industry With First Carrier-Grade Virtual Router

Juniper Networks doubles down on virtualization

Q115 Education and Certification webcast

Share

Cisco Order of Operations

Existem 2 tabelas importantes que indicam a ordem das operações no IOS são a do NAT e QoS.

Operações no NAT:

Inside-to-Outside Outside-to-Inside
  • If IPSec then check input access list
  • decryption – for CET (Cisco Encryption Technology) or IPSec
  • check input access list
  • check input rate limits
  • input accounting
  • redirect to web cache
  • policy routing
  • routing
  • NAT inside to outside (local to global translation)
  • crypto (check map and mark for encryption)
  • check output access list
  • inspect (Context-based Access Control (CBAC))
  • TCP intercept
  • encryption
  • Queueing
  • If IPSec then check input access list
  • decryption – for CET or IPSec
  • check input access list
  • check input rate limits
  • input accounting
  • redirect to web cache
  • NAT outside to inside (global to local translation)
  • policy routing
  • routing
  • crypto (check map and mark for encryption)
  • check output access list
  • inspect CBAC
  • TCP intercept
  • encryption
  • Queueing

Operações no QoS:

Inbound Outbound
  1. QoS Policy Propagation through Border Gateway Protocol (BGP) (QPPB)
  2. Input common classification
  3. Input ACLs
  4. Input marking (class-based marking or Committed Access Rate (CAR))
  5. Input policing (through a class-based policer or CAR)
  6. IP Security (IPSec)
  7. Cisco Express Forwarding (CEF) or Fast Switching
  1. CEF or Fast Switching
  2. Output common classification
  3. Output ACLs
  4. Output marking
  5. Output policing (through a class-based policer or CAR)
  6. Queueing (Class-Based Weighted Fair Queueing (CBWFQ) and Low Latency Queueing (LLQ)), and Weighted Random Early Detection (WRED)

Share

Alterar Maps DSCP-CoS e CoS-DSCP

Os routers/switches by default tem pré-configurado o mapeamento entre CoS e DCSP. No entanto e possível alterar o mapeamento segundo os nossos requisitos.

Rack1SW1#sh mls qos map

Dscp-cos map:
dscp:   0  8 10 16 18 24 26 32 34 40 46 48 56
———————————————–
cos:   0  1  1  2  2  3  3  4  4  5  5  6  7

Cos-dscp map:
cos:   0  1  2  3  4  5  6  7
——————————–
dscp:   0  8 16 26 32 46 48 56

!!Alterando o mapeamento cos-dcsp cs4=32 e cs5=40

Rack1SW1(config)#mls qos ma cos-dscp ?
<0-63>   Supported DSCP values are: 0,8,10,16,18,24,26,32,34,40,46,48,56
af11     Match packets with AF11 dscp (001010)
af21     Match packets with AF21 dscp (010010)
af31     Match packets with AF31 dscp (011010)
af41     Match packets with AF41 dscp (100010)
cs1      Match packets with CS1(precedence 1) dscp (001000)
cs2      Match packets with CS2(precedence 2) dscp (010000)
cs3      Match packets with CS3(precedence 3) dscp (011000)
cs4      Match packets with CS4(precedence 4) dscp (100000)
cs5      Match packets with CS5(precedence 5) dscp (101000)
cs6      Match packets with CS6(precedence 6) dscp (110000)
cs7      Match packets with CS7(precedence 7) dscp (111000)
default  Match packets with default dscp (000000)
ef       Match packets with EF dscp (101110)
Rack1SW1(config)#mls qos ma cos-dscp 0 0 0 0 32 40 0 0
Rack1SW1#sh mls qos maps

Dscp-cos map:
dscp:   0  8 10 16 18 24 26 32 34 40 46 48 56
———————————————–
cos:   0  1  1  2  2  3  3  4  4  5  5  6  7

Cos-dscp map:
cos:   0  1  2  3  4  5  6  7
——————————–
dscp:   0  0  0  0 32 40  0  0

Share

Junos Fundamentals Day One

A Juniper disponibiliza uma série de Books sobre Junos, apelidou-os de Day One. Pretende dar conhecer as potencialidades do Junos OS aos novos utilizadores ganhando assim conhecimento suficiente para configurar e gerir este tipo de equipamentos.

Esta série Junos Fundamentals inclui:

Hardening Junos Devices

 

Juniper Networks takes the security of its products very seriously and has created proven processes and procedures following industry best practices. This Week: Hardening Junos Devices divides Juniper’s hardening procedures into four topic areas – Non-Technical, Physical Security, Operating System Security, and Configuration Hardening – and delves into sample strategies, example configurations, and dozens of suggestions and useful tips for each.

Learn more

Configuring Junos Policies and Firewall Filters

 

Control routing information and influence packet flow through your Juniper Networks router or switch by mastering the primary building blocks of Junos policy, firewall filters, and policers.

Learn more

Deploying Basic QoS

Build upon a basic model of QoS behaviors with the levers and knobs that Junos can use to influence each of those behaviors.

Learn more

Junos Tips, Techniques, and Templates 2011

Here’s a Junos tips and tricks book that’s meant to be browsed with a terminal open to your favorite Junos device so you can try each and every technique.

Learn more

Securing the Routing Engine on M, MX, and T Series

Learn how to secure the routing engine step-by-step, then build a modular firewall filter and apply it.

Learn more

Exploring the Junos CLI

Learn about new tools, shortcuts and safeguards and save yourself hours at the keyboard.

Learn more

Configuring Junos Basics

 

Learn how to configure the base settings of your router, switch or security device.

Learn more

Monitoring and Troubleshooting

 

Learn how to monitor your network and troubleshoot events in Junos.

Learn more

Referências:

Junos Fundamentals

Share