Vous êtes sur la page 1sur 13

ODL010022 Ethernet Link

Aggregation Laboratory Exercise


Guide
ISSUE 1.0
ODL010022 Ethernet Link Aggregation Laboratory Exercise
Guide ISSUE1.0 Table of Contents

Table of Contents

Experiment Description.................................................................................................................. 1
Experiment Description.............................................................................................................. 1
Version Introduction................................................................................................................... 1
Experiment Objectives............................................................................................................... 1
Experiment Tasks....................................................................................................................... 1
Relevant Materials..................................................................................................................... 1
Chapter 1 Manual Aggregation Experiment Guide.......................................................................2
1.1 Networking and Service Description....................................................................................2
1.2 Command Line List.............................................................................................................. 2
1.3 Configuration flow................................................................................................................ 2
1.4 Configuration procedure....................................................................................................... 3
1.5 Result Verification................................................................................................................ 3
1.6 Configuration Reference...................................................................................................... 4
Chapter 2 Static LACP Aggregation Experiment Guide...............................................................6
2.1 Networking and Service Description....................................................................................6
2.2 Command Line List.............................................................................................................. 6
2.3 Configuration flow................................................................................................................ 7
2.4 Configuration procedure....................................................................................................... 7
2.5 Result Verification................................................................................................................ 7
2.6 Configuration Reference...................................................................................................... 9
Chapter 3 Dynamical LACP Aggregation Experiment Guide....................................................10
3.1 Networking and Service Introduction:.................................................................................10
3.2 Command Line List............................................................................................................ 10
3.3 Configuration flow.............................................................................................................. 10
3.4 Configuration procedure..................................................................................................... 10
3.5 Result Verification............................................................................................................... 11
3.6 Configuration Reference.................................................................................................... 12

Confidential Information of Huawei. No Spreading without Permission i


ODL010022 Ethernet Link Aggregation Laboratory Exercise
Guide ISSUE1.0 Experiment Description

Experiment Description

Experiment Description
This experiment guide introduces the configuration methods and configuration
procedure of the Ethernet link aggregation on S3900 serials LANswitches. It is
designed to help you understand the configuration methods and configuration
procedure of the Ethernet link aggregation.

Version Introduction
This guide is applicable to VRP versions 3.10

Experiment Objectives
 Understand configuration procedures of different mode of Ethernet link
aggregation
 Get familiar with the configuration commands of different mode of Ethernet link
aggregation

Experiment Tasks
 Configure Ethernet link aggregation manually
 Configure static LACP Ethernet link aggregation
 Configure dynamical LACP Ethernet link aggregation

Relevant Materials
 S3900 Operation Manual
 S3900 Command Manual

Confidential Information of Huawei. No Spreading without Permission 1


ODL010022 Ethernet Link Aggregation Laboratory Chapter 3 Dynamical LACP Aggregation
Exercise Guide ISSUE1.0 Experiment Guide

Chapter 1 Manual Aggregation Experiment Guide

1.1 Networking and Service Description

 2 LANswitches, join the aggregation group manually.

1.2 Command Line List

Table 1.1
Operation commands

Create an aggregation group


link-aggregation group agg-id mode manual
manually

Add an Ethernet port into the


port link-aggregation group agg-id
aggregation group

1.3 Configuration flow

Create an
aggregation group

Add an Ethernet
port into the
aggregation group

Figure 1.2

2 Confidential Information of Huawei. No Spreading without Permission


ODL010022 Ethernet Link Aggregation Laboratory
Exercise Guide ISSUE1.0 Chapter 2 Static LACP Aggregation Experiment Guide

1.4 Configuration procedure


(1) Create an aggregation group
Create an aggregation group manually on SWA and SWB
(2) Add an Ethernet port into the aggregation group
Add an Ethernet ports E1/0/1-E1/0/4 to the aggregation group

1.5 Result Verification


(1) Check the state of the aggregation group.
[SWA]dis link-aggregation summary

Aggregation Group Type:D -- Dynamic, S -- Static , M -- Manual

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Actor ID: 0x8000, 000f-e212-f890

AL AL Partner ID Select Unselect Share Master

ID Type Ports Ports Type Port

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

1 M none 4 0 Shar Ethernet1/0/1

The group ID is 1, type is M (manual),the number of Select ports is 4,and the


mode is share, the Master port is Ethernet1/0/1;
(2) Check the state of Master port.
[SWA]display link-aggregation interface Ethernet 1/0/1

Ethernet1/0/1:

Selected AggID: 1

Local:

Port-Priority: 32768, Oper key: 1, Flag: 0x00

