You are on page 1of 16

IRF Principle and Implementation – Configuration

• • • • All configurations are divided into global configuration and local configuration. Global configuration includes layer 3 interface, IP address, routing protocol and security feature. It is efficient in the whole Fabric. Local configuration mainly includes the port parameters and it is efficient in a local Unit only. One Fabric ensures that the global configurations are identical when the system is running.

How to implement it? 1. Begin with as minimal of a configuration as possible to ensure the global configurations are identical. 2. The global configuration will be broadcast to each Unit for synchronous execution and the local configuration will be sent to the relevant Unit for execution.

1

IRF Principle and Implementation – Configuration Comparison • • • Begin with a minimal configuration on all devices. new Unit joining or merge. Configuration comparison will be performed at of system start. All other devices are re-written except for the local port and IRF configuration. Preferred to reset savedconfiguration and reboot prior to starting. The Unit with the highest priority serves as the reference in the configuration comparison. Fabric configuration Global configuration Local allocation Global configuration Fabric configuration Global configuration Local allocation Global configuration UNIT1 UNIT2 1 .

Choose a switch to be the master switch 3. On the chassis-based switches.Basic Configuration Steps 1. Enable the physical ports used with IRF (cont. 5. Assign a high IRF priority to the master and ensure its Member ID is 1. Shut down all the physical ports that will be used for the IRF connectivity. 6.) 3Com Confidential 15 . 4. Assign the physical ports to the IRF logical interface 7. Assign a different Member ID to each one of the other switches in the IRF group and reboot them. convert them to IRF-mode 2.

