HOW TO MODIFICATE AN ETH-TRUNK INTERFACE WEIGHT [6720-EI AND 5720-EI]

Created: Jul 5, 2019 05:40:02Latest reply: Jul 5, 2019 21:10:00 53 4 0 1
  Rewarded Hi-coins: 1 (problem resolved)

Hi, guys!


Does anyone know how to change an Eth-Trunk interface weight? I have an 2GE Eth-Trunk and the "display eth-trunk 2" command output is below


Eth-Trunk2's state information is:

WorkingMode: NORMAL         Hash arithmetic: According to ENHANCED

Least Active-linknumber: 1  Max Bandwidth-affected-linknumber: 8

Operate status: up          Number Of Up Port In Trunk: 2

--------------------------------------------------------------------------------

PortName                      Status      Weight

GigabitEthernet0/0/25         Up          1

GigabitEthernet0/0/27         Up          1


I appreciate any help!

  • x
  • convention:

Featured Answers
Admin Created Jul 5, 2019 08:52:34 Helpful(1) Helpful(1)

@l2vc Hi,
if you want to load balance the traffic based on the interface bandwidth, it's a pitty that the S series switch doesn't support that.
if you want to load balance the traffic more equally on the eth-trunk links, you can add more parameters in the load-balance-profile, in which way the traffic could be hashed on the links more equally.
  • x
  • convention:

All Answers
wissal MVE Created Jul 5, 2019 06:35:39 Helpful(1) Helpful(1)

Hi,

As shown in Figure 4-15, Switches A to C set up a stack in a ring topology and connect to SwitchD through an inter-chassis Eth-Trunk. To reduce the configuration, Switches A to C set up a stack using dedicated stack cables. In the stack, SwitchA needs to function as the master switch, Switch B as the standby switch, and SwitchC as the slave switch.

This example describes how to use S5720-28P-PWR-LI-AC switches to set up a stack.

Figure 4-15  Stack topology 
imgDownload?uuid=22523ac40f8040cfaaceae9

Configuration Roadmap

  1. Power off SwitchA, SwitchB, and SwitchC to ensure security.

  2. Connect the switches using dedicated stack cables based on dedicated stack cable connection rules.

  3. Power on these switches in the following sequence to ensure that SwitchA, SwitchB, and SwitchC become the master switch, standby switch, and slave switch respectively.

  4. Save the stack configuration automatically generated for dedicated cable stacking to the flash memory. This ensures that the stack configuration still takes effect when these cables are removed or other cables are connected.

  5. Configure an inter-chassis Eth-Trunk to increase reliability and uplink bandwidth.

  6. Configure multi-active detection in relay mode to ensure network availability when the stack splits.

Procedure

  1. Power off SwitchA, SwitchB, and SwitchC.
  2. Power off SwitchA, SwitchB, and SwitchC and then connect them using dedicated stack cables as shown in Figure 4-16.

    Figure 4-16  Dedicated stack cable connection 
    imgDownload?uuid=5aec3517476b43e181a37d2imgDownload?uuid=32b1b0203c904306bbf4824 NOTE:
    • Logical stack port 1 of the local switch must be connected to logical stack port 2 of the adjacent switch. Otherwise, these switches cannot set up a stack.
    • All logical stack ports of SwitchA must be connected to the master ends of dedicated stack cables, and all logical stack ports of SwitchC must be connected to the slave ends of these cables.

  3. Power on SwitchA, SwitchB, and SwitchC in sequence.

    # Power on these switches in the following sequence to ensure that SwitchA, SwitchB, and SwitchC become the master switch, standby switch, and slave switch respectively.

    1. Power on SwitchA first.
    2. Power on SwitchB after SwitchA starts.
    3. Power on SwitchC after SwitchB starts.

    The preceding power-on sequence can guarantee only roles of these switches but not their slot IDs. The following assumes that SwitchA, SwitchB, and SwitchC use automatically generated slot IDs 0, 1, and 2 respectively

  4. 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 gigabitethernet 0/0/5 [Stack-Eth-Trunk10] trunkport gigabitethernet 1/0/5 [Stack-Eth-Trunk10] trunkport gigabitethernet 2/0/5 [Stack-Eth-Trunk10] quit

    # 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 gigabitethernet 0/0/1 [SwitchD-Eth-Trunk10] trunkport gigabitethernet 0/0/2 [SwitchD-Eth-Trunk10] trunkport gigabitethernet 0/0/3 [SwitchD-Eth-Trunk10] quit

  5. 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 GigabitEthernet0/0/5, valid, operate up, weight=1 Interface GigabitEthernet1/0/5, valid, operate up, weight=1 Interface GigabitEthernet2/0/5, valid, operate up, weight=1

Thanks
  • x
  • convention:

chenhui Admin Created Jul 5, 2019 08:52:34 Helpful(1) Helpful(1)

@l2vc Hi,
if you want to load balance the traffic based on the interface bandwidth, it's a pitty that the S series switch doesn't support that.
if you want to load balance the traffic more equally on the eth-trunk links, you can add more parameters in the load-balance-profile, in which way the traffic could be hashed on the links more equally.
  • x
  • convention:

l2vc Created Jul 5, 2019 21:02:34 Helpful(0) Helpful(0)

Posted by wissal at 2019-07-05 06:35 Hi,As shown in Figure 4-15, Switches A to C set up a stack in a ring topology and connect to Switch ...
Really good, but i'm not using a stack :D
Thank you very much!
  • x
  • convention:

l2vc Created Jul 5, 2019 21:10:00 Helpful(0) Helpful(0)

Posted by chenhui at 2019-07-05 08:52 @l2vc Hi, if you want to load balance the traffic based on the interface bandwidth, it's a pitty tha ...
I suspected that!
Thank you again!
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top