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

Connecting Servers to Switches

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).
Connecting Servers to Switches

Connecting Servers to Switches

Introduction

This chapter describes how to connect servers to switches. As shown in the following figure, switches can set up a stack or M-LAG system, or be deployed in standalone mode. For higher network reliability, the M-LAG networking is recommended. The server NICs can work in active/standby or load balancing mode.
Figure 1-1 Networking diagram

Configuration Procedure

Table 1-1 Switch configuration requirements

Server NIC Mode

Switch Networking

Switch Configuration Requirements

Active/Standby mode

Stack

Configure SwitchA and SwitchB to form a stack.
[~SwitchA&SwitchB] interface 10ge 1/0/1
[*SwitchA&SwitchB-10GE1/0/1] stp edged-port enable    //If the switch is connected to a server with an SFU, disable STP on the server to prevent the server from preempting the role of the root bridge.
[*SwitchA&SwitchB-10GE1/0/1] quit
[*SwitchA&SwitchB] interface 10ge 1/0/2
[*SwitchA&SwitchB-10GE1/0/2] stp edged-port enable
[*SwitchA&SwitchB-10GE1/0/2] commit

M-LAG

Configure SwitchA.
[~SwitchA] interface 10ge 1/0/1
[*SwitchA-10GE1/0/1] stp edged-port enable    //If the switch is connected to a server with an SFU, disable STP on the server to prevent the server from preempting the role of the root bridge.
[*SwitchA-10GE1/0/1] commit
Configure SwitchB.
[~SwitchB] interface 10ge 1/0/1
[*SwitchB-10GE1/0/1] stp edged-port enable
[*SwitchB-10GE1/0/1] commit

Standalone

Configure SwitchA.

[~SwitchA] interface 10ge 1/0/1  
[*SwitchA-10GE1/0/1] stp edged-port enable    //If the switch is connected to a server with an SFU, disable STP on the server to prevent the server from preempting the role of the root bridge.
[*SwitchA-10GE1/0/1] commit

Configure SwitchB.

[~SwitchB] interface 10ge 1/0/1  
[*SwitchB-10GE1/0/1] stp edged-port enable    //If the switch is connected to a server with an SFU, disable STP on the server to prevent the server from preempting the role of the root bridge.
[*SwitchB-10GE1/0/1] commit

Load balancing

Stack

Configure SwitchA and SwitchB to form a stack and add 10GE1/0/1 and 10GE1/0/2 of the switch to an Eth-Trunk.

[~SwitchA&SwitchB] interface eth-trunk 1  
[*SwitchA&SwitchB-Eth-Trunk1] trunkport 10ge 1/0/1  
[*SwitchA&SwitchB-Eth-Trunk1] trunkport 10ge 1/0/2  
[*SwitchA&SwitchB-Eth-Trunk1] mode lacp-static 
[*SwitchA&SwitchB-Eth-Trunk1] stp edged-port enable  //If the switch is connected to a server with an SFU, disable STP on the server to prevent the server from preempting the role of the root bridge.
[*SwitchA&SwitchB-Eth-Trunk1] commit

M-LAG

Configure SwitchA and add 10GE1/0/1 to an Eth-Trunk.

[~SwitchA] interface eth-trunk 1  
[*SwitchA-Eth-Trunk1] trunkport 10ge 1/0/1  
[*SwitchA-Eth-Trunk1] mode lacp-static 
[*SwitchA-Eth-Trunk1] dfs-group 1 m-lag 1 
[*SwitchA-Eth-Trunk1] stp edged-port enable    //If the switch is connected to a server with an SFU, disable STP on the server to prevent the server from preempting the role of the root bridge.
[*SwitchA-Eth-Trunk1] commit

Configure SwitchB and add 10GE1/0/1 to an Eth-Trunk.

[~SwitchB] interface eth-trunk 1  
[*SwitchB-Eth-Trunk1] trunkport 10ge 1/0/1  
[*SwitchB-Eth-Trunk1] mode lacp-static 
[*SwitchB-Eth-Trunk1] dfs-group 1 m-lag 1 
[*SwitchB-Eth-Trunk1] stp edged-port enable    //If the switch is connected to a server with an SFU, disable STP on the server to prevent the server from preempting the role of the root bridge.
[*SwitchB-Eth-Trunk1] commit

Related Information

For more information about the interoperation between switches servers and configuration methods, see the following document:

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches Interoperation Configuration Guide

Translation
Download
Updated: 2019-07-01

Document ID: EDOC1100086951

Views: 341

Downloads: 19

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