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
Anonymous
Not applicable

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



View solution in original post

1 REPLY 1
Anonymous
Not applicable

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



Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors