On EX:
https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/link-aggregation-cli.html
Link Aggregation Control Protocol (LACP) and Link Aggregation Group ( LAG )
https://www.juniper.net/documentation/en_US/junos/topics/concept/lag-qfx-series-overview.html
...
QFX
Junos OS Evolved
https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/link-aggregation-cli.html
...
title | AE/LAG interface and LACP |
---|
...
| AE configuration |
---|
SRX | AE configuration Code Block |
---|
| set interfaces ae1 aggregated-ether-options link-speed 1g
set interfaces ae1 aggregated-ether-options minimum-links 1
set interfaces ae1 aggregated-ether-options lacp active
set interfaces ae1.0 family inet address 192.168.210.1/24
set interfaces xe-0/0/2 ether-options 802.3ad ae1
set interfaces xe-1/0/2 ether-options 802.3ad ae1
|
Security Zone Configuration Code Block |
---|
| BMS1 Zone:
set security zones security-zone BMS1Zone host-inbound-traffic system-services all
set security zones security-zone BMS1Zone host-inbound-traffic protocols all
set security zones security-zone BMS1Zone interfaces ae0
DC-GW Zone:
set security zones security-zone DC-GW1 host-inbound-traffic system-services all
set security zones security-zone DC-GW1 host-inbound-traffic protocols all
set security zones security-zone BMS1Zone interfaces ae1
|
Code Block |
---|
title | show interface and security zone |
---|
collapse | true |
---|
| root@SRX300-1-RL102> show interfaces ae0 detail | find "Security: Zone:"
Security: Zone: BMS1Zone
Allowed host-inbound traffic : bootp bfd bgp dns dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp dhcp finger ftp tftp ident-reset http https ike netconf ping
reverse-telnet reverse-ssh rlogin rpm rsh snmp snmp-trap ssh telnet traceroute xnm-clear-text xnm-ssl lsping ntp sip r2cp webapi-clear-text webapi-ssl tcp-encap sdwan-appqoe
Flow Statistics :
Flow Input statistics :
Self packets : |
|
39000Output:3507483AdaptiveStatistics:AdaptiveAdjusts: AdaptiveScans 0 Connections established : |
|
AdaptiveUpdates:0 Linkxe-0/0/4.0
Input:0 Bytes permitted by policy : |
|
0 602868
Flow error statistics (Packets |
|
0dropped due to):
Address spoofing: |
|
0Output:6018780xe-1//4.0Input0Multiple user authentications: 0
|
|
000Output:51 No one interested in self packets: 0
No minor session: |
|
13524Aggregatememberlinks2MarkerStatistics:MarkerRxRespTxUnknownRxIllegalRxxe-0/0/4.000 0
No SA for incoming SPI: |
|
0xe-1/0/4.00Protocolinet,MTU:1500zone or NULL zone binding |
|
Maxnhcache:75000,Newholdnhlimit:75000,Currnhcnt:0,Curr new hold cnt0,NHdropcnt:0Generation:224,Routetable:8Flags: Sendbcast-pkt-to-re, Is-PrimaryAddresses,FlagsIs-Default Is-Preferred Is-PrimaryDestination: 192.168.200/24, Local: 192.168.200.1, Broadcast: 192.168.200.255, Generation: 140
https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/lacp-cli.html
Code Block |
---|
title | LACP config and show commands |
---|
collapse | true |
---|
|
set interfaces ae0 aggregated-ether-options lacp active
{master:0}
root@QFX5100-1-RL102> show lacp interfaces
Aggregated interface: ae0
LACP stateout of window: 0
Syn-attack protection: 0
User authentication errors: |
|
RoleExpDefDistColSynAggrTimeoutActivityNew hold nh limit: 100000, Curr nh |
|
xe-1/0/4 Actorcnt: 1, Curr new hold cnt: 0, NH drop cnt: 0
|
|
NoGeneration: 167, Route table: |
|
NoYesYesYes Flags: Sendbcast-pkt-to-re
|
|
YesFastAddresses, Flags: Is-Preferred Is-Primary
|
|
Activexe-1/0/4 Partner No No Yes Yes Yes Yes Fast Passive
xe-0/0/4 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/4 Partner No No Yes Yes Yes Yes Fast Passive
LACP protocol: Receive State Transmit State Mux State
xe-1/0/4 Current Fast periodic Collecting distributing
xe-0/0/4 Current Fast periodic Collecting distributing
{master:0}
root@QFX5100-1-RL102> show lacp statistics interfaces ae0
Aggregated interface: ae0
LACP Statistics: LACP Rx LACP Tx Unknown Rx Illegal Rx
xe-0/0/4 37 179 0 0
xe-1/0/4 35 180 0 0
{master:0}
root@QFX5100-1-RL102> ping routing-instance vr1 192.168.200.2
PING 192.168.200.2 (192.168.200.2): 56 data bytes
64 bytes from 192.168.200.2: icmp_seq=0 ttl=64 time=18.152 ms
64 bytes from 192.168.200.2: icmp_seq=1 ttl=64 time=13.183 ms
Virtual Router
Code Block |
---|
title | config VR |
---|
collapse | true |
---|
|
set routing-instances vr1 instance-type virtual-router
set routing-instances vr1 interface ae0.0
set routing-instances vr1 interface ae1.0
|
SRX | AE configuration
Code Block |
---|
|
set interfaces ae1 aggregated-ether-options link-speed 1g
set interfaces ae1 aggregated-ether-options minimum-links 1
set interfaces ae1 aggregated-ether-options lacp active
set interfaces ae1.0 family inet address 192.168.210.1/24
set interfaces xe-0/0/2 ether-options 802.3ad ae1
set interfaces xe-1/0/2 ether-options 802.3ad ae1
|
Virtual Router
Code Block |
---|
title | Virtual router |
---|
collapse | true |
---|
|
coming soon |
Security Zone Configuration
Code Block |
---|
|
BMS1 Zone:
set security zones security-zone BMS1Zone host-inbound-traffic system-services all
set security zones security-zone BMS1Zone host-inbound-traffic protocols all
set security zones security-zone BMS1Zone interfaces ae0
DC-GW Zone:
set security zones security-zone DC-GW1 host-inbound-traffic system-services all
set security zones security-zone DC-GW1 host-inbound-traffic protocols all
set security zones security-zone BMS1Zone interfaces ae1
|
Code Block |
---|
title | show interface and security zone |
---|
collapse | true |
---|
|
root@SRX300-1-RL102> show interfaces ae0 detail | find "Security: Zone:"
Security: Zone: BMS1Zone
Allowed host-inbound traffic : bootp bfd bgp dns dvmrp igmp ldp msdp nhrp ospf pgm pim rip router-discovery rsvp sap vrrp dhcp finger ftp tftp ident-reset http https ike netconf ping
reverse-telnet reverse-ssh rlogin rpm rsh snmp snmp-trap ssh telnet traceroute xnm-clear-text xnm-ssl lsping ntp sip r2cp webapi-clear-text webapi-ssl tcp-encap sdwan-appqoe
Flow Statistics :
Flow Input statistics :
Self packets : 7177
ICMP packets : 7967
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 602868
Connections established : 7174
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 602868
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 1
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
Protocol inet, MTU: 1500
Max nh cache: 100000, New hold nh limit: 100000, Curr nh cnt: 1, Curr new hold cnt: 0, NH drop cnt: 0
Generation: 167, Route table: 0
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Is-Preferred Is-Primary Destination: 192.168.200/24, Local: 192.168.200.2, Broadcast: 192.168.200.255, Generation: 154
root@SRX300-1-RL102>
|
|
Virtual Router |
|
|
Code Block |
---|
title | Virtual router |
---|
collapse | true |
---|
| coming soon |
|
LACP | Configuration |
| set interfaces ae0 aggregated-ether-options lacp active ( at least on side) set interfaces ae0 aggregated-ether-options lacp passive
|
|
|
show commands | LACP |
|
show lacp timeouts ae0 ( state of the interfaces ) show lacp interfaces Role Exp Def Dist Col Syn Aggr Timeout Activity show lacp statistics interfaces ae0
Code Block |
---|
title | LACP config and show commands |
---|
collapse | true |
---|
| {master:0}
jkriker@ex4300-13> show lacp timeouts ae0
Aggregated interface: ae0
LACP Interfaces Current state |
|
Destination: 192.168.200/24, Local: 192.168.200.2, Broadcast: 192.168.200.255, Generation: 154
root@SRX300-1-RL102>
LACP configuration
Code Block |
---|
title | LACP config and show commands |
---|
collapse | true |
---|
|
set interfaces ae0 aggregated-ether-options lacp passive Last timeout
ge-0/0/11 Collecting distributing Never
root@SRX300-1-RL102> show lacp interfaces
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
ge-0/0/4 Actor No No Yes Yes Yes Yes Fast Passive
ge-0/0/4 Partner No No Yes Yes Yes Yes Fast Active
ge-0/0/5 Actor No No Yes Yes Yes Yes Fast Passive
ge-0/0/5 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
ge-0/0/4 Current Fast periodic Collecting distributing
ge-0/0/5 Current Fast periodic Collecting distributing
root@SRX300-1-RL102> show lacp statistics interfaces ae0
Aggregated interface: ae0
LACP Statistics: LACP Rx LACP Tx Unknown Rx Illegal Rx
ge-0/0/4 392 392 0 0
ge-0/0/5 392 390 0 0
root@SRX300-1-RL102> |
|
MX