Friday, May 12, 2017

time is all that we have ( tips for FortiOS )

Every second we are getting older ;)

Here's some fortigate time tricks/tips

Here's a  few ways to find system time  if you don't have WebGUI access

1> cat proc  RTC  deteilas, time will be in UTC

fnsysctl cat /proc/driver/rtc

rtc_time        : 18:51:01
rtc_date        : 2017-05-09
rtc_epoch       : 1900
alarm           : **:**:**
DST_enable      : no
BCD             : yes
24hr            : yes
square_wave     : no
alarm_IRQ       : no
update_IRQ      : no
periodic_IRQ    : no
periodic_freq   : 1024
batt_status     : okay


2>  Get system status

FWSOC01 # get system status | grep time
System time: Tue May  9 11:51:27 2017

3>  Get the administrator status

FWSOC01 #  get sys admin status | grep current
current time: 2017-05-09 11:51:29




4>  Create a REV backup and immediately list the  REV, the timestamp would be the current time

execute backup config flash  BLOG
execute revision  list config


5>  Or just execute a time

execute  time




Ken Felix



NSE ( network security expert) and Route/Switching Engineer
kfelix  -----a----t---- socpuppets ---dot---com
     ^      ^
=(  @  @ )=
         o 
        /  \


No comments:

Post a Comment