Fortinet white logo
Fortinet white logo

CLI Reference

system interface

system interface

Use this command to view interface configuration.

Syntax

get system interface [interface name]

Example

This example shows the output for get system interface:

== [ port1 ]

name: port1 status: enable mode : static ip: 172.172.172.222 255.255.0.0 speed: auto

== [ port2 ]

name: port2 status: enable mode : static ip: 0.0.0.0 0.0.0.0 speed: auto

== [ port3 ]

name: port3 status: enable mode : static ip: 0.0.0.0 0.0.0.0 speed: auto

== [ port4 ]

name: port4 status: enable mode : static ip: 1.1.1.1 255.255.255.255 speed: auto

This example shows the output for get system interface port1:

name : port1

status : enable

mode: static

ip : 172.172.172.222 255.255.255.0

allowaccess : ping https ssh snmp soc-fabric http webservice

serviceaccess :

speed : auto

description : (null)

alias : (null)

mtu : 1500

type : physical

ipv6:

ip6-address: ::/0 ip6-allowaccess: ip6-autoconf: enable

system interface

system interface

Use this command to view interface configuration.

Syntax

get system interface [interface name]

Example

This example shows the output for get system interface:

== [ port1 ]

name: port1 status: enable mode : static ip: 172.172.172.222 255.255.0.0 speed: auto

== [ port2 ]

name: port2 status: enable mode : static ip: 0.0.0.0 0.0.0.0 speed: auto

== [ port3 ]

name: port3 status: enable mode : static ip: 0.0.0.0 0.0.0.0 speed: auto

== [ port4 ]

name: port4 status: enable mode : static ip: 1.1.1.1 255.255.255.255 speed: auto

This example shows the output for get system interface port1:

name : port1

status : enable

mode: static

ip : 172.172.172.222 255.255.255.0

allowaccess : ping https ssh snmp soc-fabric http webservice

serviceaccess :

speed : auto

description : (null)

alias : (null)

mtu : 1500

type : physical

ipv6:

ip6-address: ::/0 ip6-allowaccess: ip6-autoconf: enable