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

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50 Configuration Guide - Virtualization

This document describes the configurations of virtualization, including stack and SVF.
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 an SVF System

Example for Setting Up an SVF System

Networking Requirements

As a data center network expands, ports provided by access switches are not sufficient for server access. To meet server access requirements, the number of access ports needs to be increased while protecting the previous equipment investment, and the network must be easy to manage and expand.

An SVF system can be set up on the network to meet the preceding requirements. As shown in Figure 2-16, SwitchA and SwitchB can set up a stack and function as parent switches to connect to multiple leaf switches. SwitchA is the master switch of the stack and its stack member ID is 1. SwitchB is the standby switch and its stack member ID is 2.

In this example, the parent switches are CE6850-48S4Q-EI switches, and the leaf switches are CE5810-48T4S-EI switches.

Figure 2-16 SVF networking diagram

Configuration Roadmap

The configuration roadmap is as follows:
  1. Set up a stack between the parent switches to ensure high reliability of the SVF system.

  2. Configure fabric ports on the parent switches so that leaf switches can connect to the parent switches.

  3. Connect leaf switches to the parent switches.

Procedure

  1. Set up a stack between SwitchA and SwitchB. For the configuration procedure, see Stack Configuration in the CloudEngine 8800, 7800, 6800, and 5800 Series Switches Configuration - Virtualization Configuration Guide.

    NOTE:
    • When setting up an SVF system, a parent switch must have a stack member ID that is less than or equal to 4. If not, run the stack member member-id renumber new-member-id [ inherit-config ] command in the stack management view to change the stack member ID to 4 or less. After changing the stack member ID, restart the parent switch to make the modification take effect.
    • When a parent switch is a standalone device but not a stack of two devices, the switch must have a stack domain ID configured. Otherwise, it cannot set up an SVF system. If a parent switch does not have a stack domain ID configured, run the stack member { member-id | all } domain domain-id command in the stack management view to configure a stack domain ID. After configuring a stack domain ID, save the device configuration to make the configuration take effect.

      In this example, parent switches have stack domain IDs configured when setting up a stack.

  2. Log in to the stack to complete SVF configuration.

    # Configure fabric port 1, add member ports 10GE1/0/1 and 10GE2/0/1 to fabric port 1, and bind leaf ID 101 to it.

    <SwitchA> system-view
    [~SwitchA] interface fabric-port 1
    [*SwitchA-Fabric-Port1] port bind member 101
    [*SwitchA-Fabric-Port1] port member-group interface 10ge 1/0/1 2/0/1
    Warning: After the configuration is complete,
    1.The interface(s) (10GE1/0/1-1/0/4,10GE2/0/1-2/0/4) will be converted to stack mode and be configured with the port crc-statistics trigger error-
    down command if the configuration does not exist.
    2.The interface(s) may go Error-Down (crc-statistics) because there is no shutdown configuration on the interfaces.Continue? [Y/N]: y
    [*SwitchA-Fabric-Port1] quit
    [*SwitchA] commit
    
    NOTE:

    After member ports are added to a fabric port, the port crc-statistics trigger error-down command is automatically configured on these member ports.

    # Configure fabric port 2, add member ports 10GE1/0/2 and 10GE2/0/2 to fabric port 2, and bind leaf ID 102 to it.

    [~SwitchA] interface fabric-port 2
    [*SwitchA-Fabric-Port2] port bind member 102
    [*SwitchA-Fabric-Port2] port member-group interface 10ge 1/0/2 2/0/2
    [*SwitchA-Fabric-Port2] quit
    [*SwitchA] commit
    

    # Configure fabric port 3, add member ports 10GE1/0/3 and 10GE2/0/3 to fabric port 3, and bind leaf ID 103 to it.

    [~SwitchA] interface fabric-port 3
    [*SwitchA-Fabric-Port3] port bind member 103
    [*SwitchA-Fabric-Port3] port member-group interface 10ge 1/0/3 2/0/3
    [*SwitchA-Fabric-Port3] commit
    [~SwitchA-Fabric-Port3] return
    

  3. Connect leaf switches to the parent switches and power on the leaf switches. The leaf switches connect to the parent switches through uplink 10GE ports.

    NOTE:
    • This example assumes that the leaf switches are unconfigured switches, work in auto-negotiation mode, and can join the SVF system through auto-negotiation. No manual configuration is required on the leaf switches.

    • If the leaf switches have the startup configuration file, you need to clear the configuration in the next startup configuration file of the leaf switches or configure the working mode of the leaf switches to the leaf mode before restarting the switches (in auto-negotiation mode). For details, see Configuring the Working Mode of Leaf Switches.

  4. Verify the configuration.

    # Check information about the SVF member switches.

    <SwitchA> display stack
    Total Spine Number : 2  
    Total Leaf Number  : 3 
    --------------------------------------------------------------------------------
    MemberID Role     MAC              Priority   DeviceType         Description
    --------------------------------------------------------------------------------
    1        Master   0004-9f31-d520   150        CE6850-48S4Q-EI
    2        Standby  0004-9f62-1f40   100        CE6850-48S4Q-EI
    101      Leaf     0001-0406-0800   N/A        CE5810-48T4S-EI
    102      Leaf     0025-9e95-7c30   N/A        CE5810-48T4S-EI
    103      Leaf     0015-3e65-7f40   N/A        CE5810-48T4S-EI
    --------------------------------------------------------------------------------
    

    # Check the SVF configuration.

    <SwitchA> display stack configuration
    Oper          : Operation
    Conf          : Configuration
    *             : Offline configuration
    Isolated Port : The port is in stack mode, but does not belong to any Stack-Port
                    or Fabric-Port
    
    System Forwarding Model:
    -------------------------------
    Oper               Conf
    -------------------------------
    distributed        distributed
    -------------------------------
    
    Spine Attribute Configuration:
    --------------------------------------------------
     MemberID         Domain          Priority
    Oper(Conf)       Oper(Conf)       Oper(Conf)
    --------------------------------------------------
    1(1)             10(10)           150(150)
    2(2)             10(10)           100(100)
    --------------------------------------------------
    
    Stack-Port Configuration:
    -------------------------------------------------------------------------------
    Stack-Port     Member Ports
    -------------------------------------------------------------------------------
    Stack-Port1/1  40GE1/0/1      40GE1/0/2
    Stack-Port2/1  40GE2/0/1      40GE2/0/2
    -------------------------------------------------------------------------------
    
    Fabric-Port Configuration:
    ---------------------------------------------------------------------------------
    Fabric-Port     BindMember   Ports
    ---------------------------------------------------------------------------------
    Fabric-Port1    101          10GE1/0/1   10GE2/0/1
    Fabric-Port2    102          10GE1/0/2   10GE2/0/2
    Fabric-Port3    103          10GE1/0/3   10GE2/0/3
    ---------------------------------------------------------------------------------
    
    Isolated Port Configuration:
    10GE1/0/4     10GE2/0/4
    
    Leaf Attribute Configuration:
    -------------------------------------------------
    MemberID      Switch Mode       Uplink Port
                  Oper(Conf)         Oper(Conf)
    -------------------------------------------------
    101           Auto(Auto)         4*10GE(4*10GE)
    102           Auto(Auto)         4*10GE(4*10GE)
    103           Auto(Auto)         4*10GE(4*10GE)
    -------------------------------------------------
    

