We examined methods of controlling the pulse duration, spectral width and wavelength of the output from an all-fiber Yb laser mode-locked by carbon nanotubes. It is shown that a segment of polarization maintaining (PM) fiber inserted into a standard single mode fiber based laser cavity can function as a spectral selective filter. Adjustment of the length of the PM fiber from 1 to 2 m led to a corresponding variation in the pulse duration from 2 to 3.8 ps, the spectral bandwidth of the laser output changes from 0.15 to 1.26 nm. Laser output wavelength detuning within up to 5 nm was demonstrated with a fixed length of the PM fiber by adjustment of the polarization controller.