Skip to main content
johnlloyd_13
Explorer III
December 13, 2023
Question

terminal monitor in FG

  • December 13, 2023
  • 5 replies
  • 4174 views

hi,

i would like to remotely monitor ports being up/down after a tech install.

is there a 'terminal monitor' cisco command equivalent in FG?

the output of 'get hardware nic <interface> is too long.

i just need to confirm FG ports goes up/down while i shutdown switch ports.

5 replies

raoul26
New Member
December 13, 2023

Logging output is typically used for t-shoot, since you aren't always doing t-shoot when SSHed into a device you won't always want this turned on IMO

johnlloyd_13
Explorer III
December 13, 2023

hi,

just going to use while i'm SSH to FG and see what ports comes up/down while i shutdown switch ports. this is to verify correct patching is made by the tech onsite.

ozkanaltas
Valued Contributor III
December 13, 2023

Hello @johnlloyd_13 ,

 

I think the best way to track interface activity is to view the system logs. You should just click one button for the refresh logs. Also if you use FortiAnalyzer you can review the log like a Cisco terminal monitor in real time mode.

hbac
Staff
Staff
December 13, 2023

Hi @johnlloyd_13,

 

I think that is the right command to use. If it is too long for you, you can use 'grep' command. For example: 

# diag hardware deviceinfo nic port2 | grep Link

 

Regards, 

johnlloyd_13
Explorer III
December 14, 2023

hi,

thanks for your all your replies! think i'll just stick to the 'get hardware nic <interface>' and pipe/grep the output.