No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 Series Agile Switches Typical Configuration Examples

This document provides examples for configuring features in typical usage scenarios.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Setting Up a CSS

Example for Setting Up a CSS

Overview of CSS

A Cluster Switch System (CSS), also called a cluster, is a logical switch consisting of two clustering-capable switches. It provides high forwarding performance and high network reliability and scalability, while simplifying network management.
  • High reliability: Member switches in a CSS work in redundancy mode. Link redundancy can also be implemented between member switches through link aggregation.
  • High scalability: Switches can set up a CSS to increase the number of ports, bandwidth, and packet processing capabilities.
  • Simplified configuration and management: After two switches set up a CSS, they are virtualized into one device. You can log in to the CSS from either member switch to configure and manage the entire CSS.

S12700s set up a CSS using CSS cards in SFUs. In this connection mode, member switches are connected using dedicated CSS cards in SFUs (or CSS cards integrated in SFUs) and cluster cables. This technology is called Cluster Switch System Generation 2 (CSS2). In addition to the existing CSS features, CSS2 supports 1+N backup of MPUs.

1+N backup of MPUs enables a CSS to run stably as long as one MPU of any chassis in the CSS is working normally. Compared with the service port connection mode in which each chassis must have at least one MPU working normally, CSS2 is more reliable. Compared with the MPU-mounted CSS card connection mode in which each chassis must have two MPUs installed, CSS2 is more flexible.

After a CSS is set up, you are advised to perform the following configurations:
  • To simplify network configuration, increase uplink bandwidth, and improve reliability, configure inter-device Eth-Trunks in the CSS, connect downstream devices to the CSS in dual-homing mode, and add uplink and downlink ports of the CSS to the Eth-Trunks.

  • Configure the multi-active detection (MAD) function in the CSS. Two member switches in a CSS use the same IP address and MAC address (CSS system MAC address). Therefore, after the CSS splits, two CSSs using the same IP address and MAC address exist. To prevent this situation, a mechanism is required to check for IP address and MAC address conflicts after a split. MAD is a CSS split detection protocol that provides split detection, multi-active handling, and fault recovery mechanisms when a CSS splits due to a link failure. This minimizes the impact of a CSS split on services.

    MAD can be implemented in direct or relay mode, but these modes cannot be configured simultaneously in a CSS. You can configure MAD in relay mode for a CSS when an inter-device Eth-Trunk is configured in the CSS. The direct mode occupies additional ports, and these ports can only be used for MAD after being connected using common cables. In contrast to the direct mode, the relay mode does not occupy additional ports.

Guidelines

  • After two switches set up a CSS, the following features cannot be configured in the CSS:
    • Synchronous Ethernet clock
    • Precision Time Protocol (PTP) (IEEE 1588)
  • Regardless of how many MAD links exist, ports of the standby switch will be shut down and no longer forward service packets as long as the CSS splits.

Networking Requirements

An enterprise needs to build a network that has a reliable core layer and simple structure to facilitate configuration and management.

To meet requirements of the enterprise, S12708 core switches SwitchA and SwitchB set up a CSS using CSS cards in SFUs. SwitchA is the master switch, and SwitchB is the standby switch. Figure 5-1 shows the network topology. Aggregation switches connect to the CSS through Eth-Trunks, and the CSS connects to the upstream network through an Eth-Trunk.

Figure 5-1  Setting up a CSS

Configuration Roadmap

The configuration roadmap is as follows:

  1. Install CSS cards on SwitchA and SwitchB, and connect cluster cables.
  2. Set the CSS connection mode on SwitchA and SwitchB and set their CSS IDs to 1 and 2 and CSS priorities to 100 and 10 respectively. These configurations ensure that SwitchA has a higher probability to become the master switch.
  3. Enable the CSS function on SwitchA and then on SwitchB to ensure that SwitchA becomes the master switch.
  4. Check whether a CSS is set up successfully.
  5. Configure uplink and downlink Eth-Trunks for the CSS to improve forwarding bandwidth and reliability.
  6. Configure MAD to minimize the impact of a CSS split on the network.

