Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
johnlloyd_13
Contributor

terminal monitor in FG

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.

Thanks,
John
Thanks,John
5 REPLIES 5
raoul26
New Contributor

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

https://19216801.onl/ https://routerlogin.uno/
johnlloyd_13
Contributor

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.

Thanks,
John
Thanks,John
ozkanaltas
Contributor III

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.

If you have found a solution, please like and accept it to make it easily accessible to others.
NSE 4-5-6-7 OT Sec - ENT FW
If you have found a solution, please like and accept it to make it easily accessible to others.NSE 4-5-6-7 OT Sec - ENT FW
hbac
Staff
Staff

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
Contributor

hi,

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

Thanks,
John
Thanks,John
Labels
Top Kudoed Authors