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

Difference between GET" and "SHOW" commands ??

Hi 

What is difference between  executing keywords "GET" and "SHOW" with combination other keywords at Fortigate firewall CLI ??

1 Solution
vsahu
Staff
Staff

Hello,

we can use the get command to retrieve dynamic information such as IP of DHCP or PPPoE Interface, It also gives the information or lists the configuration of the current object in tabular format, while the show command gives the configuration in configurable format or tree structure.


graviton-kvm16 # get system interface physical port9
== [onboard]
==[port9]
mode: dhcp
ip: 102.168.0.10 255.255.255.0
ipv6: ::/0
status: up
speed: n/a (Duplex: n/a)
FEC: none
FEC_cap: none

graviton-kvm16 # show system interface port9
config system interface
edit "port9"
set vdom "root"
set mode dhcp
set type physical
set snmp-index 9
next
end



Regards,
Vishal

View solution in original post

1 REPLY 1
vsahu
Staff
Staff

Hello,

we can use the get command to retrieve dynamic information such as IP of DHCP or PPPoE Interface, It also gives the information or lists the configuration of the current object in tabular format, while the show command gives the configuration in configurable format or tree structure.


graviton-kvm16 # get system interface physical port9
== [onboard]
==[port9]
mode: dhcp
ip: 102.168.0.10 255.255.255.0
ipv6: ::/0
status: up
speed: n/a (Duplex: n/a)
FEC: none
FEC_cap: none

graviton-kvm16 # show system interface port9
config system interface
edit "port9"
set vdom "root"
set mode dhcp
set type physical
set snmp-index 9
next
end



Regards,
Vishal
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors