4 port-based mode trunk configuration – ZyXEL Communications PES-1014 User Manual

Page 44

Advertising
background image

PES-1014 User’s Guide

6-4

Trunk

The designated two bits of the SA and DA are Exclusive Or’d (XOR).

Table 6-1 Exclusive Or

BINARY BIT PAIR

XOR RESULT

[0, 0]

0

[0, 1]

1

[1, 0]

1

[1, 1]

0

These combinations map to trunk ports as shown next. The left value represents SA and the right represents DA.

Table 6-2 Bit Selection Port Assignment

XOR RESULT

PAIR

PORT FORWARDED TO

[1, 1]

trunk port 1

[1, 0]

trunk port 2

[0, 1]

trunk port 3

[0, 0]

trunk port 4

MAC Address Based Mode Bit Selection Example

Select Trunk 2 from Trunk Assignment and [0,1] MAC Address Based Mode Bit Selection in the MAC-based
Mode Trunk Configuration
screen.

The following two packets are forwarded as follows:

Table 6-3 MAC Address Based Mode Bit Selection Example

PACKET

SA

DA

PORT FORWARDED TO

Packet 1

00:C0:A7:98:FE:81

1

00:C0:A7:98:FE:9B

2

Port 4 (trunk port 2).

Packet 2

00:C0:A7:98:FE:80

3

00:C0:A7:98:FE:9A

4

Port 5 (trunk port 3).

6.3.4 Port-based Mode

Trunk Configuration

Assign ports that map to a trunk in this screen when you choose Port Based Method in the Load Balancing Mode
Selection
screen shown previously. Aggregate between two and four ports to each trunk.

1

The last two bits are “81” which is “10000001” binary. Exclusive Or these last two (least significant) bits (01) to give “1”.

2

The last two bits are “9B” which is “10011011” binary. Exclusive Or these last two bits (11) to give “0”. [1,0] maps to trunk

port 2 according to the table above. As Trunk 2 is selected, trunk port 2 is Port 4.

3

The last two bits are “80” which is “10000000” binary. Exclusive Or these last two bits (00) to give “0”.

4

The last two bits are “9A” which is “10011010” binary. Exclusive Or these last two bits (10) to give “1”. [0,1] maps to trunk

port 3 according to the table above. As Trunk 2 is selected, trunk port 3 is Port 5.

Advertising