Method and device for transmitting forwarding parameter

    公开(公告)号:US10320660B2

    公开(公告)日:2019-06-11

    申请号:US15449862

    申请日:2017-03-03

    摘要: Embodiments of the present invention disclose a method, an apparatus, and a system for transmitting a forwarding parameter. The method includes: obtaining, by a controller, an extended forwarding module description, where the extended forwarding module description includes a first format encoding rule, the first format encoding rule is used to indicate a type of a first forwarding parameter and a location of the first forwarding parameter in a first field, and the first field is a field in a flow entry of an OpenFlow protocol; and filling, by the controller, the first forwarding parameter in the first field according to the first format encoding rule, and sending, to a forwarding device by using the OpenFlow protocol, the flow entry that carries the first field, so that the forwarding device parses the first field in the flow entry according to the first format encoding rule, to obtain the first forwarding parameter.