摘要 |
An access device for controlling a bandwidth includes a token bucket module and a processing module. The token bucket module is set for each service priority of each logical connection. The processing module is used for receiving a message from a logical connection, taking a token from corresponding token bucket module according to logical connection and priority of the message, comparing byte number of the message with byte number corresponding to the token, forwarding the message if the byte number corresponding to the token is larger than that of the message, and discarding the message otherwise. A method for controlling the bandwidth is also disclosed.
|