Fortinet white logo
Fortinet white logo

Admin Guide (Standalone)

Monitor interface status

Monitor interface status

Use the following commands to configure traffic monitoring on an interface.

CLI Command

Description

*set interface <interface_name>

Specify the interface to be monitored.

set interval

Specify the monitoring interval in seconds. The valid range is 1–3600. The default is 30.

set filter {rx_bytes | tx_bytes | rx_packets | tx_packets | rx_dropped | tx_dropped | rx_bps | tx_bps | rx_pps | tx_pps}

Set the monitor filters on the interface:

  • rx_bytes—The number of bytes received.
  • tx_bytes—The number of bytes transmitted .
  • rx_packets—The number of packets received.
  • tx_packets—The number of packets transmitted.
  • rx_dropped—The number of incoming packets dropped.
  • tx_dropped—The number of outgoing packets dropped.
  • rx_bps—The number of bytes received per second.
  • tx_bps—The number of bytes transmitted per second.
  • rx_pps—The number of packets received per second.
  • tx_pps—The number of packets transmitted per second.
Example interface monitoring configuration:

config hmon interface-monitoring

edit fcs-0-phase-1-mon

set interval 30

set interface fcs-0-phase-1

set filter rx_bytes tx_bytes

next

edit fcs-1-phase-1-mon

set interval 30

set interface fcs-1-phase-1

set filter rx_bytes tx_bytes

next

edit ifmon

set internal 30

set interface lte1

set filter rx_bytes tx_bytes

next

end

You can monitor the aforementioned configuration using the following commands:

X04DA5918004433 # get hmon interface-monitoring fcs-0-phase-1-

mon

rx_bytes tx_bytes rx_packets tx_

packets rx_dropped tx_dropped rx_bps tx_bps

rx_pps tx_pps

fcs-0-phase-1: 12.76MB 3.40MB 24878 21032

0 0 488b 968b 0 0

X04DA5918004433 # get hmon interface-monitoring ifmon

rx_bytes tx_bytes rx_packets tx_

packets rx_dropped tx_dropped rx_bps tx_bps

rx_pps tx_pps

lte1: 22.20MB 11.50MB 83137 72281

0 0 101.85Kb 21.14Kb 15 14

0

Monitor interface status

Monitor interface status

Use the following commands to configure traffic monitoring on an interface.

CLI Command

Description

*set interface <interface_name>

Specify the interface to be monitored.

set interval

Specify the monitoring interval in seconds. The valid range is 1–3600. The default is 30.

set filter {rx_bytes | tx_bytes | rx_packets | tx_packets | rx_dropped | tx_dropped | rx_bps | tx_bps | rx_pps | tx_pps}

Set the monitor filters on the interface:

  • rx_bytes—The number of bytes received.
  • tx_bytes—The number of bytes transmitted .
  • rx_packets—The number of packets received.
  • tx_packets—The number of packets transmitted.
  • rx_dropped—The number of incoming packets dropped.
  • tx_dropped—The number of outgoing packets dropped.
  • rx_bps—The number of bytes received per second.
  • tx_bps—The number of bytes transmitted per second.
  • rx_pps—The number of packets received per second.
  • tx_pps—The number of packets transmitted per second.
Example interface monitoring configuration:

config hmon interface-monitoring

edit fcs-0-phase-1-mon

set interval 30

set interface fcs-0-phase-1

set filter rx_bytes tx_bytes

next

edit fcs-1-phase-1-mon

set interval 30

set interface fcs-1-phase-1

set filter rx_bytes tx_bytes

next

edit ifmon

set internal 30

set interface lte1

set filter rx_bytes tx_bytes

next

end

You can monitor the aforementioned configuration using the following commands:

X04DA5918004433 # get hmon interface-monitoring fcs-0-phase-1-

mon

rx_bytes tx_bytes rx_packets tx_

packets rx_dropped tx_dropped rx_bps tx_bps

rx_pps tx_pps

fcs-0-phase-1: 12.76MB 3.40MB 24878 21032

0 0 488b 968b 0 0

X04DA5918004433 # get hmon interface-monitoring ifmon

rx_bytes tx_bytes rx_packets tx_

packets rx_dropped tx_dropped rx_bps tx_bps

rx_pps tx_pps

lte1: 22.20MB 11.50MB 83137 72281

0 0 101.85Kb 21.14Kb 15 14

0