JUNOS_MCLAG_1
JUNOSのMC-LAG
Ciscoで言うところのvPC
JUNOSでは経験無かったのでメモ
L2でのMC-LAGを適当に構成
vQFX01
set chassis aggregated-devices ethernet device-count 10
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members 100
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members vlan200
set interfaces xe-0/0/1 ether-options 802.3ad ae1set interfaces ae1 aggregated-ether-options lacp active
set interfaces ae1 aggregated-ether-options lacp system-id 00:00:00:00:ae:01
set interfaces ae1 aggregated-ether-options lacp admin-key 1
set interfaces ae1 aggregated-ether-options mc-ae mc-ae-id 1
set interfaces ae1 aggregated-ether-options mc-ae chassis-id 0
set interfaces ae1 aggregated-ether-options mc-ae mode active-active
set interfaces ae1 aggregated-ether-options mc-ae status-control active
set interfaces ae1 unit 0 family ethernet-switching interface-mode access
set interfaces ae1 unit 0 family ethernet-switching vlan members vlan200set interfaces irb unit 100 family inet address 10.1.1.1/24
set multi-chassis multi-chassis-protection 10.1.1.3 interface xe-0/0/1set protocols iccp local-ip-addr 10.1.1.1
set protocols iccp peer 10.1.1.3 redundancy-group-id-list 1
set protocols iccp peer 10.1.1.3 liveness-detection minimum-interval 500
set protocols iccp peer 10.1.1.3 liveness-detection multiplier 3set switch-options service-id 1
set vlans vlan100 vlan-id 100
set vlans vlan100 l3-interface irb.100
set vlans vlan200 vlan-id 200
set vlans vlan200 l3-interface irb.200
vQFX03
set chassis aggregated-devices ethernet device-count 10
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members 100
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members vlan200set interfaces xe-0/0/1 ether-options 802.3ad ae1
set interfaces ae1 aggregated-ether-options lacp active
set interfaces ae1 aggregated-ether-options lacp system-id 00:00:00:00:ae:01
set interfaces ae1 aggregated-ether-options lacp admin-key 1
set interfaces ae1 aggregated-ether-options mc-ae mc-ae-id 1
set interfaces ae1 aggregated-ether-options mc-ae chassis-id 1
set interfaces ae1 aggregated-ether-options mc-ae mode active-active
set interfaces ae1 aggregated-ether-options mc-ae status-control standby
set interfaces ae1 unit 0 family ethernet-switching interface-mode access
set interfaces ae1 unit 0 family ethernet-switching vlan members vlan200set interfaces irb unit 100 family inet address 10.1.1.3/24
set multi-chassis multi-chassis-protection 10.1.1.1 interface xe-0/0/1set protocols iccp local-ip-addr 10.1.1.3
set protocols iccp peer 10.1.1.1 redundancy-group-id-list 1
set protocols iccp peer 10.1.1.1 liveness-detection minimum-interval 500
set protocols iccp peer 10.1.1.1 liveness-detection multiplier 3set switch-options service-id 1
set vlans default vlan-id 1
set vlans vlan100 vlan-id 100
set vlans vlan100 l3-interface irb.100
set vlans vlan200 vlan-id 200
set vlans vlan200 l3-interface irb.200
vQFX02
set chassis aggregated-devices ethernet device-count 10
set interfaces xe-0/0/1 ether-options 802.3ad ae1
set interfaces xe-0/0/2 ether-options 802.3ad ae1set interfaces ae1 aggregated-ether-options lacp active
set interfaces ae1 unit 0 family ethernet-switching interface-mode access
set interfaces ae1 unit 0 family ethernet-switching vlan members vlan200set vlans vlan200 vlan-id 200
状態確認
vQFX01
admin@vQFX01-RE# run show iccp brief
Redundancy Group Information for peer 10.1.1.3
TCP Connection : Established
Liveliness Detection : Up
Redundancy Group ID Status
1 UpClient Application: MCSNOOPD
Redundancy Group IDs Joined: NoneClient Application: l2ald_iccpd_client
Redundancy Group IDs Joined: 1Client Application: lacpd
Redundancy Group IDs Joined: 1
admin@vQFX01-RE# run show interfaces mc-ae id 1
Member Link : ae1
Current State Machine's State: mcae active state
Local Status : active
Local State : up
Peer Status : active
Peer State : up
Logical Interface : ae1.0
Topology Type : bridge
Local State : up
Peer State : up
Peer Ip/MCP/State : 10.1.1.3 xe-0/0/1.0 up
admin@vQFX01-RE# run show lacp interfaces
Aggregated interface: ae1
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
xe-0/0/1 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/1 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
xe-0/0/1 Current Fast periodic Collecting distributing
一旦ここまで
最近、忙しすぎて検証に時間が取れないからまずい。