For When You Can't Have The Real Thing
[ start | index | login ]
start > Juniper > EX2200 > LAG and LACP

LAG and LACP

Created by dave. Last edited by dave, 9 years and 224 days ago. Viewed 11,798 times. #5
[diff] [history] [edit] [rdf]
labels
attachments
(27 June 2012)
on JunOS 10.4r5.5

Simple LAG Creation

Tell the switch how many aggregated ethernet (ae) devices we are going to define on the switch:

set chassis aggregated-devices ethernet device-count 2

This example permits you to define two ae devices, ae0 and ae1.

Create a LAG with two ports. Note you must first remove the unit section from the physical ports before adding them to the ae. Then you must create the appropriate fields on the ae so that you can add it to VLANs:

set interfaces ae1 aggregated-ether-options minimum-links 2
delete interfaces ge-0/0/23 unit 0
delete interfaces ge-0/0/24 unit 0
set interfaces ge-0/0/23 ether-options 802.3ad ae1
set interfaces ge-0/0/24 ether-options 802.3ad ae1
set interfaces ae1 unit 0 family ethernet-switching port-mode access 
set interfaces ae1 unit 0 family ethernet-switching vlan members i4c158

Same thing, only with LACP Passive set on the LAG:

You must do the set chassis aggregated-devices command above if you have not already done so.

set interfaces ae0 aggregated-ether-options minimum-links 2
delete interfaces ge-0/0/21 unit 0
delete interfaces ge-0/0/22 unit 0
set interfaces ge-0/0/21 ether-options 802.3ad ae0
set interfaces ge-0/0/22 ether-options 802.3ad ae0
set interfaces ae0 aggregated-ether-options lacp periodic fast
set interfaces ae0 unit 0 family ethernet-switching port-mode access 
set interfaces ae0 unit 0 family ethernet-switching vlan members i4c158

Checking ae device status

(Note: sample output is not from the sample config, above -- I put this in later.)

root@elpexvc> show interfaces ae11 extensive
Physical interface: ae11, Enabled, Physical link is Down
  Interface index: 228, SNMP ifIndex: 662, Generation: 235
  Description: Uplink to elpdpc2 Edge Switch
  Link-level type: Ethernet, MTU: 1514, Speed: Unspecified, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled,
  Source filtering: Disabled, Flow control: Disabled, Minimum links needed: 1, Minimum bandwidth needed: 0
  Device flags   : Present Running
  Interface flags: Hardware-Down SNMP-Traps Internal: 0x4000
  Current address: 84:b5:9c:86:47:ce, Hardware address: 84:b5:9c:86:47:ce
  Last flapped   : 2013-06-14 06:01:18 UTC (23:07:28 ago)
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :                    0                    0 bps
   Output bytes  :                    0                    0 bps
   Input  packets:                    0                    0 pps
   Output packets:                    0                    0 pps
   IPv6 transit statistics:
    Input  bytes  :                   0
    Output bytes  :                   0
    Input  packets:                   0
    Output packets:                   0
  Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0

Logical interface ae11.0 (Index 102) (SNMP ifIndex 705) (Generation 215) Flags: Hardware-Down Device-Down SNMP-Traps 0x4000 Encapsulation: ENET2 Statistics Packets pps Bytes bps Bundle: Input : 0 0 0 0 Output: 0 0 0 0 Link: ge-0/0/41.0 <-- down ge-1/0/41.0 <-- down Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx ge-0/0/41.0 0 0 0 0 ge-1/0/41.0 0 0 0 0 Protocol eth-switch, Generation: 237, Route table: 0 Flags: None

Reference

I have the document software-ex-series-104-all.pdf; this stuff is discussed starting page 1330. It is kinda thin.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt