Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

IRF brief and basic IRF implementation using H3C simulator HCL

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Part 1 IRF brief Book 1. What is IRF?

Advantages of hardware Virtualization IRF (Intelligent resilient Framework): networking simplification: as shown in the following figure, in the traditional layer 3 architecture, Ethernet bundling is used between core switches, and access layer switches run STP, which results in only part of the access switches being forwarded (data forwarding between different VLAN can be optimized through MSTP adjustment). Hardware virtualization is implemented between the two core switches after the implementation of IRF, which is considered to be one device. This greatly simplifies the complexity of the network. Multiple devices in the aggregation layer become a single logical device, and the access device is directly connected to the virtual device. This simplified networking no longer needs to use MSTP and VRRP protocols, and simplifies the network configuration. At the same time, it relies on cross-device link aggregation (which requires specific device support), and no longer depends on the convergence of MSTP, VRRP and other protocols in case of member failure, thus improving the reliability.

Membership and interface types of 2.IRF

Member devices in the IRF stack are divided into Master and Slave devices

The physical interface used for stacking connections on member devices is called physical stack ports.

The physical stack port needs to be bound to the logical stack port, which is referred to as the stack port for short.

The stack port which is polymerized by multiple physical stack ports becomes the aggregation stack port.

3. IRF topology and topology discovery

IRF stacking physical topologies: chain topologies and ring topologies

The stacking device collects the topology information of the entire stack by interacting IRF Hello with other directly connected members.

After the topology collection, enter the role election process.

Part 2 IRF implementation case 2.1 implementation Topology:

Step 1. Determine the IRF device role and configure the IRF priority and number of the device

[IRF2] irf member 1 renumber 2 / / set the member number of IRF2 (that is, SW2) to 2, and default to 1Renumbering the member ID may result in configuration change or loss. Continue? [y Universe]: y / / A backplane renumbering in member 1 must cause configuration changes or discarding. Do you want to continue? It is [IRF2] save / / remember to save the configuration The current configuration will be written to the device. Are you sure? [y start.cfgValidating file N]: y / / make sure to save Please input the filename (* .cfg) [flash:/startup.cfg] (To leave the existing filename unchanged, press the enter key): / / use the default configuration name, start.cfgValidating file. [IRF2] quitreboot / / you must restart the device Start to check configuration with next startup configuration file, please wait. Don this command will reboot the device. Continue? [Ygaman N]: y / / this command will restart the device, continue? Confirm to continue with Now rebooting, please wait...%Nov 25 22 IRF2 DEV/5/SYSTEM_REBOOT 02 IRF2 DEV/5/SYSTEM_REBOOT 1120 2018 IRF2 DEV/5/SYSTEM_REBOOT: System is rebooting now. [H3C] sysname IRF1 [IRF1] irf member 1 priority 32 / / set the IRF priority of IRF1 (SW1) to 32, which is already the highest, ensuring that the IRF1 device becomes the master device (IRF2 does not change the priority, which means it uses the default priority 1) [IRF1] int r te 1-0-50 to t 1-0-51 [IRF1-if-range] shu / / turn off the switch interconnection interface This is a must [IRF1-if-range] people [IRF1] irf-port1/2 / / set IRF1 logical interface 2 [IRF1-irf-port1/2] port g int te 1-0-50 / / add the physical interface to the logical interface 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. [IRF1-irf-port1/2] port g int te 1gamo / 51 / / add the physical interface to the logical interface [IRF1-irf-port1/2] people [IRF1] int r te 1-0-50 to T1 / 0ram 51 [IRF1-if-range] un sh / / enable the physical interface

Step 2. Slave devices join the physical member interface

