Sie sind auf Seite 1von 23

Internal

ODP200005 Ethernet Port Mirroring and Link Aggregation Principle


ISSUE 1.0
www.huawei.com

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

This PowerPoint presentation describes the usage and classification of Ethernet port mirroring, and the principles and modes of Ethernet link aggregation

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 2

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 3

Chapter 1 Ethernet Port Mirroring Chapter 2 Ethernet Link Aggregation

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 4

Ethernet Port Mirroring


Overview
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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 5

Ethernet Port Mirroring


Application

Internet
Data Traffic SWA E0/1

E0/2

Mirroring E0/3 Traffic

Monitor

PC1

SWC

SWB

PC2
Page 6

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Ethernet Port Mirroring


Port-based 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.


Data Traffic

E0/1
Mirroring Traffic

E0/2

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 7

Ethernet Port Mirroring


Traffic-based 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

Server Data of Traffic 1 Server Data of Traffic 2

E0/1 E0/2
Mirroring Data of Traffic 1

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 8

Chapter 1 Ethernet Port Mirroring Chapter 2 Ethernet Link Aggregation

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 9

Chapter 2 Ethernet Link Aggregation


2.1 Basic concepts of link aggregation 2.2 LACP 2.3 Mode of link aggregation

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 10

Basic concepts of link aggregation


Concepts
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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 11

Basic concepts of link aggregation


Advantages of link aggregation
Higher link bandwidth
Traffic load sharing Higher reliability: mutual dynamic backup between the

members in the same group

traffic

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 12

Basic concepts of link aggregation


Restriction for 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.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 13

Chapter 2 Ethernet Link Aggregation


2.1 Basic concepts of link aggregation 2.2 LACP 2.3 Mode of link aggregation

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 14

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 15

LACP
LACP packet format

128 Bytes Destination Source Type of Sub Address Address Protocol Type

Version

Actor

Partner

Reserve

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 16

LACP
Protocol characteristics
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.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 17

LACP
Calculation of the KEY value
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.


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

Chapter 2 Ethernet Link Aggregation


2.1 Basic concepts of link aggregation 2.2 LACP 2.3 Mode of link aggregation

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 19

Aggregation mode
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
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 20

Aggregation mode
Ports cannot be added to an aggregate group
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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 21

Summary

Function and classification of port mirroring Principles of link aggregation and types of

aggregation

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 22

Thank You
www.huawei.com

Das könnte Ihnen auch gefallen