ETHERNET PRINCIPLE

23
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved www.huawei.com Internal ODP200005 Ethernet Port Mirroring and Link Aggregation Principle ISSUE 1.0

description

ETHERNET TRANSMISSION

Transcript of ETHERNET PRINCIPLE

Page 1: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

www.huawei.com

Internal

ODP200005 Ethernet Port Mirroring and Link

Aggregation Principle

ISSUE 1.0

Page 2: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 2All rights reserved

This PowerPoint presentation describes

the usage and classification of Ethernet

port mirroring, and the principles and

modes of Ethernet link aggregation

Page 3: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 3All rights reserved

Upon completion of this course, you will be able

to:

Understand the function and classification

of mirroring

Understand the basic principles of LACP

Understand the functions and modes of

port aggregation

Page 4: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 4All rights reserved

Chapter 1 Chapter 1 Ethernet Port MirroringEthernet Port Mirroring

Chapter 2 Chapter 2 Ethernet Link AggregationEthernet Link Aggregation

Page 5: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 5All rights reserved

Ethernet Port Mirroring

Functions of mirroring

Traffic observation

Fault location

Classification of mirroring

Port-based mirroring

− Port mirroring is the process to copy the data on a port monitored to the specified monitoring port for analysis and monitoring of the data

Traffic-based mirroring

− Traffic mirroring is the process to copy the traffic matching the ACL to the specified monitoring port for analysis and monitoring of the packets

OverviewOverview

Page 6: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 6All rights reserved

Ethernet Port Mirroring

Application Application

Monitor

Internet

SWA

SWC SWBPC1 PC2

E0/3E0/2

E0/1Data Traffic

Mirroring Traffic

Page 7: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 7All rights reserved

Ethernet Port Mirroring

Port-based mirroring is the process to copy all the incoming/outgoing packets of

the mirrored port to the mirroring port, for traffic observation or fault location.

Ethernet switches support multiple-to-one mirroring, where the packets of

multiple ports are copied to one monitoring port.

Port-based mirroringPort-based mirroring

E0/1 E0/2

Mirroring Traffic

Data Traffic

Page 8: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 8All rights reserved

Ethernet Port Mirroring

Switches based on traffic mirroring mirror some traffics. Each

connection has data traffics in two directions, and these two

data traffics can be mirrored separately for the switches

One switch supports only one monitoring port

Traffic-based mirroringTraffic-based mirroring

E0/1E0/2

Mirroring Data of Traffic 1

Server Data of Traffic 1

Server Data of Traffic 2

Page 9: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 9All rights reserved

Chapter 1 Chapter 1 Ethernet Port MirroringEthernet Port Mirroring

Chapter 2 Chapter 2 Ethernet Link Aggregation Ethernet Link Aggregation

Page 10: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 10All rights reserved

Chapter 2 Chapter 2 Ethernet Link Aggregation Ethernet Link Aggregation

2.1 Basic concepts of link aggregation

2.2 LACP2.2 LACP

2.3 Mode of link aggregation2.3 Mode of link aggregation

Page 11: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 11All rights reserved

Basic concepts of link aggregation

Link aggregation, also known as port binding, port convergence, or

link convergence, is the process to aggregate multiple ports into

one aggregate group for sharing of the outgoing/incoming load

among various members. Seen from outside, one aggregate group

is like one port.

The upper-layer entities using link aggregation service treat the

multiple physical links in an aggregate group as a single logical link

Link aggregation is implemented on the data link layer

ConceptsConcepts

Page 12: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 12All rights reserved

Basic concepts of link aggregation

Higher link bandwidth

Traffic load sharing

Higher reliability: mutual dynamic backup between the

members in the same group

Advantages of link aggregationAdvantages of link aggregation

traffic

Page 13: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 13All rights reserved

Basic concepts of link aggregation

Physical parameters on both ends of the aggregated links must be the

same.

Number of links aggregated

Rate of links aggregated

Duplex mode of links aggregated

Logical parameters on both ends of the aggregated links must be the same.

The ports in the same aggregate group must have the same basic

configuration, which includes STP, QoS, VLAN, and port.

Restriction for link aggregationRestriction for link aggregation

Page 14: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 14All rights reserved

Chapter 2 Chapter 2 Ethernet Link Aggregation Ethernet Link Aggregation

2.1 Basic concepts of link aggregation2.1 Basic concepts of link aggregation

2.2 LACP

2.3 Mode of link aggregation2.3 Mode of link aggregation

Page 15: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 15All rights reserved

LACP

LACP: Link Aggregation Control Protocol (IEEE802.3ad).

It provides a standard negotiation method for the equipment

that exchanges data, for use by the system to automatically

form an aggregate link and start this link for receiving and

sending data according to its own configuration. After the

aggregated link is formed, it maintains the status of the link,

and automatically adjusts or dissolves the link aggregation

when the aggregation status changes.

LACPLACP

Page 16: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 16All rights reserved

LACP

LACP packet formatLACP packet format

ActorActorDestination

AddressDestination

AddressSource

AddressSource

AddressType ofProtocolType ofProtocol

SubTypeSub

Type VersionVersion PartnerPartner ReserveReserve

128 Bytes

Page 17: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 17All rights reserved

LACP

The system implements negotiation by exchanging protocol

packets, which include the configuration and current status of

the system.

Protocol packets may be triggered by event or periodically.

The protocol packets do not carry sequence numbers.

Low-speed protocol.

Protocol characteristicsProtocol characteristics

Page 18: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 18All rights reserved

LACP

Operation key is a configuration combination generated by LACP in port aggregation according to port configurations (such as rate, duplex, basic configurations, management key).

Aggregation is concerned with the following port configurations:

Port rate

Port duplex feature

Port hardware restriction

Basic port configuration, including VLAN, ACL, QOS, RSTP, MSTP, and GVRP

The KEY value of a key is included in the LACP packets, and participates in the selection of the aggregation group.

Calculation of the KEY valueCalculation of the KEY value

Page 19: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 19All rights reserved

Chapter 2 Chapter 2 Ethernet Link Aggregation Ethernet Link Aggregation

2.1 Basic concepts of link aggregation2.1 Basic concepts of link aggregation

2.2 LACP2.2 LACP

2.3 Mode of link aggregation

Page 20: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 20All rights reserved

Aggregation mode

Manual aggregation

The user configures aggregation group number and port members, and the port runs the LACP

Static aggregation

The user configures aggregation group number and port members, and the port runs the LACP

Dynamic aggregation

IEEE802.3ad-based LACP

The aggregation group number is automatically created by the protocol

The aggregation port is automatically matched and added according to the key value

Aggregation modeAggregation mode

Page 21: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 21All rights reserved

Aggregation mode

The following ports cannot be added to an aggregate group:

Mirrored monitoring port

Mirrored destination port

Port configured with static MAC address

Port configured with static ARP

Port enabled with 802.1x

POS port

VPN port

Ports cannot be added to an aggregate groupPorts cannot be added to an aggregate group

Page 22: ETHERNET PRINCIPLE

HUAWEI TECHNOLOGIES CO., LTD. Page 22All rights reserved

Function and classification of port mirroring

Principles of link aggregation and types of

aggregation

Summary

Page 23: ETHERNET PRINCIPLE

www.huawei.com

Thank You