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:
- Expect the Enter User Name prompt from the switch.
- Send the username defined by the UserName property.
- Expect the Enter Password prompt from the switch.
- Send the defined Password property.
- 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:
- Send
stop\r
. - Expect
.*>
. - Send
deldevice <deviceid> \r.
- Expect
.*>
. - Send
logout\r
.