Experiment 5: Configure Eth-Trunk Link Aggregation (manual load balancing mode)

1. Configuration FIG.

2. Configure command

LSW1 the eth trunk 1 is configured as follows:

Configuration commands are as follows:

[S1] Eth-Trunk1

Creating Eth-Trunk1 port

[S1-Eth-Trunk1]mode lacp-static

Work mode is set to static mode

[S1-Eth-Trunk1]interface g0/0/1

Into the configuration g0 / 0/1 port

[S1-GigabitEthernet0/0/1]eth-trunk 1

g0 / 0/1 was added eth trunk 1

[S1-GigabitEthernet0/0/1]interface g0/0/2

Into the configuration g0 / 0/2 port

[S1-GigabitEthernet0/0/2]eth-trunk 1

g0 / 0/2 added eth trunk 1

[S1- GigabitEthernet0/0/2]interface g0/0/3

Into the configuration g0 / 0/3 ports

[S1-GigabitEthernet0/0/3]eth-trunk 1

g0 / 0/3 was added eth trunk 1

[S1]interface Eth-Trunk1

Enter port configuration eth trunk1

[S1-Eth-Trunk1]max active-linknumber 2

Active interfaces on the line threshold 2

[S1-Eth-Trunk1]interface g0/0/1

Into the configuration g0 / 0/1 port

[S1-GigabitEthernet0/0/1]lacp priority 100

Configuring g0 / 0/1 priority of 100

[S1- GigabitEthernet0/0/1]interface g0/0/2

Into the configuration g0 / 0/2 port

[S1-GigabitEthernet0/0/2]lacp priority 100

Configuring g0 / 0/2 priority 100

View eth trunk configuration is as follows:

LSW2 eth trunk 1 is configured as follows:

Configuration commands are as follows:

[S1] Eth-Trunk1

Creating Eth-Trunk1 port

[S1-Eth-Trunk1]mode lacp-static

Work mode is set to static mode

[S1-Eth-Trunk1]interface g0/0/1

Into the configuration g0 / 0/1 port

[S1-GigabitEthernet0/0/1]eth-trunk 1

g0 / 0/1 was added eth trunk 1

[S1-GigabitEthernet0/0/1]interface g0/0/2

Into the configuration g0 / 0/2 port

[S1-GigabitEthernet0/0/2]eth-trunk 1

g0 / 0/2 added eth trunk 1

[S1- GigabitEthernet0/0/2]interface g0/0/3

Into the configuration g0 / 0/3 ports

[S1-GigabitEthernet0/0/3]eth-trunk 1

g0 / 0/3 was added eth trunk 1

View eth trunk configuration is as follows:

3. experimental results

When disconnecting g0 / 0/1 LSW1 port, in which case the backup port g0 / 0/3 will be enabled.

Guess you like

Origin www.cnblogs.com/mrlayfolk/p/11968401.html