한국어

네트워킹

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유
    
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


http://www.pbxphreak.com/QoS/

 

 

Ernie's Quality of Service Guide

QoS Overview
"The ability to identify and prioritize specific applications, users, or data flows and guarantee a desired level of network performance"

  • Converged Networking: Voice, Video, Special Applications and Data

  • Quality of Service: Grade of Service and Mean Opinion Score

  • Factors: Throughput, Latency, Jitter and Loss

  • Features: Classification, Queuing, Congestion Avoidance, Policing, Rewriting and Scheduling

  • Layer 2 frames will identify "interesting" traffic by CoS in the Ethernet Header (Class of Service: 802.1p markings carried on an 802.1Q trunk)
    Valid values for CoS: 0 - 7

  • Layer 3 packets will identify "interesting" traffic by ToS in the IP Header (Type of Service: IP Precedence and DSCP aka DiffServ)
    Valid values for IP Precedence: 0 - 7
    Valid values for DSCP: 0 - 63

QoS Goals

  • Prioritize traffic to help ensure voice quality and call control are maintained
    - Guarantee bandwidth for voice during times of congestion (G.711 = ~90kbs/call and G.729 = ~32kbps/call)
    - Latency < 150ms (less than 80ms ideally) - In one direction (mouth to ear)
    - Jitter < 30ms
    - Packet Loss < 1%
  • Reduce latency and increase throughput for other specific applications such as video

QoS Strategy

  • Use CoS (Class of Service) and DSCP (DiffServ) to identify voice, video, control and specific applications frames and packets and ensure that this specially marked traffic is given the correct priority PHB (Per Hop Behavior) as an end-to-end (LAN and WAN) solution enterprise wide
  • Configure VoIP equipment to correctly mark voice traffic (RTP and Control) with specific CoS / DSCP values
  • Configure switch / router queues to move (and use policies to mark) frames and packets based on an agreed upon order and desired bandwidth

Network traffic will fit into one of these four (4) general categories in this strategy guide:

  1. Voice Traffic – Real-time conversations
  2. Control Traffic – Network (Spanning Tree), Inter-Network (Routing Protocols) and Voice (H.248 / MGCP)
  3. Priority Application Traffic – Video, Citrix, 3270 etc.
  4. Everything Else! – Email, Web, File Copy, FTP etc.
“Pre-set / agreed upon standards" - Ethernet Frame and IP Packet markings table

COS (Ethernet Frame)

DSCP (IP Packet)

Traffic

5

46

Voice Traffic (RTP)

3, 6, 7

26, 48, 56

Control Traffic (H.248 / MGCP)

4

34

Priority Application Traffic (Video)

0, 1, 2 (Unmarked)

0 (Unmarked)

All “Other” Traffic (Email, HTTP, FTP, SMB etc.)

  • Some telecom equipment is intelligent enough to correctly mark its own network traffic.
    If this is the case, you should configure the gear to mark based on the table above (Voice RTP = CoS 5 / DSCP 46 for example)
  • Other gear may need to rely on the Cisco switch or router to identify and mark frames and packets.
    ACLs, Class Maps and Policy Maps can use things like IP address, TCP / UDP port or the physical incoming switch port to mark traffic.
  • Simply marking traffic isn't enough. You will need to configure switches and routers to correctly queue and police ingress and egress ports based on the CoS / DSCP markings. During times of congestion, voice traffic should get special treatment and placed in the "front of the line" while other traffic like HTTP may get dropped! This is what QoS (Traffic Shaping) is all about.

Ernie's QoS Configuration Examples

Monitoring QoS

Tools

Selecting a Cisco Ethernet switch specifically for QoS

  • Cisco 2950 - Not desired, only has two (2) egress queues and no ingress QoS capability. (Has some basic QoS ability if you already own one.)
  • Cisco 2960 - Has POE and four (4) egress queues as well as can classify, reclassify, police, mark, queue, and schedule incoming packets.
  • Cisco 3560 - Optional POE, has great QoS support and the "Enhanced" image supports VRF-Lite.
  • Cisco 4500 Series - Modular "Campus" switch, optional POE and has great QoS support.
  • Cisco 6500 Series - Modular "Core" switch, optional POE and has full QoS support.

Additional QoS Related Reading & Links

Switching Methods

  • Cut Through - Forwards after looking at only the first 6 bytes. Could mistakenly forward a fragment, runt or damaged frame.
  • Fragment Free (Fast Forward) - Forwards after looking at only the first 64 bytes. Could mistakenly forward a damaged frame.
  • Store and Forward - Forwards after receiving and examining the entire frame. This was slower, but newer Cisco switches have very fast ASICs now.