Remote:

System ID: 0x0, 0000-0000-0000

Port Number: 0, Port-Priority: 0 , Oper-key: 0, Flag: 0x00

Notice: remote: System ID : 0x0, 0000-0000-0000,why?


(3) Check the verbose information of aggregation group.
[SWA]display link-aggregation verbose

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,

D -- Synchronization, E -- Collecting, F -- Distributing,

G -- Defaulted, H -- Expired

Aggregation ID: 1, AggregationType: Manual, Loadsharing Type: Shar

Aggregation Description:

Confidential Information of Huawei. No Spreading without Permission 3


ODL010022 Ethernet Link Aggregation Laboratory Chapter 3 Dynamical LACP Aggregation
Exercise Guide ISSUE1.0 Experiment Guide

System ID: 0x8000, 000f-e212-f890

Port Status: S -- Selected, U -- Unselected

Local:

Port Status Priority Key Flag

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

Ethernet1/0/1 S 32768 1 {}

Ethernet1/0/2 S 32768 1 {}

Ethernet1/0/3 S 32768 1 {}

Ethernet1/0/4 S 32768 1 {}

Remote:

Actor Partner Priority Key SystemID Flag

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

Ethernet1/0/1 0 0 0 0x0,0000-0000-0000 {}

Ethernet1/0/2 0 0 0 0x0,0000-0000-0000 {}

Ethernet1/0/3 0 0 0 0x0,0000-0000-0000 {}

Ethernet1/0/4 0 0 0 0x0,0000-0000-0000 {}

Notice : the parameters of remote are all 0,why ?

1.6 Configuration Reference

I. Configuration of SWA
[SWA]link-aggregation group 1 mode manual
[SWA]interface Ethernet 1/0/1
[SWA-Ethernet1/0/1]port link-aggregation group 1
[SWA-Ethernet1/0/1]quit
[SWA]interface Ethernet 1/0/2
[SWA-Ethernet1/0/2]port link-aggregation group 1
[SWA-Ethernet1/0/2]quit
[SWA]interface Ethernet 1/0/3
[SWA-Ethernet1/0/3]port link-aggregation group 1
[SWA-Ethernet1/0/3]quit
[SWA]interface Ethernet 1/0/4
[SWA-Ethernet1/0/4]port link-aggregation group 1
[SWA-Ethernet1/0/4]quit

II. Configuration of SWB


[SWB]link-aggregation group 1 mode manual
[SWB]interface Ethernet 1/0/1
[SWB-Ethernet1/0/1]port link-aggregation group 1
[SWB-Ethernet1/0/1]quit
[SWB]interface Ethernet 1/0/2
[SWB-Ethernet1/0/2]port link-aggregation group 1
[SWB-Ethernet1/0/2]quit
[SWB]interface Ethernet 1/0/3
[SWB-Ethernet1/0/3]port link-aggregation group 1
[SWB-Ethernet1/0/3]quit
[SWB]interface Ethernet 1/0/4
[SWB-Ethernet1/0/4]port link-aggregation group 1
[SWB-Ethernet1/0/4]quit

4 Confidential Information of Huawei. No Spreading without Permission


ODL010022 Ethernet Link Aggregation Laboratory
Exercise Guide ISSUE1.0 Chapter 2 Static LACP Aggregation Experiment Guide

Chapter 2 Static LACP Aggregation Experiment


Guide

2.1 Networking and Service Description

Figure 1.3

 2 LANswitches, join the static LACP aggregation group .


.

2.2 Command Line List

Operation Commands

Create a static aggregation


link-aggregation group agg-id mode static
group

Confidential Information of Huawei. No Spreading without Permission 5


ODL010022 Ethernet Link Aggregation Laboratory Chapter 3 Dynamical LACP Aggregation
Exercise Guide ISSUE1.0 Experiment Guide

Add an Ethernet port into the


port link-aggregation group agg-id
aggregation group

2.3 Configuration flow

Create an
aggregation group

Add an Ethernet
port into the
aggregation group

Figure 1.4

2.4 Configuration procedure


(1) Create an aggregation group
Create an static aggregation group on SWA and SWB
(2) Add an Ethernet port into the aggregation group
Add an Ethernet ports E1/0/1-E1/0/4 to the aggregation group.

2.5 Result Verification


(1) Check the port that joined the aggregation group:
[SWA-Ethernet1/0/1]display this
#
interface Ethernet1/0/1
lacp enable
port link-aggregation group 1
#
return
The ports joined the static aggregation group will start the LACP automatically.

