A cannula for a surgical system may include a magnet located in a position to be sensed by the surgical system in a mounted position of the cannula to the surgical system. At least one of a presence of the magnet and a polarity of the magnet is sensed in the mounted position of the cannula to provide identification information relating to the cannula. Exemplary embodiments further encompass a patient side cart for a teleoperated surgical system, the patient side cart including a base, a main column, and an arm connected to the main column. The arm may include a mount to receive a cannula and a reader to sense a magnet of an identification device in the cannula so as to receive identification information relating to a mounted cannula.