[IRF2] int rt 2-0-50 to t 2-0-51 / / enter the physical interface, note that the card number of the device has been "renember" before, so the interface is the 10G interface on 2-0-50 and the 51 interface [IRF2-if-range] shu / / IRF2 device is rebooted to shut down the physical interface [IRF2-if-range] [IRF2] irf-port 2 move 1 / / Note, it is especially recommended to use cross interconnection. Please compare IRF1 devices. Otherwise, it may cause stacking failure [IRF2-irf-port2/1] port g int T2 / 0 to 50 / / add the physical interface to the logical interface 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. [IRF2-irf-port2/1] port g int T2 / 0 to 51 / / add the physical interface to the logical interface [IRF2-irf-port2/1] quit [ IRF2] int r T2 un shu 0 / 51 [IRF2-if-range] un shu / / Open the physical interface% Nov 25 22 to 06 un shu / / Open the physical interface% Nov 25 22 to 06 un shu / / Open the physical interface% Nov 25 22 to 06 un shu / / Open the physical interface% Nov 25 22 to 06 un shu / / Open the physical interface% Nov 25 22 to 06 un shu / / Open the physical interface% Nov 25 22 to 06 IRF2-if-range 39 IRF2-if-range 426 2018 IRF2 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/50 changed to up.%Nov 25 22 22 06 IRF2-if-range 39 IRF2 LLDP / 6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/50 (IfIndex 179) Neighbor's chassis ID is 90c6-26d7-0100 Port ID is Ten-GigabitEthernet1/0/50.%Nov 25 22 Physical state on the interface Ten-GigabitEthernet2/0/51 changed to up 06 IRF2 IFNET/3/PHY_UPDOWN 39 IRF2 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/51 changed to up. [IRF2-if-range]% Nov 25 22 22 Physical state on the interface Ten-GigabitEthernet2/0/51 changed to up 0639 Physical state on the interface Ten-GigabitEthernet2/0/51 changed to up 2018 IRF2 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/51 (IfIndex 2018) Neighbor's chassis ID is 90c6-26d7-0100, port ID is Ten-GigabitEthernet1/0/ 51. [IRF2] save / / Save configuration The current configuration will be written to the device. Are you sure? [y flash:/startup.cfg exists N]: y / / confirm to save the configuration Please input the filename (* .cfg) [flash:/startup.cfg] (To leave the existing filename unchanged, press the enter key): flash:/startup.cfg exists, overwrite? [y take N]: y / / make sure to overwrite the existing configuration Validating file. Please wait...Saved the current configuration to mainboard device successfully.save / / Save configuration The current configuration will be written to the device. Are you sure? YPlease input the filename (* .cfg) [flash:/startup.cfg] (To leave the existing filename unchanged, press the enter key): Validating file. Please wait...Saved the current configuration to mainboard device successfully.

At this point, the IRF of the two devices has been configured, but the IRF does not work until IRF is activated.

Step 3. Activate IRF configuration

[IRF1] irf-port-configuration active / / before activating the IRF configuration, please make sure that the configuration [IRF1]% Nov 25 22 IRF 0828 IRF 132 2018 IRF1 STM/6/STM_LINK_UP: IRF port 2 came up.%Nov 25 22 IRF1 08 IRF1 45 IRF1 321 2018 IRF1 STM/4/STM_MERGE: IRF merge occurred.%Nov 25 22 IRF 08Freera 47660 2018 IRF1 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/51 changed to down.%Nov 25 22:08:47:668 2018 IRF1 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/51 changed to down.%Nov 25 22:08:49:594 2018 IRF1 STM/3/STM_LINK_DOWN: IRF port 2 went down.%Nov 25 22:08:49:606 2018 IRF1 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/50 changed to down.%Nov 25 22:08:49:612 2018 IRF1 IFNET/5/LINK_UPDOWN: Line Protocol state on the interface Ten-GigabitEthernet1/0/50 changed to down. [IRF1] [IRF2]% Nov 25 22 IRF2 08 IRF2 STM/6/STM_LINK_UP: IRF port 1 came up.// has restarted system-view / / after the IRF device has been restarted The immediate IRF will not be completed for the time being, and the "IRF2" System View: return to User View with Ctrl+ Z. [IRF2] int r t 2-0-50 to t 2-0-51 [IRF2-if-range] shu [IRF2-if-range] und shu / / shuts down again and enables the physical interface. It may have been restarted at this time

After startup, if successful, IRF2 will become IRF1

Step 4 Verification after the completion of the IRF implementation

[IRF1] display irfMemberID Role Priority CPU-Mac Description * + 1 Master 32 90c6-26d7-0104-2 Standby 1 90c6-2ea5-0204-* indicates the device is the master. + indicates the device through which the user logs in. The bridge MAC of the IRF is: 90c6-26d7-0100 Auto upgrade: yes Mac persistent: 6 min Domain ID: 0 [IRF1] dis irf linkMember 1 IRF Port Interface Status 1 disable-- 2 Ten-GigabitEthernet1/0/50 UP Ten-GigabitEthernet1/0/51 UPMember 2 IRF Port Interface Status 1 Ten-GigabitEthernet2/0/50 UP Ten-GigabitEthernet2/0/51 DOWN 2 disable-[IRF1] dis irf topology Topology Info-- -IRF-Port1 IRF-Port2 MemberID Link neighbor Link neighbor Belong To 1 DIS- -- UP 2 90c6-26d7-0104 2 UP 1 DIS-90c6-26d7-0104 [IRF1] dis irf conf MemberID NewID IRF-Port1 IRF-Port2 1 1 disable Ten-GigabitEthernet1/0/50 Ten-GigabitEthernet1/0/51 2 2 Ten-GigabitEthernet2/0/50 disable Ten-GigabitEthernet2/0/51

Chassis convert mode irf / / switch to IRF operating mode (not supported by simulator)

Other manufacturers also support VSS, CSS and other similar technologies, please look forward to Qianyitang Ande training and courses (QCNA, QCIE)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report