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.
For complete information, see IRF configuration guide for the switch. Hardware requirements An S12500X-AF switch can form an IRF fabric only with switches of the same model. In addition, an S12500X-AF switch that uses type-T service modules cannot form an IRF fabric with an S12500X-AF switch that uses any other type of service modules.
Table 1 IRF and feature compatibility Feature Command ecmp mode enhanced Enhanced ECMP mode Support for the IPv6 routes with prefixes longer switch-routing-mode than 64 bits System operating mode system-working-mode VXLAN hardware resource mode hardware-resource vxlan IRF physical interface requirements Use the QSFP28 ports as IRF physical interfaces.
Device VLAN interface IP address IRF fabric: VLAN-interface 10 172.24.10.254/24 VLAN-interface 20 172.24.20.254/24 VLAN-interface 40 172.24.40.254/24 VLAN-interface 41 172.24.41.254/24 Analysis To avoid single points of failure, use multichassis link aggregations to connect the IRF fabric to the downstream and upstream devices. For LACP MAD to run correctly, you must make sure the intermediate device supports extended LACPDUs for LACP MAD.
IMPORTANT: The mode change requires a system reboot, which causes all unsaved settings to be lost. [DeviceA] save # Enable IRF mode. [DeviceA] 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.
Page 8
[Current domain is: 0]: The assigned domain ID is: 0 [DeviceA-Bridge-Aggregation1] quit # Assign the downlink ports that connect to SW 1 to the aggregation group of Bridge-Aggregation 1. [DeviceA] interface hundredgige 1/3/0/3 [DeviceA-HundredGigE1/3/0/3] port link-aggregation group 1 [DeviceA-HundredGigE1/3/0/3] quit [DeviceA] interface hundredgige 2/3/0/3 [DeviceA-HundredGigE2/3/0/3] port link-aggregation group 1 [DeviceA-HundredGigE2/3/0/3] quit...
Page 9
[DeviceA] interface bridge-aggregation 1 [DeviceA-Bridge-Aggregation1] port link-type trunk [DeviceA-Bridge-Aggregation1] undo port trunk permit vlan 1 [DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 [DeviceA-Bridge-Aggregation1] quit # Create VLAN 20, assign an IP address to VLAN-interface 20, and assign Bridge-Aggregation 2 to VLAN 20. [DeviceA] vlan 20 [DeviceA-vlan20] quit [DeviceA] interface vlan-interface 20...
Page 10
# Create Bridge-Aggregation 1 and enable the dynamic aggregation mode. You must enable the dynamic aggregation mode because this link aggregation will be used for LACP MAD. <SW1> system-view [SW1] interface bridge-aggregation 1 [SW1-Bridge-Aggregation1] link-aggregation mode dynamic [SW1-Bridge-Aggregation1] quit # Assign the uplink ports that connect to the IRF fabric to Bridge-Aggregation 1. [SW1] interface hundredgige 1/0/1 [SW1-HundredGigE1/0/1] port link-aggregation group 1 [SW1-HundredGigE1/0/1] quit...
Page 11
[SW2-Bridge-Aggregation1] undo port trunk permit vlan 1 [SW2-Bridge-Aggregation1] port trunk permit vlan 20 [SW2-Bridge-Aggregation1] quit # Configure VLAN settings on the port that connects to Server Group 2. [SW2] interface hundredgige 1/0/3 [SW2-HundredGigE1/0/3] port link-type trunk [SW2-HundredGigE1/0/3] port trunk permit vlan all [SW2-HundredGigE1/0/3] undo port trunk permit vlan 1 [SW2-HundredGigE1/0/3] quit Configuring Router A...
Page 12
# Create VLAN 30, assign an IP address to VLAN-interface 30, and assign Bridge-Aggregation 2 to VLAN 30. [RouterA] vlan 30 [RouterA-vlan30] quit [RouterA] interface vlan-interface 30 [RouterA-vlan-interface30] ip address 172.24.2.2 24 [RouterA-vlan-interface30] quit [RouterA] interface bridge-aggregation 2 [RouterA-Bridge-Aggregation2] port link-type access [RouterA-Bridge-Aggregation2] port access vlan 30 [RouterA-Bridge-Aggregation2] quit # Create VLAN 50, assign an IP address to VLAN-interface 50, and assign HundredGigE 4/0/3...
Page 13
[RouterB] interface bridge-aggregation 2 [RouterB-Bridge-Aggregation2] quit [RouterB] interface hundredgige 4/0/2 [RouterB-HundredGigE4/0/2] port link-mode bridge [RouterB-HundredGigE4/0/2] port link-aggregation group 2 [RouterB-HundredGigE4/0/2] quit [RouterB] interface hundredgige 2/0/2 [RouterB-HundredGigE2/0/2] port link-mode bridge [RouterB-HundredGigE2/0/2] port link-aggregation group 2 [RouterB-HundredGigE2/0/2] quit Configure VLANs, ports, and IP addresses: # Create VLAN 41, assign an IP address to VLAN-interface 41, and assign Bridge-Aggregation 1 to VLAN 41.
[RouterB-ospf-1-area-0.0.0.0] network 172.24.2.0 0.0.0.255 [RouterB-ospf-1-area-0.0.0.0] quit [RouterB-ospf-1] quit Verifying the configuration Verify the IRF setup, multichassis link aggregation configuration, and the IRF link redundancy backup function. Verifying the IRF setup # Verify that the IRF fabric has been formed. [DeviceA] display irf MemberID Slot Role...
The output shows that the address can be pinged after transient traffic disruption. # Bring up HundredGigE 1/3/0/8 and shut down HundredGigE 2/3/0/8. [DeviceA-HundredGigE1/3/0/8] undo shutdown [DeviceA-HundredGigE1/3/0/8] quit [DeviceA] interface hundredgige 2/3/0/8 [DeviceA-HundredGigE2/3/0/8] shutdown # Ping the IP address on the public network from the PC. 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 16
vlan 40 vlan 41 irf-port1/2 port group interface HundredGigE1/2/0/1 mode enhanced port group interface HundredGigE1/3/0/1 mode enhanced irf-port2/1 port group interface HundredGigE2/2/0/1 mode enhanced port group interface HundredGigE2/3/0/1 mode enhanced interface Bridge-Aggregation1 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 link-aggregation mode dynamic mad enable...
Page 17
port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 20 port link-aggregation group 2 interface HundredGigE1/3/0/7 port link-mode bridge port access vlan 40 port link-aggregation group 1023 interface HundredGigE1/3/0/8 port link-mode bridge port access vlan 41 port link-aggregation group 1024 interface HundredGigE2/3/0/3 port link-mode bridge...
Page 18
link-aggregation mode dynamic interface HundredGigE1/0/1 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 HundredGigE1/0/2 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 HundredGigE1/0/3...
Page 19
undo port trunk permit vlan 1 port trunk permit vlan 2 to 4094 • Router A: ospf 1 import-route direct area 0.0.0.0 network 172.24.2.0 0.0.0.255 network 172.24.40.0 0.0.0.255 vlan 30 vlan 40 vlan 50 interface Bridge-Aggregation1 port access vlan 40 interface Bridge-Aggregation2 port access vlan 30 interface Vlan-interface30...
Page 20
port link-mode bridge port access vlan 30 port link-aggregation group 2 interface HundredGigE4/0/3 port link-mode bridge port access vlan 50 • Router B: ospf 1 import-route direct area 0.0.0.0 network 172.24.2.0 0.0.0.255 network 172.24.41.0 0.0.0.255 vlan 30 vlan 41 vlan 50 interface Bridge-Aggregation1 port access vlan 41 interface Bridge-Aggregation2...
30 port link-aggregation group 2 interface HundredGigE4/0/3 port link-mode bridge port access vlan 50 Related documentation • H3C S12500X-AF Switch Series Virtual Technologies Configuration Guide-R320x • H3C S12500X-AF Switch Series Virtual Technologies Command Reference-R320x...
Need help?
Do you have a question about the S12500X-AF and is the answer not in the manual?
Questions and answers