mkolus

FortiGate 120G on MLAG: config

Feb 16th, 2025
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.71 KB | None | 0 0
  1. # FortiGate
  2. ## Config
  3. ```
  4. config system interface
  5. edit "core"
  6. set vdom "root"
  7. set type aggregate
  8. set member "x1" "x2"
  9. set device-identification enable
  10. set lldp-reception enable
  11. set lldp-transmission enable
  12. set role lan
  13. set snmp-index 38
  14. set ip-managed-by-fortiipam disable
  15. set mtu-override enable
  16. set mtu 9214
  17. set lacp-speed fast
  18. next
  19. end
  20. ```
  21.  
  22. ```
  23. # diagnose netlink aggregate list
  24. List of 802.3ad link aggregation interfaces:
  25. 1 name fortilink status down algorithm L4 lacp-mode active
  26. 2 name core status up algorithm L4 lacp-mode active
  27.  
  28. # diagnose netlink aggregate name core
  29. LACP flags: (A|P)(S|F)(A|I)(I|O)(E|D)(E|D)
  30. (A|P) - LACP mode is Active or Passive
  31. (S|F) - LACP speed is Slow or Fast
  32. (A|I) - Aggregatable or Individual
  33. (I|O) - Port In sync or Out of sync
  34. (E|D) - Frame collection is Enabled or Disabled
  35. (E|D) - Frame distribution is Enabled or Disabled
  36.  
  37. status: up
  38. npu: n
  39. flush: n
  40. asic helper: y
  41. ports: 2
  42. link-up-delay: 50ms
  43. min-links: 1
  44. ha: master
  45. distribution algorithm: L4
  46. LACP mode: active
  47. LACP speed: fast
  48. LACP HA: enable
  49. aggregator ID: 1
  50. actor key: 33
  51. actor MAC address: 78:18:ec:64:e9:48
  52. partner key: 11
  53. partner MAC address: 2a:99:3a:15:dd:e5
  54.  
  55. member: x1
  56. index: 0
  57. link status: up
  58. link failure count: 7
  59. permanent MAC addr: 78:18:ec:64:e9:48
  60. LACP state: established
  61. LACPDUs RX/TX: 139971/149688
  62. actor state: AFAIEE
  63. actor port number/key/priority: 1 33 255
  64. partner state: AFAIEE
  65. partner port number/key/priority: 32774 11 32768
  66. partner system: 32768 2a:99:3a:15:dd:e5
  67. aggregator ID: 1
  68. speed/duplex: 10000 1
  69. RX state: CURRENT 6
  70. MUX state: COLLECTING_DISTRIBUTING 4
  71.  
  72. member: x2
  73. index: 1
  74. link status: up
  75. link failure count: 6
  76. permanent MAC addr: 78:18:ec:64:e9:49
  77. LACP state: established
  78. LACPDUs RX/TX: 140697/150504
  79. actor state: AFAIEE
  80. actor port number/key/priority: 2 33 255
  81. partner state: AFAIEE
  82. partner port number/key/priority: 6 11 32768
  83. partner system: 32768 2a:99:3a:15:dd:e5
  84. aggregator ID: 1
  85. speed/duplex: 10000 1
  86. RX state: CURRENT 6
  87. MUX state: COLLECTING_DISTRIBUTING 4
  88. ```
  89.  
  90. # Arista
  91. ## Config
  92.  
  93. Both configs are the same.
  94.  
  95. ```
  96. ! Command: show running-config
  97. ! device: SW-Arista-1 (DCS-7060CX-32S, EOS-4.31.2F)
  98. !
  99. ! boot system flash:/EOS64-4.31.2F.swi
  100. !
  101. spanning-tree mode mstp
  102. no spanning-tree vlan-id 4094
  103. !
  104. vlan 100
  105. name SP-xxx_Legacy
  106. trunk group mclag
  107. !
  108. vlan 101
  109. name SP_xxx
  110. trunk group mclag
  111. !
  112. vlan 4094
  113. trunk group mclag
  114. !
  115. interface Port-Channel10
  116. description xxx-ftg-02-core
  117. switchport mode trunk
  118. switchport trunk group mclag
  119. mlag 10
  120. spanning-tree portfast
  121. !
  122. interface Port-Channel11
  123. description xxx-ftg-01-core
  124. switchport mode trunk
  125. switchport trunk group mclag
  126. mlag 11
  127. spanning-tree portfast
  128. !
  129. interface Port-Channel12
  130. description mikrotik
  131. switchport mode trunk
  132. switchport trunk group mclag
  133. mlag 12
  134. spanning-tree portfast
  135. !
  136. interface Port-Channel999999
  137. description MLAG peer-link
  138. switchport mode trunk
  139. switchport trunk group mclag
  140. !
  141. interface Ethernet1/1
  142. description xxx-fgt-02 / x1
  143. channel-group 10 mode active
  144. lacp timer fast
  145. !
  146. interface Ethernet1/2
  147. description xxx-fgt-01 / x1
  148. channel-group 11 mode active
  149. lacp timer fast
  150. !
  151. interface Ethernet1/3
  152. description mikrotik - sfp-sfpplus7
  153. channel-group 12 mode active
  154. lacp timer fast
  155. !
  156. interface Ethernet32/1
  157. description MLAG peer-link 1
  158. channel-group 999999 mode active
  159. !
  160. interface Vlan4094
  161. description MLAG peer-link
  162. no autostate
  163. ip address 10.255.255.253/30
  164. !
  165. mlag configuration
  166. domain-id xxx-Core
  167. local-interface Vlan4094
  168. peer-address 10.255.255.254
  169. peer-link Port-Channel999999
  170. reload-delay 150
  171. ```
  172.  
  173. ```
  174. SW-Arista-1#show lacp aggregates detailed
  175. Port Channel Port-Channel10*:
  176. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000A,0000,0000),(FFFF,78-18-ec-65-21-e2,0021,0000,0000)]
  177. Bundled Ports: Ethernet1/1
  178. Port Channel Port-Channel11*:
  179. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000B,0000,0000),(FFFF,78-18-ec-64-e9-48,0021,0000,0000)]
  180. Bundled Ports: Ethernet1/2
  181. Port Channel Port-Channel12*:
  182. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000C,0000,0000),(FFFF,18-fd-74-bf-d6-6b,000F,0000,0000)]
  183. Bundled Ports: Ethernet1/3
  184. Port Channel Port-Channel999999:
  185. Aggregate ID: [(8000,28-99-3a-15-dd-e5,F423,0000,0000),(8000,28-99-3a-74-d8-0d,F423,0000,0000)]
  186. Bundled Ports: Ethernet32/1
  187.  
  188. * - Only local interfaces for MLAGs are displayed. Connect to the peer to
  189. see the state for peer interfaces.
  190.  
  191. SW-Arista-2#show lacp aggregates detailed
  192. Port Channel Port-Channel10*:
  193. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000A,0000,0000),(FFFF,78-18-ec-65-21-e2,0021,0000,0000)]
  194. Bundled Ports: Ethernet1/1
  195. Port Channel Port-Channel11*:
  196. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000B,0000,0000),(FFFF,78-18-ec-64-e9-48,0021,0000,0000)]
  197. Bundled Ports: Ethernet1/2
  198. Port Channel Port-Channel12*:
  199. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000C,0000,0000),(FFFF,18-fd-74-bf-d6-6b,000F,0000,0000)]
  200. Bundled Ports: Ethernet1/3
  201. Port Channel Port-Channel999999:
  202. Aggregate ID: [(8000,28-99-3a-15-dd-e5,F423,0000,0000),(8000,28-99-3a-74-d8-0d,F423,0000,0000)]
  203. Bundled Ports: Ethernet32/1
  204.  
  205. * - Only local interfaces for MLAGs are displayed. Connect to the peer to
  206. see the state for peer interfaces.
  207.  
  208. SW-Arista-1#show lacp interface detailed
  209. State: A = Active, P = Passive; S=ShortTimeout, L=LongTimeout;
  210. G = Aggregable, I = Individual; s+=InSync, s-=OutOfSync;
  211. C = Collecting (aggregating incoming frames), X = state machine expired,
  212. D = Distributing (aggregating outgoing frames),
  213. d = default neighbor state
  214. | | Partner Partner Collector Actor Last State Machines
  215. Port Status | Select | Sys-id Port# State OperKey PortPri Churn MaxDelay Port# State OperKey AdminKey PortPriority Churn RxTime Rx mux
  216. ------ ---------|-----------|------------------------ ------ -------- -------- -------- -------- ---------- ------ -------- -------- --------- ------------- -------- --------- -------- -----------------------
  217. Port Channel Port-Channel10*:
  218. Et1/1 Bundled | Selected | FFFF,78-18-ec-65-21-e2 1 ASGs+CD 0x0021 255 noChurn 0 32773 ASGs+CD 0x000a 0x000a 32768 noChurn 15:45:58 Current CollectingDistributing
  219. Port Channel Port-Channel11*:
  220. Et1/2 Bundled | Selected | FFFF,78-18-ec-64-e9-48 1 ASGs+CD 0x0021 255 noChurn 0 32774 ASGs+CD 0x000b 0x000b 32768 noChurn 15:45:58 Current CollectingDistributing
  221. Port Channel Port-Channel12*:
  222. Et1/3 Bundled | Selected | FFFF,18-fd-74-bf-d6-6b 1 ASGs+CD 0x000f 255 noChurn 0 32775 ASGs+CD 0x000c 0x000c 32768 noChurn 15:45:57 Current CollectingDistributing
  223. Port Channel Port-Channel999999:
  224. Et32/1 Bundled | Selected | 8000,28-99-3a-15-dd-e5 129 ALGs+CD 0xf423 32768 noChurn 0 129 ALGs+CD 0xf423 0xf423 32768 noChurn 15:45:56 Current CollectingDistributing
  225.  
  226. |
  227. Port Status | MuxReason TimeoutMultiplier
  228. ------------ --------------|------------------------------------ -----------------
  229. Port Channel Port-Channel10*:
  230. Et1/1 Bundled | muxActorCollectingDistributing 3
  231. Port Channel Port-Channel11*:
  232. Et1/2 Bundled | muxActorCollectingDistributing 3
  233. Port Channel Port-Channel12*:
  234. Et1/3 Bundled | muxActorCollectingDistributing 3
  235. Port Channel Port-Channel999999:
  236. Et32/1 Bundled | muxActorCollectingDistributing 3
  237.  
  238. * - Only local interfaces for MLAGs are displayed. Connect to the peer to
  239. see the state for peer interfaces.
  240.  
  241. SW-Arista-2#show lacp interface detailed
  242. State: A = Active, P = Passive; S=ShortTimeout, L=LongTimeout;
  243. G = Aggregable, I = Individual; s+=InSync, s-=OutOfSync;
  244. C = Collecting (aggregating incoming frames), X = state machine expired,
  245. D = Distributing (aggregating outgoing frames),
  246. d = default neighbor state
  247. | | Partner Partner Collector Actor Last State Machines
  248. Port Status | Select | Sys-id Port# State OperKey PortPri Churn MaxDelay Port# State OperKey AdminKey PortPriority Churn RxTime Rx mux
  249. ------ ---------|-----------|------------------------ ------ -------- -------- -------- -------- ---------- ------ -------- -------- --------- ------------- -------- --------- -------- -----------------------
  250. Port Channel Port-Channel10*:
  251. Et1/1 Bundled | Selected | FFFF,78-18-ec-65-21-e2 2 ASGs+CD 0x0021 255 noChurn 0 5 ASGs+CD 0x000a 0x000a 32768 noChurn 15:46:26 Current CollectingDistributing
  252. Port Channel Port-Channel11*:
  253. Et1/2 Bundled | Selected | FFFF,78-18-ec-64-e9-48 2 ASGs+CD 0x0021 255 noChurn 0 6 ASGs+CD 0x000b 0x000b 32768 noChurn 15:46:26 Current CollectingDistributing
  254. Port Channel Port-Channel12*:
  255. Et1/3 Bundled | Selected | FFFF,18-fd-74-bf-d6-6b 2 ASGs+CD 0x000f 255 noChurn 0 7 ASGs+CD 0x000c 0x000c 32768 noChurn 15:46:26 Current CollectingDistributing
  256. Port Channel Port-Channel999999:
  257. Et32/1 Bundled | Selected | 8000,28-99-3a-74-d8-0d 129 ALGs+CD 0xf423 32768 noChurn 0 129 ALGs+CD 0xf423 0xf423 32768 noChurn 15:46:26 Current CollectingDistributing
  258.  
  259. |
  260. Port Status | MuxReason TimeoutMultiplier
  261. ------------ --------------|------------------------------------ -----------------
  262. Port Channel Port-Channel10*:
  263. Et1/1 Bundled | muxActorCollectingDistributing 3
  264. Port Channel Port-Channel11*:
  265. Et1/2 Bundled | muxActorCollectingDistributing 3
  266. Port Channel Port-Channel12*:
  267. Et1/3 Bundled | muxActorCollectingDistributing 3
  268. Port Channel Port-Channel999999:
  269. Et32/1 Bundled | muxActorCollectingDistributing 3
  270.  
  271. * - Only local interfaces for MLAGs are displayed. Connect to the peer to
  272. see the state for peer interfaces.
  273. ```
  274.  
Advertisement
Add Comment
Please, Sign In to add comment