We have calculated the differential conductance of metallic carbon nanotubes by the scatter matrix method. It is found that the differential conductance of metallic nanotube-based devices oscillates as a function of the bias voltage between the two leads and the gate voltage. Oscillation period T is directly proportional to the reciprocal of nanotube length. In addition, we found that electronic transport properties are sensitive to variation of the length of the nanotube.