Page 1
No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd. Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.
Introduction This document provides examples for setting up IRF fabrics and configuring link aggregation and routing on the IRF fabrics. Prerequisites The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.
Hardware IRF member ID compatibility S9800 Switch Series 1 or 2 Software requirements All IRF member devices must run the same system software version. Make sure the software auto-update feature is enabled on all member devices. Feature compatibility and configuration restrictions Make sure the feature settings in Table 1...
Example: Setting up an LACP MAD-enabled IRF fabric Network configuration As shown in Figure • Set up a two-chassis IRF fabric at the core layer of the network. • Use multichassis link aggregations to connect the IRF fabric to the access switches and the upstream egress routers.
• The link aggregation must use dynamic aggregation mode. • The link aggregation must have a minimum of one member link from each member chassis. • If the intermediate device is also an IRF fabric, you must assign the two IRF fabrics different domain IDs for correct split detection.
[DeviceB] chassis convert mode irf The device will switch to IRF mode and reboot. You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? [Y/N]:y Do you want to convert the content of the next startup configuration file cfa0:/ irf.cfg to make it available in stack mode? [Y/N]:y Now rebooting, please wait...
Page 9
[DeviceA] interface ten-gigabitethernet 1/3/0/7 [DeviceA-Ten-GigabitEthernet1/3/0/7] port link-aggregation group 1023 [DeviceA-Ten-GigabitEthernet1/3/0/7] quit [DeviceA] interface ten-gigabitethernet 2/3/0/7 [DeviceA-Ten-GigabitEthernet2/3/0/7] port link-aggregation group 1023 [DeviceA-Ten-GigabitEthernet2/3/0/7] quit # Create Bridge-Aggregation 1024. Assign the uplink ports that connect to Router B to Bridge-Aggregation 1024. [DeviceA] interface bridge-aggregation 1024 [DeviceA-Bridge-Aggregation1024] quit [DeviceA] interface ten-gigabitethernet 1/3/0/8 [DeviceA-Ten-GigabitEthernet1/3/0/8] port link-aggregation group 1024...
Page 10
[DeviceA-Bridge-Aggregation1023] port access vlan 40 [DeviceA-Bridge-Aggregation1023] quit # Create VLAN 41, assign an IP address to VLAN-interface 41, and assign Bridge-Aggregation 1024 to VLAN 41. [DeviceA] vlan 41 [DeviceA-vlan41] quit [DeviceA] interface vlan-interface 41 [DeviceA-Vlan-interface41] ip address 172.24.41.254 24 [DeviceA-Vlan-interface41] quit [DeviceA] interface bridge-aggregation 1024 [DeviceA-Bridge-Aggregation1024] port access vlan 41 [DeviceA-Bridge-Aggregation1024] quit...
Page 11
[SW1-GigabitEthernet3/0/1] port trunk permit vlan all [SW1-GigabitEthernet3/0/1] undo port trunk permit vlan 1 [SW1-GigabitEthernet3/0/1] quit Configuring SW 2 Configure a link aggregation: # Create Bridge-Aggregation 1. <SW2>system-view [SW2] interface bridge-aggregation 1 [SW2-Bridge-Aggregation1] quit # Assign the uplink ports that connect to the IRF fabric to Bridge-Aggregation 1. [SW2] interface ten-gigabitethernet 4/0/1 [SW2-Ten-GigabitEthernet4/0/1] port link-aggregation group 1 [SW2-Ten-GigabitEthernet4/0/1] quit...
Page 12
# Create Bridge-Aggregation 2. Assign the ports that connect to Router B to Bridge-Aggregation 2. [RouterA] interface bridge-aggregation 2 [RouterA-Bridge-Aggregation2] quit [RouterA] interface ten-gigabitethernet 4/0/2 [RouterA-Ten-GigabitEthernet4/0/2] port link-mode bridge [RouterA-Ten-GigabitEthernet4/0/2] port link-aggregation group 2 [RouterA-Ten-GigabitEthernet4/0/2] quit [RouterA] interface ten-gigabitethernet 2/0/2 [RouterA-Ten-GigabitEthernet2/0/2] port link-mode bridge [RouterA-Ten-GigabitEthernet2/0/2] port link-aggregation group 2 [RouterA-Ten-GigabitEthernet2/0/2] quit...
Page 13
[RouterA-ospf-1-area-0.0.0.0] network 172.24.40.0 0.0.0.255 [RouterA-ospf-1-area-0.0.0.0] network 172.24.2.0 0.0.0.255 [RouterA-ospf-1-area-0.0.0.0] quit [RouterA-ospf-1] quit Configuring Router B In this example, the egress router configuration only includes the connection to the IRF fabric. Configure link aggregations: # Create Bridge-Aggregation 1. Assign the downlink ports that connect to the IRF fabric to Bridge-Aggregation 1.
Verifying the link backup function of multichassis aggregations # Shut down Ten-GigabitEthernet 1/3/0/8, the port connected to the egress router. [DeviceA] interface ten-gigabitethernet 1/3/0/8 [DeviceA-Ten-GigabitEthernet1/3/0/8] shutdown # Ping an IP address on the public network from a PC in Server Group 1. C:\Users>ping 202.108.22.5 -t Pinging 202.108.22.5 with 32 bytes of data: Reply from 202.108.22.5: bytes=32 time=1ms TTL=122...
Page 17
interface Bridge-Aggregation1024 port access vlan 41 interface Vlan-interface10 ip address 172.24.10.254 255.255.255.0 interface Vlan-interface20 ip address 172.24.20.254 255.255.255.0 interface Vlan-interface40 ip address 172.24.40.254 255.255.255.0 interface Ten-GigabitEthernet1/3/0/3 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 port link-aggregation group 1 interface Ten-GigabitEthernet1/3/0/4 port link-mode bridge...
Page 18
port link-aggregation group 2 interface Ten-GigabitEthernet2/3/0/7 port link-mode bridge port access vlan 40 port link-aggregation group 1023 interface Ten-GigabitEthernet2/3/0/8 port link-mode bridge port access vlan 41 port link-aggregation group 1024 • SW 1: vlan 10 interface Bridge-Aggregation1 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 link-aggregation mode dynamic...
Page 19
undo port trunk permit vlan 1 port trunk permit vlan 20 interface GigabitEthernet3/0/1 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 2 to 4094 interface Ten-GigabitEthernet4/0/1 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 port link-aggregation group 1...
Page 20
interface Vlan-interface50 ip address 172.24.1.2 255.255.255.0 interface Ten-GigabitEthernet2/0/1 port link-mode bridge port access vlan 40 port link-aggregation group 1 interface Ten-GigabitEthernet2/0/2 port link-mode bridge port access vlan 30 port link-aggregation group 2 interface Ten-GigabitEthernet4/0/1 port link-mode bridge port access vlan 40 port link-aggregation group 1 interface Ten-GigabitEthernet4/0/2 port link-mode bridge...
Need help?
Do you have a question about the S12500X-AF Series and is the answer not in the manual?
Questions and answers