Configuring traffic policing, traffic shaping, and rate limit