Automatic Log in and Log out

When the chat-in and chat-out properties are not defined, the TSM for Nortel DMS uses automatic login and log out procedures.

Logging in

The automatic log-in procedure comprises the following steps:
  1. Expect the Enter User Name prompt from the switch.
  2. Send the username defined by the UserName property.
  3. Expect the Enter Password prompt from the switch.
  4. Send the defined Password property.
  5. Expect the Logged response from the switch

If the TSM fails to log in to the switch, it disconnects from the device and restarts the login procedure from step 1. Once connected to the switch, the TSM changes the password to the password specified in AltPassword. The TSM then changes it back to the original password. This is done in order to prevent the password from expiring. The TSM deletes any inactive TELNSVR device if there are too many devices in use when the start command is given.

Logging out

When the ChatoutString property is not defined and the TSM is stopped, it attempts to log out using the following procedure:
  1. Send stop\r.
  2. Expect .*>.
  3. Send deldevice <deviceid> \r.
  4. Expect .*>.
  5. Send logout\r.