Page 1 of 1

remove time and date

Posted: 08 Aug 2016 14:49
by IKTNH
Hi.

I am new to alcatel os6450 switch cli commands. I would like to know how to turn off/remove the "date and time" in front of "system name" in session prompt when log into the switch using console cable.

ex:

01/01/01 02:20:01SWITCHNAME

How do I remove the date and time in bold

Thanks in advance for any help....

Re: remove time and date

Posted: 10 Aug 2016 02:16
by dartzen
Hi,

you can edit the prompt with the "session prompt default" command. So for example if you only want the switchname displayed you would type: session prompt default "switchname->" The -> is only in there so you have the arrow behind the switchname. The change will only be seen at next login. Don't forget to save your changes with write memory flash-synchro.

Re: remove time and date

Posted: 11 Aug 2016 08:06
by IKTNH
Thank you for the reply. I have entered the "session prompt default "SWITCHNAME->" command many times, but still the time and date appears when I log into the switch via console or ssh. Could I have activated som timestamp feature on the switch?

Re: remove time and date

Posted: 12 Aug 2016 03:44
by dartzen
I've looked in the system documentation and aside from the session prompt default there is also a "prompt" command. With that there is an option to activate a timestamp. The command to disable it is simply "no prompt"