H3C S12500X-AF Series Configuration Examples

H3C S12500X-AF Series Configuration Examples

Irf configuration examples
Hide thumbs Also See for S12500X-AF Series:

Advertisement

Quick Links

H3C S12500X-AF & S12500-X & S9800
IRF Configuration Examples
S12500X-AF Switch Series
S12500-X Switch Series
S9800 Switch Series
Document version: 6W100-20190628
Copyright © 2019 New H3C Technologies Co., Ltd. All rights reserved.
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.
The information in this document is subject to change without notice

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S12500X-AF Series and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S12500X-AF Series

  • 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.
  • Page 2: Table Of Contents

    Contents Introduction ····················································································· 1   Prerequisites ··················································································· 1   General restrictions and guidelines ······················································ 1     Hardware requirements ··············································································································· 1   Software requirements ················································································································ 2   Feature compatibility and configuration restrictions············································································ 2   IRF physical interface requirements ······························································································· 2  ...
  • Page 3: Introduction

    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.
  • Page 4: Software Requirements

    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...
  • Page 5: Example: Setting Up An Lacp Mad-Enabled Irf Fabric

    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.
  • Page 6: Analysis

    Table 2 VLAN and IP address assignment Device VLAN interface IP address Router A: VLAN-interface 30 172.24.2.2/24 VLAN-interface 40 172.24.40.2/24 VLAN-interface 50 172.24.1.2/24 Router B: VLAN-interface 30 172.24.2.3/24 VLAN-interface 41 172.24.41.3/24 VLAN-interface 50 172.24.4.2/24 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...
  • Page 7: Procedures

    • 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.
  • Page 8: Configuring Software Features

    [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.
  • Page 14: Verifying The Configuration

    [RouterB-vlan-interface30] ip address 172.24.2.3 24 [RouterB-vlan-interface30] quit [RouterB] interface bridge-aggregation 2 [RouterB-Bridge-Aggregation2] port link-type access [RouterB-Bridge-Aggregation2] port access vlan 30 [RouterB-Bridge-Aggregation2] quit # Create VLAN 50, assign an IP address to VLAN-interface 50, and assign Ten-GigabitEthernet 4/0/3 to VLAN 50. [RouterB] vlan 50 [RouterB-vlan50] quit [RouterB] interface vlan-interface 50...
  • Page 15: Verifying The Link Backup Function Of Multichassis Aggregations

    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 16: Configuration Files

    Configuration files • IRF fabric: irf mac-address persistent always irf auto-update enable irf auto-merge enable undo irf link-delay irf member 1 priority 1 irf member 2 priority 1 ospf 1 import-route direct area 0.0.0.0 network 172.24.40.0 0.0.0.255 network 172.24.41.0 0.0.0.255 vlan 10 vlan 20 vlan 40...
  • 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...
  • Page 21: Related Documentation

    2 interface Ten-GigabitEthernet4/0/3 port link-mode bridge port access vlan 50 Related documentation • H3C S12500X-AF & S12500-X & S9800 Switch Series Virtual Technologies Command Reference (R27xx) • H3C S12500X-AF & S12500-X & S9800 Switch Series Virtual Technologies Configuration Guide (R27xx)

Table of Contents