科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网网络频道Qos相关配置

Qos相关配置

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

作者:ChinaITLab 来源:ChinaITLab 2008年6月6日

关键字: QoS 服务质量 qos服务质量

  • 评论
  • 分享微博
  • 分享邮件

  Configuraton

  *FIFO

  (config-if)#FIFO

  *weighted fair

  (config-if)#fair-queue{congestive-discard-threshold}

  *Priority

  (config-if)#priority-group group_number(1-16)

  (config)#priority-list list-number protocol protocol-name {high | medium | normal | low} queue-keyword

  keyword-value

  list-number interface interface-type interface-number {high | medium | normal | low}

  (config)#priority-list list-number default {high | medium | normal | low}

  *optional commands

  !command to change the max number of packets in each queue.

  (config)#priority-list list-number queue-limit high-limit medium-limit normal-limit low-limit

  !default 20 40 60 80

  !queue-keyword values

  fragmens-->number of fragments

  gt-->port num

  lt-->port num

  list--->access list

  tcp-->port num

  udp-->port num

  *Custom

  (config-if)#custom-queue-list list_number(1-16)

  (config)#queue-list list-number protocol protocol-name {high | medium | normal | low} queue-keyword keyword-value

  (config)#queue-list list-number interface interface-type interface-number queue-number

  (config)#queue-list list-number default queue-number

  -optional commands

  !specify the max number of packets for a particular queue (limit-number 0 - 32,767)

  (config)#queue-list list-number queue queue-number limit limit-number

  !if max number of packets are set too low you will drop the excess traffic!!!!

  !default limit-number is 20

  (config)#queue-list list-number queue queue-number byte-count byte-count-number

  !default byte count is 1500

  *debug commands

  show queueing

  show queueing {int | custom | priority | fair }

  show interfaces

  Compression

  One of the most important points in compression theory is that there exists a theoretical limit, known as Shannon's Limit, to how much a given source of data can be compressed. Beyond that point, it is impossible to reliably recover compressed data.

  Compression is not a bandwith replacement only a temporary fix!

  You should not compress:

  Already compressed data

  Encrypted data

  High speed links

  Compression is typically either a cpu or memory intensive opreation and must be preformed on both ends of the connection.

  Types of compression

  Link compression (also known as per-interface compression, mainly point to point links because the packet is non-routable once compressed)

  Payload compression (also known as per-virtual-circuit compression, can be used any situation)

  TCP header compression (used when you have lots of small ip packets)

  Three types of link compression

  predictor - memory intensive

  stac - cpu intensive

  mppc- microsoft point-to-point compression- used in tunneling ppp across a virtual connection (PPPTP- Point-to-Point Tunneling Protocol)

  (config-if)#compress {predictor | stac | mppc}

  Payload compression

  used mainly in

  Frame relay

  SMDS

  ATM

  (config-if)#compress payload-compress

  TCP header compression

  used mostly in PPP connections

  (config-if)#ip tcp header-compression

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章