Sei sulla pagina 1di 11

JUNIPER CHASSIS CLUSTERS

Link Aggregation

Link Aggregation

Why would we want to have link aggregation in our network?

Adds redundancy to physical connections that make up a Reth interface.

Provides higher bandwidth throughput.

Link Aggregation Group (LAG)

When devices are part of a cluster we can’t do “traditional” link aggregation from both nodes. We must use LAG.

RG 1 Node0 - Primary Node1 - Secondary AE0 AE0
RG 1
Node0 - Primary
Node1 - Secondary
AE0
AE0

This configuration is wrong and will not work.

Link Aggregation Group (LAG)

Configuring link aggregation in the cluster the correct way:

1. Add more physical interfaces to our Reth from both nodes in the cluster. This forms our LAG.

2. Configure LACP to manage our LAG.

3. Create 2 AE bundles on the switch. One for each physical node in the cluster. Enable LACP.

Possible Configuration #1

RG 1 Node0 - Primary Node1 - Secondary Reth0.0 LAG/LACP AE1/LACP AE0/LACP
RG 1
Node0 - Primary
Node1 - Secondary
Reth0.0
LAG/LACP
AE1/LACP
AE0/LACP

Possible Configuration #2

RG 1

RG 1
RG 1
Node0 - Primary Node1 - Secondary Reth0.0 LAG/LACP AE0/LACP AE1/LACP
Node0 - Primary
Node1 - Secondary
Reth0.0
LAG/LACP
AE0/LACP
AE1/LACP

Possible Configuration #3

RG 1

RG 1 Node0 - Primary Node1 - Secondary Reth0.0

Node0 - Primary

Node1 - Secondary

Reth0.0

AE1/LACP LAG/LACP AE1/LACP
AE1/LACP
LAG/LACP
AE1/LACP

EX Virtual

Chassis

EX Virtual Chassis
EX Virtual Chassis

LAG Configuration

Add physical interfaces to our Reth to create a LAG and enable LACP.

# set interfaces ge-0/0/9 gigether-options redundant-parent reth0

# set interfaces ge-5/0/9 gigether-options redundant-parent reth0

# set interfaces reth0 redundant-ether-options lacp active

# set interfaces reth0 redundant-ether-options lacp periodic fast

Our Lab Diagram

RG 1 Node0 - Secondary Node1 - Primary 0/0/9 5/0/9 0/0/10 5/0/10 AE1/LACP AE0/LACP 0/0/4
RG 1
Node0 - Secondary
Node1 - Primary
0/0/9
5/0/9
0/0/10
5/0/10
AE1/LACP
AE0/LACP
0/0/4
0/0/2
0/0/5
0/0/3

Switch Configuration

# set chassis aggregated-devices ethernet device-count 2

# set interfaces fe-0/0/2 fastether-options 802.3ad ae0

# set interfaces fe-0/0/3 fastether-options 802.3ad ae0

#set interfaces fe-0/0/4 fastether-options 802.3ad ae1 #set interfaces fe-0/0/5 fastether-options 802.3ad ae1 #set interfaces ae0 aggregated-ether-options lacp active #set interfaces ae1 aggregated-ether-options lacp active #set interfaces ae0 aggregate-ether-options lacp periodic fast #set interfaces ae1 aggregate-ether-options lacp periodic fast #set interfaces ae0 unit 0 family ether-switching vlan members vlan vlan-trust #set interfaces ae1 unit 0 family ether-switching vlan members vlan vlan-trust

Verify LAG/LACP

We can verify our LAG is working by using the commands below.

> show interfaces reth0 detail

> show interfaces ae0 detail

> show interfaces terse

> show lacp statistics interfaces ae0

> show lacp interfaces