注: シングル ラック導入で、スパインを使用しない場合、これらの手順は必要ありません。
VXLANを構成するには、次の手順を実行します。 - VXLANインターフェイスを作成します。
- 同じVTEPソースIPアドレスを各ピアに割り当てます。 このIPアドレスは、インターフェイス ループバック1で以前に構成された VTEP IPアドレスです。
- 孤立ポートとアクティブスタンバイ ホストのルーティングを最適化するために、固有のプライマリーIPアドレスを割り当てます。 このIPアドレスは、ルーターIDと同じIPアドレスにすることができます。
- ファブリック全体に拡張された各VLANにVNIをマッピングします。 有効なVNI番号は1~16777215です。
- テナントVNIをテナントVRF VLAN(この例では2001)にマッピングして、レイヤー3 VNIを作成します。
- 「end」コマンドおよび「write memory」コマンドを使用して、設定モードを保存し終了します。
リーフ1A リーフ1B interface vxlan vtep1
source-ip 10.0.0.1
primary-ip 10.1.1.1
map vni 10103 vlan 103
map vni 10105 vlan 105
map vni 10106 vlan 106
map vni 10150 vlan 150
map vni 10151 vlan 151
map vni 10152 vlan 152
map vni 10161 vlan 161
map vni 10162 vlan 162
map vni 102001 vlan 2001
map vni 102001 vrf VrfTenant1
!
end
write memoryinterface vxlan vtep1
source-ip 10.0.0.1
primary-ip 10.1.1.2
map vni 10103 vlan 103
map vni 10105 vlan 105
map vni 10106 vlan 106
map vni 10150 vlan 150
map vni 10151 vlan 151
map vni 10152 vlan 152
map vni 10161 vlan 161
map vni 10162 vlan 162
map vni 102001 vlan 2001
map vni 102001 vrf VrfTenant1
!
end
write memory