Fortinet black 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: up ip: 111.11.11.11 255.255.255.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: 0.0.0.0 0.0.0.0 speed: auto

This example shows the output for get system interface port1:

name : port1

status : up

ip : 111.11.11.11 255.255.255.0

allowaccess : ping https ssh snmp http webservice fgfm

speed : auto

description : (null)

alias : (null)

mtu : 1500

ipv6:

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

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: up ip: 111.11.11.11 255.255.255.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: 0.0.0.0 0.0.0.0 speed: auto

This example shows the output for get system interface port1:

name : port1

status : up

ip : 111.11.11.11 255.255.255.0

allowaccess : ping https ssh snmp http webservice fgfm

speed : auto

description : (null)

alias : (null)

mtu : 1500

ipv6:

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