How do I configure an interface to use link aggregation using CLI commands?
If port 2 and port 3 are available, the following CLI commands create an aggregate called "link_agg" with an IP/netmask of 172.168.1.2/255.255.255.0 on the root vdom using those two interfaces. You can optionally set other interface settings.
config system interface edit "link_agg" set vdom "root" set ip 172.168.1.2 255.255.255.0 set type aggregate set member "port2" "port3" end
How do I configure my HA setup to use link aggregation?
In the HA section of the there is a very good explanation and diagram showing an easy way to configure two FortiGate units in an HA configuration using link aggregation.
How do I check the number of staticly configured ports in a trunk?
Use the following CLI command:
show system interface <trunk-name>
How do I check the number of dynamically configured ports in a trunk and in use?
Use the following CLI command:
diagnose netlink interface name <trunk-name>
How do I check the aggregate speed of a trunk?
This is not currently supported. However as mentioned above in MR1 and up you can use SNMP to find the aggregate speed of the trunk.