As a network QoS technique, two rate three color maker(trTCM) has been widely used in the implementation of traffic ploicing, traffic shaping and port rate limiting. The implementation of the trTCM is usually based on software, which is simple and easy to be configured. However, the software trTCM has low marking precision and it cannot be easily scaled to support high-speed network traffic. We propose a novel method to design and implement the trTCM based on FPGA. The key configuration paramete