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).
Configuring a Stack Port

Configuring a Stack Port

Context

Multiple stack member ports can be added to a stack port to improve stack link bandwidth and reliability.

NOTE:
  • Before configuring a stack port, see "Stack Port and Cable Requirements" in Licensing Requirements and Limitations for Stacks.

  • It is recommended that you use two or more links to set up a stack. If only one link is used to set up a stack (this method is not recommended), it is recommended that you run the carrier down-hold-time interval command on stack member ports to configure the delay after which the port Down state is reported. This configuration prevents the stack from becoming unstable because of intermittent port disconnection.

Procedure

  1. Create a stack port.
    1. Run the system-view command to enter the system view.
    2. Run the interface stack-port member-id/port-id command to create a stack port.

      By default, no stack port exists in the system.

    3. (Optional) Run the description description command to configure a description for the stack port.

      By default, no description is configured for a stack port.

    4. Run the quit command to exit from the stack port view.
    5. Run the commit command to commit the configuration.
  2. Disable the service ports that you want to add to the stack port.
    1. Run the interface interface-type interface-number command to enter the interface view.
    2. Run the shutdown command to disable the interface.
    3. Run the quit command to exit from the interface view.
    4. Run the commit command to commit the configuration.

    Repeat the preceding operations to disable multiple service ports.

    Before adding stack member ports into a stack port, shut down these member ports. To prevent these member ports from generating CRC error packets and then entering the Error-Down state, enable these member ports after member ports on both ends of a stack link have been added to stack ports.

  3. Add service ports to the stack port.

    NOTE:

    Configurations in the stack management view and the interface view are the same. You can choose either one.

    Service ports are automatically configured as stack member ports after being added to a stack port. Alternatively, run the port mode stack interface interface-type { interface-number1 [ to interface-number2 ] } &<1-32> command in the stack management view or run the port mode stack command in the interface view to configure service ports as stack member ports and then add the stack member ports to a stack port.

    • Configuration in the stack port view:
      1. Run the interface stack-port member-id/port-id command to enter the stack port view.

      2. Run the port member-group interface interface-type { interface-number1 [ to interface-number2 ] } &<1-32> command to add stack member ports to the stack port.

      3. Run the quit command to exit from the stack port view.

      4. Run the commit command to commit the configuration.

    • Configuration in the interface view:
      1. Run the interface interface-type interface-number command to enter the interface view.

      2. Run the stack-port member-id/port-id command to add the physical port to the stack port.

      3. Run the quit command to exit from the interface view.

      4. Run the commit command to commit the configuration.

  4. Enable the stack member ports.

    NOTE:

    Enable these member ports after physical ports on both ends of a stack link have been added to stack ports.

    1. Run the interface interface-type interface-number command to enter the interface view.
    2. Run the undo shutdown command to enable the interface.
    3. Run the quit command to exit from the interface view.
    4. Run the commit command to commit the configuration.

    Repeat the preceding operations to enable the other stack member ports.

  5. (Optional) Configure the working mode for a 40GE port that has a high-speed cable installed.
    1. Run the interface interface-type interface-number command to enter the interface view.
    2. Run the port copper mode { sr4 | cr4 }command to configure the working mode for a 40GE port that has a high-speed cable installed.

      By default,
      • On CE6810-32T16S4Q-LI, CE6850-48T6Q-HI, CE6851-48S6Q-HI, CE6855HI, CE6856HI, CE5855-24T4S2Q-EI, and CE5855-48T4S2Q-EI, the working mode of 40GE ports that have high-speed cables installed is SR4.
      • On CE6810-48S4Q-LI and CE6810-24S2Q-LI, 40GE ports that have high-speed cables installed can auto-negotiate to work in CR4 or SR4 mode.
      • On other switch models, 40GE ports that have high-speed cables installed can auto-negotiate to work in CR4 or SR4 mode. After being added to stack ports, these 40GE ports work in CR4 mode.

      By default, if a CE6810-32T16S4Q-LI, CE6850-48T6Q-HI, CE6851-48S6Q-HI, CE6855HI, CE6856HI, CE5855-24T4S2Q-EI, or CE5855-48T4S2Q-EI sets up a stack or an SVF system with other device model using 40GE ports that have high-speed cables installed, the connected device can enable the 40GE ports on both ends to work in the same mode through auto-negotiation. If the two ports work in different modes, they will become Down. However, auto-negotiation lasts a certain period. To ensure that the two ports can rapidly become Up, you are advised to run this command on the connected device to configure the 40GE port to work in SR4 mode. This configuration ensures that 40GE ports on both ends work in SR4 mode.

      NOTE:

      If a CE6810-48S4Q-LI and a CE6810-24S2Q-LI set up a stack using 40GE ports that have high-speed cables installed, you are advised to use this command to set the same working mode for the 40GE ports on both ends.

    3. Run the quit command to exit from the interface view.
    4. Run the commit command to commit the configuration.
  6. (Optional on non-CE6880EI/non-CE6870EI switches) Configure a load balancing mode for the stack port.
    1. Run the interface stack-port member-id/port-id command to enter the stack port view.
    2. Run the load-balance { dst-ip | dst-mac | src-dst-ip | src-dst-mac | src-ip | src-mac | enhanced profile profile-name } command to configure a load balancing mode for the stack port.

      By default, the load balancing mode of a stack port is src-dst-ip.

      Before specifying the enhanced profile profile-name parameter, you need to run the load-balance profile profile-name command in the system view to create a load balancing profile and run the stack { hash-mode hash-mode-id | universal-id universal-id } * command in the load balancing profile to configure a load balancing mode for the stack port.

    3. Run the quit command to exit from the stack port view.
    4. Run the commit command to commit the configuration.
  7. (Optional on the CE6880EI switch) Configure a load balancing mode for the stack port.
    1. Run the stack command to enter the stack management view.
    2. Run the load-balance profile profile-name command to configure a stack load balancing profile and enter the stack load balancing profile view. By default, there is a stack load balancing profile default.

      • Run the load-balance l2 { sbsp | dst-mac | src-mac | eth-type | outer-vlan | inner-vlan } * command to configure a load balancing mode for Layer 2 packets. By default, Layer 2 packets are load balanced based on dst-mac and src-mac.

      • Run the load-balance l3 { sbsp | src-ip | dst-ip | protocol | src-port | dst-port | outer-vlan | inner-vlan } * command to configure a load balancing mode for Layer 3 packets. By default, Layer 3 packets are load balanced based on src-ip, dst-ip, src-port, and dst-port.

    3. Run the quit command to exit from the stack load balancing profile view.
    4. Run the quit command to exit from the stack management view.
    5. Run the interface stack-port member-id/port-id command to enter the stack port view.
    6. Run the load-balance profile profile-name command to configure a stack load balancing profile for the stack port. By default, there is a stack load balancing profile default for a stack port.
    7. Run the quit command to exit from the stack port view.
    8. Run the commit command to commit the configuration.
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1000166645

Views: 52053

Downloads: 335

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