Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  set cli timestamp

    Posted 05-30-2023 05:25

    Hello everyone,

    I was trying to figure out if there is anyway of implementing "set cli timestamp" permanently in the cli, so I don't have issue the command everytime.
    Maybe if there is some sor tof EEM interface I could configure under Junos, so everytime someone login to the device, the command would be issued automatically.

    Thanks!



    ------------------------------
    Caio Farah
    ------------------------------


  • 2.  RE: set cli timestamp

    Posted 05-30-2023 05:32

    I haven't tried this with operational commands but there is a way to run a script at the time of login automatically.

    you would create the op script then assign it to the user class as a login script that executes as these users login.

    the default login class is superuser.

    https://www.juniper.net/documentation/us/en/software/junos/automation-scripting/topics/task/junos-script-automation-executing-an-op-script.html



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------