Procedure

  1. Install hardware modules.

    The following describes only the rule for connecting cluster cables between two member switches. If you also need to install MPUs and CSS cards and learn about installation details, see the Switch Cluster Setup Guide.

    Select the required connection diagram based on the device model and CSS card model to connect cluster cables.

    Figure 5-2  VS08 CSS card connections (applicable to S12708&S12712)
    Figure 5-3  VS08 CSS card connections (applicable to S12704)
    NOTE:
    Follow these rules when connecting VS08 CSS cards:
    • One CSS card can be connected to only one CSS card in the other chassis. It cannot be connected to different CSS cards in the other chassis or a CSS card in the local chassis.
    • A port in group 1 of a VS08 CSS card can be connected to any port in group 1 of the VS08 CSS card in the other chassis. The requirements for ports in group 2 are the same.
    • At least one SFU needs to be installed in each chassis, and each SFU must have at least one cluster cable connected to the other chassis. To ensure reliability, you are advised to install two SFUs in each chassis and connect each SFU using at least two cluster cables. Ensure that all SFUs are connected using cluster cables.
    • It is recommended that CSS cards have the same number of cluster cables connected and that ports on CSS cards be connected sequentially based on their port numbers. If CSS cards have different numbers of cluster cables connected, the cluster bandwidth will decrease. If SFUDs are installed, it is recommended that CSS cards have an even number of cluster cables connected.
    Figure 5-4  VQ06 CSS card connections (applicable to S12708&S12712)
    Figure 5-5  VQ06 CSS card connections (applicable to S12704)
    NOTE:
    Follow these rules when connecting VQ06 CSS cards:
    • Any port on any CSS card can be connected to any port in any CSS card of the other chassis, and one CSS card can be connected to only one CSS card in the other chassis.
    • At least one SFU needs to be installed in each chassis, and each SFU must have at least one cluster cable connected to the other chassis. To ensure reliability, you are advised to install two SFUs in each chassis and connect each SFU using at least two cluster cables. Ensure that all SFUs are connected using cluster cables.
    • It is recommended that CSS cards have the same number of cluster cables connected and that ports on CSS cards be connected sequentially based on their port numbers. If CSS cards have different numbers of cluster cables connected, the cluster bandwidth will decrease. If SFUDs are installed, it is recommended that CSS cards have an even number of cluster cables connected.
    Figure 5-6  SFUB-integrated CSS card connections (applicable to S12704&S12708&S12712)
    NOTE:

    Follow these rules when connecting SFUB-integrated CSS cards (applicable to S12704&S12708&S12712):

    • One CSS card can be connected to only one CSS card in the other chassis. It cannot be connected to different CSS cards in the other chassis or a CSS card in the local chassis.
    • If one chassis uses SFUB cards and the other chassis uses SFUA, only 4*10G ports on an SFUB card can be connected to the four ports in group 1 on a VS08 CSS card in the other chassis (in any sequence).
    • If one chassis uses SFUB cards and the other chassis uses SFUC or SFUD cards, 4*10G ports on an SFUB card can be connected to four ports in group 1 of the remote VS08 CSS card in any sequence; alternatively, 40GE ports on an SFUB card can be connected to six ports on the remote VQ06 CSS card in any sequence.
    • If the two chassis use SFUB cards, 4*10G ports on SFUB cards in the two chassis can be connected in any sequence, and 40G ports on SFUB cards in the two chassis can be connected.
    • At least one SFU needs to be installed in each chassis, and each SFU must have at least one cluster cable connected to the other chassis. To ensure reliability, you are advised to install two SFUs in each chassis and connect multiple cluster cables. Ensure that all SFUs are connected using cluster cables.
    Figure 5-7  S12710 integrated CSS card connections (using 4*10G ports and 40G ports)

    NOTE:
    Follow these rules when connecting S12710 integrated CSS cards:
    • On the S12710, the local and peer chassis can be connected using either MPUs or SFUs or both MPUs and SFUs. MPUs or SFUs in one chassis can only be connected to the same type of cards (MPUs or SFUs) in the other chassis.
    • MPU-integrated and SFU-integrated CSS cards have two types of ports: 4*10G ports and 40G port. 10G ports with the same port number must be connected, as shown in the preceding figure. For example, port 1 in blue on the left chassis must be connected to port 1 in blue on the right chassis.
    • The two chassis can set up a CSS as long as they are connected by one cluster cable. To ensure reliability, it is advised to connect multiple cluster cables. Ensure that all SFUs are connected using cluster cables.
    • To support 1+N MPU backup, ensure that SFUs are connected using cluster cables.

  2. Configure the CSS connection mode, CSS ID, and CSS priority.

    # Configure the CSS function on SwitchA. Retain the default CSS connection mode (CSS card connection) and the default CSS ID 1, and set the CSS priority to 100.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchA
    [SwitchA] set css priority 100
    

    # Configure the CSS function on SwitchB. Retain the default CSS connection mode (CSS card connection), and set the CSS ID to 2 and CSS priority to 10.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchB
    [SwitchB] set css id 2
    [SwitchB] set css priority 10
    
    NOTE:

    To use two switches to set up a CSS using integrated CSS cards (providing two types of CSS ports: 4*10G and 40G ports), you need to run the css port media-type command to set the CSS port type to the actual port type used for cluster connections.

    # Check the CSS configuration.

    After the configuration is complete, run the display css status saved command to check the CSS configuration.

    Check the CSS configuration on SwitchA.

    [SwitchA] display css status saved
    Current Id   Saved Id     CSS Enable   CSS Mode    Priority    Master force     
    ------------------------------------------------------------------------------  
    1            1            Off          CSS card    100         Off             

    Check the CSS configuration on SwitchB.

    [SwitchB] display css status saved
    Current Id   Saved Id     CSS Enable   CSS Mode    Priority    Master force     
    ------------------------------------------------------------------------------  
    1            2            Off          CSS card    10          Off              

  3. Enable the CSS function.

    # Enable the CSS function on SwitchA and restart SwitchA.

    [SwitchA] css enable
    Warning: The CSS configuration will take effect only after the system is rebooted. T
    he next CSS mode is CSS card. Reboot now? [Y/N]:y

    # Enable the CSS function on SwitchB and restart SwitchB.

    [SwitchB] css enable
    Warning: The CSS configuration will take effect only after the system is rebooted. T
    he next CSS mode is CSS card. Reboot now? [Y/N]:y

  4. Check whether a CSS is set up successfully.

    # View the indicator status.

    The CSS MASTER indicator on an MPU of SwitchA is steady on, indicating that the MPU is the active MPU of the CSS and SwitchA is the master switch.

    The CSS MASTER indicator on an MPU of SwitchB is off, indicating that SwitchB is the standby switch.

    # Log in to the CSS through the console port on any MPU to check whether the CSS has been set up successfully.

    <SwitchA> display device
    Chassis 1 (Master Switch)
    S12708's Device status:
    Slot  Sub Type         Online    Power      Register       Status     Role  
    -------------------------------------------------------------------------------
    5     -   ET1D2G48SEC0 Present   PowerOn    Registered     Normal     NA    
    7     -   ET1D2X16SSC0 Present   PowerOn    Registered     Normal     NA    
    9     -   ET1D2MPUA000 Present   PowerOn    Registered     Normal     Slave 
    10    -   ET1D2MPUA000 Present   PowerOn    Registered     Normal     Master
    11    -   ET1D2SFUD000 Present   PowerOn    Registered     Normal     NA    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA    
    12    -   ET1D2SFUD000 Present   PowerOn    Registered     Normal     NA    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA    
    13    -   ET1D2SFUD000 Present   PowerOn    Registered     Normal     NA    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA    
    14    -   ET1D2SFUD000 Present   PowerOn    Registered     Normal     NA    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA    
    PWR1  -   -            Present   PowerOn    Registered     Normal     NA    
    PWR2  -   -            Present   PowerOn    Registered     Normal     NA    
    CMU2  -   EH1D200CMU00 Present   PowerOn    Registered     Normal     Master
    FAN1  -   -            Present   PowerOn    Registered     Normal     NA    
    FAN2  -   -            Present   PowerOn    Registered     Normal     NA    
    FAN3  -   -            Present   PowerOn    Registered     Normal     NA    
    FAN4  -   -            Present   PowerOn    Registered     Normal     NA    
    Chassis 2 (Standby Switch)
    S12708's Device status:
    Slot  Sub Type         Online    Power      Register       Status     Role  
    -------------------------------------------------------------------------------
    3     -   ET1D2G48SEC0 Present   PowerOn    Registered     Normal     NA    
    4     -   ET1D2X16SSC0 Present   PowerOn    Registered     Normal     NA    
    9     -   ET1D2MPUA000 Present   PowerOn    Registered     Normal     Slave 
    10    -   ET1D2MPUA000 Present   PowerOn    Registered     Normal     Master
    11    -   ET1D2SFUD000 Present   PowerOn    Registered     Normal     NA    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA    
    12    -   ET1D2SFUD000 Present   PowerOn    Registered     Normal     NA    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA    
    13    -   ET1D2SFUD000 Present   PowerOn    Registered     Normal     NA    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA    
    14    -   ET1D2SFUD000 Present   PowerOn    Registered     Normal     NA    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA    
    PWR1  -   -            Present   PowerOn    Registered     Normal     NA    
    PWR2  -   -            Present   PowerOn    Registered     Normal     NA    
    CMU1  -   EH1D200CMU00 Present   PowerOn    Registered     Normal     Master
    FAN1  -   -            Present   PowerOn    Registered     Normal     NA    
    FAN2  -   -            Present   PowerOn    Registered     Normal     NA    
    FAN3  -   -            Present   PowerOn    Registered     Normal     NA    
    FAN4  -   -            Present   PowerOn    Registered     Normal     NA    
    <SwitchA> display css status
    CSS Enable switch On                                                            
                                                                                    
    Chassis Id   CSS Enable   CSS Status      CSS Mode    Priority    Master Force  
    ------------------------------------------------------------------------------  
    1            On           Master          CSS card    100         Off           
    2            On           Standby         CSS card    10          Off   

    The command output shows the card status and CSS status of both member switches, indicating that the CSS has been set up successfully.

    # Check whether CSS links are normal.

    <SwitchA> display css channel
                   Chassis 1               ||             Chassis 2                 
    --------------------------------------------------------------------------------
    Num      [Port]         [Speed]        ||        [Speed]         [Port]
     1       1/11/0/1       10G                      10G             2/11/0/1      
     2       1/11/0/2       10G                      10G             2/11/0/2      
     3       1/11/0/3       10G                      10G             2/11/0/3      
     4       1/11/0/4       10G                      10G             2/11/0/4      
     5       1/11/0/5       10G                      10G             2/11/0/5      
     6       1/11/0/6       10G                      10G             2/11/0/6      
     7       1/11/0/7       10G                      10G             2/11/0/7      
     8       1/11/0/8       10G                      10G             2/11/0/8      
     9       1/12/0/1       10G                      10G             2/12/0/1      
    10       1/12/0/2       10G                      10G             2/12/0/2      
    11       1/12/0/3       10G                      10G             2/12/0/3      
    12       1/12/0/4       10G                      10G             2/12/0/4      
    13       1/12/0/5       10G                      10G             2/12/0/5      
    14       1/12/0/6       10G                      10G             2/12/0/6      
    15       1/12/0/7       10G                      10G             2/12/0/7      
    16       1/12/0/8       10G                      10G             2/12/0/8      
    17       1/13/0/1       10G                      10G             2/13/0/1      
    18       1/13/0/2       10G                      10G             2/13/0/2      
    19       1/13/0/3       10G                      10G             2/13/0/3      
    20       1/13/0/4       10G                      10G             2/13/0/4      
    21       1/13/0/5       10G                      10G             2/13/0/5      
    22       1/13/0/6       10G                      10G             2/13/0/6      
    23       1/13/0/7       10G                      10G             2/13/0/7      
    24       1/13/0/8       10G                      10G             2/13/0/8      
    25       1/14/0/1       10G                      10G             2/14/0/1      
    26       1/14/0/2       10G                      10G             2/14/0/2      
    27       1/14/0/3       10G                      10G             2/14/0/3      
    28       1/14/0/4       10G                      10G             2/14/0/4      
    29       1/14/0/5       10G                      10G             2/14/0/5      
    30       1/14/0/6       10G                      10G             2/14/0/6      
    31       1/14/0/7       10G                      10G             2/14/0/7      
    32       1/14/0/8       10G                      10G             2/14/0/8      
    --------------------------------------------------------------------------------

    The command output shows that all the CSS links are working normally, indicating that the CSS has been set up successfully.

  5. Configure Eth-Trunks between the CSS and its upstream and downstream devices.

    # Configure an Eth-Trunk in the CSS and add uplink ports to the Eth-Trunk.

    <SwitchA> system-view
    [SwitchA] sysname CSS              //Rename the CSS.
    [CSS] interface eth-trunk 10
    [CSS-Eth-Trunk10] quit
    [CSS] interface gigabitethernet 1/1/0/4
    [CSS-GigabitEthernet1/1/0/4] eth-trunk 10
    [CSS-GigabitEthernet1/1/0/4] quit
    [CSS] interface gigabitethernet 2/1/0/4
    [CSS-GigabitEthernet2/1/0/4] eth-trunk 10
    [CSS-GigabitEthernet2/1/0/4] quit

    # Configure an Eth-Trunk in the CSS and add the downlink ports connected to SwitchC to the Eth-Trunk.

    [CSS] interface eth-trunk 20
    [CSS-Eth-Trunk20] quit
    [CSS] interface gigabitethernet 1/1/0/3
    [CSS-GigabitEthernet1/1/0/3] eth-trunk 20
    [CSS-GigabitEthernet1/1/0/3] quit
    [CSS] interface gigabitethernet 2/1/0/5
    [CSS-GigabitEthernet2/1/0/5] eth-trunk 20
    [CSS-GigabitEthernet2/1/0/5] quit

    # Configure an Eth-Trunk in the CSS and add the downlink ports connected to SwitchD to the Eth-Trunk.

    [CSS] interface eth-trunk 30
    [CSS-Eth-Trunk30] quit
    [CSS] interface gigabitethernet 1/1/0/5
    [CSS-GigabitEthernet1/1/0/5] eth-trunk 30
    [CSS-GigabitEthernet1/1/0/5] quit
    [CSS] interface gigabitethernet 2/1/0/3
    [CSS-GigabitEthernet2/1/0/3] eth-trunk 30
    [CSS-GigabitEthernet2/1/0/3] return

    # Configure an Eth-Trunk on SwitchE and add member ports to the Eth-Trunk.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchE
    [SwitchE] interface eth-trunk 10
    [SwitchE-Eth-Trunk10] quit
    [SwitchE] interface gigabitethernet 1/0/1
    [SwitchE-GigabitEthernet1/0/1] eth-trunk 10
    [SwitchE-GigabitEthernet1/0/1] quit
    [SwitchE] interface gigabitethernet 1/0/2
    [SwitchE-GigabitEthernet1/0/2] eth-trunk 10
    [SwitchE-GigabitEthernet1/0/2] quit

    # Configure an Eth-Trunk on SwitchC and add member ports to the Eth-Trunk.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchC
    [SwitchC] interface eth-trunk 20
    [SwitchC-Eth-Trunk20] quit
    [SwitchC] interface gigabitethernet 1/0/1
    [SwitchC-GigabitEthernet1/0/1] eth-trunk 20
    [SwitchC-GigabitEthernet1/0/1] quit
    [SwitchC] interface gigabitethernet 1/0/2
    [SwitchC-GigabitEthernet1/0/2] eth-trunk 20
    [SwitchC-GigabitEthernet1/0/2] quit

    # Configure an Eth-Trunk on SwitchD and add member ports to the Eth-Trunk.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchD
    [SwitchD] interface eth-trunk 30
    [SwitchD-Eth-Trunk30] quit
    [SwitchD] interface gigabitethernet 1/0/1
    [SwitchD-GigabitEthernet1/0/1] eth-trunk 30
    [SwitchD-GigabitEthernet1/0/1] quit
    [SwitchD] interface gigabitethernet 1/0/2
    [SwitchD-GigabitEthernet1/0/2] eth-trunk 30
    [SwitchD-GigabitEthernet1/0/2] quit

    # Verify the configuration.

    After the configuration is complete, run the display trunkmembership eth-trunk command in any view to check information about Eth-Trunk member ports. For example:

    The command output shows information about member ports in Eth-Trunk 10.

    <CSS> display trunkmembership eth-trunk 10
    Trunk ID: 10
    Used status: VALID
    TYPE: ethernet
    Working Mode : Normal
    Number Of Ports in Trunk = 2
    Number Of Up Ports in Trunk = 2
    Operate status: up
    
    Interface GigabitEthernet1/1/0/4, valid, operate up, weight=1
    Interface GigabitEthernet2/1/0/4, valid, operate up, weight=1

  6. Configure the MAD function. The following procedure configures MAD in relay mode and configures SwitchC as the relay agent.

    # In the CSS, configure MAD in relay mode for the inter-device Eth-Trunk.

    <CSS> system-view
    [CSS] interface eth-trunk 20
    [CSS-Eth-Trunk20] mad detect mode relay
    [CSS-Eth-Trunk20] quit
    [CSS] quit

    # Configure the MAD proxy function on SwitchC.

    [SwitchC] interface eth-trunk 20
    [SwitchC-Eth-Trunk20] mad relay
    [SwitchC-Eth-Trunk20] quit
    [SwitchC] quit

    # Verify the configuration.

    Check the MAD configuration in the CSS.

    <CSS> display mad
    Current MAD domain: 0  
    MAD direct detection enabled: NO
    MAD relay detection enabled: YES
    

    Check MAD proxy information on SwitchC.

    <SwitchC> display mad proxy
    Mad relay interfaces configured:
     Eth-Trunk20
    

