Problem:IRF_Configuration RING Topology
Diagnostics:The devices that form an IRF virtual device are called IRF member devices. A member device assumes the role of master or slave. An IRF stack contains only one master, which manages the IRF virtual device. All other members operate as slaves and as backups for the master. When the master fails, the IRF virtual device automatically elects a new master from one of the slaves. Master and slaves are selected through the role election mechanism.
A logical IRF port is a logical port dedicated to the internal connection of an IRF virtual device. These ports cannot act as access, trunk or hybrid ports. An IRF port is effective only when it is bound to a physical IRF port.
In a ring topology, the failure of one IRF link does not cause the IRF fabric to split
Solution[Article to be validated]
Ring Topology configuration b/w four switches and Switch 1 will be the master.
Configuration# and verification#
- Renumber switch sw2 to member number 2.
Follow same steps for Sw3 and Sw4
[H3C]irf member 1 renumber 2
Warning: Renumbering the switch number may result in configuration change or loss. Continue?[Y/N]y
<Rack4sw2>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
- Disable interfaces used for IRF on switch.
[H3C]int Ten-GigabitEthernet 1/0/49
[H3C-Ten-GigabitEthernet1/0/49]shutdown
[H3C]int Ten-GigabitEthernet 1/0/50
[H3C-Ten-GigabitEthernet1/0/50]shutdown
[H3C]int Ten-GigabitEthernet 2/0/49
[H3C-Ten-GigabitEthernet1/0/49]shutdown
[H3C]int Ten-GigabitEthernet 2/0/50
[H3C-Ten-GigabitEthernet1/0/50]shutdown
[H3C]int Ten-GigabitEthernet 3/0/49
[H3C-Ten-GigabitEthernet1/0/49]shutdown
[H3C]int Ten-GigabitEthernet 3/0/50
[H3C-Ten-GigabitEthernet1/0/50]shutdown
[H3C]int Ten-GigabitEthernet 4/0/49
[H3C-Ten-GigabitEthernet1/0/49]shutdown
[H3C]int Ten-GigabitEthernet 4/0/50
[H3C-Ten-GigabitEthernet1/0/50]shutdown
- Configure the IRF interfaces.
#
irf-port 1/1
port group interface Ten-GigabitEthernet1/0/49
#
irf-port 1/2
port group interface Ten-GigabitEthernet1/0/50
#
irf-port 2/1
port group interface Ten-GigabitEthernet2/0/50
#
irf-port 2/2
port group interface Ten-GigabitEthernet2/0/49
#
irf-port 3/1
port group interface Ten-GigabitEthernet3/0/50
#
irf-port 3/2
port group interface Ten-GigabitEthernet3/0/49
#
irf-port 4/1
port group interface Ten-GigabitEthernet4/0/50
#
irf-port 4/2
port group interface Ten-GigabitEthernet4/0/49
#
- Enable the IRF interfaces
[H3C]int Ten-GigabitEthernet 1/0/49
[H3C-Ten-GigabitEthernet1/0/49]undo shutdown
[H3C]int Ten-GigabitEthernet 1/0/50
[H3C-Ten-GigabitEthernet1/0/50]undo shutdown
[H3C]int Ten-GigabitEthernet 2/0/49
[H3C-Ten-GigabitEthernet1/0/49]undo shutdown
[H3C]int Ten-GigabitEthernet 2/0/50
[H3C-Ten-GigabitEthernet1/0/50]undo shutdown
[H3C]int Ten-GigabitEthernet 3/0/49
[H3C-Ten-GigabitEthernet1/0/49]undo shutdown
[H3C]int Ten-GigabitEthernet 3/0/50
[H3C-Ten-GigabitEthernet1/0/50]undo shutdown
[H3C]int Ten-GigabitEthernet 4/0/49
[H3C-Ten-GigabitEthernet1/0/49]undo shutdown
[H3C]int Ten-GigabitEthernet 4/0/50
[H3C-Ten-GigabitEthernet1/0/50]undo shutdown
- Active the IRF port configuration on switch sw1 , sw2 & sw3
[H3C]irf-port-configuration active
- Save the configuration on switch sw1 , sw2 ,sw3 & sw4.
[H3C]save force
Saved the current configuration to mainboard device successfully.
Configuration is saved to device successfully.
- Active the IRF port configuration on switch sw4.
[Rack4sw2]irf-port-configuration active
Note: After activation of the irf ports, switch Rack4sw2 will reboot.
****** IRF verification *****
[H3C]dis irf
MemberID Role Priority CPU-Mac Description
*+1 Master 1 a682-9fe2-0104 ---
2 Standby 1 a682-a6b3-0204 ---
3 Standby 1 a682-b00e-0304 ---
4 Standby 1 a682-b502-0404 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The bridge MAC of the IRF is: a682-9fe2-0100
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
[H3C]display device
Slot No. Board Type Status Software Version
-----------------------------------------------------------
1 S5820V2-54QS-GE Master COMWAREV700R001
2 S5820V2-54QS-GE Standby COMWAREV700R001
3 S5820V2-54QS-GE Standby COMWAREV700R001
4 S5820V2-54QS-GE Standby COMWAREV700R001
[H3C]display irf configuration
MemberID NewID IRF-Port1 IRF-Port2
1 1 Ten-GigabitEthernet1/0/49 Ten-GigabitEthernet1/0/50
2 2 Ten-GigabitEthernet2/0/50 Ten-GigabitEthernet2/0/49
3 3 Ten-GigabitEthernet3/0/50 Ten-GigabitEthernet3/0/49
4 4 Ten-GigabitEthernet4/0/50 Ten-GigabitEthernet4/0/49
Attachments:IRF_Configuration RING Topology.docx