Fortinet white logo
Fortinet white logo

CLI Reference

system interface

system interface

Use these commands to view interface configuration and status.

Syntax

get system interface

get system interface [interface name]

Examples

This example shows the output for get system interface:

== [ port1 ]

name: port1 status: enable mode : static ip: 111.11.11.11 255.255.255.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: 0.0.0.0 0.0.0.0 speed: auto

This example shows the output for get system interface port1:

name : port1

status : enable

mode: static

ip : 111.11.11.11 255.255.255.0

allowaccess : ping https ssh snmp soc-fabric http webservice fgfm

speed : auto

description : (null)

alias : (null)

mtu : 1500

type : physical

ipv6:

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

system interface

system interface

Use these commands to view interface configuration and status.

Syntax

get system interface

get system interface [interface name]

Examples

This example shows the output for get system interface:

== [ port1 ]

name: port1 status: enable mode : static ip: 111.11.11.11 255.255.255.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: 0.0.0.0 0.0.0.0 speed: auto

This example shows the output for get system interface port1:

name : port1

status : enable

mode: static

ip : 111.11.11.11 255.255.255.0

allowaccess : ping https ssh snmp soc-fabric http webservice fgfm

speed : auto

description : (null)

alias : (null)

mtu : 1500

type : physical

ipv6:

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