(2) Check the state of aggregation group.


[SWA]display link-aggregation summary

Aggregation Group Type:D -- Dynamic, S -- Static , M -- Manual

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Actor ID: 0x8000, 000f-e212-f890

6 Confidential Information of Huawei. No Spreading without Permission


ODL010022 Ethernet Link Aggregation Laboratory
Exercise Guide ISSUE1.0 Chapter 2 Static LACP Aggregation Experiment Guide

AL AL Partner ID Select Unselect Share Master

ID Type Ports Ports Type Port

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

1 S 0x8000,000f-e212-f9e9 4 0 Shar Ethernet1/0/1


\

The group ID is 1, type is S (static),the number of Select ports is 4,and the


mode is share, the Master port is Ethernet1/0/1;
(3) Check the state of the Master port.
[SWA]display link-aggregation interface Ethernet 1/0/1

Ethernet1/0/1:

Selected AggID: 1

Local:

Port-Priority: 32768, Oper key: 1, Flag: 0x3d

Remote:

System ID: 0x8000, 000f-e212-f9e9

Port Number: 1, Port-Priority: 32768 , Oper-key: 1, Flag: 0x3d

Received LACP Packets: 7 packet(s), Illegal: 0 packet(s)

Sent LACP Packets: 20 packet(s)


(4) Check the verbose information of aggregation group.
[SWA]display link-aggregation verbose

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,

D -- Synchronization, E -- Collecting, F -- Distributing,

G -- Defaulted, H -- Expired

Aggregation ID: 1, AggregationType: Static, Loadsharing Type: Shar

Aggregation Description:

System ID: 0x8000, 000f-e212-f890

Port Status: S -- Selected, U -- Unselected

Local:

Port Status Priority Key Flag

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

Ethernet1/0/1 S 32768 1 {ACDEF}

Ethernet1/0/2 S 32768 1 {ACDEF}

Ethernet1/0/3 S 32768 1 {ACDEF}

Ethernet1/0/4 S 32768 1 {ACDEF}

Remote:

Confidential Information of Huawei. No Spreading without Permission 7


ODL010022 Ethernet Link Aggregation Laboratory Chapter 3 Dynamical LACP Aggregation
Exercise Guide ISSUE1.0 Experiment Guide

Actor Partner Priority Key SystemID Flag

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

Ethernet1/0/1 1 32768 1 0x8000,000f-e212-f9e9 {ACDEF}

Ethernet1/0/2 2 32768 1 0x8000,000f-e212-f9e9 {ACDEF}

Ethernet1/0/3 3 32768 1 0x8000,000f-e212-f9e9 {ACDEF}

Ethernet1/0/4 4 32768 1 0x8000,000f-e212-f9e9 {ACDEF}

The aggregation type is :AggregationType: Static,

2.6 Configuration Reference

I. Configuration of SWA
[SWA]link-aggregation group 1 mode static
[SWA]interface Ethernet 1/0/1
[SWA-Ethernet1/0/1]port link-aggregation group 1
[SWA-Ethernet1/0/1]quit
[SWA]interface Ethernet 1/0/2
[SWA-Ethernet1/0/2]port link-aggregation group 1
[SWA-Ethernet1/0/2]quit
[SWA]interface Ethernet 1/0/3
[SWA-Ethernet1/0/3]port link-aggregation group 1
[SWA-Ethernet1/0/3]quit
[SWA]interface Ethernet 1/0/4
[SWA-Ethernet1/0/4]port link-aggregation group 1
[SWA-Ethernet1/0/4]quit

II. Configuration of SWB


[SWB]link-aggregation group 1 mode static
[SWB]interface Ethernet 1/0/1
[SWB-Ethernet1/0/1]port link-aggregation group 1
[SWB-Ethernet1/0/1]quit
[SWB]interface Ethernet 1/0/2
[SWB-Ethernet1/0/2]port link-aggregation group 1
[SWB-Ethernet1/0/2]quit
[SWB]interface Ethernet 1/0/3
[SWB-Ethernet1/0/3]port link-aggregation group 1
[SWB-Ethernet1/0/3]quit
[SWB]interface Ethernet 1/0/4
[SWB-Ethernet1/0/4]port link-aggregation group 1
[SWB-Ethernet1/0/4]quit

8 Confidential Information of Huawei. No Spreading without Permission


ODL010009 OSPF Protocol Laboratory Exercise Guide Chapter 3 Dynamical LACP Aggregation
ISSUE1.0 Experiment Guide

Chapter 3 Dynamical LACP Aggregation


Experiment Guide

