irf H3C switch configuration

irf H3C switch configuration

IRF (Intelligent Resilient Framework), the so-called stack. H3C IRF generally refers to the second generation of IRF.
IRF advantages of:
1, to reduce the complexity of the network
2, to improve the reliability of the network
3, to improve the efficiency of the network
Note:
1, IRF physical ports must operate in bridge mode, in order to bind the IRF port.
2, the same with a plurality of IRF IRF physical ports bound to the port must operate in the same mode.
3, IRF IRF physical ports connected to the intermediate member devices must be configured to the same mode of operation.
FIG SWA and SWB connection: Here Insert Picture Description
SWA configuration:
[SWA] Member IRF priority. 1 10 # 10 to set the priority, the greater the priority becomes the master
[SWA] interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0 / 52 is
[SWA-IF-Range] # the shutdown close physical port and logical port can bind
[SWA-if-range] quit

[SWA]irf-port 1/1
[SWA-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/51
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the “irf-port-configuration active” command to activate the IRF ports.

[SWA-irf-port1/1]quit
[SWA]irf-port 1/2
[SWA-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/52
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the “irf-port-configuration active” command to activate the IRF ports.

[SWA-irf-port1/2]quit

[SWA] Range interface of GigabitEthernet Ten-Ten-of GigabitEthernet 1/0/51 to 1/0/52
[SWA-IF-Range] Use the undo the shutdown
[SWA] IRF-Port Active Configuration #-activated IRF configuration parameters
[SWA] save # save that configuration to take effect the next restart

SWB configuration:

[SWB]irf member 1 priority 5
[SWB]irf member 1 renumber 2     #修改成员ID
[SWB]save
<SWB>reboot     #需要重启一次
Start to check configuration with next startup configuration file, please wait…DONE!
This command will reboot the device. Continue? [Y/N]:y

[SWB]interface range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
[SWB-if-range]shutdown
[SWB-if-range]quit

[SWB]irf-port 2/1
[SWB-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/51
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the “irf-port-configuration active” command to activate the IRF ports.

[SWB-irf-port2/1]quit
[SWB]irf-port 2/2
[SWB-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/52
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the “irf-port-configuration active” command to activate the IRF ports.

[SWB-irf-port2/2]quit

[SWB]interface range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
[SWB-if-range]undo shutdown
[SWB-if-range]quit

[SWB]irf-port-configuration active
<SWB>save

Then Gigabit optical fiber cable 51 and 51 above cross-connects, waiting for 8 minutes after preparation machine automatically restart completed IRF.

[SWA]display irf
MemberID Role Priority CPU-Mac Description
*+1 Master 10 6e2b-a938-0104 —
2 Standby 5 6e2b-ac96-0204 —
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.

The bridge MAC of the IRF is: 6e2b-a938-0100
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0

Creating MAD detection:

BFD MAD is through the principle of BFD Session session setup to achieve, when BFD MAD session establishment is completed, MAD IP Master device is in the UP state. MAD IP Slave device is DOWN. When the IRF split, Slave devices will become Master device, while MAD IP are in the UP state, BFD MAD detection effect, so large Member ID device Shutdown all ports in addition to the IRF port. This avoids multiple addresses conflict.
The Ge1 / 0/48 and Ge2 / 0/48 links,
[SWA] VLAN 255
[SWA-vlan255] Description IRF_MAD
[SWA-vlan255] Port of GigabitEthernet 1/0/48
[SWA-vlan255] Port of GigabitEthernet 2/0/48
[SWA-vlan255] quit

# Create a VLAN interface 255, and configure the MAD IP addresses
[SWA] interface of Vlan-interface 255
[SWA-of Vlan-interface255] enable BFD MAD
[SWA-of Vlan-interface255] MAD IP address 192.168.255.1. 1 Member 24
[SWA-vlan- interface255] MAD IP address 192.168.255.2 Member 24 2
[SWA-of Vlan-interface255] quit

[SWA]display bfd session
Total Session Num: 1 Up Session Num: 0 Init Mode: Active

IPv4 Session Working Under Ctrl Mode:

LD/RD SourceAddr DestAddr State Holdtime Interface
129/0 192.168.255.1 192.168.255.2 Down / Vlan255

[SWA]display bfd session verbose
Total Session Num: 1 Up Session Num: 0 Init Mode: Active

IPv4 Session Working Under Ctrl Mode:
Local Discr: 129                            Remote Discr: 0
Source IP: 192.168.255.1             Destination IP: 192.168.255.2
Session State: Down                     Interface: Vlan-interface255
Min Tx Inter: 400ms                       Act Tx Inter: 100ms
Min Rx Inter: 400ms                      Detect Inter: 5000ms
Rx Count: 0                                   Tx Count: 2922
Connect Type: Direct                     Running Up for: 00:00:00
Hold Time: 0ms                              Auth mode: None
Detect Mode: Async                       Slot: 1
Protocol: MAD
Version: 1
Diag Info: No Diagnostic

Published 57 original articles · won praise 8 · views 5538

Guess you like

Origin blog.csdn.net/zdl244/article/details/103413456