Patent ID: 7782864

Claim:
A method for providing a QoS (quality of service) for an MPLS in an MPLS (multi protocol label switching) network system comprising a session table for storing information on session generated for each EXP (experimental) in an LSP (label switching path), more than one QoS policy tables for storing QoS policy information which will be applied to the session, and a forwarding table for storing forwarding information of an MPLS packet, the method comprising: extracting label information and EXP information from an incoming MPLS packet; applying the extracted label information and EXP information to a predetermined hash function to generate at least one hash value; examining whether a matching session entry exists or not in a session table; generating QoS policy tables and updating the QoS policy information in the QoS policy tables; forwarding the MPLS packet according to the forwarding information and QoS policy information corresponding to an MPLS session when the matching session entry exists in the session table; and extracting the QoS policy information and the forwarding information from the QoS policy tables and the forwarding table, and generating an entry including the extracted information and adding to the session table when a matching session entry does not exist in the session table.