config load-balance flow-rule
FortiGate-7000 Load balancing commands
set action {forward | mirror-ingress | mirror-egress | stats | drop}
set mirror-interface <interface-name>
set forward-slot {master | all | load-balance | FPM3 | FMP4}
set priority <number>
set comment <text>
end
status {disable | enable}
Enable or disable this flow rule. Default for a new flow-rule is disable.
src-interface <interface-name> [interface-name>...}
The names of one or more FIM interface front panel interfaces accepting the traffic to be subject to the flow rule.
vlan <vlan-id>
If the traffic matching the rule is VLAN traffic, enter the VLAN ID used by the traffic.
ether-type {any | arp | ip | ipv4 | ipv6}
The type of traffic to be matched by the rule. You can match any traffic (the default) or just match ARP, IP, or
IPv4 traffic.
{src-addr-ipv4 | dst-addr-ipv4 | src-addr-ipv6 | dst-addr-ipv6} <ip-address> <netmask>
The source and destination address of the traffic to be matched. The default of 0.0.0.0 0.0.0.0 matches all traffic.
protocol {any | icmp | tcp | udp | igmp | sctp | gre | esp | ah | ospf | pim | vrrp}
If ether-type is set to ip, ipv4 or ipv6 specify the protocol of the IP or IPv4 traffic to match the rule. The default is
any.
{src-l4port | dst-l4port} <start>[-<end>]
Specify a source port range and a destination port range. This option appears for some protocol settings. For
example if protocol is set to tcp or udp. The default range is 0-0.
action {forward | mirror-ingress | mirror-egress | stats | drop}
How to handle matching packets. They can be dropped, forwarded to another destination or you can record
statistics about the traffic for later analysis. You can combine two or three settings in one command for example
you can set action to both forward and stats to forward traffic and collect statistics about it. Use append to add
multiple options.
The default action is forward.
The mirror-ingress option copies (mirrors) all ingress packets that match this flow rule and sends them to the
interface specified with the mirror-interface option.
83
FortiGate-7000
Fortinet Technologies Inc.