Got it

Example for Setting Up a Stack Using Service Ports

128 0 0 0

Hello, 

Stack is quite widely used to improve the node-level redundancy, in this post, we are going to introduce you how to set up a stack using service ports in V100R006C05.

Overview

When S2710SI, S2700EI, S3700SI, and S3700EI switches set up stacks using service ports, you do not need to manually configure stack ports. After the switches are correctly connected using stack cables, a stack can be set up automatically.

Networking Requirements

A new enterprise network needs to provide sufficient ports for access devices, and the network structure should be simple to facilitate configuration and management.

As shown in Figure 4-9 below, SwitchA, SwitchB, and SwitchC need to set up a stack in a ring topology and connect to SwitchD through an inter-device Eth-Trunk. SwitchA, SwitchB, and SwitchC are the master, standby, and slave switches respectively, with stack IDs of 0, 1, and 2 and stack priorities of 200, 100, and 100. As the three switches function as one logical device on the network, the number of ports is increased and network management and maintenance are simplified.

In this example, S3700EIs set up a stack.

Figure 4-9  Stack networking 
imgDownload?uuid=9934b8b9fee24c82884bdfc

Configuration Roadmap

1. The stacking function is enabled by default on the S3700EI. Therefore, these switches can set up a stack immediately after they are connected using stack cables, without additional configuration. To facilitate device management and identification, configure device names, stack IDs, and stack priorities for stack member switches.

2. Power off SwitchA, SwitchB, and SwitchC, connect physical member ports using SFP stack cables, and then power on the three switches.

3. Configure an inter-device Eth-Trunk to increase reliability and uplink bandwidth.

Procedure

1. Configure device names to differentiate devices.

# Configure a device name for SwitchA.

<HUAWEI> system-view 
[HUAWEI] sysname SwitchA

# Configure a device name for SwitchB.

<HUAWEI> system-view 
[HUAWEI] sysname SwitchB

# Configure a device name for SwitchC.

<HUAWEI> system-view 
[HUAWEI] sysname SwitchC

2. Configure stack IDs and stack priorities. The default stack ID is 0, and the default stack priority is 100.

[SwitchA] stack slot 0 priority 200     //Set the stack priority of the master switch to 200, which is larger than those of other member switches, and use the default stack ID 0.
[SwitchB] stack slot 0 renumber 1       //Use the default stack priority 100 and set the stack ID to 1.
[SwitchC] stack slot 0 renumber 2       //Use the default stack priority 100 and set the stack ID to 2.


3. Turn off power supplies of SwitchA, SwitchB, and SwitchC, connect physical member ports using SFP stack cables as shown in Figure 4-10 below, and then power on the three switches.


Figure 4-10  Stack connection 
imgDownload?uuid=0f43d6cf4df34aaaa83e478 

NOTE:

a. Run the save command to save the configurations before you power off the switches.

b. To ensure that a stack can be set up successfully, you are advised to perform operations in the following sequence. To specify a member switch as the master switch, power on that switch first. In this example, SwitchA becomes the master switch after you complete the following operations.

(1). Power off SwitchA, SwitchB, and SwitchC.

(2). Connect SwitchA and SwitchB with a stack cable.

(3). Power on and start SwitchA and then power on SwitchB.

(4). Check whether SwitchA and SwitchB set up a stack successfully. For details, see step 4.

(5). Connect SwitchC to SwitchB and SwitchA using stack cables and then power on SwitchC.

(6). Check whether SwitchA, SwitchB, and SwitchC set up a stack successfully. For details, see step 4.


4. Check whether a stack is set up successfully.


# Log in to the stack through the console port of the master switch to check whether the number of member switches in the stack is the same as the actual value and whether the stack topology is the same as the actual hardware connection.

<SwitchA> system-view
[SwitchA] sysname Stack
[Stack] display stack
Stack topology type: Ring
Stack system MAC: 0018-82b1-6eb8
MAC switch delay time: never
Stack reserved vlanid : 4093
Slot     Role        Mac address      Priority   Device type
-------------------------------------------------------------
0         Master      0018-82b1-6eb8   200       S3728TP-EI
1         Standby     0018-82c6-1f4c   100       S3728TP-EI
2         Slave       0018-82d2-2e85   100       S3728TP-EI


5. Configure an inter-device Eth-Trunk.

# Create an Eth-Trunk in the stack and configure uplink physical ports as Eth-Trunk member ports.

[Stack] interface eth-trunk 10 
[Stack-Eth-Trunk10] trunkport ethernet 0/0/5 
[Stack-Eth-Trunk10] trunkport ethernet 1/0/5 
[Stack-Eth-Trunk10] trunkport ethernet 2/0/5 
[Stack-Eth-Trunk10] return

# Create an Eth-Trunk on SwitchD and configure the ports connected to the stack as Eth-Trunk member ports.

<HUAWEI> system-view 
[HUAWEI] sysname SwitchD 
[SwitchD] interface eth-trunk 10 
[SwitchD-Eth-Trunk10] trunkport ethernet 0/0/1 
[SwitchD-Eth-Trunk10] trunkport ethernet 0/0/2 
[SwitchD-Eth-Trunk10] trunkport ethernet 0/0/3 
[SwitchD-Eth-Trunk10] return


6. Verify the Eth-Trunk configuration.

# Check Eth-Trunk member port information. The following displays information about Eth-Trunk member ports in the stack.

<Stack> display trunkmembership eth-trunk 10
Trunk ID: 10
used status: VALID
TYPE: ethernet
Working Mode : Normal
Number Of Ports in Trunk = 3
Number Of UP Ports in Trunk = 3
operate status: up

Interface Ethernet0/0/5, valid, operate up, weight=1
Interface Ethernet1/0/5, valid, operate up, weight=1
Interface Ethernet2/0/5, valid, operate up, weight=1

Configuration Files

Stack configuration file (the stack configuration is written to the flash memory instead of the configuration file)

#
 sysname Stack
#
interface Eth-Trunk10
#
interface Ethernet0/0/5
 eth-trunk 10
#
interface Ethernet1/0/5
 eth-trunk 10
#
interface Ethernet2/0/5
 eth-trunk 10
#
return

SwitchD configuration file

#
 sysname SwitchD
#
interface Eth-Trunk10
#
interface Ethernet0/0/1
 eth-trunk 10
#
interface Ethernet0/0/2
 eth-trunk 10
#
interface Ethernet0/0/3
 eth-trunk 10
#
return


That's all for this post, if you have any problems, please comment below. And you can find more configuring examples at Comprehensive Configuration Examples

Thanks.



  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

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

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.