Switching "Bus" Topologies

  • Shared Bus
  • Cross Bar

Buffering Configuration

  • Shared Memory
  • Port Buffered Memory
Queuing Methods
  • FIFO queuing
    This is the basic first-in, first-out queuing technique in which the first packet in the queue is the first packet that is processed. When queues become full, congestion occurs and incoming packets are dropped. FIFO relies on end systems to control congestion via congestion control mechanisms.
  • Priority queuing
    This technique uses multiple queues, but queues are serviced with different levels of priority, with the highest priority queues being serviced first. When congestion occurs, packets are dropped from lower-priority queues. The only problem with this method is that lower-priority queues may not get serviced at all if high-priority traffic is excessive. Packets are classified and placed into queues according to information in the packets. For example, Cisco routers can be programmed to prioritize traffic for a particular port into high-, medium-, or low-priority queues. Priority schemes may be abused by users or applications that mark packets with priorities that are not allowed. Admission control functions can monitor this.
  • Fair queuing
    This method helps solve the problem where some queues may not get serviced because high-priority queues are being serviced. A round-robin approach is used to service all queues in a fair way. This prevents any one source from overusing its share of network capacity. Problems can occur when packets are variable in length and each queue is allowed to release one packet at a time. Some queues will take more time. A byte-oriented scheme may be used to equalize the queues. In addition, some queues may be more full than others and naturally need more service, but a strict, fair queuing scheme will service each queue equally.
  • WFQ (weighted fair queuing)
    This can be seen as a combination of priority queuing and fair queuing. All queues are serviced so that none are starved, but some queues are serviced more than others. A weight is applied to queues to give some queues higher priority. For example, one queue may get half the available bandwidth and other queues will get an allocation of the remaining bandwidth. Traffic may be prioritized according to packet markings, source and destination IP address fields, port numbers, and information in the ToS field. WFQ weights traffic so that low-bandwidth traffic gets a fair level of priority. If high-priority queues are not in use, lower-priority traffic uses its queues. This prevents high-bandwidth traffic from grabbing an unfair share of resources. WFQ is Cisco's "premier queuing technique" according to the Cisco QoS paper listed on related entries page. A unique feature is that it moves real-time interactive traffic to the front of queues and fairly shares the remaining bandwidth among other flows.
  • CBQ (class-based queuing)
    CBQ is a class-based algorithm that schedules packets in queues and guarantees a certain transmission rate. If a queue is not in use, the bandwidth is made available to other queues. A CBQ-compliant device looks deep in packets to classify packets according to addresses, application type, protocol, URL, or other information. CBQ is more than a queuing scheme. It is also a QoS scheme that identifies different types of traffic and queues the traffic according to predefined parameters.

Terminology & Definitions

  • CBWFQ - Class Based Weighted Fair Queuing
  • COS
  • DiffServ
  • IP Precedence
  • LLQ - Low-Latency Queuing
  • PQ - Priority Queuing
  • Strict Queue
  • WRED - Weighted Random Early Detection

Other worthwhile reading (not specifically QoS related)

