Patent ID: 7948986
Filing Date: 2011-05-24
Classification: H04L

Abstract:
1. A method comprising: receiving, with a routing engine of a router of a network, input defining a filter that specifies (1) a user-defined handle that identifies a property common to a plurality of packets of a particular context, and (2) one or more services to be applied to the plurality of packets; with the routing engine, automatically installing the filter within a service plane of the router; maintaining, with the routing engine, data that defines an association between the handle and one or more Multi-Protocol Label Switching (MPLS) labels assigned to forward the plurality of packets of the particular context along a label switched patch (LSP); with the routing engine, automatically generating and installing within a forwarding plane of the router a forwarding-plane filter that specifies one or more of the MPLS labels for filtering the network traffic; applying, with the forwarding plane, the automatically generated forwarding-plane filter to an incoming MPLS packet of the network traffic to inspect only a label stack of the incoming packet without inspecting a remaining portion of a header and a payload of the packet to determine whether the label stack of the MPLS packet contains any of the one or more MPLS labels; when the MPLS packet contains any of the MPLS labels of the filter, forwarding the MPLS packet and additional context information from the forwarding plane to the service plane of the router; with the services plane of the router, applying the filter to the packet to select one or more of the services based on the additional context information received from the forwarding plane; and applying, with the service plane, the selected one or more of the services to the incoming MPLS packet received from the forwarding plane.