3.1 Networking and Service Introduction:

Figure 1.5

2 LANswitches, join the static LACP aggregation group.

3.2 Command Line List

Table 5.1
Operation Commands
Enable LACP on the pert
lacp enable

3.3 Configuration flow

Enter port view

Enable LACP

Figure 1.6

3.4 Configuration procedure


(1) Enter ethernet port view

Confidential Information of Huawei. No Spreading without Permission 9


ODL010022 Ethernet Link Aggregation Laboratory Chapter 3 Dynamical LACP Aggregation
Exercise Guide ISSUE1.0 Experiment Guide

(2) Enable LACP

3.5 Result Verification


(1) Check the state of the aggregation group.
[SWA]display link-aggregation summary

Aggregation Group Type:D -- Dynamic, S -- Static , M -- Manual

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Actor ID: 0x8000, 000f-e212-f890

AL AL Partner ID Select Unselect Share Master

ID Type Ports Ports Type Port

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

1 D 0x8000,000f-e212-f9e9 4 0 Shar Ethernet1/0/1

The group ID is 1, type is D (dynamic) ,the number of Select ports is 4,and


the mode is share, the Master port is Ethernet1/0/1;
(2) Check the state of Master port.
[SWA]display link-aggregation interface Ethernet 1/0/1

Ethernet1/0/1:

Selected AggID: 1

Local:

Port-Priority: 32768, Oper key: 1, Flag: 0x3d

Remote:

System ID: 0x8000, 000f-e212-f9e9

Port Number: 1, Port-Priority: 32768 , Oper-key: 1, Flag: 0x3d

Received LACP Packets: 6 packet(s), Illegal: 0 packet(s)

Sent LACP Packets: 15 packet(s)


(3) Check the verbose information of aggregation group.
[SWA]display link-aggregation verbose

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,

D -- Synchronization, E -- Collecting, F -- Distributing,

G -- Defaulted, H -- Expired

Aggregation ID: 1, AggregationType: Dynamic, Loadsharing Type: Shar

Aggregation Description:

System ID: 0x8000, 000f-e212-f890

Port Status: S -- Selected, U -- Unselected

Local:

10 Confidential Information of Huawei. No Spreading without Permission


ODL010009 OSPF Protocol Laboratory Exercise Guide Chapter 3 Dynamical LACP Aggregation
ISSUE1.0 Experiment Guide

Port Status Priority Key Flag

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

Ethernet1/0/1 S 32768 1 {ACDEF}

Ethernet1/0/2 S 32768 1 {ACDEF}

Ethernet1/0/3 S 32768 1 {ACDEF}

Ethernet1/0/4 S 32768 1 {ACDEF}

Remote:

Actor Partner Priority Key SystemID Flag

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

Ethernet1/0/1 1 32768 1 0x8000,000f-e212-f9e9 {ACDEF}

Ethernet1/0/2 2 32768 1 0x8000,000f-e212-f9e9 {ACDEF}

Ethernet1/0/3 3 32768 1 0x8000,000f-e212-f9e9 {ACDEF}

Ethernet1/0/4 4 32768 1 0x8000,000f-e212-f9e9 {ACDEF}

3.6 Configuration Reference

I. Configuration of SWA 的配置


[SWA]interface Ethernet 1/0/1
[SWA-Ethernet1/0/1]lacp enable
[SWA-Ethernet1/0/1]quit
[SWA]interface Ethernet 1/0/2
[SWA-Ethernet1/0/2]lacp enable
[SWA-Ethernet1/0/2]quit
[SWA]interface Ethernet 1/0/3
[SWA-Ethernet1/0/3]lacp enable
[SWA-Ethernet1/0/3]quit
[SWA]interface Ethernet 1/0/4
[SWA-Ethernet1/0/4]lacp enable
[SWA-Ethernet1/0/4]quit

II. Configuration of SWB 的配置


[SWB]interface Ethernet 1/0/1
[SWB-Ethernet1/0/1]lacp enable
[SWB-Ethernet1/0/1]quit
[SWB]interface Ethernet 1/0/2
[SWB-Ethernet1/0/2]lacp enable
[SWB-Ethernet1/0/2]quit
[SWB]interface Ethernet 1/0/3
[SWB-Ethernet1/0/3]lacp enable
[SWB-Ethernet1/0/3]quit
[SWB]interface Ethernet 1/0/4
[SWB-Ethernet1/0/4]lacp enable
[SWB-Ethernet1/0/4]quit

Confidential Information of Huawei. No Spreading without Permission 11

Vous aimerez peut-être aussi