![background image](http://html.mh-extra.com/html/zyxel-communications/vmg5313-b10a/vmg5313-b10a_user-manual_944375176.webp)
Chapter 10 Quality of Service (QoS)
VMG5313-B10A/-B30A Series User’s Guide
176
DiffServ
QoS is used to prioritize source-to-destination traffic flows. All packets in the flow are given the
same priority. You can use CoS (class of service) to give different priorities to different packet
types.
DiffServ (Differentiated Services) is a class of service (CoS) model that marks packets so that they
receive specific per-hop treatment at DiffServ-compliant network devices along the route based on
the application types and traffic flow. Packets are marked with DiffServ Code Points (DSCPs)
indicating the level of service desired. This allows the intermediary DiffServ-compliant network
devices to handle the packets differently depending on the code points without the need to
negotiate paths or remember state information for every flow. In addition, applications do not have
to request a particular service or give advanced notice of where the traffic is going.
DSCP and Per-Hop Behavior
DiffServ defines a new Differentiated Services (DS) field to replace the Type of Service (TOS) field
in the IP header. The DS field contains a 2-bit unused field and a 6-bit DSCP field which can define
up to 64 service levels. The following figure illustrates the DS field.
DSCP is backward compatible with the three precedence bits in the ToS octet so that non-DiffServ
compliant, ToS-enabled network device will not conflict with the DSCP mapping.
The DSCP value determines the forwarding behavior, the PHB (Per-Hop Behavior), that each packet
gets across the DiffServ network. Based on the marking rule, different kinds of traffic can be
marked for different kinds of forwarding. Resources can then be allocated according to the DSCP
values and the configured policies.
IP Precedence
Similar to IEEE 802.1p prioritization at layer-2, you can use IP precedence to prioritize packets in a
layer-3 network. IP precedence uses three bits of the eight-bit ToS (Type of Service) field in the IP
header. There are eight classes of services (ranging from zero to seven) in IP precedence. Zero is
the lowest priority level and seven is the highest.
Automatic Priority Queue Assignment
If you enable QoS on the VMG, the VMG can automatically base on the IEEE 802.1p priority level, IP
precedence and/or packet length to assign priority to traffic which does not match a class.
Level 1
This is typically used for non-critical “background” traffic such as bulk transfers that
are allowed but that should not affect other applications and users.
Level 0
Typically used for best-effort traffic.
DSCP (6 bits)
Unused (2 bits)
Table 52
IEEE 802.1p Priority Level and Traffic Type
PRIORITY
LEVEL
TRAFFIC TYPE
Summary of Contents for VMG5313-B10A
Page 15: ...15 PART I User s Guide ...
Page 16: ...16 ...
Page 32: ...Chapter 2 The Web Configurator VMG5313 B10A B30A Series User s Guide 32 ...
Page 40: ...Chapter 4 Tutorials VMG5313 B10A B30A Series User s Guide 40 ...
Page 71: ...71 PART II Technical Reference ...
Page 72: ...72 ...
Page 78: ...Chapter 5 Network Map and Status Screens VMG5313 B10A B30A Series User s Guide 78 ...
Page 106: ...Chapter 6 Broadband VMG5313 B10A B30A Series User s Guide 106 ...
Page 162: ...Chapter 9 Routing VMG5313 B10A B30A Series User s Guide 162 ...
Page 180: ...Chapter 10 Quality of Service QoS VMG5313 B10A B30A Series User s Guide 180 ...
Page 198: ...Chapter 11 Network Address Translation NAT VMG5313 B10A B30A Series User s Guide 198 ...
Page 210: ...Chapter 14 Interface Group VMG5313 B10A B30A Series User s Guide 210 ...
Page 218: ...Chapter 15 USB Service VMG5313 B10A B30A Series User s Guide 218 ...
Page 232: ...Chapter 17 Firewall VMG5313 B10A B30A Series User s Guide 232 ...
Page 240: ...Chapter 19 Parental Control VMG5313 B10A B30A Series User s Guide 240 ...
Page 250: ...Chapter 21 Certificates VMG5313 B10A B30A Series User s Guide 250 ...
Page 296: ...Chapter 23 Voice VMG5313 B10A B30A Series User s Guide 296 ...
Page 300: ...Chapter 24 Log VMG5313 B10A B30A Series User s Guide 300 ...
Page 308: ...Chapter 27 xDSL Statistics VMG5313 B10A B30A Series User s Guide 308 ...
Page 318: ...Chapter 30 Remote Management VMG5313 B10A B30A Series User s Guide 318 ...
Page 322: ...Chapter 32 TR 064 VMG5313 B10A B30A Series User s Guide 322 ...
Page 332: ...Chapter 36 Log Setting VMG5313 B10A B30A Series User s Guide 332 ...
Page 336: ...Chapter 37 Firmware Upgrade VMG5313 B10A B30A Series User s Guide 336 ...
Page 352: ...Chapter 40 Troubleshooting VMG5313 B10A B30A Series User s Guide 352 ...
Page 354: ...354 ...
Page 374: ...Appendix B Wireless LANs VMG5313 B10A B30A Series User s Guide 374 ...
Page 390: ...Appendix E Legal Information VMG5313 B10A B30A Series User s Guide 390 ...