Traffic Classification and Routing Switch QOS Configuration
Traffic classification refers to the recognition of messages with certain characteristics according to certain rules. Messages with different characteristics enjoy different services. Traffic classification can be divided into simple flow classification and complex flow classification according to different reference information of classification rules.
Simple stream classification refers to the rough classification of messages using simple rules, such as DSCP/IP-PRE values in IP headers, EXP domain values in MPLS headers, 802.1P values in Vlan headers, to identify traffic with different priority or service level characteristics.
Complex stream classification refers to the fine categorization of messages using complex rules, such as integrated link layer, network layer, transport layer information (such as source MAC address, destination MAC address, source IP address, destination IP address, user group number, protocol type, or TCP/UDP port number of the application). Traffic is usually classified on the boundary router of Diff-Serv domain.
Classifications and tags in QoS are used to define defined actions (dorp, forward, and so on) for data traffic.Objects differ depending on the strategy used. However, all vendor devices in the network have a default tag forwarding policy, which means that both classifications and tags allow administrators to customize traffic, but only tags have a default policy, such as in tagging technology ipp, dscp, 802.1p, mpls_exp.Different markup codes (numbers or codes)Represents different forwarding priorities. A comparison table with default flags and policies can be seen against the following tables, so administrators can use the device's default forwarding policy to perform QoS forwarding simply by marking traffic as the corresponding number or code. Of course, some of these strategies are also well flagged by default, such as routing protocol BGP, OSPF and so on, in DSCP. Traffic marked as CS type executes optimal forwarding policy, while traffic such as voice voice and video is defaultly marked as EF and AF4 in DSCP to perform fast forwarding (second only to CS priority)
Car, or speed-limiting technology, is accomplished using the concept of a token bucket. Roughly, how many (usually 1s) of traffic are allowed to be forwarded from the token bucket within a certain period of time before it enters the device interface to prepare for forwarding (the number of tokens is placed according to the size of the token bucket)In the control, there are up to two token buckets, the first one is called CBS bucket, the second one is called PBS bucket.(As for the three colors, they are all configured according to your needs. The default is green to get the traffic of the token in the first token bucket cbs, yellow to get only the token in the second token bucket pbs, and red to get no traffic in any token bucket, that is, generally speaking, beyond the specified traffic. The default strategy is to discard, but it can also beModify by yourself)
That's all. Thank you.


