Fortinet black logo

CLI Reference

fmnetwork

fmnetwork

Use the following commands for network related settings.

fmnetwork arp

Use this command to manage ARP.

Syntax

diagnose fmnetwork arp del <intf-name> <ip>

diagnose fmnetwork arp list

Variable

Description

del <intf-name> <ip>

Delete an ARP entry.

list

List ARP entries.

fmnetwork interface

Use this command to view interface information.

Syntax

diagnose fmnetwork interface detail <portX>

diagnose fmnetwork interface list <portx>

Variable

Description

detail <portX>

View a specific interface’s details, for example: port1.

list <portX>

List all interface details.

fmnetwork netstat

Use this command to view network statistics.

Syntax

diagnose fmnetwork netstat list [-r]

diagnose fmnetwork netstat tcp [-r]

diagnose fmnetwork netstat udp [-r]

Variable

Description

list [-r]

List all connections, or use -r to list only resolved IP addresses.

tcp [-r]

List all TCP connections, or use -r to list only resolved IP addresses.

udp [-r]

List all UDP connections, or use -r to list only resolved IP addresses.

fmnetwork

fmnetwork

Use the following commands for network related settings.

fmnetwork arp

Use this command to manage ARP.

Syntax

diagnose fmnetwork arp del <intf-name> <ip>

diagnose fmnetwork arp list

Variable

Description

del <intf-name> <ip>

Delete an ARP entry.

list

List ARP entries.

fmnetwork interface

Use this command to view interface information.

Syntax

diagnose fmnetwork interface detail <portX>

diagnose fmnetwork interface list <portx>

Variable

Description

detail <portX>

View a specific interface’s details, for example: port1.

list <portX>

List all interface details.

fmnetwork netstat

Use this command to view network statistics.

Syntax

diagnose fmnetwork netstat list [-r]

diagnose fmnetwork netstat tcp [-r]

diagnose fmnetwork netstat udp [-r]

Variable

Description

list [-r]

List all connections, or use -r to list only resolved IP addresses.

tcp [-r]

List all TCP connections, or use -r to list only resolved IP addresses.

udp [-r]

List all UDP connections, or use -r to list only resolved IP addresses.