2020-10-19 04:27 PM 2020-10-19 04:45 PM 更新
このドキュメントではCisco Nexus VXLAN EVPN での vPC を用いた Multi-homing の簡単な解説や基本的な設定方法、注意点を紹介します。
また、ここで使用するスイッチは特別断りが無い限りLeafのスイッチは Cisco Nexus 93180YC-FX スイッチを、Spine のスイッチには Cisco Nexus 93240YC-FX2 スイッチを用いています。
各スイッチのバージョンは NX-OS 9.3(5) です。
本稿で用いる VXLAN については「Cisco Nexus シリーズ : VXLAN EVPN 基本設定」「Cisco Nexus シリーズ : VXLAN EVPN L3VNI 基本設定」をご覧ください。
vPCについては「Cisco Nexus vPCとは」をご覧ください。
本稿は Part.1 と Part.2 に別れています。
VXLAN Multi-homingとは2台の VTEP (ここでは Leaf01 と Leaf02) に1台のホストやスイッチ (ここでは L3SW01) が接続されているような構成のことを呼びます。
この構成はVTEPのホスト・スイッチ側にvPCを用いたものとPort Channelを用いたものの2種類で構成可能です。
本稿ではvPCを用いた場合について解説します。
この場合では、Port Channel を用いた場合と比較して特別な設定は不要です。
これは2台のVTEPを論理的に1台の VTEP とみなすためです。
このトポロジーでは L3SW01 と L3SW02 は VXLAN を介して VLAN 100 のセグメント上にいます。
また、Leaf01~03 はそれぞれが同一の IP アドレス (192.168.100.254) をもつ Interface VLAN 100 もち、VLAN 100 のデフォルトゲートウェイとして機能させることもできますが、本稿では別のネットワークへの通信は行いません。
Leaf01 と Leaf02 は vPC を用いて配下の L3SW01 とのリンクを冗長化しています。
VTEP 間に疎通性を持たせるための Underlay Network の構築を行います。
ルーティングプロトコルとして OSPF を使用し、MP-BGP の Source Interface として使用するために Loopback 0 を設定しておきます。
このため、下記の Config を各スイッチに投入しました。
Spine: feature ospf interface Ethernet1/49 mtu 9216 ip address 192.168.10.1/24 ip ospf network point-to-point ip router ospf 100 area 0.0.0.0 no shutdown interface Ethernet1/51 mtu 9216 ip address 192.168.20.1/24 ip ospf network point-to-point ip router ospf 100 area 0.0.0.0 no shutdown interface Ethernet1/53 mtu 9216 ip address 192.168.30.1/24 ip ospf network point-to-point ip router ospf 100 area 0.0.0.0 no shutdown interface loopback0 ip address 10.10.10.10/32 ip router ospf 100 area 0.0.0.0 router ospf 100 router-id 10.10.10.10
Leaf01: feature ospf interface Ethernet1/49 mtu 9216 ip address 192.168.10.2/24 ip ospf network point-to-point ip router ospf 100 area 0.0.0.0 no shutdown interface loopback0 ip address 1.1.1.1/32 ip router ospf 100 area 0.0.0.0 router ospf 100 router-id 1.1.1.1
Leaf02: feature ospf interface Ethernet1/51 mtu 9216 ip address 192.168.20.2/24 ip ospf network point-to-point ip router ospf 100 area 0.0.0.0 no shutdown interface loopback0 ip address 2.2.2.2/32 ip router ospf 100 area 0.0.0.0 router ospf 100 router-id 2.2.2.2
Leaf03: feature ospf interface Ethernet1/49 mtu 9216 ip address 192.168.30.2/24 ip ospf network point-to-point ip router ospf 100 area 0.0.0.0 no shutdown interface loopback0 ip address 3.3.3.3/32 ip router ospf 100 area 0.0.0.0 router ospf 100 router-id 3.3.3.3
VXLAN のホスト情報の交換と VTEP 同士の検出のために EVPN MP-BGP を設定し、Spine を Route Refrector として運用します。
このために下記 Config を投入しました。
Spine: nv overlay evpn feature bgp router bgp 65001 neighbor 1.1.1.1 remote-as 65001 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client neighbor 2.2.2.2 remote-as 65001 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client neighbor 3.3.3.3 remote-as 65001 update-source loopback0 address-family l2vpn evpn send-community send-community extended route-reflector-client
Leaf01, Leaf02, Leaf03: nv overlay evpn feature bgp router bgp 65001 neighbor 10.10.10.10 remote-as 65001 update-source loopback0 address-family l2vpn evpn send-community send-community extended
OSPF及びMP-BGP EVPNのネイバーを確立出来ているか調べるために "show ip ospf neighbor" 及び "show bgp l2vpn evpn summary" を実行しました。
以下がその結果となります。
Leaf01# show bgp l2vpn evpn summary BGP summary information for VRF default, address family L2VPN EVPN BGP router identifier 1.1.1.1, local AS number 65001 BGP table version is 3, L2VPN EVPN config peers 1, capable peers 1 0 network entries and 0 paths using 0 bytes of memory BGP attribute entries [0/0], BGP AS path entries [0/0] BGP community entries [0/0], BGP clusterlist entries [0/0] Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.10.10.10 4 65001 12 12 3 0 0 00:06:37 0 Leaf01# show ip ospf neighbors OSPF Process ID 100 VRF default Total number of neighbors: 1 Neighbor ID Pri State Up Time Address Interface 10.10.10.10 1 FULL/ - 00:06:58 192.168.10.1 Eth1/49 Leaf02# show bgp l2vpn evpn summary BGP summary information for VRF default, address family L2VPN EVPN BGP router identifier 2.2.2.2, local AS number 65001 BGP table version is 3, L2VPN EVPN config peers 1, capable peers 1 0 network entries and 0 paths using 0 bytes of memory BGP attribute entries [0/0], BGP AS path entries [0/0] BGP community entries [0/0], BGP clusterlist entries [0/0] Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.10.10.10 4 65001 12 12 3 0 0 00:06:07 0 Leaf02# show ip ospf neighbors OSPF Process ID 100 VRF default Total number of neighbors: 1 Neighbor ID Pri State Up Time Address Interface 10.10.10.10 1 FULL/ - 00:06:31 192.168.20.1 Eth1/51 Leaf03# show bgp l2vpn evpn summary BGP summary information for VRF default, address family L2VPN EVPN BGP router identifier 3.3.3.3, local AS number 65001 BGP table version is 3, L2VPN EVPN config peers 1, capable peers 1 0 network entries and 0 paths using 0 bytes of memory BGP attribute entries [0/0], BGP AS path entries [0/0] BGP community entries [0/0], BGP clusterlist entries [0/0] Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.10.10.10 4 65001 9 9 3 0 0 00:03:50 0 Leaf03# show ip ospf neighbors OSPF Process ID 100 VRF default Total number of neighbors: 1 Neighbor ID Pri State Up Time Address Interface 10.10.10.10 1 FULL/ - 00:04:11 192.168.30.1 Eth1/49
以上までが Part.1 になります。
「Cisco Nexus シリーズ : VXLAN EVPN Multi-homing (vPC) Part.2/2」に続きます。
Nexus スイッチ (NX-OS) : 設定例
Cisco Nexus シリーズ : VXLAN EVPN 基本設定
Cisco Nexus シリーズ : VXLAN EVPN L3VNI 基本設定
Cisco Nexus vPCとは
Cisco Nexus シリーズ : VXLAN EVPN Multi-homing (vPC) Part.2/2
検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう
シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします
下記より関連するコンテンツにアクセスできます