扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
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领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者