Patent attributes
The present application discloses a method for generating forwarding information. The method includes: determining, by a controller, a first SFE and a second SFE that are used to forward a service stream, where the first SFE and the second SFE are on a service function chain corresponding to the service stream; generating, by the controller, first forwarding information for the first SFE and generating second forwarding information for the second SFE; and sending, by the controller, the first forwarding information to the first SFE and sending the second forwarding information to the second SFE. According to the method for generating forwarding information, the controller generates forwarding information for the SFE, so that a service chaining technology can be applied to a service environment in which a large quantity of services and a large quantity of service processing function units exist.