Patent ID: 8209425

Claim:
A method for establishing a service connection, comprising: obtaining, by a first label switching router (LSR), interface configuration parameters, wherein the interface configuration parameters comprise an interface configuration parameter of a local device and an interface configuration parameter of a remote device, the interface configuration parameter of the local device and the interface configuration parameter of the remote device are configuration parameters required for correspondingly generated interfaces on the local device and the remote device for establishing the connection from the local device to the remote device, wherein the local device is the first LSR, the remote device is a second LSR, wherein the interface configuration parameters comprise at least one of the following parameters of the local device and the remote device: interface Internet Protocol (IP) addresses, routing protocols, and routing parameters; adding, by the first LSR, an interface parameter object to a user network interface (UNI) request message, wherein the interface parameter object carries the interface configuration parameters; and sending, by the first LSR, the UNI request message carrying the interface configuration parameter of the remote device to the remote device, so as to establish a service connection with the remote device; wherein the first LSR sets an interface of the local device according to the interface configuration parameter of the local device in the interface configuration parameters after obtaining the interface configuration parameters; wherein sending the UNI request message carrying the interface configuration parameter of the remote device to the remote device comprises: sending, by the first LSR, the UNI request message to a local optical transmission network (OTN) device, sending, by the local OTN device, the UNI request message to an OTN device corresponding to the second LSR, sending, by the OTN device corresponding to the second LSR, the UNI request message to the second LSR.