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

fnsysctl available commands or documentation on fortigate firewall

I need any documentation related to FNSYSCTL hidden command on FortiGate firewall. and I need help to know path of configuration files in Linux OS of FortiGate.

2 REPLIES 2
hbac
Staff
Staff

Hi @Mohamedhh96,

 

I don't think there is a document for it. You can't make any changes using fnsysctl command. The following are useful commands that you can use: 

 

fnsysctl ifconfig <port>

fnsysctl killall <process_name> 

fnsysctl ls 

fnsysctl ps 

fnsysctl date 

 

Regards,

pavankr5
Staff
Staff

Hello @Mohamedhh96 

 

Please check these fnsysctl commands

 

fnsysctl ifconfig <interface name>       (Gives the same info as Linuxifconfig. The only way to see the actual MTU of the interface.)|

fnsysctl cat /proc/net/dev           (Similar tonetstatshows errors on the interfaces, drops, packets sent/received.)

fnsysctl ifconfig <nic-name>     (kind of hidden command to see more interface stats such as errors)

fnsysctl ls  (This command displays system settings or configurations. It might show information about various parameters, configurations, or system properties.)

 

fnsysctl ps  (This commanddisplays information about running processes)

 

fnsysctl date (This command likely retrieves or sets the system date )

 

Let us know if you have any queries.

 

Thanks,

Pavan



Labels
Top Kudoed Authors