![background image](http://html.mh-extra.com/html/zyxel-communications/vsg1435-b101-v1-10/vsg1435-b101-v1-10_manual_944394173.webp)
Chapter 10 Quality of Service (QoS)
VSG1435-B101 Series User’s Guide
173
Token Bucket
The token bucket algorithm uses tokens in a bucket to control when traffic can be
transmitted. The bucket stores tokens, each of which represents one byte. The
algorithm allows bursts of up to
b
bytes which is also the bucket size, so the
bucket can hold up to
b
tokens. Tokens are generated and added into the bucket
at a constant rate. The following shows how tokens work with packets:
• A packet can be transmitted if the number of tokens in the bucket is equal to or
greater than the size of the packet (in bytes).
• After a packet is transmitted, a number of tokens corresponding to the packet
size is removed from the bucket.
• If there are no tokens in the bucket, the ZyXEL Device stops transmitting until
enough tokens are generated.
• If not enough tokens are available, the ZyXEL Device treats the packet in either
one of the following ways:
In traffic shaping:
• Holds it in the queue until enough tokens are available in the bucket.
In traffic policing:
• Drops it.
• Transmits it but adds a DSCP mark. The ZyXEL Device may drop these marked
packets if the network is overloaded.
Configure the bucket size to be equal to or less than the amount of the bandwidth
that the interface can support. It does not help if you set it to a bucket size over
the interface’s capability. The smaller the bucket size, the lower the data
transmission rate and that may cause outgoing packets to be dropped. A larger
transmission rate requires a big bucket size. For example, use a bucket size of 10
kbytes to get the transmission rate up to 10 Mbps.
Single Rate Three Color Marker
The Single Rate Three Color Marker (srTCM, defined in RFC 2697) is a type of
traffic policing that identifies packets by comparing them to one user-defined rate,
the Committed Information Rate (CIR), and two burst sizes: the Committed Burst
Size (CBS) and Excess Burst Size (EBS).
The srTCM evaluates incoming packets and marks them with one of three colors
which refer to packet loss priority levels. High packet loss priority level is referred
to as red, medium is referred to as yellow and low is referred to as green.
The srTCM is based on the token bucket filter and has two token buckets (CBS and
EBS). Tokens are generated and added into the bucket at a constant rate, called
Committed Information Rate (CIR). When the first bucket (CBS) is full, new
tokens overflow into the second bucket (EBS).
Summary of Contents for VSG1435-B101 - V1.10
Page 2: ......
Page 8: ...Safety Warnings VSG1435 B101 Series User s Guide 8 ...
Page 10: ...Contents Overview VSG1435 B101 Series User s Guide 10 ...
Page 20: ...Table of Contents VSG1435 B101 Series User s Guide 20 ...
Page 21: ...21 PART I User s Guide ...
Page 22: ...22 ...
Page 42: ...Chapter 2 The Web Configurator VSG1435 B101 Series User s Guide 42 ...
Page 71: ...71 PART II Technical Reference ...
Page 72: ...72 ...
Page 78: ...Chapter 5 Network Map and Status Screens VSG1435 B101 Series User s Guide 78 ...
Page 150: ...Chapter 8 Home Networking VSG1435 B101 Series User s Guide 150 ...
Page 154: ...Chapter 9 Static Routing VSG1435 B101 Series User s Guide 154 ...
Page 178: ...Chapter 11 Policy Forwarding VSG1435 B101 Series User s Guide 178 ...
Page 196: ...Chapter 12 Network Address Translation NAT VSG1435 B101 Series User s Guide 196 ...
Page 202: ...Chapter 13 Dynamic DNS Setup VSG1435 B101 Series User s Guide 202 ...
Page 228: ...Chapter 16 Firewall VSG1435 B101 Series User s Guide 228 ...
Page 234: ...Chapter 18 Parental Control VSG1435 B101 Series User s Guide 234 ...
Page 282: ...Chapter 25 Traffic Status VSG1435 B101 Series User s Guide 282 ...
Page 286: ...Chapter 26 IGMP Status VSG1435 B101 Series User s Guide 286 ...
Page 294: ...Chapter 28 Remote Management VSG1435 B101 Series User s Guide 294 ...
Page 298: ...Chapter 29 Time Settings VSG1435 B101 Series User s Guide 298 ...
Page 302: ...Chapter 30 Logs Setting VSG1435 B101 Series User s Guide 302 ...
Page 318: ...Chapter 34 Troubleshooting VSG1435 B101 Series User s Guide 318 ...
Page 348: ...Appendix A Setting up Your Computer s IP Address VSG1435 B101 Series User s Guide 348 ...
Page 358: ...Appendix B IP Addresses and Subnetting VSG1435 B101 Series User s Guide 358 ...
Page 384: ...Appendix D Wireless LANs VSG1435 B101 Series User s Guide 384 ...