MAGP Configuration
As stated in the previous chapter, MAGP configuration is required on the Spine switches when the fabric is utilizing L2 routing in the whole fabric. You can find more details about MAGP in the MAGP section of the UM.
To configure MAGP on the switches, you need to take the following steps on all spine switches used in your setup. In our use case we have one rack with two such switches:
Create a VLAN interface.
switch(config)#interfacevlan20switch(configinterfacevlan20)#Set an IP address to the VLAN interface.
switch(configinterfacevlan20)# ip address11.11.11.11/8Enable MAGP protocol globally.
switch(config)# protocol magp
Create a VLAN interface:
switch(config)#interfacevlan20switch(configinterfacevlan20)#Set an IP address to the VLAN interface.
switch(configinterfacevlan20)# ip address11.11.11.22/8Enable MAGP protocol globally.
switch(config)# protocol magpNext steps (9-11) should be taken per VLAN (done for VLAN 10 below):Create a virtual router group for an IP interface.
switch(configinterfacevlan20)# magp10Set a virtual router primary IP address.
switch(configinterfacevlan20magp10)# ip virtual-router address11.11.11.254Set a virtual router primary MAC address.
switch(configinterfacevlan20magp10)# ip virtual-router mac-address aa:bb:cc:dd:ee:ff
Verify the MAGP configuration.
switch (config)# show magp 10
The output in our setup will return the following:
MAGP 10
Interface vlan: 20
Admin state: Master
State: Enabled
Virtual IP: 11.11.11.254
Virtual MAC: aa:bb:cc:dd:ee:ff