Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2010
Contents
Section 1 IRF Principle and Implementation Section 2 Basic Configuration of the IRF Section 3 IRF Maintenance Section 4 Split Stack Detection
Slave
IRF-port 1 IRF-port 2
Slave
IRF-port 1 IRF-port 2
Slave
Ring
Master
IRF-port 1 IRF-port 2
Slave
IRF-port 2
IRF-port 1
IRF-port 1
IRF-port 2
IRF-port 2
IRF-port 1
Slave
Slave
Inexpensive Local Connection cables are available for CX4, SPF+ and XFP ports.
String connection
Ring connection
4
1
Slave
2
Slave
1
Slave
1. The current master wins, even if a new member has a higher priority. (When a new member is added, IRF merge does not happen.) 2. A member with a higher priority wins. 3. A member with the longest system up-time wins. (The precision of the system up-time is ten minutes.) 4. A member with the lowest bridge MAC address wins.
3Com Confidential 7
Slave
2
Slave
1
Slave
Master
2
merge
4 3
Slave
Slave
Yes
No
No
Contents
Section 1 IRF Principle and Implementation Section 2 Basic Configuration of the IRF Section 3 IRF Maintenance Section 4 Split Stack Detection
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.
UNIT1
UNIT2
1. On the chassis-based switches, convert them to IRF-mode 2. Choose a switch to be the master switch 3. Assign a high IRF priority to the master and ensure its Member ID is 1. 4. Assign a different Member ID to each one of the other switches in the IRF group and reboot them. 5. Shut down all the physical ports that will be used for the IRF connectivity. 6. Assign the physical ports to the IRF logical interface 7. Enable the physical ports used with IRF (cont.)
3Com Confidential 15
11. Repeat the process for each member (turn on and wait). This step is called device insertion. Always turn on a device connected to other devices that are already up and running.
3Com Confidential 16
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
Master Member 1
Slave Member 2
3Com Confidential 17
Slave Member 3
The device reboots automatically to switch its operating mode. (To reverse this command enter the undo chassis convert mode command)
[H3C] save
Once the unit(s) come back up, they will be in full IRF mode. This can be validated with the display irf command
Contents
Section 1 IRF Principle and Implementation Section 2 Basic Configuration of the IRF Section 3 IRF Maintenance Section 4 Split Stack Detection
IRF Troubleshooting
Operation Display the information of the whole Fabric Display the Fabric topology management information Display the IRF configuration display irf
Command
[H3C] display irf configuration MemberID 1 2 NewID 1 2 IRF-Port1 Ten-GigabitEthernet1/2/0/1 Ten-GigabitEthernet1/2/0/2 disable IRF-Port2 disable Ten-GigabitEthernet2/2/0/1 Ten-GigabitEthernet2/2/0/2
display irf
<H3C> display irf Switch Slot Role Priority CPU-Mac *+1 0 Master 1 00e0-fc0a-15e0 2 1 Slave 1 00e0-fc0f-8c02 -------------------------------------------------* indicates the device is the master. + indicates the device through which the user logs in. The Bridge MAC of the IRF is: 000f-e26a-58ed Auto upgrade : no Mac persistent : always Link-delay timer : 0 ms Domain ID : 30
<H3C> display irf topology Topology Info -----------------------------------------------------------------------IRF-Port1 IRF-Port2 Switch Link neighbor Link neighbor Belong To 1 DIS -UP 2 00e0-fc0a-15e0 2 UP 1 DIS -00e0-fc0a-15e0
Contents
Section 1 IRF Principle and Implementation Section 2 Basic Configuration of the IRF Section 3 IRF Maintenance Section 4 Split Stack Detection
Master
1
Master
2 MAD
Switch
Slave
Slave
1
Layer-2:
STP loops Forwarding Duplicate switch MAC addresses Port! Possible duplicate forwarding of frames Forwarding Port!
Layer-3:
Duplicate IP addresses Possible duplicate packetsboth routers forwarding packets Broken IRF Link Master! Master!
3Com Confidential 36
3Com Confidential 37
Collision Handling
The part that contains the device with the lowest member-id remains in Normal state and the other goes into Recovery state. The ports of a device in recovery state become blocked. The administrator can exclude some ports from becoming blocked.
Failure Recovery
When the IRF link is back online, the IRF system detects that the IRFports are up and triggers the Recovery process. During the recovery, the part of the IRF that was in recovery state is rebooted to be re-inserted into the IRF.
3Com Confidential 38
When the two masters see each other on the LACP link and the IRF link is down The lowest member ID goes into a Normal state The other member goes into a Recovery state
Device in The Recovery member disables its Normal state other ports until the stack is re-merged
3Com Confidential 39
Master
2
MAD
Switch
Slave
Slave
1
[H3C-Bridge-Aggregation2] link-aggregation mode dynamic [H3C-Bridge-Aggregation2] mad enable [H3C-Bridge-Aggregation2] quit Add ports 1/3/0/2 and 2/3/0/2 to the aggregation interface and they are dedicated to the LACP MAD detection for Switch One and Switch Two. [H3C] interface gigabitethernet 1/3/0/2 [H3C-GigabitEthernet1/3/0/2] port link-aggregation group 2 [H3C-GigabitEthernet1/3/0/2] quit [H3C] interface gigabitethernet 2/3/0/2 [H3C-GigabitEthernet2/3/0/2] port link-aggregation group 2
1
When the two masters see each other on the BFD UDP connection and the IRF link is down The lowest member ID goes into a Normal state The other member goes into a Recovery state The Recovery member stops processing layer-3 traffic
3Com Confidential 41
[H3C] vlan 3 [H3C-vlan3] port gigabitethernet 1/3/0/1 [H3C-vlan3] port gigabitethernet 2/3/0/1 [H3C-vlan3] quit
Slave
Slave
Create VLAN-interface 3 and configure the MAD IP address for the interface. [H3C] interface vlan-interface 3 [H3C-Vlan-interface3] mad bfd enable [H3C-Vlan-interface3] mad ip add 192.168.2.1 24 chassis 1 [H3C-Vlan-interface3] mad ip add 192.168.2.2 24 chassis 2 [H3C-Vlan-interface3] quit
1
display mad
<H3C> display mad MAD LACP enabled. MAD BFD enabled. # Display the detailed MAD configuration. <H3C> display mad verbose Current MAD status: Detect Excluded ports(configurable): GigabitEthernet 2/1/0/2 GigabitEthernet 2/1/0/3 Excluded ports(can not be configured): Ten-GigabitEthernet1/2/0/25 Ten-GigabitEthernet2/2/0/26 MAD enabled aggregation port: Bridge-Aggregation2 MAD BFD enabled interface: Vlan-interface10 mad ip address 10.0.0.2 255.255.0.0 chassis 1 mad ip address 10.0.0.3 255.255.0.0 chassis 2
1