This will guarantee that this unit will become the master.) 8. Repeat the process for each member (turn on and wait). Physically connect the IRF links to build the IRF fabric. 3Com Confidential 16 . Save the configuration of each device and turn them off. This step is called “device insertion”. 10. Always turn on a device connected to other devices that are already up and running.Basic Configuration Steps (cont. • • (See the next slide for connection guidelines) Wait until the boot process is complete before turning on the next device. Turn on the unit that needs to be the master (Member-id=1) 11. 9.

IRF Connections • IRF Port Numbering – Syntax: irf-port x/y • X is the member number • Y is the logical port number – Logical Ports • IRF logical port 1 of one device must be connected to IRF logical port 2 of the next device • Connecting IRF-ports of the same logical number will prevent the devices to recognize each other as members of the same IRF group • IRF Configuration Example: irf-port 1/2 irf-port 1/1 irf-port 2/2 irf-port 2/1 irf-port 3/2 irf-port 3/1 Master Member 1 Slave Member 2 3Com Confidential 17 Slave Member 3 .

(To reverse this command enter the undo chassis convert mode command) 1 .IRF Configuration – Master 1 (Step 1) On Chassis Systems. Are you sure? [Y/N] y The device reboots automatically to switch its operating mode. you must first enable IRF mode (only applies to the 7500E and higher—not the 5820x and 5500-EI): [H3C] chassis convert mode irf This command will convert the device to IRF mode and the device will reboot.

IRF Configuration – Master 1 (Steps 2 and 3) Assign the IRF Priority of the switch and save the configuration: [H3C] irf member 1 priority 32 Where priority can be an integer value from 1 to 32. 1 being the lowest 32 being the highest priority. Highest priority take precedence over a lower priority. [H3C] save 1 .

1 . The first number (1/) is the Chassis ID (member number) associated by IRF.IRF Configuration – Master 1 (Step 5) Shutdown the ports that are to operate as IRF-Ports: [H3C] interface TenGigabitEthernet 1/3/0/25 [H3C-Ten-GigabitEthernet1/3/0/25] shutdown [H3C-Ten-GigabitEthernet1/3/0/25] quit [H3C] interface TenGigabitEthernet 1/3/0/26 [H3C-Ten-GigabitEthernet1/3/0/25] shutdown [H3C-Ten-GigabitEthernet1/3/0/25] quit Notice the extra number in the interface designation.

IRF Configuration – Master 1 (Step 6) Assign the ports to their respective IRF-Port: [H3C] irf-port 1/2 [H3C-irf-port 1/2] port group interface TenGigabitEthernet 1/3/0/25 [H3C-irf-port 1/2] port group interface TenGigabitEthernet 1/3/0/26 [H3C-irf-port 1/2] quit Note: This is Logical IRF-Port #2. This port MUST be connected to another System 2’s logical port #1 1 .

[H3C] save 1 .IRF Configuration – Master 1 (Step 7 and 8) Re-activate the assigned ports: [H3C] interface TenGigabitEthernet 1/3/0/25 [H3C-Ten-GigabitEthernet1/3/0/25] undo shutdown [H3C] interface TenGigabitEthernet 1/3/0/26 [H3C-Ten-GigabitEthernet1/3/0/25] undo shutdown [H3C-Ten-GigabitEthernet1/3/0/25] quit [H3C] irf-port-configuration active %May 5 23:18:40:124 2010 H3C STM/4/MERGE: IRF merge occurs and the IRF system does not need to reboot.

you must first enable IRF mode: [H3C] chassis convert mode irf This command will convert the device to IRF mode and the device will reboot.IRF Configuration – Slave 2 (Step 1) On Chassis Systems. • A configuration register is set to indicate IRF mode • To reverse this command enter the undo chassis convert mode command 1 . Are you sure? [Y/N] y • The device reboots automatically to switch its operating mode.

Continue? [Y/N]: y [H3C] quit <H3C> reboot You can validate the IRF unit number using the display irf command. 3.IRF Configuration – Slave 2 (Steps 2. 1 . and 4) Renumber the unit to the second IRF device: [H3C] irf member 1 renumber 2 Warning: Renumbering the switch number may result in configuration change or loss.

IRF Configuration – Slave 2 (Step 5) Shutdown the ports that are to operate as IRF-Ports: [H3C] interface TenGigabitEthernet 2/3/0/25 [H3C-Ten-GigabitEthernet2/3/0/25] shutdown [H3C-Ten-GigabitEthernet2/3/0/25] quit [H3C] interface TenGigabitEthernet 2/3/0/26 [H3C-Ten-GigabitEthernet2/3/0/25] shutdown [H3C-Ten-GigabitEthernet2/3/0/25] quit Notice the extra number in the interface designation (2/). 1 . This is the Chassis ID (member number) associated by IRF.

This port MUST be connected to another switch’s logical port #2 1 .IRF Configuration – Slave 2 (Step 6) Assign the ports to their respective IRF-Port: [H3C] irf-port 2/1 [H3C-irf-port 2/1] port group interface TenGigabitEthernet 2/3/0/25 [H3C-irf-port 2/1] port group interface TenGigabitEthernet 2/3/0/26 [H3C-irf-port 2/1] quit This places both ports into the Logical IRF-Port of 2/1 Note: that this is Logical IRF-Port #1.

[H3C] save [H3C] quit <H3C> reboot 1 .IRF Configuration – Slave 2 (Step 7 and 8) Re-activate the assigned ports and save the configuration: [H3C] interface TenGigabitEthernet 1/3/0/25 [H3C-Ten-GigabitEthernet1/3/0/25] undo shutdown [H3C] interface ten-gigabitethernet 1/3/0/26 [H3C-Ten-GigabitEthernet1/3/0/25] undo shutdown [H3C-Ten-GigabitEthernet1/3/0/25] quit [H3C] irf-port-configuration active %May 5 23:16:57:541 2010 H3C STM/4/MERGE: IRF merge occurs and the IRF system needs a reboot.

The unit with the lowest priority should request at the command line to be rebooted – Stackable switches – The unit with the lowest priority will automatically be rebooted!!! • Once the unit(s) come back up.IRF Configuration Completion • When you connect the two switches together: – Chassis switches . This can be validated with the display irf command 1 . they will be in full IRF mode.