Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

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. This command displays the following information: status, speed, and duplex.

list <portx>

List all interface details, or enter <portx> to display information for a specific interface.

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

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. This command displays the following information: status, speed, and duplex.

list <portx>

List all interface details, or enter <portx> to display information for a specific interface.

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.