Example for Setting Up a CSS Using Service Ports

47 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 service port connection mode, member switches are connected using service ports, without a need for CSS cards. The service ports must be configured as physical member ports of logical CSS ports. Figure 4-22 shows physical member ports and logical CSS ports in a CSS.

Figure 4-22  Service port connection 
imgDownload?uuid=7cf6f9fcdd0c4cd3873e36f
  • Physical member port

    A physical member port is a service port used to set up a CSS link between CSS member switches. Physical member ports forward service packets or CSS protocol packets between member switches.

  • Logical CSS port

    A logical CSS port is bound to physical member ports for CSS connection. Each CSS member switch supports two logical CSS ports.

Compared with the CSS card connection mode, the service port connection mode is more flexible but is complex to configure and needs to occupy service ports on LPUs.

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

  • When switches using SRUAs, SRUBs, SRUCs, and SRUDs set up a CSS in service port clustering mode, the system software file (system startup package) must be saved in the CF card. If it is saved in the flash memory, the CSS cannot be set up in service port clustering mode.

  • 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)
  • When configuring MAD, focus on the differences in the command syntax between V200R002C00 and V200R003C00 (and later versions). In V200R002C00, 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 and reduce deployment costs.

To meet requirements of the enterprise, core switches SwitchA and SwitchB set up a CSS in service port connection mode. SwitchA is the master switch, and SwitchB is the standby switch. Figure 4-23 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-23  Setting up a CSS 
imgDownload?uuid=ea9c1b2af38b421fb4b9c88

Configuration Roadmap

