Abstract:
Embodiments of the present invention provide a method and a label forwarding router for initiating an LDP session connection. The method includes: using an address of a first transport address family of a local device as a connection address, and starting an LDP session setup procedure for the local device and a peer device according to the address; setting a random time value in the procedure; determining that current time reaches the random time value and that the LDP session setup fails; and selecting an address of a second transport address family as a new connection address, and starting a new LDP session setup procedure according to the new address. The present invention can implement normal initiation of an LDP session connection.
Abstract:
Embodiments of the present invention provide a method and a label forwarding router for initiating an LDP session connection. The method includes: using an address of a first transport address family of a local device as a connection address, and starting an LDP session setup procedure for the local device and a peer device according to the address; setting a random time value in the procedure; determining that current time reaches the random time value and that the LDP session setup fails; and selecting an address of a second transport address family as a new connection address, and starting a new LDP session setup procedure according to the new address. The present invention can implement normal initiation of an LDP session connection.