Configuration Files

  • CSS configuration file

    #
    sysname CSS
    #
    interface Eth-Trunk10
    #
    interface Eth-Trunk20
     mad detect mode relay
    #
    interface Eth-Trunk30
    #
    interface GigabitEthernet1/1/0/3
     eth-trunk 20
    #
    interface GigabitEthernet1/1/0/4
     eth-trunk 10
    #
    interface GigabitEthernet1/1/0/5
     eth-trunk 30
    #
    interface GigabitEthernet2/1/0/3
     eth-trunk 30
    #
    interface GigabitEthernet2/1/0/4
     eth-trunk 10
    #
    interface GigabitEthernet2/1/0/5
     eth-trunk 20
    #
    return
  • SwitchC configuration file

    #
    sysname SwitchC
    #
    interface Eth-Trunk20
     mad relay
    #
    interface GigabitEthernet1/0/1
     eth-trunk 20
    #
    interface GigabitEthernet1/0/2
     eth-trunk 20
    #
    return
  • SwitchD configuration file

    #
    sysname SwitchD
    #
    interface Eth-Trunk30
    #
    interface GigabitEthernet1/0/1
     eth-trunk 30
    #
    interface GigabitEthernet1/0/2
     eth-trunk 30
    #
    return
  • SwitchE configuration file

    #
    sysname SwitchE
    #
    interface Eth-Trunk10
    #
    interface GigabitEthernet1/0/1
     eth-trunk 10
    #
    interface GigabitEthernet1/0/2
     eth-trunk 10
    #
    return

Related Information

Tool

CSS Assistant

Download
Updated: 2019-05-16

Document ID: EDOC1000069466

Views: 185130

Downloads: 1840

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next