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: 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 snmp http webservice

serviceaccess :

speed : auto

description : (null)

alias : (null)

mtu : 1500

ipv6:

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

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: 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 snmp http webservice

serviceaccess :

speed : auto

description : (null)

alias : (null)

mtu : 1500

ipv6:

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