Fortinet black logo

CLI Reference

system performance firewall

system performance firewall

Use this command to display packet distribution and traffic statistics information for the FortiGate firewall.

Syntax

get system performance firewall packet-distribution

get system performance firewall statistics

Variable Description

packet-distribution

Display a list of packet size ranges and the number of packets of each size accepted by the firewall since the system restarted. You can use this information to learn about the packet size distribution on your network.

Note: these counts do not include packets offloaded to the NPU.

statistics

Display a list of traffic types (browsing, email, DNS etc) and the number of packets and number of payload bytes accepted by the firewall for each type since the FortiGate unit was restarted.

Example output

get system performance firewall packet-distribution

getting packet distribution statistics...

0 bytes - 63 bytes: 655283 packets

64 bytes - 127 bytes: 1678278 packets

128 bytes - 255 bytes: 58823 packets

256 bytes - 383 bytes: 70432 packets

384 bytes - 511 bytes: 1610 packets

512 bytes - 767 bytes: 3238 packets

768 bytes - 1023 bytes: 7293 packets

1024 bytes - 1279 bytes: 18865 packets

1280 bytes - 1500 bytes: 58193 packets

> 1500 bytes: 0 packets

get system performance firewall statistics

getting traffic statistics...

Browsing: 623738 packets, 484357448 bytes

DNS: 5129187383836672 packets, 182703613804544 bytes

E-Mail: 23053606 packets, 2 bytes

FTP: 0 packets, 0 bytes

Gaming: 0 packets, 0 bytes

IM: 0 packets, 0 bytes

Newsgroups: 0 packets, 0 bytes

P2P: 0 packets, 0 bytes

Streaming: 0 packets, 0 bytes

TFTP: 654722117362778112 packets, 674223966126080 bytes

VoIP: 16834455 packets, 10 bytes

Generic TCP: 266287972352 packets, 8521215115264 bytes

Generic UDP: 0 packets, 0 bytes

Generic ICMP: 0 packets, 0 bytes

Generic IP: 0 packets, 0 bytes

system performance firewall

Use this command to display packet distribution and traffic statistics information for the FortiGate firewall.

Syntax

get system performance firewall packet-distribution

get system performance firewall statistics

Variable Description

packet-distribution

Display a list of packet size ranges and the number of packets of each size accepted by the firewall since the system restarted. You can use this information to learn about the packet size distribution on your network.

Note: these counts do not include packets offloaded to the NPU.

statistics

Display a list of traffic types (browsing, email, DNS etc) and the number of packets and number of payload bytes accepted by the firewall for each type since the FortiGate unit was restarted.

Example output

get system performance firewall packet-distribution

getting packet distribution statistics...

0 bytes - 63 bytes: 655283 packets

64 bytes - 127 bytes: 1678278 packets

128 bytes - 255 bytes: 58823 packets

256 bytes - 383 bytes: 70432 packets

384 bytes - 511 bytes: 1610 packets

512 bytes - 767 bytes: 3238 packets

768 bytes - 1023 bytes: 7293 packets

1024 bytes - 1279 bytes: 18865 packets

1280 bytes - 1500 bytes: 58193 packets

> 1500 bytes: 0 packets

get system performance firewall statistics

getting traffic statistics...

Browsing: 623738 packets, 484357448 bytes

DNS: 5129187383836672 packets, 182703613804544 bytes

E-Mail: 23053606 packets, 2 bytes

FTP: 0 packets, 0 bytes

Gaming: 0 packets, 0 bytes

IM: 0 packets, 0 bytes

Newsgroups: 0 packets, 0 bytes

P2P: 0 packets, 0 bytes

Streaming: 0 packets, 0 bytes

TFTP: 654722117362778112 packets, 674223966126080 bytes

VoIP: 16834455 packets, 10 bytes

Generic TCP: 266287972352 packets, 8521215115264 bytes

Generic UDP: 0 packets, 0 bytes

Generic ICMP: 0 packets, 0 bytes

Generic IP: 0 packets, 0 bytes