The configuration roadmap is as follows:

  1. Install LPUs on SwitchA and SwitchB, and connect cluster cables. Connect four service ports on two LPUs of each switch to improve bandwidth and reliability.
  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. Configure two logical CSS ports on each of SwitchA and SwitchB and add two physical member ports to each logical CSS port.
  4. Enable the CSS function on SwitchA and then on SwitchB to ensure that SwitchA becomes the master switch.
  5. Check whether a CSS is set up successfully.
  6. Configure uplink and downlink Eth-Trunks for the CSS to improve forwarding bandwidth and reliability.
  7. 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 LPUs and learn about installation details, see the Switch Cluster Setup Guide.

    Connect cluster cables according to the connection rule shown in Figure 4-24.

    Figure 4-24  Connection rule for service port clustering 
    imgDownload?uuid=93339d4f257b4ec3b18bab9
    Service ports are connected in two ways according to link distribution:
    • 1+0 networking

      Each member switch has one logical CSS port and connects to the other member switch through physical member ports on one service card.

    • 1+1 networking

      Each member switch has two logical CSS ports, and physical member ports of the logical CSS ports are located on two service cards. CSS links on the two service cards implement link redundancy. The preceding figure shows the cable connections in this networking.

    imgDownload?uuid=2a5b1e6084d44dc8ad03753 NOTE:
    When connecting cluster cables, pay attention to the following points:
    • Physical member ports of a logical CSS port on one switch must connect to physical member ports of a logical CSS port on the other switch.
    • In 1+1 networking, it is recommended that two service cards have the same number of CSS links.
    To ensure reliability, pay attention to the following points when using the preceding two service port clustering networkings:
    • To ensure high reliability, you are advised to use 1+1 networking and configure multi-active detection (MAD).
    • At least two physical member ports on an LPU must be added to one logical CSS port.
    • It is recommended that the cards where uplink ports and MAD-enabled port are located be the LPUs that are not used for CSS connections.

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

    # Configure the CSS function on SwitchA. Configure the service port connection mode, set the CSS priority to 100, and retain the default CSS ID 1.

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

    # Configure the CSS function on SwitchB. Configure the service port connection mode, and set the CSS ID to 2 and CSS priority to 10.

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

    # Check the CSS configuration.

    imgDownload?uuid=2a5b1e6084d44dc8ad03753 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          LPU         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          LPU         10          Off              

  3. Configure logical CSS ports.

    # On SwitchA, configure service ports XGE1/0/1 and XGE1/0/2 as physical member ports and add them to CSS port 1, and configure service ports XGE2/0/1 and XGE2/0/2 as physical member ports and add them to CSS port 2.

    [SwitchA] interface css-port 1[SwitchA-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable[SwitchA-css-port1] quit[SwitchA] interface css-port 2[SwitchA-css-port2] port interface xgigabitethernet 2/0/1 to xgigabitethernet 2/0/2 enable[SwitchA-css-port2] quit

    # On SwitchB, configure service ports XGE1/0/1 and XGE1/0/2 as physical member ports and add them to CSS port 1, and configure service ports XGE2/0/1 and XGE2/0/2 as physical member ports and add them to CSS port 2.

    [SwitchB] interface css-port 1[SwitchB-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable[SwitchB-css-port1] quit[SwitchB] interface css-port 2[SwitchB-css-port2] port interface xgigabitethernet 2/0/1 to xgigabitethernet 2/0/2 enable[SwitchB-css-port2] quit
    imgDownload?uuid=2a5b1e6084d44dc8ad03753 NOTE:

    After the configuration is complete, run the display css css-port saved command to check whether the ports are Up.

  4. 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 LPU. 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 LPU. Reboot now? [Y/N]:y

  5. Check whether a CSS is set up successfully.

    # View the indicator status.

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

    The ACT indicator on an MPU of SwitchB is blinking green, indicating that the MPU is the standby MPU of the CSS and 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 deviceChassis 1 (Master Switch)                                                       S9706's Device status:                                                          
    Slot  Sub Type         Online    Power      Register       Status     Role   
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   
    1     -   EH1D2X12SSA0 Present   PowerOn    Registered     Normal     NA        
    2     -   EH1D2X12SSA0 Present   PowerOn    Registered     Normal     NA        
    7     -   EH1D2SRUC000 Present   PowerOn    Registered     Normal     Master    
    8     -   EH1D2SRUC000 Present   PowerOn    Registered     Normal     Slave     
    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   
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   
    1     -   EH1D2X12SSA0 Present   PowerOn    Registered     Normal     NA        
    2     -   EH1D2X12SSA0 Present   PowerOn    Registered     Normal     NA        
    7     -   EH1D2SRUC000 Present   PowerOn    Registered     Normal     Master    
    8     -   EH1D2SRUC000 Present   PowerOn    Registered     Normal     Slave     
    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 the CSS link topology is the same as the actual hardware connection.

    <SwitchA> display css channel allCSS link-down-delay: 500ms 
    
                    Chassis 1               ||               Chassis 2              
    ================================================================================
    Num [CSS port]       [LPU Port]         ||    [LPU Port]            [CSS port]  
     1     1/1    XGigabitEthernet1/1/0/1      XGigabitEthernet2/1/0/1      2/1     
     2     1/1    XGigabitEthernet1/1/0/2      XGigabitEthernet2/1/0/2      2/1     
     3     1/2    XGigabitEthernet1/2/0/1      XGigabitEthernet2/2/0/1      2/2     
     4     1/2    XGigabitEthernet1/2/0/2      XGigabitEthernet2/2/0/2      2/2     
                    Chassis 2               ||               Chassis 1              
    ================================================================================
    Num [CSS port]       [LPU Port]         ||    [LPU Port]            [CSS port]  
     1     2/1    XGigabitEthernet2/1/0/1      XGigabitEthernet1/1/0/1      1/1     
     2     2/1    XGigabitEthernet2/1/0/2      XGigabitEthernet1/1/0/2      1/1     
     3     2/2    XGigabitEthernet2/2/0/1      XGigabitEthernet1/2/0/1      1/2     
     4     2/2    XGigabitEthernet2/2/0/2      XGigabitEthernet1/2/0/2      1/2     

    The command output shows that the CSS link topology is the same as the actual hardware connection, indicating that the CSS has been set up successfully.

  6. 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 xgigabitethernet 1/3/0/4[CSS-XGigabitEthernet1/3/0/4] eth-trunk 10[CSS-XGigabitEthernet1/3/0/4] quit[CSS] interface xgigabitethernet 2/3/0/4[CSS-XGigabitEthernet2/3/0/4] eth-trunk 10[CSS-XGigabitEthernet2/3/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/4/0/3[CSS-GigabitEthernet1/4/0/3] eth-trunk 20[CSS-GigabitEthernet1/4/0/3] quit[CSS] interface gigabitethernet 2/4/0/5[CSS-GigabitEthernet2/4/0/5] eth-trunk 20[CSS-GigabitEthernet2/4/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/4/0/5[CSS-GigabitEthernet1/4/0/5] eth-trunk 30[CSS-GigabitEthernet1/4/0/5] quit[CSS] interface gigabitethernet 2/4/0/3[CSS-GigabitEthernet2/4/0/3] eth-trunk 30[CSS-GigabitEthernet2/4/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 xgigabitethernet 1/0/1[SwitchE-XGigabitEthernet1/0/1] eth-trunk 10[SwitchE-XGigabitEthernet1/0/1] quit[SwitchE] interface xgigabitethernet 1/0/2[SwitchE-XGigabitEthernet1/0/2] eth-trunk 10[SwitchE-XGigabitEthernet1/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 XGigabitEthernet1/3/0/4, valid, operate up, weight=1
    Interface XGigabitEthernet2/3/0/4, valid, operate up, weight=1

  7. 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, 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, 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, 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, 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/4/0/3
     eth-trunk 20
    #
    interface XGigabitEthernet1/3/0/4
     eth-trunk 10
    #
    interface GigabitEthernet1/4/0/5
     eth-trunk 30
    #
    interface GigabitEthernet2/4/0/3
     eth-trunk 30
    #
    interface XGigabitEthernet2/3/0/4
     eth-trunk 10
    #
    interface GigabitEthernet2/4/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 XGigabitEthernet1/0/1
     eth-trunk 10
    #
    interface XGigabitEthernet1/0/2
     eth-trunk 10
    #
    return

See more please click 

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


  • x
  • convention:

Comment

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