30. 実際に経由するL3SWのQFXとadminGW(MX)を見てみます。(VDXはL2SW)
edge-sw0001>
set interfaces ae0 description edge-cp0001n_LAG
set interfaces ae0 native-vlan-id 205
set interfaces ae0 mtu 9216
set interfaces ae0 aggregated-ether-options minimum-links 1
set interfaces ae0 aggregated-ether-options local-bias
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae0 unit 0 family ethernet-switching vlan members VLAN201
Set interfaces ae0 unit 0 family ethernet-switching vlan members VLAN202
set interfaces ae0 unit 0 family ethernet-switching vlan members VLAN203
set interfaces ae0 unit 0 family ethernet-switching vlan members VLAN204
set interfaces irb unit 201 family inet address 10.0.11.1/26
set interfaces irb unit 202 family inet address 10.0.12.1/26
set interfaces irb unit 203 family inet address 10.0.13.1/26
set interfaces irb unit 204 family inet address 10.0.14.1/26
set vlans VLAN201 vlan-id 201
set vlans VLAN201 l3-interface irb.201
set vlans VLAN201 domain-type bridge
set vlans VLAN202 vlan-id 202
set vlans VLAN202 l3-interface irb.202
set vlans VLAN202 domain-type bridge
set vlans VLAN203 vlan-id 203
set vlans VLAN203 l3-interface irb.203
set vlans VLAN203 domain-type bridge
set vlans VLAN204 vlan-id 204
set vlans VLAN204 l3-interface irb.204
set vlans VLAN204 domain-type bridge
?次ページに続きます?
L2(ブリッジング)
ae0ポートに複数のVLANを割り当て
irbに各vlan毎のサブIFを設定しGWIPを設定する
各VLANにirbのサブIFを割り当て、
ブリッジ設定(L2)にする
ae0.201
ae0.202
ae0.203
ae0.204
irb.201 10.0.11.1/26
irb.202 10.0.12.1/26
irb203 10.0.13.1/26
irb.204 10.0.14.1/26
L3(BGP) L3(BGP)
irb.3001 10.1.0.1/28
31. admin-sw0001>
set interfaces ae0 description admin-sv0001_po1
set interfaces ae0 mtu 9216
set interfaces ae0 aggregated-ether-options minimum-links 1
set interfaces ae0 aggregated-ether-options local-bias
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 unit 0 family ethernet-switching interface-mode trunk
set interfaces ae0 unit 0 family ethernet-switching vlan members VLAN3001
set interfaces irb unit 3001 family inet filter output BUM-FILTER
set interfaces irb unit 3001 family inet address 10.1.0.1/28
set vlans VLAN3001 vlan-id 3001
set vlans VLAN3001 l3-interface irb.3001
set vlans VLAN3001 domain-type bridge
irbは図の通りL3上の通信をL2化(いわゆるブリッジ)したい場合に使います
L2(ブリッジング)
ae0.201
ae0.202
ae0.203
ae0.204
irb.201 10.0.11.1/26
irb.202 10.0.12.1/26
irb203 10.0.13.1/26
irb.204 10.0.14.1/26
L3(BGP) L3(BGP)
irb.3001 10.1.0.1/28 ae0.3001