Example for Setting Up a CSS of Two Member Switches Using CSS Cards

72 0 0 0

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.

In CSS card connection mode, member switches are connected using CSS cards on MPUs and cluster cables. Compared with the service port connection mode, the CSS card connection mode does not occupy common service ports, is easy to configure, ensures high stability and low latency, but has higher hardware requirements.

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)
    • Web system configuration (In V200R001C00, the web system is not supported. In V200R002C00 and later versions, you can log in to the CSS through the web system to perform configurations.)
  • When configuring MAD, focus on the differences in the command syntax between V200R002C00 (and earlier versions) and V200R003C00 (and later versions). In V200R002C00 and earlier versions, the split detection function is called dual-active detection (DAD).

  • 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, core switches SwitchA and SwitchB set up a CSS in CSS card connection mode. SwitchA is the master switch, and SwitchB is the standby switch. Figure 4-18 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. In this example, the core switches are the S9706 switches.

Figure 4-18  Setting up a CSS 
imgDownload?uuid=0a368dda2c1f46c2b83fffc

Configuration Roadmap

The configuration roadmap is as follows:

  1. Install hardware modules on SwitchA and SwitchB.
  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 4-19  VSTSA CSS card connections (S7706&S7706 PoE&S7712) 
    imgDownload?uuid=a6b65fe87da6468d98c909d
    imgDownload?uuid=942aa01ea01b41d286fba94 NOTE:

    Follow these rules when connecting VSTSA CSS cards: Each VSTSA CSS card has four ports. All ports with the same port number and color 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 CSS set up using VSTSA CSS cards allows at most one faulty cluster cable.

    Figure 4-20  VS04 CSS card connections (S7706&S7706 PoE&S7712) 
    imgDownload?uuid=a637d992a43f4a8da4e44be
    imgDownload?uuid=942aa01ea01b41d286fba94 NOTE:
    Follow these rules when connecting VS04 CSS cards:
    • Each VS04 CSS card has four ports. All 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 be connected through one cable. However, it is recommended that the two chassis be connected through multiple cables.

    • Each CSS card on the local chassis can be connected to only one CSS card on the peer chassis.

    Figure 4-21  VS08 CSS card connections (S9706&S9712) 
    imgDownload?uuid=982daecb71a04c2cbe1e0c3
    imgDownload?uuid=942aa01ea01b41d286fba94 NOTE:

    Follow these rules when connecting VS08 CSS cards: Each VS08 CSS card provides eight ports, which are divided into two groups. Ports in the groups with the same ID and color must be connected. For example, ports in group 1 in blue on the left and right chassis must be connected, and ports in group 2 in blue on the left and right chassis must be connected. See the preceding figure to connect cables between groups. Ports in a group can be connected in any sequence, but each group must have at least one cable connected. Full-mesh connections are recommended.

  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

    # Check the CSS configuration.

    imgDownload?uuid=942aa01ea01b41d286fba94 NOTE:

    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 savedCurrent 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 savedCurrent 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 enableWarning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is CSS card. Reboot now? [Y/N]:y

    # Enable the CSS function on SwitchB and restart SwitchB.

    [SwitchB] css enableWarning: The CSS configuration will take effect only after the system is rebooted. The 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 MASTER indicator on a CSS card of SwitchA is steady on, indicating that the MPU with the CSS card installed is the active MPU of the CSS and SwitchA is the master switch.

    The MASTER indicators on the CSS cards of SwitchB are 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. In versions earlier than V200R005C00, you must log in to the CSS through the console port on the active MPU.

    <SwitchA> display deviceChassis 1 (Master Switch)                                                       S9706's Device status:                                                          
    Slot  Sub Type         Online    Power      Register       Status     Role   
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   
    7     -   EH1D2SRUC000 Present   PowerOn    Registered     Normal     Master    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA        
    8     -   EH1D2SRUC000 Present   PowerOn    Registered     Normal     Slave     
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA        
    PWR1  -   -            Present   PowerOn    Registered     Normal     NA        
    PWR2  -   -            Present   -          Unregistered   -          NA        
    CMU2  -   EH1D200CMU00 Present   PowerOn    Registered     Normal     Master    
    FAN1  -   -            Present   PowerOn    Registered     Abnormal   NA        
    FAN2  -   -            Present   -          Unregistered   -          NA        
    Chassis 2 (Standby Switch)                                                      S9706's Device status:                                                          
    Slot  Sub Type         Online    Power      Register       Status     Role   
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   
    7     -   EH1D2SRUC000 Present   PowerOn    Registered     Normal     Master    
          1   EH1D2VS08000 Present   PowerOn    Registered     Normal     NA        
    8     -   EH1D2SRUC000 Present   PowerOn    Registered     Normal     Slave     
          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        

    The command output shows the card 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 [SRUC HG]    [VS08 Port(Status)]    ||    [VS08 Port(Status)]    [SRUC HG]  
    1   1/7  0/12 -- 1/7/0/1(UP 10G)     ---||--- 2/7/0/1(UP 10G)     -- 2/7  0/12  
    2   1/7  0/16 -- 1/7/0/2(UP 10G)     ---||--- 2/7/0/2(UP 10G)     -- 2/7  0/16  
    3   1/7  0/13 -- 1/7/0/3(UP 10G)     ---||--- 2/7/0/3(UP 10G)     -- 2/7  0/13  
    4   1/7  0/17 -- 1/7/0/4(UP 10G)     ---||--- 2/7/0/4(UP 10G)     -- 2/7  0/17  
    5   1/7  0/14 -- 1/7/0/5(UP 10G)     ---||--- 2/8/0/5(UP 10G)     -- 2/8  0/14  
    6   1/7  0/18 -- 1/7/0/6(UP 10G)     ---||--- 2/8/0/6(UP 10G)     -- 2/8  0/18  
    7   1/7  0/15 -- 1/7/0/7(UP 10G)     ---||--- 2/8/0/7(UP 10G)     -- 2/8  0/15  
    8   1/7  0/19 -- 1/7/0/8(UP 10G)     ---||--- 2/8/0/8(UP 10G)     -- 2/8  0/19  
    9   1/8  0/12 -- 1/8/0/1(UP 10G)     ---||--- 2/8/0/1(UP 10G)     -- 2/8  0/12  
    10  1/8  0/16 -- 1/8/0/2(UP 10G)     ---||--- 2/8/0/2(UP 10G)     -- 2/8  0/16  
    11  1/8  0/13 -- 1/8/0/3(UP 10G)     ---||--- 2/8/0/3(UP 10G)     -- 2/8  0/13  
    12  1/8  0/17 -- 1/8/0/4(UP 10G)     ---||--- 2/8/0/4(UP 10G)     -- 2/8  0/17  
    13  1/8  0/14 -- 1/8/0/5(UP 10G)     ---||--- 2/7/0/5(UP 10G)     -- 2/7  0/14  
    14  1/8  0/18 -- 1/8/0/6(UP 10G)     ---||--- 2/7/0/6(UP 10G)     -- 2/7  0/18  
    15  1/8  0/15 -- 1/8/0/7(UP 10G)     ---||--- 2/7/0/7(UP 10G)     -- 2/7  0/15  
    16  1/8  0/19 -- 1/8/0/8(UP 10G)     ---||--- 2/7/0/8(UP 10G)     -- 2/7  0/19  

    The command output shows that all the CSS links are Up, 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 10Trunk 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 using the commands applicable to V200R003C00 and later versions.

    # 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           //In V200R002C00 and earlier versions, the command is dual-active 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                    //In V200R002C00 and earlier versions, the command is dual-active relay.[SwitchC-Eth-Trunk20] quit[SwitchC] quit

    # Verify the configuration.

    Check the MAD configuration in the CSS.

    <CSS> display mad                                 //In V200R002C00 and earlier versions, the command is display dual-active. Current MAD domain: 0  
    MAD direct detection enabled: NO
    MAD relay detection enabled: YES

    Check MAD proxy information on SwitchC.

    <SwitchC> display mad proxy                      //In V200R002C00 and earlier versions, the command is display dual-active 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

See more please click 

https://support.huawei.com/enterprise/en/doc/EDOC1000069520/9aadccc0/comprehensive-configuration-examples


  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login