WO2018010519A1

Method and apparatus for establishing multicast tunnel

Abstract

The present application provides a method for establishing a multicast tunnel, capable of reducing the costs of a forwarding plane and improving the forwarding efficiency. The method comprises: a first forwarding device sends a request message to a second forwarding device, the request message comprising label block information and a path identifier, the label block information being used for representing the size of a label block, the path identifier being used for identifying a tunnel, between the first forwarding device and the second forwarding device, corresponding to a virtual private network (VPN), the first forwarding device being an upstream device of the second forwarding device; the first forwarding device receives a response message sent by the second forwarding device, the response message comprising a first label and the path identifier, the first label being an initial label of the label block determined according to the label block information; the first forwarding device obtains a forwarding entry corresponding to the tunnel according to the first label and the path identifier.

WO2018010519A1, drawing sheet 1
Sheet 1 of 10

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Published
  4. Today

16 claims: 4 independent, 12 dependent

  1. 1
    A method for establishing a multicast tunnel, characterized in that, the method comprises:一种建立组播隧道的方法,其特征在于,所述方法包括: The first forwarding device sends a request message to the second forwarding device, where the request message includes information of a label block and an identifier of a path, where the information of the label block is used to indicate a size of a label block, and the identifier of the path is used to identify A tunnel corresponding to a virtual private network VPN between a first forwarding device and the second forwarding device, where the first forwarding device is an upstream device of the second forwarding device;第一转发设备向第二转发设备发送请求消息,所述请求消息包括标签块的信息和路径的标识,所述标签块的信息用于表示标签块的大小,所述路径的标识用于标识所述第一转发设备与所述第二转发设备间与虚拟专用网VPN对应的隧道,所述第一转发设备是所述第二转发设备的上游设备;Receiving, by the first forwarding device, a response message sent by the second forwarding device, where the response message includes a first label and an identifier of the path, where the first label is determined according to the information about the label block The initial tag of the block 所述第一转发设备接收所述第二转发设备发送的响应消息,所述响应消息包括第一标签和所述路径的标识,所述第一标签是根据所述标签块的信息确定的所述标签块的起始标签;By the first forwarding device, a forwarding entry corresponding to the tunnel according to the first label and the identifier of the path. 所述第一转发设备根据所述第一标签和所述路径的标识,获得与所述隧道对应的转发表项。
  2. 6
    A method for establishing a multicast tunnel, characterized in that, the method comprises:一种建立组播隧道的方法,其特征在于,所述方法包括: The second forwarding device receives the request message sent by the first forwarding device, and the second forwarding device is the first forwarding Device, where the request message includes information of a label block and an identifier of a path, where the information of the label block is used to indicate a size of a label block, and an identifier of the path is used to identify a tunnel corresponding to a virtual private network VPN;第二转发设备接收第一转发设备发送的请求消息,所述第二转发设备是所述第一转发 设备的下游设备,所述请求消息包括标签块的信息和路径的标识,所述标签块的信息用于表示标签块的大小,所述路径的标识用于标识与虚拟专用网VPN对应的隧道;By the second forwarding device, a first label according to the information of the label block, where the first label is a starting label of the label block that is determined according to the information of the label block;所述第二转发设备根据所述标签块的信息,获得第一标签,所述第一标签是根据所述标签块的信息确定的所述标签块的起始标签;Sending, by the second forwarding device, a response message to the first forwarding device, where the response message includes an identifier of the first label and the path. 所述第二转发设备向所述第一转发设备发送响应消息,所述响应消息包括所述第一标签和所述路径的标识。
  3. 9
    A first forwarding device, wherein the first forwarding device comprises:一种第一转发设备,其特征在于,所述第一转发设备包括: The first sending unit is configured to send a request message to the second forwarding device, where the request message includes information about a label block and an identifier of a path, where the information about the label block is used to indicate a size of a label block, In a tunnel corresponding to a virtual private network VPN between the first forwarding device and the second forwarding device, where the first forwarding device is an upstream device of the second forwarding device;第一发送单元,用于向第二转发设备发送请求消息,所述请求消息包括标签块的信息和路径的标识,所述标签块的信息用于表示标签块的大小,所述路径的标识用于标识所述第一转发设备与所述第二转发设备间与虚拟专用网VPN对应的隧道,所述第一转发设备是所述第二转发设备的上游设备;A first receiving unit, configured to receive a response message sent by the second forwarding device, where the response message includes a first label and an identifier of the path, where the first label is determined according to the information about the label block The first label of the label 第一接收单元,用于接收所述第二转发设备发送的响应消息,所述响应消息包括第一标签和所述路径的标识,所述第一标签是根据所述标签块的信息确定的所述标签块的起始标签;The first obtaining unit is configured to obtain a forwarding entry corresponding to the tunnel according to the first label and the identifier of the path. 第一获得单元,用于根据所述第一标签和所述路径的标识,获得与所述隧道对应的转发表项。
  4. 14
    A second forwarding device, characterized in that, the second forwarding device comprises:一种第二转发设备,其特征在于,所述第二转发设备包括: A receiving unit, configured to receive a request message sent by a first forwarding device, where the second forwarding device is a downstream device of the first forwarding device, where the request message includes information of a label block and an identifier of a path, and the label block Is used to indicate the size of a label block, and the identifier of the path is used to identify a tunnel corresponding to a virtual private network VPN;接收单元,用于接收第一转发设备发送的请求消息,所述第二转发设备是所述第一转发设备的下游设备,所述请求消息包括标签块的信息和路径的标识,所述标签块的信息用于表示标签块的大小,所述路径的标识用于标识与虚拟专用网VPN对应的隧道;A first obtaining unit, configured to obtain a first label according to the information of the label block, where the first label is a starting label of the label block determined according to the information of the label block;第一获得单元,用于根据所述标签块的信息,获得第一标签,所述第一标签是根据所述标签块的信息确定的所述标签块的起始标签;A sending unit, configured to send a response message to the first forwarding device, where the response message includes an identifier of the first label and the path. 发送单元,用于向所述第一转发设备发送响应消息,所述响应消息包括所述第一标签和所述路径的标识。