Fortinet white logo
Fortinet white logo

CLI Reference

system interface

system interface

Use this command to view interface configuration.

Syntax

get system interface

Example

This example shows the output for get system interface:

== [ port1 ]

name: port1 status: up ip: 172.172.172.222 255.255.0.0 speed: auto

== [ port2 ]

name: port2 status: up ip: 0.0.0.0 0.0.0.0 speed: auto

== [ port3 ]

name: port3 status: up ip: 0.0.0.0 0.0.0.0 speed: auto

== [ port4 ]

name: port4 status: up ip: 1.1.1.1 255.255.255.255 speed: auto

This example shows the output for get system interface port1:

name : port1

status : up

ip : 172.172.172.222 255.255.255.0

allowaccess : ping https ssh telnet http

serviceaccess :

speed : auto

description : (null)

alias : (null)

ipv6:

ip6-address: ::/0 ip6-allowaccess:

system interface

system interface

Use this command to view interface configuration.

Syntax

get system interface

Example

This example shows the output for get system interface:

== [ port1 ]

name: port1 status: up ip: 172.172.172.222 255.255.0.0 speed: auto

== [ port2 ]

name: port2 status: up ip: 0.0.0.0 0.0.0.0 speed: auto

== [ port3 ]

name: port3 status: up ip: 0.0.0.0 0.0.0.0 speed: auto

== [ port4 ]

name: port4 status: up ip: 1.1.1.1 255.255.255.255 speed: auto

This example shows the output for get system interface port1:

name : port1

status : up

ip : 172.172.172.222 255.255.255.0

allowaccess : ping https ssh telnet http

serviceaccess :

speed : auto

description : (null)

alias : (null)

ipv6:

ip6-address: ::/0 ip6-allowaccess: