Difference between revisions of "fortinet CLI notes"

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services
(routes)
Line 14: Line 14:
 
   
 
   
 
==routes==
 
==routes==
config router static
+
# config router static
 
+
# edit <route_index>
edit <route_index>
+
# set device "<interface_name>"
 
+
# set dst "<destination_ip>"
set device "<interface_name>"
+
# set gateway "<router_ip>"
 
+
set dst "<destination_ip>"
+
 
+
set gateway "<router_ip>"
+
  
 +
for default gw..
 +
# set dst 0.0.0.0 0.0.0.0
  
 
HA status
 
HA status

Revision as of 22:23, 24 August 2022


vdom

entering editing a vdom

# config vdom
(vdom) #  edit myvdom
(myvdom) # 

interface commands

for admin status, link stat, speeds, counters...

# config global
# get hardware nic <interface name>

routes

# config router static
# edit <route_index>
# set device "<interface_name>"
# set dst "<destination_ip>"
# set gateway "<router_ip>"

for default gw..

# set dst 0.0.0.0 0.0.0.0

HA status

# config global
# get sys ha status

HA failover to highest priority (if it is not currently Master) on current master run...

# config global
# diagnose sys ha reset-uptime

get admin hash password

# config global
# config sys admin
# show