mkolus

FortiGate 120G on MLAG: scenario 1

Feb 16th, 2025
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.38 KB | None | 0 0
  1. # Scenario 1
  2.  
  3. - ping *not* responding
  4. - x1 disconnected (shutdown on the arista 1 side, to simulate pulling the cable)
  5.  
  6. ```
  7. xxx-fgt-01 # diagnose netlink aggregate list
  8. List of 802.3ad link aggregation interfaces:
  9. 1 name fortilink status down algorithm L4 lacp-mode active
  10. 2 name core status up algorithm L4 lacp-mode active
  11.  
  12. xxx-fgt-01 # diagnose netlink aggregate name core
  13. LACP flags: (A|P)(S|F)(A|I)(I|O)(E|D)(E|D)
  14. (A|P) - LACP mode is Active or Passive
  15. (S|F) - LACP speed is Slow or Fast
  16. (A|I) - Aggregatable or Individual
  17. (I|O) - Port In sync or Out of sync
  18. (E|D) - Frame collection is Enabled or Disabled
  19. (E|D) - Frame distribution is Enabled or Disabled
  20.  
  21. status: up
  22. npu: n
  23. flush: n
  24. asic helper: y
  25. ports: 2
  26. link-up-delay: 50ms
  27. min-links: 1
  28. ha: master
  29. distribution algorithm: L4
  30. LACP mode: active
  31. LACP speed: fast
  32. LACP HA: enable
  33. aggregator ID: 1
  34. actor key: 33
  35. actor MAC address: 78:18:ec:64:e9:48
  36. partner key: 11
  37. partner MAC address: 2a:99:3a:15:dd:e5
  38.  
  39. member: x1
  40. index: 0
  41. link status: down
  42. link failure count: 8
  43. permanent MAC addr: 78:18:ec:64:e9:48
  44.  
  45. member: x2
  46. index: 1
  47. link status: up
  48. link failure count: 6
  49. permanent MAC addr: 78:18:ec:64:e9:49
  50. LACP state: established
  51. LACPDUs RX/TX: 141431/151291
  52. actor state: AFAIEE
  53. actor port number/key/priority: 2 33 255
  54. partner state: AFAIEE
  55. partner port number/key/priority: 6 11 32768
  56. partner system: 32768 2a:99:3a:15:dd:e5
  57. aggregator ID: 1
  58. speed/duplex: 10000 1
  59. RX state: CURRENT 6
  60. MUX state: COLLECTING_DISTRIBUTING 4
  61. ```
  62. ## Arista 1
  63. ```
  64. SW-Arista-1#show lacp aggregates detailed
  65. Port Channel Port-Channel10*:
  66. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000A,0000,0000),(FFFF,78-18-ec-65-21-e2,0021,0000,0000)]
  67. Bundled Ports: Ethernet1/1
  68. Port Channel Port-Channel11*:
  69. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000B,0000,0000),(FFFF,78-18-ec-64-e9-48,0021,0000,0000)]
  70. No bundled ports
  71. Port Channel Port-Channel12*:
  72. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000C,0000,0000),(FFFF,18-fd-74-bf-d6-6b,000F,0000,0000)]
  73. Bundled Ports: Ethernet1/3
  74. Port Channel Port-Channel999999:
  75. Aggregate ID: [(8000,28-99-3a-15-dd-e5,F423,0000,0000),(8000,28-99-3a-74-d8-0d,F423,0000,0000)]
  76. Bundled Ports: Ethernet32/1
  77.  
  78. * - Only local interfaces for MLAGs are displayed. Connect to the peer to
  79. see the state for peer interfaces.
  80. SW-Arista-1#show lacp interface detailed
  81. State: A = Active, P = Passive; S=ShortTimeout, L=LongTimeout;
  82. G = Aggregable, I = Individual; s+=InSync, s-=OutOfSync;
  83. C = Collecting (aggregating incoming frames), X = state machine expired,
  84. D = Distributing (aggregating outgoing frames),
  85. d = default neighbor state
  86. | | Partner Partner Collector Actor Last State Machines
  87. Port Status | Select | Sys-id Port# State OperKey PortPri Churn MaxDelay Port# State OperKey AdminKey PortPriority Churn RxTime Rx mux
  88. ------ ---------|-----------|------------------------ ------ -------- -------- -------- -------- ---------- ------ -------- -------- --------- ------------- -------- --------- -------- -----------------------
  89. Port Channel Port-Channel10*:
  90. 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:57:07 Current CollectingDistributing
  91. Port Channel Port-Channel12*:
  92. 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:57:07 Current CollectingDistributing
  93. Port Channel Port-Channel999999:
  94. 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:56:57 Current CollectingDistributing
  95.  
  96. |
  97. Port Status | MuxReason TimeoutMultiplier
  98. ------------ --------------|------------------------------------ -----------------
  99. Port Channel Port-Channel10*:
  100. Et1/1 Bundled | muxActorCollectingDistributing 3
  101. Port Channel Port-Channel12*:
  102. Et1/3 Bundled | muxActorCollectingDistributing 3
  103. Port Channel Port-Channel999999:
  104. Et32/1 Bundled | muxActorCollectingDistributing 3
  105.  
  106. * - Only local interfaces for MLAGs are displayed. Connect to the peer to
  107. see the state for peer interfaces.
  108.  
  109. SW-Arista-1#show mlag interfaces detail
  110. local/remote
  111. mlag state local remote oper config last change changes
  112. ---------- -------------------- ----------- ------------ ------------- ------------- ------------------ -------
  113. 10 active-full Po10 Po10 up/up ena/ena 0:04:02 ago 36
  114. 11 active-partial Po11 Po11 down/up ena/ena 0:03:33 ago 34
  115. 12 active-full Po12 Po12 up/up ena/ena 18:58:43 ago 34
  116.  
  117. SW-Arista-1#show port-channel 11 detailed
  118. Port Channel Port-Channel11 (Fallback State: Unconfigured):
  119. Minimum links: unconfigured
  120. Minimum speed: unconfigured
  121. Current weight/Max weight: 0/64
  122. Active Ports:
  123. Port Time Became Active Protocol Mode Weight State
  124. --------------------- ------------------------ -------------- ------------ ------------ -------
  125. PeerEthernet1/2 Sat 21:04:09 LACP Active 0 Unknown
  126.  
  127. Configured, but inactive ports:
  128. Port Time Became Inactive Reason
  129. ----------------- -------------------------- -----------------------------
  130. Ethernet1/2 15:54:33 link down in LACP negotiation
  131.  
  132. SW-Arista-1#show mlag interfaces members
  133. Mlag10 is Port-Channel10
  134. Active Ports: Ethernet1/1 PeerEthernet1/1
  135. Mlag11 is Port-Channel11
  136. Active Ports: PeerEthernet1/2
  137. Mlag12 is Port-Channel12
  138. Active Ports: Ethernet1/3 PeerEthernet1/3
  139. ```
  140. ## Arista 2
  141. ```
  142. SW-Arista-2#show lacp aggregates detailed
  143. Port Channel Port-Channel10*:
  144. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000A,0000,0000),(FFFF,78-18-ec-65-21-e2,0021,0000,0000)]
  145. Bundled Ports: Ethernet1/1
  146. Port Channel Port-Channel11*:
  147. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000B,0000,0000),(FFFF,78-18-ec-64-e9-48,0021,0000,0000)]
  148. Bundled Ports: Ethernet1/2
  149. Port Channel Port-Channel12*:
  150. Aggregate ID: [(8000,2a-99-3a-15-dd-e5,000C,0000,0000),(FFFF,18-fd-74-bf-d6-6b,000F,0000,0000)]
  151. Bundled Ports: Ethernet1/3
  152. Port Channel Port-Channel999999:
  153. Aggregate ID: [(8000,28-99-3a-15-dd-e5,F423,0000,0000),(8000,28-99-3a-74-d8-0d,F423,0000,0000)]
  154. Bundled Ports: Ethernet32/1
  155.  
  156. * - Only local interfaces for MLAGs are displayed. Connect to the peer to
  157. see the state for peer interfaces.
  158. SW-Arista-2#show lacp interface detailed
  159. State: A = Active, P = Passive; S=ShortTimeout, L=LongTimeout;
  160. G = Aggregable, I = Individual; s+=InSync, s-=OutOfSync;
  161. C = Collecting (aggregating incoming frames), X = state machine expired,
  162. D = Distributing (aggregating outgoing frames),
  163. d = default neighbor state
  164. | | Partner Partner Collector Actor Last State Machines
  165. Port Status | Select | Sys-id Port# State OperKey PortPri Churn MaxDelay Port# State OperKey AdminKey PortPriority Churn RxTime Rx mux
  166. ------ ---------|-----------|------------------------ ------ -------- -------- -------- -------- ---------- ------ -------- -------- --------- ------------- -------- --------- -------- -----------------------
  167. Port Channel Port-Channel10*:
  168. 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 16:00:04 Current CollectingDistributing
  169. Port Channel Port-Channel11*:
  170. 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 16:00:04 Current CollectingDistributing
  171. Port Channel Port-Channel12*:
  172. 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 16:00:03 Current CollectingDistributing
  173. Port Channel Port-Channel999999:
  174. 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:59:56 Current CollectingDistributing
  175.  
  176. |
  177. Port Status | MuxReason TimeoutMultiplier
  178. ------------ --------------|------------------------------------ -----------------
  179. Port Channel Port-Channel10*:
  180. Et1/1 Bundled | muxActorCollectingDistributing 3
  181. Port Channel Port-Channel11*:
  182. Et1/2 Bundled | muxActorCollectingDistributing 3
  183. Port Channel Port-Channel12*:
  184. Et1/3 Bundled | muxActorCollectingDistributing 3
  185. Port Channel Port-Channel999999:
  186. Et32/1 Bundled | muxActorCollectingDistributing 3
  187.  
  188. * - Only local interfaces for MLAGs are displayed. Connect to the peer to
  189. see the state for peer interfaces.
  190. SW-Arista-2#show mlag interfaces detail
  191. local/remote
  192. mlag state local remote oper config last change changes
  193. ---------- -------------------- ----------- ------------ ------------- ------------- ------------------ -------
  194. 10 active-full Po10 Po10 up/up ena/ena 0:06:06 ago 35
  195. 11 active-partial Po11 Po11 up/down ena/ena 0:05:37 ago 33
  196. 12 active-full Po12 Po12 up/up ena/ena 19:00:47 ago 32
  197. SW-Arista-2#show port-channel 11 detailed
  198. Port Channel Port-Channel11 (Fallback State: Unconfigured):
  199. Minimum links: unconfigured
  200. Minimum speed: unconfigured
  201. Current weight/Max weight: 1/64
  202. Active Ports:
  203. Port Time Became Active Protocol Mode Weight State
  204. ----------------- ------------------------ -------------- ------------ ------------ -----
  205. Ethernet1/2 Sat 21:04:09 LACP Active 1 Rx,Tx
  206.  
  207. Configured, but inactive ports:
  208. Port Time Became Inactive Reason
  209. --------------------- -------------------------- -----------------------------
  210. PeerEthernet1/2 15:54:33 link down in LACP negotiation
  211.  
  212. SW-Arista-2#show mlag interfaces members
  213. Mlag10 is Port-Channel10
  214. Active Ports: Ethernet1/1 PeerEthernet1/1
  215. Mlag11 is Port-Channel11
  216. Active Ports: Ethernet1/2
  217. Mlag12 is Port-Channel12
  218. Active Ports: Ethernet1/3 PeerEthernet1/3
  219. ```
Advertisement
Add Comment
Please, Sign In to add comment