{"id":533,"date":"2021-10-05T13:32:00","date_gmt":"2021-10-05T11:32:00","guid":{"rendered":"https:\/\/www.zefat.nl\/?p=533"},"modified":"2021-10-06T09:59:57","modified_gmt":"2021-10-06T07:59:57","slug":"fortilink-lacp-to-hardware-switch","status":"publish","type":"post","link":"https:\/\/www.zefat.nl\/index.php\/2021\/10\/05\/fortilink-lacp-to-hardware-switch\/","title":{"rendered":"fortilink LACP  to Hardware Switch"},"content":{"rendered":"\n<p>If you have 2 (or more) 100 Series <strong>FortiSwitches <\/strong>(which are not <strong>MCLAG <\/strong>capable) and you want to be able to update them without interrupting all traffic towards your FortiGate (as they are mostly daisy chained), you can change the 802.3ad <strong>Aggregate<\/strong> (which is the default setting) of a <strong>fortilink <\/strong>to a <strong>Hardware Switch<\/strong><\/p>\n\n\n\n<p>The issue is that Port B goes on, and off immediately.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" src=\"http:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_15_11-Drawing1-Visio-Professional-1-1024x530.png\" alt=\"\" class=\"wp-image-539\" width=\"512\" height=\"265\" srcset=\"https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_15_11-Drawing1-Visio-Professional-1-1024x530.png 1024w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_15_11-Drawing1-Visio-Professional-1-300x155.png 300w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_15_11-Drawing1-Visio-Professional-1-768x398.png 768w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_15_11-Drawing1-Visio-Professional-1-600x311.png 600w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_15_11-Drawing1-Visio-Professional-1.png 1261w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><figcaption> (fortilink daisy chained) <\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-left\">Normal, from a default point of view the <strong>FortiGate fortilink <\/strong>is an 802.3ad <strong>Aggregate<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_16_50-FortiGate-FGT-60F-EIGEN-1024x118.png\" alt=\"\" class=\"wp-image-537\" width=\"512\" height=\"59\" srcset=\"https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_16_50-FortiGate-FGT-60F-EIGEN-1024x118.png 1024w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_16_50-FortiGate-FGT-60F-EIGEN-300x35.png 300w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_16_50-FortiGate-FGT-60F-EIGEN-768x89.png 768w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_16_50-FortiGate-FGT-60F-EIGEN-600x69.png 600w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_16_50-FortiGate-FGT-60F-EIGEN.png 1145w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><figcaption> (fortilink Aggreggate) <\/figcaption><\/figure><\/div>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_11_48-Drawing1-Visio-Professional-1-1024x530.png\" alt=\"\" class=\"wp-image-541\" width=\"512\" height=\"265\" srcset=\"https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_11_48-Drawing1-Visio-Professional-1-1024x530.png 1024w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_11_48-Drawing1-Visio-Professional-1-300x155.png 300w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_11_48-Drawing1-Visio-Professional-1-768x398.png 768w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_11_48-Drawing1-Visio-Professional-1-600x311.png 600w, https:\/\/www.zefat.nl\/wp-content\/uploads\/2021\/10\/2021-10-05-13_11_48-Drawing1-Visio-Professional-1.png 1261w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><figcaption>(fortilink hardware switch)<\/figcaption><\/figure><\/div>\n\n\n\n<p>But if you want to be able to update a <strong>FortiSwitch<\/strong>, and it not <strong>MCLAG <\/strong>capable (so no redundancy) you want the <strong>Aggregate <\/strong>to be a <strong>Hardware Switch<\/strong>.<\/p>\n\n\n\n<p>To change the  <strong>Aggregate <\/strong>to an<strong> Hardware Switch<\/strong> here are the pointers to change in the config:<\/p>\n\n\n\n<ol><li>Make a backup of the config from your <strong>FortiGate<\/strong>.<\/li><li>Choose your editor to change following.<\/li><\/ol>\n\n\n\n<h3>Change the interface:<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>config system interface\n    edit \"fortilink\"\n        set vdom \"root\"\n        set fortilink enable\n        set ip 169.254.1.1 255.255.255.0\n        set allowaccess ping fabric\n        set type aggregate\n        set member \"a\" \"b\"\n        set lldp-reception enable\n        set lldp-transmission enable\n    next\nend<\/code><\/pre>\n\n\n\n<h5>Should become:<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>config system interface\n    edit \"fortilink\"\n        set vdom \"root\"\n        set fortilink enable\n        set ip 169.254.1.1 255.255.255.0\n        set type hard-switch\n        set allowaccess ping fabric\n        set device-identification enable\n        set lldp-reception enable\n        set lldp-transmission enable\n    next\nend<\/code><\/pre>\n\n\n\n<h3>Create the hardware switch:<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>config system virtual-switch\n    edit \"fortilink\"\n        set physical-switch \"sw0\"\n        config port\n            edit \"a\"\n            next\n            edit \"b\"\n            next\n        end\n    next\nend<\/code><\/pre>\n\n\n\n<h4>Make sure you have NTP enabled in the new interface, as FortiLink depends highly on it.<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>config system ntp\n    set ntpsync enable\n    set server-mode enable\n    set interface \"fortilink\"\nend<\/code><\/pre>\n\n\n\n<h3>Recreate your DHCP server (or check).<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>config system dhcp server\n    edit 2\n        set dns-service default\n        set ntp-service local\n        set default-gateway 169.254.1.1\n        set netmask 255.255.255.0\n        set interface \"fortilink\"\n        config ip-range\n            edit 1\n                set start-ip 169.254.1.2\n                set end-ip 169.254.1.254\n            next\n        end\n    next\nend<\/code><\/pre>\n\n\n\n<p>Restore your config into your <strong>FortiGate<\/strong>. After this is done, you should have a <strong>Hardware Switch<\/strong>. You can connect each separate port to a separate switch.<\/p>\n\n\n\n<p>**NOT<strong>E: <\/strong><em>Make sure you do not connect the switches to each other, as you will create a loop.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have 2 (or more) 100 Series FortiSwitches (which are not MCLAG capable) and you want to be able&#8230;<\/p>\n","protected":false},"author":1,"featured_media":548,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[18,16,19],"tags":[21,14,22],"_links":{"self":[{"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/posts\/533"}],"collection":[{"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/comments?post=533"}],"version-history":[{"count":11,"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/posts\/533\/revisions"}],"predecessor-version":[{"id":574,"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/posts\/533\/revisions\/574"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/media\/548"}],"wp:attachment":[{"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/media?parent=533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/categories?post=533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zefat.nl\/index.php\/wp-json\/wp\/v2\/tags?post=533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}