조회 수 :
54099
등록일 :
2012.01.06
01:11:08 (*.160.42.233)
엮인글 :
http://webs.co.kr/index.php?document_srl=680&act=trackback&key=703
게시글 주소 :
http://webs.co.kr/index.php?document_srl=680
List of Articles
번호 제목 글쓴이 날짜 조회 수
60 route 및 iptables를 이용한 리눅스 특정 IP 접속 차단하는 법 admin 2018-04-15 1046
59 IPv6와 IPv4의 차이점 기존의 IPv4의 문제점 admin 2018-04-15 1070
58 유용한 네트워크 분석 도구 소개와 패킷분석 입문 admin 2018-04-15 980
57 실시간 120만개의 패킷분석 - OpenSOC 프로젝트 admin 2018-04-15 850
56 사례를 통해 알아가는 실전 패킷분석 A 기업의 UDP 트래픽 급증의 원인은 admin 2018-04-15 878
55 리눅스 linux 현재 사용중인 랜카드 트래픽 대역폭 확인 프로그램 nload admin 2017-11-04 3125
54 whois site ip owner check admin 2015-08-03 4648
53 How to reduce DDOS attack admin 2015-06-24 4784
52 Collection of basic Linux Firewall iptables rules all you need admin 2015-06-16 4523
51 TCP flag(URG, ACK, PSH, RST, SYN, FIN) admin 2014-04-05 11789
50 HowTo Disable ipv6 Lenny squeeze admin 2014-02-25 9898
49 ping 핑 에 의한 패킷 전송 10 단계 그림으로 설명 file admin 2014-02-13 13073
48 whois IP Domain admin 2014-02-10 10623
47 Cisco - CCNP, CCIE - QoS. Quality Of Service admin 2013-08-29 14472
46 Easy Steps to Cisco Extended Access List file admin 2013-08-02 12364
45 Securing Networks Access List Implementation on Cisco Routers admin 2013-08-02 36885
44 Analyzing High CPU Utilization Issues on Cisco Catalyst 6500 Series admin 2013-08-01 13699
43 Basic Configuration of VLANS, Switchports and InterVLAN Routing admin 2013-08-01 11821
42 다산 스위치 Dasan L3 Switch manuall 및 명령어 v6424 V5424 등 file admin 2013-07-14 26504
41 Intel Network Adapter Drivers for Windows Server 2003*, Final Release file admin 2013-06-22 12208
40 ping 설명 ICMP Internet Control Message Protocol 설명 여러가지 admin 2013-05-09 49115
39 네트웍을 공부하려고 하는분 네이버 네트워크 전문가 따라 잡기 카페 admin 2013-04-20 20427
38 List of TCP and UDP port numbers admin 2013-04-16 34679
37 Juniper QFabric, Junosphere, Automation, and More admin 2013-03-31 13511
36 Cisco ASA Packet Captures for Fun and Profit admin 2013-03-31 12369
35 3com tftp damon program 3cdv2r10 file admin 2013-03-17 13041
34 VLAN Tagging - Understanding VLANs Ethernet Frames admin 2013-03-11 30578
33 Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches admin 2013-01-30 27613
» Quality of Service Guide - QOS admin 2012-01-06 54099
31 dscp ef admin 2012-01-06 15298
30 DSCP(분화된 서비스 코드 포인트) 개요 admin 2012-01-06 16951
29 IP Precedence, TOS & DSCP admin 2012-01-06 20769
28 컴퓨터 네트워크의 기초 강의 – 네트워크 관련 윈도우 명령어 admin 2012-01-02 15674
27 국내 IPv6 자료 한국 인터넷진흥원 admin 2012-01-02 13048
26 World BGP Report admin 2011-12-28 13118
25 BGP AS4766 Korea Telecom IPv4 Route Propagation file admin 2011-12-28 14742
24 Introduction to MPLS admin 2011-12-25 13574
23 Protocol BGP Lab 1 Part 1 AS Path Local Preference Route Reflectors admin 2011-12-25 14157
22 IPSec Site to Site VPN tunnels admin 2011-12-25 13903
21 CONFIGURING STATIC ROUTING RIP IGRP OSPF ON CISCO ROUTER admin 2011-12-25 14157
20 BGP Study 유튜브 동영상 admin 2011-12-25 14067
19 Question about no ip-directed broadcast admin 2011-12-23 16219
18 IPv6 환경의 보안 위협 및 공격 분석 file admin 2011-12-22 13242
17 [Cisco] NAT Config 해설 admin 2011-12-19 80690
16 자이온의 실전! QoS 강좌 1 admin 2011-12-19 17843
15 3com 스위칭허브 스위칭용량및 속도 총정리 file admin 2011-12-16 19289
14 트래픽관리를 위한 MRTG 서버구축 admin 2011-12-16 17372
13 Brocade FastIron GS Series manuall file admin 2011-12-16 31378
12 CAT.6 UTP 케이블링 작업 요령 file admin 2011-12-16 19190
11 윈도우에서 특정아이피 차단 설정 하기 admin 2011-12-16 21127
10 정의랑의 네트워크이야기 - 네트워크 전반적인 분야 고수 admin 2011-12-16 13166
9 GRE Tunnel /VPN admin 2011-12-16 13457
8 VLAN과 TRUNK admin 2011-12-16 12831
7 와룡의 네트워크 카페에서 라우팅 ,스위칭공부 admin 2011-12-16 13594
6 방화벽 자료 admin 2011-12-16 13374
5 Subnet Mask Cheat Sheet admin 2011-12-16 13314
4 서브넷마스크 와일드마스크 계산기 file admin 2011-12-16 88722
3 KT 보안관제센터 직원들이 네트워크 감시 근무자 모니터 화면 admin 2011-12-16 16430
2 Juniper Training Courses admin 2011-12-16 15576
1 기간망의 네트워크 운용실의 대형 라우터장비 예 admin 2011-12-16 12792