Mlag & iBGP

Posted on Oct 2, 2025

Expanded notes for MLAG / iBGP Config

See below config

   vlan 4093
   name Mlag_iBGP
   trunk group MLAG

   vlan 4094
   name MLAG_HB
   trunk group MLAG

   interface Vlan4093
   no autostate
   ip address 172.16.4.1/30       //4.2 on adj leaf

   interface Vlan4094
   no autostate
   ip address 172.16.40.1/30      //40.2 on adj Leaf
  
   ip virtual-router mac-address 00:1c:73:00:00:99

   mlag configuration
   domain-id DomainLeaf1Leaf2
   local-interface Vlan4094
   peer-address 172.16.40.2
   peer-link Port-Channel100

   interface Port-Channel100
   description Peer Link Leaf 1 and Leaf 2
   switchport mode trunk
   switchport trunk group MLAG       // matches trunk grou spec'd in vlan creation

   int e3-4
   mtu 9214
   channel group 100 mode active 

   router bgp 65001
   ....
   neigh 172.16.4.2 des iBGP_Leaf2_Underlay
   neigh 172.16.4.2 remote-as 65001
   neigh 172.16.4.2 next-hop-self
   neigh 172.16.4.2 maximum-routes 12000
   ...

   	address-family ipv4
   	neigh 172.16.4.2 activate //int vlan 4093 neighbor
   	redistribute connected