IRF CONFIGURATION

Next we will see the script of a configuration made to a 4800, where the IRF links were enabled and it is explained with short notes to clear up doubts

irf mac-address persistent timer
 irf auto-update enable
 undo irf link-delay

snmp-agent
 snmp-agent local-engineid 8000002B030022572789C1
 snmp-agent community read public
 snmp-agent community write private
 snmp-agent community read snmpmenro
 snmp-agent community write snmpmenrw
 snmp-agent sys-info version all
 snmp-agent target-host trap address udp-domain 10.1.1.40 udp-port 5000 params securityname snmpmenro


# Configure Switch 1.
<Switch1> system-view
[Switch1] irf member 1 renumber 1
Warning: Renumbering the switch number may result in configuration change or loss.
Continue?[Y/N]:y
[Switch1] irf member 1 irf-port 1 port 2
# Configure Switch 2.
<Switch2>system-view
[Switch2] irf member 1 renumber 2
Warning: Renumbering the switch number may result in configuration change or loss.
Continue?[Y/N]:y
[Switch2] irf member 1 irf-port 1 port 2


[Switch2] irf member 1 irf-port 2 port 3
# Configure Switch 3.
<Switch3> system-view
[Switch3] irf member 1 renumber 3
Warning: Renumbering the switch number may result in configuration change or loss.
Continue?[Y/N]:y
[Switch3] irf member 1 irf-port 2 port 3
2) Power off the three devices. Connect them as shown in Figure 1-9 with stack cables. Power them
on, and the stack is formed.

NOTE: CONSIDER THE FOLLOWING:

THE SWITCH DIFFERENCES THE PHYSICAL PORT FROM THE LOGIC. EXAMPLE

A 10CX4 MODULE IN THE SWITCH WOULD BE IDENTIFIED AS FOLLOWS:

IRF-PORT 1 (PUERTO LOGICO) WOULD JOIN THE PHYSICAL PORT 1 IRF-PORT 2 (PUERTO LOGICO) WOULD JOIN THE PHYSICAL PORT 2

IRF configuration

<4800G>DIS IRF configuration
 MemberID     NewID     IRF-Port1       IRF-Port2
   1          1         1               2
--------------------------------------------------------
  * indicates the device is the master.
 + indicates the device through which the user logs in.

TWO 10CX4 MODULES IN THE SWTICH WOULD BE IDENTIFIED AS FOLLOWS:

IRF-PORT 1 (PUERTO LOGICO) WOULD JOIN THE PHYSICAL PORT 1 AND PORT 2 (READING THE 4 PHYSICAL PORTS FROM LEFT TO RIGHT) IRF-PORT 2 (PUERTO LOGICO) WOULD JOIN THE PHYSICAL PORT PORT 3 AND PORT 4

IRF configuration

<4800G>DIS IRF configuration
 MemberID     NewID     IRF-Port1       IRF-Port2
   1          1         1 2              3 4
--------------------------------------------------------
 * indicates the device is the master.
 + indicates the device through which the user logs in.

IN THE CASE THAT YOU ONLY WANT TO JOIN 2 MACHINES IN SERIOUS STACK IN THE FOLLOWING WAY (PLACED IN THE LEFT MODULE AND THEY ARE ALWAYS CROSSED):

<4800G>DIS IRF configuration
 MemberID     NewID     IRF-Port1       IRF-Port2
   1          1         1               2
 *+2          2         1               2
--------------------------------------------------------
 * indicates the device is the master.
 + indicates the device through which the user logs in.

FOR IT TO WORK YOU MUST SAVE IN THE SAME FILE AND BETTER TURN OFF THE TWO MACHINES (POWER OFF WITHOUT CURRENT AND TURN THEM ON.)

FOR THE CASE OF 3 MACHINES, IT WOULD BE AS FOLLOWS:

MACHINE 1:

irf member 1 renumber 1
irf member 1 irf-port 1 port 1
irf member 1 irf-port 2 port 2

IRF-PORT 1 (LOGIC PORT) WOULD JOIN THE PHYSICAL PORT 1 IRF-PORT 2 (LOGIC PORT) WOULD JOIN THE PHYSICAL PORT 2

MACHINE 2:

irf member 1 renumber 2
irf member 2 irf-port 1 port 1
irf member 2 irf-port 2 port 2

MACHINE 3:

irf member 1 renumber 3
irf member 3 irf-port 1 port 1
irf member 3 irf-port 2 port 2

SAVE ALL THE MACHINES SAME FILE EJM: ITC.CFG AND SHUTDOWN AND RESTART.

to see the configuration and status of the irf by machine

disp irf confi

The final procedure is as follows:

machine 1:

<DeviceA> system-view

[Devicea] irf member 1 renumber 1
Warning: Renumbering the switch number may result in configuration change or loss.
Continue? [Y/N]:y

[DeviceA] interface ten-gigabitethernet 1/1/1
[DeviceA-Ten-GigabitEthernet1/1/2] shutdown
[DeviceA] interface ten-gigabitethernet 1/1/2
[DeviceA-Ten-GigabitEthernet1/1/2] shutdown
[DeviceA] irf-port 1/2
[DeviceA-irf-port1/2] port group interface ten-gigabitethernet 1/1/1
[DeviceA-irf-port1/2] port group interface ten-gigabitethernet 1/1/2
[DeviceA] interface ten-gigabitethernet 1/1/1
[DeviceA-Ten-GigabitEthernet1/1/1] undo shutdown
[DeviceA] interface ten-gigabitethernet 1/1/2
[DeviceA-Ten-GigabitEthernet1/1/2] undo shutdown
[DeviceA-Ten-GigabitEthernet1/1/2]save itc.cfg
<DeviceA>reboot


[DeviceA] irf-port-configuration active

MACHINE 2:

<DeviceB> system-view

[DeviceB] irf member 1 renumber 2
Warning: Renumbering the switch number may result in configuration change or loss.
Continue? [Y/N]:y

[DeviceB] interface ten-gigabitethernet 2/1/1
[DeviceB-Ten-GigabitEthernet1/1/2] shutdown
[DeviceB] interface ten-gigabitethernet 2/1/2
[DeviceB-Ten-GigabitEthernet1/1/2] shutdown
[DeviceB] irf-port 2/1
[DeviceB-irf-port2/1] port group interface ten-gigabitethernet 2/1/1
[DeviceB-irf-port2/1] port group interface ten-gigabitethernet 2/1/2
[DeviceB] interface ten-gigabitethernet 2/1/1
[DeviceB-Ten-GigabitEthernet2/1/1] undo shutdown
[DeviceB] interface ten-gigabitethernet 2/1/2
[DeviceB-Ten-GigabitEthernet2/1/2] undo shutdown
[DeviceB-Ten-GigabitEthernet2/1/2]save itc.cfg
<DeviceB>reboot


[DeviceB] irf-port-configuration active