25. • 次にTORスイッチを収容す
るLAGを設定します。
MC-Linksの設定
et-0/0/0 et-0/0/0
et-0/0/22
et-0/0/23
Node1 Node2
ae1
設定項目 Node1 Node2 備考
LAG I/F名 ae1 ae1
LACP system-id 00:00:ae:00:00:01 00:00:ae:00:00:01 同じ値を設定します。LAG毎に変更し
ます。
LACP admin-key 1001 1001 同じ値を設定します。
LAG毎に変更します。
mc-ae mc-ae-id 1001 1001 同じ値を設定します。
LAG毎に変更します。
mc-ae chassis-id 0 1 Node毎に変えます。
mc-ae status-control Active standby
mc-ae init-delay-time 60 60 I/FがUpとなってからLACPが
distributingになるまでの時間です。
電源投入時など、ProtocolがUpする
までの時間待たせることができます。
set interfaces et-0/0/0 ether-options 802.3ad ae1
set interfaces ae1 aggregated-ether-options lacp active periodic fast
set interfaces ae1 aggregated-ether-options lacp system-id 00:00:ae:00:00:01
set interfaces ae1 aggregated-ether-options lacp admin-key 1001
set interfaces ae1 aggregated-ether-options mc-ae mc-ae-id 1001
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 aggregated-ether-options mc-ae init-delay-time 60
Node1設定コマンド
26. MC-Linksの確認
lab@node1# run show interfaces mc-ae id 1001
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 : 192.168.254.27 ae0.0 up
et-0/0/0 et-0/0/0
et-0/0/22
et-0/0/23
Node1 Node2
ae1
対向との設定が合っていて、正しく接続されていれば、次の様に表示されます。
27. MC-Linksの確認(つづき)
{master:0}[edit]
lab@node1# run show lacp interfaces ae1
Aggregated interface: ae1
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
et-0/0/0 Actor No No Yes Yes Yes Yes Fast Active
et-0/0/0 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
et-0/0/0 Current Fast periodic Collecting distributing
{master:0}[edit]
lab@node1# run show interfaces ae1 detail
Physical interface: ae1 (MC-AE-1001, active), Enabled, Physical link is Up
Interface index: 651, SNMP ifIndex: 537, Generation: 202
Link-level type: Ethernet, MTU: 1514, Speed: 40Gbps, BPDU Error: None,
:
: (中略)
LACP info: Role System System Port Port Port
priority identifier priority number key
et-0/0/0.0 Actor 127 00:00:ae:00:00:01 127 1 1001
et-0/0/0.0 Partner 127 54:1e:56:65:a7:00 127 1 2
LACP Statistics: LACP Rx LACP Tx Unknown Rx Illegal Rx
et-0/0/0.0 1288831 1345056 0 0
Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx
et-0/0/0.0 0 0 0 0
Protocol eth-switch, MTU: 1514, Generation: 231, Route table: 4
Flags: Trunk-Mode
28. • VLAN1001をae1に追加します。ICL(ae0)にも追加するのを忘れないでくださ
い。
Mc-linksへのVlanの組み込み
et-0/0/0 et-0/0/0
et-0/0/22
et-0/0/23
Node1 Node2
ae1
set vlans v1001 vlan-id 1001
set interfaces ae1 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae1 unit 0 family ethernet-switching vlan members v1001
set interfaces ae1 unit 0 family ethernet-switching storm-control default
set interfaces ae0 unit 0 family ethernet-switching vlan members v1001
設定項目 Node1 Node2 備考
Vlan名 V1001 V1001
Vlan-id 1001 1001
ae0
Node1設定コマンド
29. • Vlan1001にサーバのデフォルトゲートウェイとなるアドレスを設定します。
[Option]L3 Routing(Default Gateway)の設定
et-0/0/0 et-0/0/0
et-0/0/22
et-0/0/23
Node1 Node2
ae1
実IP 192.168.1.253/24
仮想IP 192.168.1.254
実IP 192.168.1.252/24
設定項目 Node1 Node2 備考
I/F名 irb unit 1001 irb unit 1001
実IP 192.168.1.253/24 192.168.1.252/24
仮想IP 192.168.1.254 192.168.1.254
Priority 200 100
Accept-data 設定する 設定する
set vlans v1001 l3-interface irb.1001
set interfaces irb unit 1001 family inet address 192.168.1.253/24 vrrp-group 1 virtual-address 192.168.1.254
set interfaces irb unit 1001 family inet address 192.168.1.253/24 vrrp-group 1 priority 100
set interfaces irb unit 1001 family inet address 192.168.1.253/24 vrrp-group 1 accept-data
Node1設定コマンド
30. • Default Gatewayアドレスが冗長されているか確認します。
• 下記の様になっていない場合
• ICL(ae0)にVLAN1001が設定されているか確認して下さい。
L3 Routing(Default Gateway)の確認
{master:0}[edit]
lab@node1# run show vrrp
Interface State Group VR state VR Mode Timer Type Address
irb.1001 up 1 master Active A 0.359 lcl 192.168.1.253
vip 192.168.1.254
et-0/0/0 et-0/0/0
et-0/0/22
et-0/0/23
Node1 Node2
ae1
実IP 192.168.1.253/24
仮想IP 192.168.1.254
実IP 192.168.1.252/24
lab@node2# run show vrrp
Interface State Group VR state VR Mode Timer Type Address
irb.1001 up 1 backup Active D 2.718 lcl 192.168.1.252
vip 192.168.1.254
mas 192.168.1.253
Node1
Node2
ae0
32. 1. 物理Interfaceで流量を確認する
トラフィックの確認
east-qfx Seconds: 6 Time: 12:38:24
Interface Link Input packets (pps) Output packets (pps)
et-0/0/0 Up 13455148 (1312) 13117094 (1314)
gr-0/0/0 Up 0 (0) 0 (0)
pfh-0/0/0 Up 0 0
et-0/0/1 Up 80669711 (1000) 80687764 (1001)
et-0/0/22 Up 44992 (0) 0 (0)
et-0/0/23 Up 69248151 (3) 69488086 (3)
ae0 Up 69248151 (3) 69488086 (3)
ae1 Up 13455148 (1312) 13117094 (1314)
ae2 Up 80669711 (1000) 80687764 (1001)
west-qfx Seconds: 4 Time: 12:39:34
Interface Link Input packets (pps) Output packets (pps)
et-0/0/0 Up 68907326 (1) 132087817 (2)
gr-0/0/0 Up 0 (0) 0 (0)
pfh-0/0/0 Up 0 0
et-0/0/1 Up 65331861 (0) 2037920 (1)
et-0/0/22 Up 0 (0) 58487 (0)
et-0/0/23 Up 70013141 (3) 132811136 (2)
ae0 Up 70013141 (3) 132811136 (2)
ae1 Up 68907326 (1) 132087817 (2)
ae2 Up 65331861 (0) 2037920 (1)
Node1 Node2
コマンド
lab@east-qfx> monitor interface traffic
Node1側のet-0/0/0でトラフィックが送受信されていることがわかります。
33. 2. MACアドレスの学習を確認する
トラフィックの確認
Node1 Node2
コマンド
lab@east-qfx> show ethernet-switching table
DLが動的なMACで自身が学習したことを示しています。
lab@node2> show ethernet-switching table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
Ethernet switching table : 1 entries, 1 learned
Routing instance : default-switch
Vlan MAC MAC Age Logical
name address flags interface
v1001 00:00:1b:f9:b6:ae DR - ae1.0
lab@node1> show ethernet-switching table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
Ethernet switching table : 1 entries, 1 learned
Routing instance : default-switch
Vlan MAC MAC Age Logical
name address flags interface
v1001 00:00:1b:f9:b6:ae DL - ae1.0
DRが動的なMACでICCPでNode1から学習したことを示しています。