Configuration Files

  • Configuration file of the SVF system

    #
    sysname SwitchA
    #
    stack
     #
     stack member 1 domain 10
     stack member 1 priority 150
     #
     stack member 2 domain 10
    #
    interface Fabric-Port1
     port bind member 101
    #
    interface Fabric-Port2
     port bind member 102
    #
    interface Fabric-Port3
     port bind member 103
    #
    interface Stack-Port1/1
    #
    interface Stack-Port2/1
    #
    interface 10GE1/0/1
     port mode stack
     fabric-port 1
     port crc-statistics trigger error-down
    #
    interface 10GE1/0/2
     port mode stack
     fabric-port 2
     port crc-statistics trigger error-down
    #
    interface 10GE1/0/3
     port mode stack
     fabric-port 3
     port crc-statistics trigger error-down
    #
    interface 10GE1/0/4
     port mode stack
     port crc-statistics trigger error-down
    #
    interface 40GE1/0/1
     port mode stack
     stack-port 1/1
     port crc-statistics trigger error-down
    #
    interface 40GE1/0/2
     port mode stack
     stack-port 1/1
     port crc-statistics trigger error-down
    #
    interface 10GE2/0/1
     port mode stack
     fabric-port 1
     port crc-statistics trigger error-down
    #
    interface 10GE2/0/2
     port mode stack
     fabric-port 2
     port crc-statistics trigger error-down
    #
    interface 10GE2/0/3
     port mode stack
     fabric-port 3
     port crc-statistics trigger error-down
    #
    interface 10GE2/0/4
     port mode stack
     port crc-statistics trigger error-down
    #
    interface 40GE2/0/1
     port mode stack
     stack-port 2/1
     port crc-statistics trigger error-down
    #
    interface 40GE2/0/2
     port mode stack
     stack-port 2/1
     port crc-statistics trigger error-down
    #
    return
    
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1000166645

Views: 55548

Downloads: 344

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