Thursday, October 22, 2020

This is how I stacking my 2 switches with IRF using 1 DAC cable

This is how I stacking my 2 switches with IRF using 1 cable


 


How to configure it?
====================
Switch 1
--------
#
irf member 1 priority 32
#
int  Ten-GigabitEthernet 1/0/27
shutdown
#
irf-port 1/1
port group interface Ten-GigabitEthernet 1/0/27
#
int  Ten-GigabitEthernet 1/0/27
undo shutdown
#
irf-port-configuration active
#
quit
#
save
#

==============

Switch 2
---------
#
irf member 1 renumber 2
#
Save
#
Reboot

*Switch UP 
#
irf member 2 priority 1
#
#
int  Ten-GigabitEthernet 2/0/28
shutdown
#
irf-port 1/1
port group interface Ten-GigabitEthernet 2/0/28
#
int  Ten-GigabitEthernet 2/0/28
undo shutdown
#
irf-port-configuration active
#
quit
#
save
#

* Switch rebooted by itself and will follow configuration from Main Switch 1


Result/Output from 2 Switches
=============================
#display  irf link
Member 1
 IRF Port  Interface                             Status
 1         Ten-GigabitEthernet1/0/27             UP  
 2         disable                               --
Member 2
 IRF Port  Interface                             Status
 1         disable                               --
 2         Ten-GigabitEthernet2/0/28             UP


-=EOT=-