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

Configuration Guide - Virtualization

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

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.

  • 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.

    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.

    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.

      The default working mode varies depending on the device model:
      • On the CE6810-32T16S4Q-LI, CE6850HI, CE6851HI, CE6850EI, CE6850U-HI, CE7855EI, CE7850EI, CE5855EI, and CE5850HI, 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 the CE6855HI, CE6856HI, and CE5850EI, 40GE ports that have high-speed cables installed can auto-negotiate to work in CR4 or SR4 mode. After being added to stack ports, the 40GE ports work in CR4 mode.

      By default, if a CE6810LI, CE6850HI, CE6851HI, CE6850EI, CE6850U-HI, CE6855HI, CE6856HI, CE7855EI, CE7850EI, CE5855EI, CE5850HI, or CE5850EI sets up a stack or an SVF system with another 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. If the 40GE ports on both ends work in SR4 mode through auto-negotiation, the running of the stack or SVF system may be affected. To ensure stable running of a stack or SVF system, when the CE6810LI, CE6850HI, CE6851HI, CE6850EI, CE6850U-HI, CE6855HI, CE6856HI, CE7855EI, CE7850EI, CE5855EI, CE5850HI, and CE5850EI set up a stack or an SVF system using 40GE ports that have high-speed cables installed, run the port copper mode cr4 command to configure the 40GE ports on both ends to work in CR4 mode.

    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-CE5880EI/non-CE6870EI/non-CE6875EI 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/CE5880EI 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: 2020-01-07

Document ID: EDOC1100075367

Views: 12636

Downloads: 80

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next