A method for transmitting optical packets by an optical node in an optical network, said optical network being an optical packet switching network, said optical node comprising a first optical transmitter and a first optical packet insertion layer cooperating with said first optical transmitter and comprising a first aggregation stage, a first traffic shaper and a destination queuing stage, the method comprising the following steps: - aggregating of a first data packet to be transmitted on the optical network with other data packets (P2; P3) to be transmitted on said optical network, said step of aggregating being performed by the first aggregation stage and resulting into a first aggregated packet (AP; AP1) comprising the first data packet, - processing of the first aggregated packet (AP; AP1) by the first traffic shaper, said first aggregated packet (AP; AP1) being provided by the first aggregation stage to the first traffic shaper, said step of processing by the first traffic shaper limiting the number of packets processed by the first destination queuing stage below a threshold, said threshold being determined from an optical transmitting capacity from the optical node, - queuing of the first aggregated packet (AP'; AP1') by the first destination queuing stage, said first aggregated packet (AP'; AP1') being provided by the first traffic shaper to the first destination queuing stage, said first destination queuing stage processing the first aggregated packet (AP'; AP1') according to a first destination criteria, - providing the first aggregated packet (AP'; AP1') by the first destination queuing stage to the first optical transmitter, - transmitting a first optical packet by the first optical transmitter on the optical network, said first optical packet comprising the first aggregated packet (AP'; AP1'). - aggregating of a first data packet to be transmitted on the optical network with other data packets (P2; P3) to be transmitted on said optical network, said step of aggregating being performed by the first aggregation stage and resulting into a first aggregated packet (AP; AP1) comprising the first data packet, - processing of the first aggregated packet (AP; AP1) by the first traffic shaper, said first aggregated packet (AP; AP1) being provided by the first aggregation stage to the first traffic shaper, said step of processing by the first traffic shaper limiting the number of packets processed by the first destination queuing stage below a threshold, said threshold being determined from an optical transmitting capacity from the optical node, - queuing of the first aggregated packet (AP'; AP1') by the first destination queuing stage, said first aggregated packet (AP'; AP1') being provided by the first traffic shaper to the first destination queuing stage, said first destination queuing stage processing the first aggregated packet (AP'; AP1') according to a first destination criteria, - providing the first aggregated packet (AP'; AP1') by the first destination queuing stage to the first optical transmitter, - transmitting a first optical packet by the first optical transmitter on the optical network, said first optical packet comprising the first aggregated packet (AP'; AP1').