{"id":313065,"date":"2020-11-13T03:00:28","date_gmt":"2020-11-13T03:00:28","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=313065"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=313065","title":{"rendered":"\u0418\u0437 \u043d\u0438\u0447\u0435\u0433\u043e \u043a \u0426\u041e\u0414 \u0441 VXLAN\/EVPN \u0438\u043b\u0438 \u043a\u0430\u043a \u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c Cumulus Linux. \u0427\u0430\u0441\u0442\u044c 2"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442. \u0412\u043e\u0442 \u0438 \u043f\u043e\u0434\u043e\u0448\u043b\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438. \u041a\u0430\u043a \u0438 \u043e\u0431\u0435\u0449\u0430\u043b, \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u044f \u0445\u043e\u0447\u0443 \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0444\u0430\u0431\u0440\u0438\u043a\u0438 \u043d\u0430 VXLAN\/EVPN, \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0447\u0435\u043c\u0443 \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0442\u043e \u0438\u043b\u0438 \u0438\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u0426\u041e\u0414.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1ed\/e1b\/e67\/1ede1be67f6c397a1948affa08b9919e.jpg\" width=\"2000\" height=\"1120\"><figcaption><\/figcaption><\/figure>\n<h2>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u0438\u0437\u0430\u0439\u043d Underlay<\/h2>\n<h4>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435<\/h4>\n<p>\u041f\u0435\u0440\u0432\u043e\u0435, \u0441 \u0447\u0435\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0435 \u0444\u0430\u0431\u0440\u0438\u043a\u0438, \u044d\u0442\u043e \u043f\u0440\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0438\u0437\u0430\u0439\u043d\u0430 Underlay &#8212; \u043a\u0430\u043a \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430\u0448\u0438 VXLAN \u0442\u0443\u043d\u043d\u0435\u043b\u0438 (\u0442\u043e\u0447\u043d\u0435\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0438\u0441\u043a VTEP)? <\/p>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0443 \u043d\u0430\u0441 3:<\/p>\n<p>1.\u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0443\u043d\u043d\u0435\u043b\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0437\u0430\u0434\u0430\u0435\u043c \u043a\u0430\u0436\u0434\u044b\u0439 VTEP \u0440\u0443\u043a\u0430\u043c\u0438 &#8212; \u044d\u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u043d\u0435 \u043d\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043d\u043e, \u0441\u043a\u0430\u0436\u0443 \u043f\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u0443, \u0432\u0441\u0435 \u0435\u0449\u0435 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0443\u0447\u043a\u0430\u043c\u0438 \u0441\u0442\u0440\u043e\u044f\u0442 RSVP-TE \u0442\u0443\u043d\u043d\u0435\u043b\u0438 \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441. \u0422\u0430\u043a \u0447\u0442\u043e \u043d\u0435 \u0443\u0434\u0438\u0432\u043b\u044e\u0441\u044c, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u043c \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435. \u041d\u0443 \u0438 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u043b SDN.<\/p>\n<p>2.Multicast &#8212; \u0432 \u0446\u0435\u043b\u043e\u043c, \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0441 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043e\u0442\u043f\u0430\u043b \u0441\u0440\u0430\u0437\u0443, \u0442.\u043a. Cumulus \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u0432 \u043f\u043e\u0434\u043e\u0431\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u0434\u0430 \u0438 Juniper \u0432 \u0441\u0432\u043e\u0438\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430\u0445 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0435\u0433\u043e resourse-intensive \u0438 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438.<\/p>\n<p>3.BGP \u0438\u043b\u0438 BGP, \u0438\u043b\u0438 \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 BGP? \u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0448\u0438\u0440\u043e\u043a\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0431\u044b \u0433\u0438\u0431\u043a\u0438\u043c, \u043c\u044b \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043c \u043a BGP, \u0442\u043e\u0447\u043d\u0435\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043a EVPN \u0441 \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e BGP. \u041d\u0430 \u043d\u0435\u043c \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439. \u0422\u0430\u043a \u043a\u0430\u043a \u0431\u044b\u0432\u0430\u0435\u0442 iBGP \u0438 eBGP, \u0442\u043e \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 underlay \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0438\u0437 \u043d\u0438\u0445.<\/p>\n<h4>iBGP<\/h4>\n<p>\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 iBGP \u0443 \u043d\u0430\u0441 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u0432 IGP, \u0431\u0443\u0434\u044c \u0442\u043e OSPF \u0438\u043b\u0438 IS-IS (\u0445\u043e\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u043a\u0430), \u0442.\u043a. \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u043e Loopback, \u0430 \u0441\u043e\u043e\u0431\u0449\u0430\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0434\u043e\u0439\u0442\u0438 \u0434\u043e \u043d\u0438\u0445, \u043d\u0430\u043c \u043a\u0442\u043e-\u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d. \u0422\u0430\u043a \u0436\u0435 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a iBGP \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u0447\u0442\u043e \u0432\u044b\u043d\u0443\u0436\u0434\u0430\u0435\u0442 \u043d\u0430\u0441 \u0441\u0442\u0440\u043e\u0438\u0442\u044c full-mesh (\u0432 \u0442\u0430\u043a\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 Spine \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 \u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0438 BGP). <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/2cd\/acd\/3bb\/2cdacd3bb5e452af54cf98abfdf1c459.png\" width=\"2364\" height=\"1124\"><figcaption><\/figcaption><\/figure>\n<p>\u0418\u043b\u0438 \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c Spine \u0432 \u0440\u043e\u043b\u0438 Route-Reflector. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1dd\/d42\/39e\/1ddd4239e5797473fea61a143b41be4f.PNG\" width=\"2368\" height=\"1128\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e \u0438\u0442\u043e\u0433\u0443 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c 2 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043f\u043b\u044e\u0441\u043e\u043c \u043a \u044d\u0442\u043e\u043c\u0443 full-mesh \u0438\u043b\u0438 RR. \u042d\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u0441\u0430\u043c\u043e\u0435 \u0445\u0443\u0434\u0448\u0435\u0435 \u0447\u0442\u043e \u043c\u043e\u0433\u043b\u043e \u0431\u044b \u0431\u044b\u0442\u044c, \u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043c\u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435.<\/p>\n<h4>eBGP<\/h4>\n<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0441\u0430\u043c\u0430\u044f \u043f\u043e\u043d\u044f\u0442\u043d\u0430\u044f \u0438 \u043d\u0430\u0434\u0435\u0436\u043d\u0430\u044f, \u0438 \u0432 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u0430 \u043d\u0435\u0439. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u044b \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a eBGP, \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u0432 Route-Reflector \u043e\u0442\u043f\u0430\u0434\u0430\u0435\u0442 (\u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0432\u0441\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e\u0442 \u043f\u043e\u0447\u0435\u043c\u0443), \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c IGP \u0442\u043e\u0436\u0435 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430, \u0442.\u043a. \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0430 \u0441 p2p \u0430\u0434\u0440\u0435\u0441\u043e\u0432. \u0422\u0430\u043a \u0436\u0435 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435 MLAG \u0438\u043c\u0435\u044e\u0442 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e. \u041f\u0440\u043e \u043d\u0435\u0435 \u0431\u044b \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439. \u041e\u0431\u0430 MLAG \u0441\u0432\u0438\u0447\u0430 \u043f\u043e\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u0443 AS, \u0442.\u043a. \u043f\u0440\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e VXLAN\/EVPN \u0434\u043e\u043c\u0435\u043d\u0430 \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u0438\u0445 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0432 \u043e\u0434\u043d\u0443 AS. \u0421\u0430\u043c\u043e \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e \u043c\u044b \u0441\u0442\u0440\u043e\u0438\u043c \u043d\u0430 peerlink&#8217;e, \u0438 \u044d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0442.\u043a. \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0443 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 \u0443\u043f\u0430\u0434\u0443\u0442 \u043b\u0438\u043d\u043a\u0438 \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 Spine, \u0442\u043e \u043e\u043d \u043d\u0430\u0447\u043d\u0435\u0442 \u0434\u0440\u043e\u043f\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d52\/1ac\/c88\/d521acc88ab8253c8f55d433c4b777c7.PNG\" width=\"2364\" height=\"1124\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u0433\u043e-\u0442\u043e \u0441\u043f\u0443\u0433\u043d\u0443\u0442\u044c, \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u0435\u0441\u0442\u0438 \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0441 \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438 AS. \u041d\u043e \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b\u0435 \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0438 Cumulus \u0441 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 4.2(\u0442.\u043a. \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u043d\u0435\u0439 \u044d\u0442\u043e \u0432\u044b\u0448\u043b\u043e) \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0439\u0442\u0438 \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0443\u0442\u0435\u043c, \u0442.\u043a. \u043e\u043d \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u043c\u0435\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 AS, \u043e\u0441\u043d\u043e\u0432\u044b\u0432\u0430\u044f\u0441\u044c \u043d\u0430 MAC\u0435, \u0447\u0442\u043e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u0432\u0430\u043c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c (\u0431\u0435\u0440\u0435\u0442 \u043e\u043d \u0438\u0437 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u043b\u0430 32-bit AS).<br \/>\u0422\u0430\u043a \u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u0442\u044c \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u0431\u0430 Spine \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u0439 AS. \u0422.\u043a. \u043a\u0430\u0436\u0434\u044b\u0439 Spine \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u044f\u043c\u043e\u0439 \u043b\u0438\u043d\u043a \u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 Leaf, \u0442\u043e \u0442\u0440\u0430\u0444\u0438\u043a \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0439\u0442\u0438 \u0434\u0432\u0430\u0436\u0434\u044b. \u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 AS \u043d\u0430 \u0432\u0441\u0435\u0445 Spine, \u0447\u0442\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438 \u0441\u043e\u0432\u0435\u0442\u0443\u0435\u0442 Cumulus.<br \/>P.S. \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0445 AS \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0435 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 AS \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0433\u0434\u0435 \u0431\u044b\u043b \u0441\u043e\u0437\u0434\u0430\u043d \u043f\u0440\u0435\u0444\u0438\u043a\u0441. \u0422\u0430\u043a \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c 32-bit AS \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<h4>BGP Unnumbered<\/h4>\n<p>\u0414\u0443\u043c\u0430\u044e, \u043c\u043d\u043e\u0433\u0438\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043b\u044e\u0431\u044f\u0442 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u043c \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c p2p \u0441\u0435\u0442\u0435\u0439, \u0438 \u043a\u0430\u043a \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0438\u043c\u0435\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e loopback \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0438\u0447\u0435\u0433\u043e. \u0415\u0441\u043b\u0438 \u0442\u0430\u043a\u0438\u0435 \u043c\u044b\u0441\u043b\u0438 \u0432\u0430\u0441 \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u043f\u043e\u0441\u0435\u0449\u0430\u043b\u0438, \u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u043f\u0440\u0438\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u0441\u044f \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e Unnumbered. \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0432 Cumulus \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 Cisco, \u0433\u0434\u0435 \u0443 \u0432\u0430\u0441 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0437\u0430\u0438\u043c\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u0441 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0443 Cumulus \u0432\u044b\u0434\u0435\u043b\u0435\u043d \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u043b IPv6 \u0430\u0434\u0440\u0435\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u043f\u043e \u0444\u0430\u043a\u0442\u0443 \u043d\u0430 \u043d\u0438\u0445 \u0441\u0442\u0440\u043e\u0438\u0442\u0441\u044f eBGP \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e. \u0422\u0430\u043a \u0436\u0435 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d extended-nexthop (\u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u044b \u043c\u043e\u0433\u043b\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c IPv4 Family \u043f\u043e\u0432\u0435\u0440\u0445 IPv6 \u0441\u0435\u0441\u0441\u0438\u0438). <\/p>\n<p>P.S. \u0415\u0441\u043b\u0438 \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u0445 \u0443\u0436\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u043a\u0430\u043a\u043e\u0439-\u043b\u0438\u0431\u043e IPv4 \/30 \u0438\u043b\u0438 \/31 \u0430\u0434\u0440\u0435\u0441, \u0442\u043e BGP \u043f\u0438\u0440\u0438\u043d\u0433 \u0431\u0443\u0434\u0435\u0442 \u0441 \u043d\u0438\u0445. \u0422\u0430\u043a \u0436\u0435 \u043e\u043d \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 broadcast \u0441\u0435\u0442\u044f\u0445, \u0442\u043e\u043b\u044c\u043a\u043e p2p.<\/p>\n<h4>BGP+BFD<\/h4>\n<p>\u041a\u0430\u043a \u0431\u044b \u0432\u044b \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u0438, \u043d\u043e \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0442\u0430\u0439\u043c\u0435\u0440\u044b \u0441\u0430\u043c\u043e\u0433\u043e BGP \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u043c\u0438. \u0418 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f iSCSI, VSAN \u0438 \u0442.\u0434. \u0442\u0430\u043a\u0438\u0435 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u0435\u0431\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c. \u041a\u0430\u043a \u0438 \u0432\u043e \u0432\u0441\u0435\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430\u0445 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0441 \u0441\u043f\u0430\u0441\u0430\u0435\u0442 BFD. \u0423 Cumulus \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u044d\u0442\u043e 2&#215;50 \u043c\u0441, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u0437\u043d\u0430\u044e Cisco \u0443\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 2\u044533 \u043c\u0441, \u0442\u0430\u043a \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043d\u0430\u043c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u0435\u043d.<\/p>\n<p><strong>\u0427\u0442\u043e \u0438\u043c\u0435\u0435\u043c \u0432 \u0438\u0442\u043e\u0433\u0435?<\/strong><br \/>1.\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 eBGP \u0441 \u0430\u0432\u0442\u043e\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c AS + iBGP \u0434\u043b\u044f MLAG \u043f\u0430\u0440\u044b<br \/>2.\u0418\u0437 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u043d\u0443\u0436\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e loopback, \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u043c \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 Unnumbered<br \/>3.BFD<\/p>\n<h4>\u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/h4>\n<p>1.\u041a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0430\u0432\u0442\u043e\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 AS \u0443 Cumulus<\/p>\n<pre><code class=\"json\">#\u0412\u0430\u0440\u0438\u0430\u0446\u0438\u0438 \u0443 Cumulus \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 AS #P.S. \u0414\u043b\u044f \u0432\u0441\u0435\u0445 Spine \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u0443 AS, \u0442.\u043a. \u0442\u0443\u0442 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0442\u044c \u043f\u0435\u0442\u043b\u0438 \u043f\u043e AS-path cumulus@Switch1:mgmt:~$ net add bgp autonomous-system     &lt;1-4294967295&gt;  :  An integer from 1 to 4294967295     leaf            :  Auto configure a leaf ASN in the 4-byte private range 4200000000 - 4294967294 based on the switch                        MAC     spine           :  Auto configure a spine AS-number in the 4-byte private ASN range. The value 4200000000 is always                        used  #\u0427\u0442\u043e \u043f\u043e \u0444\u0430\u043a\u0442\u0443 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \"net add bgp autonomous-system leaf\" cumulus@Switch1:mgmt:~$ net add bgp autonomous-system leaf cumulus@Switch1:mgmt:~$ net pending +router bgp 4252968529 #\u041f\u0440\u043e\u0446\u0435\u0441\u0441 BGP \u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c AS +end<\/code><\/pre>\n<p>2.\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f BGP+Unnumbered<\/p>\n<pre><code class=\"json\">#loopback net add loopback lo clag vxlan-anycast-ip 10.223.250.30 #\u041f\u0440\u0438 MLAG \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u0449\u0438\u0439 \u0434\u043b\u044f \u043f\u0430\u0440\u044b IP (\u041e\u043d \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u0435\u0442\u0438\u0442\u0441\u044f \u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u0445 net add loopback lo ip address 10.223.250.1\/32  #AS+Router ID net add bgp autonomous-system leaf net add bgp router-id 10.223.250.1  #\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443 \u0434\u043b\u044f \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 peer-group net add bgp neighbor fabric peer-group #\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0430\u043c\u0443 peer \u0433\u0440\u0443\u043f\u043f\u0443 net add bgp neighbor fabric remote-as external #\u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u0447\u0442\u043e \u044d\u0442\u043e eBGP net add bgp neighbor fabric bfd 3 50 50 #\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 BFD net add bgp neighbor fabric capability extended-nexthop # IPv4 over IPv6  #\u0417\u0430\u0434\u0430\u0435\u043c \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b(Unnumbered) net add bgp neighbor swp2 interface peer-group fabric  net add bgp neighbor peerlink.4094 interface remote-as internal #iBGP \u0447\u0435\u0440\u0435\u0437 Peerlink net add bgp ipv4 unicast neighbor peerlink.4094 next-hop-self #\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e next-hop \u0434\u043b\u044f iBGP  net add bgp ipv4 unicast redistribute connected #\u041e\u0442\u0434\u0430\u0435\u043c \u0432 BGP \u0432\u0441\u0435 \u0441\u0432\u043e\u0438 \u0441\u0435\u0442\u043a\u0438  #EVPN net add bgp l2vpn evpn neighbor fabric activate #\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c family \u0434\u043b\u044f eBGP net add bgp l2vpn evpn neighbor peerlink.4094 activate #\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c family \u0434\u043b\u044f iBGP net add bgp l2vpn evpn advertise-all-vni #\u0421\u043e\u043e\u0431\u0449\u0430\u0435\u043c BGP \u0441\u043e\u0441\u0435\u0434\u044f\u043c \u043e \u0441\u0432\u043e\u0438\u0445 VNI <\/code><\/pre>\n<p>3.BGP Summary<\/p>\n<pre><code class=\"json\">cumulus@Switch1:mgmt:~$ net show bgp summary #IPv4 show bgp ipv4 unicast summary ============================= BGP router identifier 10.223.250.1, local AS number 4252968145 vrf-id 0 BGP table version 84 RIB entries 29, using 5568 bytes of memory Peers 3, using 64 KiB of memory Peer groups 1, using 64 bytes of memory  Neighbor                       V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up\/Down State\/PfxRcd Switch3(swp2)              4 4252424337    504396    484776        0    0    0 02w0d23h            3 Switch4(swp49)             4 4208128255    458840    485146        0    0    0 3d12h03m            9 Switch2(peerlink.4094) 4 4252968145    460895    456318        0    0    0 02w0d23h           14  Total number of neighbors 3  #EVPN show bgp l2vpn evpn summary =========================== BGP router identifier 10.223.250.1, local AS number 4252968145 vrf-id 0 BGP table version 0 RIB entries 243, using 46 KiB of memory Peers 3, using 64 KiB of memory Peer groups 1, using 64 bytes of memory  Neighbor                       V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up\/Down State\/PfxRcd Switch3(swp2)              4 4252424337    504396    484776        0    0    0 02w0d23h          237 Switch4(swp49)             4 4208128255    458840    485146        0    0    0 3d12h03m          563 Switch2(peerlink.4094) 4 4252968145    460895    456318        0    0    0 02w0d23h          807  Total number of neighbors 3 <\/code><\/pre>\n<p>4.net show route<\/p>\n<pre><code class=\"json\">cumulus@Switch1:mgmt:~$ net show route show ip route ============= Codes: K - kernel route, C - connected, S - static, R - RIP,        O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,        T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,        F - PBR, f - OpenFabric,        &gt; - selected route, * - FIB route, q - queued route, r - rejected route #\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c \u0432\u0441\u0435 IPv4 \u0430\u0434\u0440\u0435\u0441\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0447\u0435\u0440\u0435\u0437 IPv6 (\u0418 \u0434\u0430 \u0443 Cumulus \u0435\u0441\u0442\u044c weight, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 Cisco) C&gt;* 10.223.250.1\/32 is directly connected, lo, 02w0d23h #Loopback B&gt;* 10.223.250.2\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d23h B&gt;* 10.223.250.6\/32 [20\/0] via fe80::ba59:9fff:fe70:e5c, swp49, weight 1, 3d12h19m B&gt;* 10.223.250.7\/32 [20\/0] via fe80::ba59:9fff:fe70:e5c, swp49, weight 1, 3d12h19m B&gt;* 10.223.250.9\/32 [20\/0] via fe80::ba59:9fff:fe70:e5c, swp49, weight 1, 3d12h19m C&gt;* 10.223.250.30\/32 is directly connected, lo, 02w0d23h #MLAG Loopback B&gt;* 10.223.250.101\/32 [20\/0] via fe80::1e34:daff:fe9e:67ec, swp2, weight 1, 02w0d23h B&gt;* 10.223.250.102\/32 [20\/0] via fe80::1e34:daff:fe9e:67ec, swp2, weight 1, 02w0d23h B&gt;* 10.223.250.103\/32 [20\/0] via fe80::1e34:daff:fe9e:67ec, swp2, weight 1, 02w0d23h B&gt;* 10.223.252.11\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d06h B&gt;* 10.223.252.12\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d06h B&gt;* 10.223.252.20\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d06h B&gt;* 10.223.252.101\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d06h B&gt;* 10.223.252.102\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d06h B&gt;* 10.223.252.103\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d06h<\/code><\/pre>\n<p>5.traceroute + BFD<\/p>\n<pre><code class=\"json\">#traceroute \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0432\u044b\u0439 (\u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u043f\u043e TCP \u043f\u043e\u0440\u0442\u0443) cumulus@Switch1:mgmt:~$ traceroute -s 10.223.250.1 10.223.250.6 vrf-wrapper.sh: switching to vrf \"default\"; use '--no-vrf-switch' to disable traceroute to 10.223.250.6 (10.223.250.6), 30 hops max, 60 byte packets  1  10.223.250.7 (10.223.250.7)  1.002 ms  1.010 ms  0.981 ms # \u0412\u0441\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u0438\u0434\u0443\u0442 \u0441 loopback \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432  2  10.223.250.6 (10.223.250.6)  0.933 ms  0.917 ms  1.018 ms  #\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c BFD cumulus@Switch1:mgmt:~$ net show bfd ------------------------------------------------------------------------------------------ port   peer                       state  local                      type       diag  vrf  ------------------------------------------------------------------------------------------ swp2   fe80::1e34:daff:fe9e:67ec  Up     fe80::1e34:daff:fea6:b53d  singlehop  N\/A   N\/A swp49  fe80::ba59:9fff:fe70:e5c   Up     fe80::1e34:daff:fea6:b510  singlehop  N\/A   N\/A <\/code><\/pre>\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 Underlay \u0443\u0436\u0435 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0433\u043e\u0442\u043e\u0432 \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e, \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a Overlay.<\/p>\n<h3>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u0438\u0437\u0430\u0439\u043d Overlay<\/h3>\n<p>\u041a\u0430\u043a \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0438\u0437 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438, Overlay \u0443 \u043d\u0430\u0441 \u043d\u0430 VXLAN \u0441 \u043f\u043e\u0438\u0441\u043a\u043e\u043c VTEP \u0447\u0435\u0440\u0435\u0437 EVPN. \u041d\u043e \u0438 \u0442\u0443\u0442 \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 3 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u043c\u0435\u0436\u0434\u0443 SVI, \u043d\u0430 \u043d\u0438\u0445 \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c\u0441\u044f.<\/p>\n<h4>Centralized IRB<\/h4>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0434\u0438\u043d\u0430\u044f \u0442\u043e\u0447\u043a\u0430 \u0432\u044b\u0445\u043e\u0434\u0430 \u0438\u0437 \u043f\u043e\u0434\u0441\u0435\u0442\u0438, \u044d\u0442\u043e centralized switch. \u0417\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u044d\u0442\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u043e\u0432 (active-active \u043f\u0430\u0440\u0430), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e L3 \u0444\u043e\u0440\u0432\u0430\u0440\u0434\u0438\u043d\u0433\u043e\u043c, \u0430 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 Leaf \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e L2. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u0432 \u0442\u0430\u043a\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0441entralized switch \u0434\u043e\u043b\u0436\u0435\u043d \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c EVPN type-2 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 (MAC+IP) c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u043c Default Gateway community(0x03). \u0422\u0430\u043a \u0436\u0435 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0447\u0442\u043e \u043d\u0430 centralized switch \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c VNI \u0441\u043e \u0432\u0441\u0435\u0439 \u0444\u0430\u0431\u0440\u0438\u043a\u0438.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/627\/33f\/7b1\/62733f7b1da38a365adced0990063557.png\" alt=\"*\u0412\u0441\u0435 Leaf \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b \u0432 MLAG \u043f\u0430\u0440\u0435\" title=\"*\u0412\u0441\u0435 Leaf \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b \u0432 MLAG \u043f\u0430\u0440\u0435\" width=\"3048\" height=\"1644\"><figcaption>*\u0412\u0441\u0435 Leaf \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u044b \u0432 MLAG \u043f\u0430\u0440\u0435<\/figcaption><\/figure>\n<p>\u0412 \u043c\u043e\u0435\u043c \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438, \u0434\u0430\u043d\u043d\u044b\u0439 \u0434\u0438\u0437\u0430\u0439\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0445\u043e\u0440\u043e\u0448\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043a\u043e\u0433\u0434\u0430 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043f\u043e\u0434\u0441\u0435\u0442\u044f\u043c\u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b, \u0438\u043b\u0438 Leaf \u043d\u0435 \u0443\u043c\u0435\u044e\u0442 \u0432 L3. \u041d\u043e \u0442.\u043a. \u0443 \u043d\u0430\u0441 \u0432 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0444\u0430\u0431\u0440\u0438\u043a\u0435  \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e L3 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0434\u0430\u043d\u043d\u044b\u0439 \u0434\u0438\u0437\u0430\u0439\u043d \u0431\u044b\u043b \u043e\u0442\u0431\u0440\u043e\u0448\u0435\u043d \u0441\u0440\u0430\u0437\u0443, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0433\u043e\u043d\u044f\u0442\u044c \u043b\u0438\u0448\u043d\u0438\u0439 \u0440\u0430\u0437 \u0442\u0440\u0430\u0444\u0438\u043a.<\/p>\n<h4>Asymmetric IRB<\/h4>\n<p>\u041e\u0447\u0435\u043d\u044c \u0441\u0445\u043e\u0436\u0430\u044f \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441 Symmetric IRB (\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0438\u0436\u0435), \u043d\u043e \u0441 \u043e\u0434\u043d\u0438\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c. \u0412\u0441\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0436\u0435 VTEP, \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u0434\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442 \u043f\u043e L2. \u041f\u0440\u0438 \u0442\u0430\u043a\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c Leaf \u0431\u044b\u043b\u0438 \u0432\u0441\u0435 VNI+Vlan, \u0447\u0442\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043b\u0430\u0442\u043e\u0439 \u0437\u0430 \u043e\u0442\u043a\u0430\u0437 \u043e\u0442 L3VNI. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/291\/571\/629\/29157162938363475b28ff0eb367cf41.png\" width=\"3048\" height=\"1644\"><figcaption><\/figcaption><\/figure>\n<p>P.S. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0439\u0442\u0438 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0443 \u0432\u0441\u0435\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0444\u0430\u0431\u0440\u0438\u043a\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430\u044f (\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0435\u0441\u0442\u044c \u0432\u0441\u0435 VNI). \u041f\u0440\u0438 \u0442\u0430\u043a\u0438\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u0434\u0430\u043d\u043d\u044b\u0439 \u0434\u0438\u0437\u0430\u0439\u043d \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0434\u0430\u0436\u0435 \u043d\u0435 \u043f\u043b\u043e\u0445, \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0438\u0437\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f VLAN \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u044b\u0439 VRF. \u041d\u043e \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u0443 \u043d\u0430\u0441 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0437\u0430\u0447\u0430\u0442\u043e\u0447\u043d\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043ec\u0442\u044c \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0432\u044b\u0441\u043e\u043a\u0430.<\/p>\n<h4>Symmetric IRB<\/h4>\n<p>\u041f\u0440\u0438 \u0441\u0438\u043c\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 L3 \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0439 \u0443 \u043d\u0430\u0441 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c L3VNI, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0430\u0441\u0441\u043e\u0446\u0438\u0438\u0440\u0443\u0435\u0442\u0441\u044f VLAN. \u0418\u043c\u0435\u043d\u043d\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0438\u0437\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u0441 \u043e\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u043c\u0435\u0442\u044c \u0432\u0441\u0435 VNI \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c VTEP.  <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/def\/dc5\/2a3\/defdc52a302a8dc6eb60af0b2fc13210.png\" width=\"3048\" height=\"1644\"><figcaption><\/figcaption><\/figure>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0442\u043e, \u043a\u0430\u043a \u043f\u043e\u0439\u0434\u0435\u0442 \u043f\u0430\u043a\u0435\u0442 \u0441 VM2 \u043d\u0430 VM3. \u041f\u0440\u0438 \u043f\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u0438 \u043f\u0430\u043a\u0435\u0442\u0430 \u043d\u0430 Leaf03\/04, \u043e\u043d \u0434\u0435\u043b\u0430\u0435\u0442 route-lookup, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u0438\u0434\u0438\u0442 \u0447\u0442\u043e VM3 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0447\u0435\u0440\u0435\u0437 Leaf05\/06, \u0430 nexthop \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f L3VNI \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0414\u0430\u043b\u0435\u0435 \u0443\u0436\u0435 Leaf05\/06 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442, \u0441\u043d\u0438\u043c\u0430\u0435\u0442 VXLAN \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0443\u0436\u0435 \u0447\u0438\u0441\u0442\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 \u0432 SVI20. \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0432 \u043d\u0443\u0436\u043d\u044b\u0439 SVI \u0438\u0434\u0435\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435, \u0447\u0442\u043e \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0438\u0437\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u0441 \u043e\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u043c\u0435\u0442\u044c \u0435\u0433\u043e \u043d\u0430 \u0432\u0441\u0435\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445, \u043d\u043e L3VNI \u0443 \u043d\u0430\u0441 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432\u0435\u0437\u0434\u0435.<\/p>\n<p>\u041a\u0430\u043a \u0438\u0442\u043e\u0433 \u043c\u044b \u0432\u044b\u0431\u0438\u0440\u0430\u043b\u0438 \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u0434\u0438\u0437\u0430\u0439\u043d \u0434\u043b\u044f Overlay.<\/p>\n<h2>\u0417\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u043c \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u0444\u0430\u0431\u0440\u0438\u043a\u0438 <\/h2>\n<p>\u041f\u043e\u0440\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0443\u0436\u0435 \u0441\u0430\u043c Overlay \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u043e\u0438\u0441\u043a VTEP \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432.<\/p>\n<p>1.\u0421\u043e\u0437\u0434\u0430\u0435\u043c L3VNI<\/p>\n<pre><code class=\"json\">#VRF+VNI net add vrf Test vrf-table auto #C\u043e\u0437\u0434\u0430\u0435\u043c VRF \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c RD+RT net add vrf Test vni 200000 #\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c VNI \u043a VRF net add vxlan vniTest vxlan id 200000 #\u0421\u043e\u0437\u0434\u0430\u0435\u043c L3VNI net add vxlan vniTest bridge learning off #\u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u041c\u0430\u043a\u043e\u0432, \u0442.\u043a. \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f EVPN net add vxlan vniTest vxlan local-tunnelip 10.223.250.1 #\u0410\u0434\u0440\u0435\u0441 \u043e\u0442\u043a\u0443\u0434\u0430 \u0441\u0442\u0440\u043e\u0438\u043c \u0442\u0443\u043d\u043d\u0435\u043b\u044c  #VLAN net add vlan 2000 hwaddress 44:38:39:BE:EF:AC #\u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f MLAG, \u0447\u0442\u043e \u0431\u044b \u0443 Active-Active \u043f\u0430\u0440\u044b \u0431\u044b\u043b \u043e\u0434\u0438\u043d MAC net add vlan 2000 vlan-id 2000 #\u041d\u043e\u043c\u0435\u0440 \u0432\u043b\u0430\u043d\u0430 net add vlan 2000 vlan-raw-device bridge #\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432 bridge net add vlan 2000 vrf vniTest #\u0410\u0441\u0441\u043e\u0446\u0438\u0430\u0446\u0438\u044f \u0441 VRF net add vxlan vniTest bridge access 2000 #\u0410\u0441\u0441\u043e\u0446\u0438\u0438\u0440\u0443\u0435\u043c VLAN \u0441 L3VNI<\/code><\/pre>\n<p>2.\u0421\u043e\u0437\u0434\u0430\u0435\u043c VNI<\/p>\n<pre><code class=\"json\">#VNI net add vxlan vni-20999 vxlan id 20999  net add vxlan vni-20999 bridge arp-nd-suppress on #\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b ARP-supress - \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u043c BUM \u0442\u0440\u0430\u0444\u0438\u043a net add vxlan vni-20999 bridge learning off #\u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u041c\u0430\u043a\u043e\u0432, \u0442.\u043a. \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f EVPN net add vxlan vni-20999 stp bpduguard # \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c bpduguard net add vxlan vni-20999 stp portbpdufilter # \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c bpdufilter net add vxlan vni-20999 vxlan local-tunnelip 10.223.250.1 #\u0410\u0434\u0440\u0435\u0441 \u043e\u0442\u043a\u0443\u0434\u0430 \u0441\u0442\u0440\u043e\u0438\u043c \u0442\u0443\u043d\u043d\u0435\u043b\u044c  #\u0421\u043e\u0437\u0434\u0430\u0435\u043c VLAN net add vlan 999 ip address 10.223.255.253\/24 # IP \u043d\u0430 VLAN net add vlan 999 ip address-virtual 44:39:39:ff:01:01 10.223.255.254\/24 #\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 (\u0414\u043b\u044f \u0435\u0434\u0438\u043d\u043e\u0433\u043e gateway \u043d\u0430 \u0432\u0441\u0435\u0445 Leaf) net add vlan 999 vlan-id 999 #\u041d\u043e\u043c\u0435\u0440 \u0432\u043b\u0430\u043d\u0430 net add vlan 999 vlan-raw-device bridge #\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432 bridge net add vlan 999 vrf Test #\u0410\u0441\u0441\u043e\u0446\u0438\u0430\u0446\u0438\u044f \u0441 VRF  net add vxlan vni-20999 bridge access 999 #\u0410\u0441\u0441\u043e\u0446\u0438\u0438\u0440\u0443\u0435\u043c VLAN \u0441 VNI  #P.S. \u042d\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u0435\u0441\u043b\u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d L2 only vlan (\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f VNI \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f) net add vlan 999 ip forward off net add vlan 999 vlan-id 999 net add vlan 999 vlan-raw-device bridge <\/code><\/pre>\n<p>3.\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0430 \u0441 \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439<\/p>\n<pre><code class=\"json\">#\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0430\u043c\u044b\u0439 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 BGP \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432 VRF net add bgp vrf Test autonomous-system 4252424337 net add bgp vrf Test router-id 10.223.250.101 net add bgp vrf Test neighbor 100.64.1.105 remote-as 35083 net add bgp vrf Test ipv4 unicast redistribute connected net add bgp vrf Test ipv4 unicast redistribute static net add bgp vrf Test ipv4 unicast neighbor 100.64.1.105 route-map Next-Hop-VRR_Vl997 out #\u041a\u043e\u043d\u0444\u0438\u0433\u0430 \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b MLAG+VSS \u0447\u0435\u0440\u0435\u0437 BGP+SVI, \u044d\u0442\u043e \u0441\u0442\u043e\u0438\u043b\u043e \u043f\u0430\u0440\u0443 \u0434\u043d\u0435\u0439 \u043c\u0443\u0447\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f #P.S. \u0421\u0442\u043e\u0438\u0442 \u0442\u0430\u043a \u0436\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u0432 \u0438\u043d\u0444\u0440\u0443 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \/32 \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 EVPN, \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u044f \u044f \u0438\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u043b \u043d\u0430 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435.  net add bgp vrf Test l2vpn evpn  advertise ipv4 unicast #\u041e\u0442\u0434\u0430\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u0432 EVPN <\/code><\/pre>\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0441 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \u043c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0438, \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442:<\/p>\n<pre><code class=\"json\">#VNI cumulus@Switch1:mgmt:~$ net show evpn vni VNI     Type VxLAN IF      MACs   ARPs   Remote VTEPs  Tenant VRF 20995   L2   vni-20995     5        3        1               default #VNI, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 IP \u043d\u0430 SVI 20999   L2   vni-20999     26       24       4               Test    #VNI 200000  L3   vniTest        3        3        n\/a             Test    #\u0421\u0430\u043c L3VNI  #VNI \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439 cumulus@Switch1:mgmt:~$ net show evpn vni 20999 VNI: 20999  Type: L2  Tenant VRF: Test  VxLAN interface: vni-20999  VxLAN ifIndex: 73  Local VTEP IP: 10.223.250.30 #\u041f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 MLAG, \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0441\u044f vxlan-anycast-ip  Mcast group: 0.0.0.0 #\u041d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f  Remote VTEPs for this VNI: #\u0422\u0435 \u0443 \u043a\u043e\u0433\u043e \u0442\u0430\u043a \u0436\u0435 \u0435\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0439 VNI   10.223.250.9 flood: HER #\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c Head-end Replication (\u0422\u0430\u043a \u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u043a\u0430\u043a Ingress replication)   10.223.252.103 flood: HER   10.223.252.20 flood: HER   10.223.250.103 flood: HER  Number of MACs (local and remote) known for this VNI: 26  Number of ARPs (IPv4 and IPv6, local and remote) known for this VNI: 24  Advertise-gw-macip: No #Community \u043f\u0440\u0438 centralized IRB<\/code><\/pre>\n<pre><code class=\"json\">#\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u0442\u0435\u043c \u043e\u0442\u043a\u0443\u0434\u0430 \u0438\u0437\u0443\u0447\u0435\u043d\u044b \u043c\u0430\u043a\u0438 cumulus@Switch3:mgmt:~$ net show evpn mac vni 20999 Number of MACs (local and remote) known for this VNI: 28 Flags: B=bypass N=sync-neighs, I=local-inactive, P=peer-active, X=peer-proxy MAC               Type   Flags Intf\/Remote ES\/VTEP            VLAN  Seq #'s 0c:59:9c:b9:d8:dc remote       10.223.250.30                        0\/0 0c:42:a1:95:79:7c remote       10.223.250.30                        0\/0  #\u0422\u0430\u0431\u043b\u0438\u0446\u0430 MAC,\u0433\u0434\u0435 \u0432\u0438\u0434\u0438\u043c Interface VNI cumulus@Switch3:mgmt:~$ net show bridge macs vlan 999  VLAN  Master  Interface  MAC                TunnelDest  State      Flags         LastSeen ----  ------  ---------  -----------------  ----------  ---------  ------------  -----------------  999  bridge  bridge     1c:34:da:9e:67:68              permanent                24 days, 04:35:13  999  bridge  bridge     44:39:39:ff:01:01              permanent                14:26:45  999  bridge  peerlink   1c:34:da:9e:67:48              permanent                31 days, 17:22:36  999  bridge  peerlink   1c:34:da:9e:67:e8              static     sticky        24 days, 04:14:16  999  bridge  vni-20999  00:16:9d:9e:dd:41                         extern_learn  19 days, 04:17:21  999  bridge  vni-20999  00:21:1c:2e:86:42                         extern_learn  19 days, 04:17:21  999  bridge  vni-20999  00:22:0c:de:30:42                         extern_learn  19 days, 04:17:21  #\u041c\u0430\u043a\u0438 \u0441\u0430\u043c\u0438\u0445 VTEP cumulus@Switch3:mgmt:~$ net show evpn rmac vni all VNI 200000 RMACs 3  RMAC              Remote VTEP 44:38:39:be:ef:ac 10.223.250.30 44:39:39:ff:40:94 10.223.252.103 44:38:39:be:ef:ae 10.223.250.9  #Arp-cache cumulus@Switch3:mgmt:~$ net show evpn arp-cache vni 20999 Number of ARPs (local and remote) known for this VNI: 28 Flags: I=local-inactive, P=peer-active, X=peer-proxy Neighbor                  Type   Flags State    MAC               Remote ES\/VTEP                 Seq #'s 10.223.255.242            local        active   1c:34:da:9e:67:68                                0\/0 10.223.255.13             remote       active   0c:42:a1:96:d2:44 10.223.250.30                  0\/0 10.223.255.243            local        inactive 06:73:4a:02:27:8a                                0\/0 10.223.255.7              remote       active   0c:59:9c:b9:f8:fa 10.223.250.30                  0\/0 10.223.255.14             remote       active   0c:42:a1:95:79:7c 10.223.250.30                  0\/0<\/code><\/pre>\n<pre><code class=\"json\">#\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 cumulus@Switch1:mgmt:~$ net show route vrf Test | grep \"10.3.53\" \/\/\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c \u0432\u0441\u0435 next-hop vlan2000, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043e\u0442\u0434\u0430\u043b\u0438 \u0440\u0430\u043d\u044c\u0448\u0435 \u043f\u043e\u0434 L3VNI C * 10.223.255.0\/24 [0\/1024] is directly connected, vlan999-v0, 03w3d04h C&gt;* 10.223.255.0\/24 is directly connected, vlan999, 03w3d04h B&gt;* 10.223.255.1\/32 [20\/0] via 10.223.250.30, vlan2000 onlink, weight 1, 02w5d04h B&gt;* 10.223.255.2\/32 [20\/0] via 10.223.250.30, vlan2000 onlink, weight 1, 02w5d04h B&gt;* 10.223.255.3\/32 [20\/0] via 10.223.250.30, vlan2000 onlink, weight 1, 02w5d04h  #\u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430 EVPN \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 cumulus@Switch3:mgmt:~$ net show bgp evpn route vni 20999 BGP table version is 1366, local router ID is 10.223.250.101 Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete EVPN type-1 prefix: [1]:[ESI]:[EthTag]:[IPlen]:[VTEP-IP] EVPN type-2 prefix: [2]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP] EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP] EVPN type-4 prefix: [4]:[ESI]:[IPlen]:[OrigIP] EVPN type-5 prefix: [5]:[EthTag]:[IPlen]:[IP]    Network          Next Hop            Metric LocPrf Weight Path *&gt; [2]:[0]:[48]:[00:16:9d:9e:dd:41]                     10.223.250.30                          0 4252968145 i                     RT:9425:20999 RT:9425:200000 ET:8 Rmac:44:38:39:be:ef:ac *&gt; [2]:[0]:[48]:[00:22:56:ac:f3:42]:[32]:[10.223.255.1]                     10.223.250.30                          0 4252968145 i                     RT:9425:20999 RT:9425:200000 ET:8 Rmac:44:38:39:be:ef:ac <\/code><\/pre>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041a\u0430\u043a \u0438\u0442\u043e\u0433, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0433\u043e\u0442\u043e\u0432\u0443\u044e VXLAN\/EVPN \u0444\u0430\u0431\u0440\u0438\u043a\u0443. \u0412 Underlay \u0443 \u043d\u0430\u0441 Unnumbered BGP \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0438\u0447\u0435\u0433\u043e, \u0430 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 Overlay \u043c\u044b \u0438\u043c\u0435\u0435\u043c VXLAN\/EVPN c Symmetric IRB, \u0447\u0435\u0433\u043e \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447 \u0432 \u0426\u041e\u0414 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u0414\u0430\u043d\u043d\u044b\u0439 \u0434\u0438\u0437\u0430\u0439\u043d \u0442\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0442\u044f\u043d\u0443\u0442\u044c \u0438 \u043d\u0430 \u0441\u0430\u043c\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0447\u0442\u043e \u0431\u044b \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0442\u0443\u043d\u043d\u0435\u043b\u0438 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441 \u043d\u0438\u0445.<strong> <\/strong><\/p>\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u044f \u043d\u0435 \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u043b \u0432\u0441\u0435\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u0432 \u043f\u043e \u0442\u0438\u043f\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430 Spine, \u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u0446\u0435\u043b\u0438 \u0438 \u043d\u0435 \u043f\u0440\u0435\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b\u043e\u0441\u044c. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0441\u0442\u0430\u0442\u044c\u044f \u043a\u043e\u043c\u0443-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u043e \u0434\u0443\u0448\u0435 \u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0432 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0438\u043b\u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0426\u041e\u0414. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0438\u0434\u0435\u0438 \u043f\u043e \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044e \u0438\u043b\u0438 \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443, \u043f\u0440\u043e\u0448\u0443 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438.<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/527830\/\"> https:\/\/habr.com\/ru\/post\/527830\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442. \u0412\u043e\u0442 \u0438 \u043f\u043e\u0434\u043e\u0448\u043b\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438. \u041a\u0430\u043a \u0438 \u043e\u0431\u0435\u0449\u0430\u043b, \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u044f \u0445\u043e\u0447\u0443 \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0444\u0430\u0431\u0440\u0438\u043a\u0438 \u043d\u0430 VXLAN\/EVPN, \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0447\u0435\u043c\u0443 \u043c\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0442\u043e \u0438\u043b\u0438 \u0438\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u0426\u041e\u0414.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h2>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u0438\u0437\u0430\u0439\u043d Underlay<\/h2>\n<h4>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435<\/h4>\n<p>\u041f\u0435\u0440\u0432\u043e\u0435, \u0441 \u0447\u0435\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0441\u0442\u0440\u043e\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0435 \u0444\u0430\u0431\u0440\u0438\u043a\u0438, \u044d\u0442\u043e \u043f\u0440\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0438\u0437\u0430\u0439\u043d\u0430 Underlay &#8212; \u043a\u0430\u043a \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430\u0448\u0438 VXLAN \u0442\u0443\u043d\u043d\u0435\u043b\u0438 (\u0442\u043e\u0447\u043d\u0435\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0438\u0441\u043a VTEP)? <\/p>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0443 \u043d\u0430\u0441 3:<\/p>\n<p>1.\u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0443\u043d\u043d\u0435\u043b\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0437\u0430\u0434\u0430\u0435\u043c \u043a\u0430\u0436\u0434\u044b\u0439 VTEP \u0440\u0443\u043a\u0430\u043c\u0438 &#8212; \u044d\u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u043d\u0435 \u043d\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043d\u043e, \u0441\u043a\u0430\u0436\u0443 \u043f\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u0443, \u0432\u0441\u0435 \u0435\u0449\u0435 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0443\u0447\u043a\u0430\u043c\u0438 \u0441\u0442\u0440\u043e\u044f\u0442 RSVP-TE \u0442\u0443\u043d\u043d\u0435\u043b\u0438 \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441. \u0422\u0430\u043a \u0447\u0442\u043e \u043d\u0435 \u0443\u0434\u0438\u0432\u043b\u044e\u0441\u044c, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u043c \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435. \u041d\u0443 \u0438 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u043b SDN.<\/p>\n<p>2.Multicast &#8212; \u0432 \u0446\u0435\u043b\u043e\u043c, \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0441 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043e\u0442\u043f\u0430\u043b \u0441\u0440\u0430\u0437\u0443, \u0442.\u043a. Cumulus \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u0432 \u043f\u043e\u0434\u043e\u0431\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u0434\u0430 \u0438 Juniper \u0432 \u0441\u0432\u043e\u0438\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430\u0445 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0435\u0433\u043e resourse-intensive \u0438 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438.<\/p>\n<p>3.BGP \u0438\u043b\u0438 BGP, \u0438\u043b\u0438 \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 BGP? \u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0448\u0438\u0440\u043e\u043a\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0431\u044b \u0433\u0438\u0431\u043a\u0438\u043c, \u043c\u044b \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043c \u043a BGP, \u0442\u043e\u0447\u043d\u0435\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043a EVPN \u0441 \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e BGP. \u041d\u0430 \u043d\u0435\u043c \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439. \u0422\u0430\u043a \u043a\u0430\u043a \u0431\u044b\u0432\u0430\u0435\u0442 iBGP \u0438 eBGP, \u0442\u043e \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 underlay \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0441 \u043a\u0430\u0436\u0434\u044b\u043c \u0438\u0437 \u043d\u0438\u0445.<\/p>\n<h4>iBGP<\/h4>\n<p>\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 iBGP \u0443 \u043d\u0430\u0441 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u0432 IGP, \u0431\u0443\u0434\u044c \u0442\u043e OSPF \u0438\u043b\u0438 IS-IS (\u0445\u043e\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u043a\u0430), \u0442.\u043a. \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u043e Loopback, \u0430 \u0441\u043e\u043e\u0431\u0449\u0430\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0434\u043e\u0439\u0442\u0438 \u0434\u043e \u043d\u0438\u0445, \u043d\u0430\u043c \u043a\u0442\u043e-\u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d. \u0422\u0430\u043a \u0436\u0435 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a iBGP \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u0447\u0442\u043e \u0432\u044b\u043d\u0443\u0436\u0434\u0430\u0435\u0442 \u043d\u0430\u0441 \u0441\u0442\u0440\u043e\u0438\u0442\u044c full-mesh (\u0432 \u0442\u0430\u043a\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 Spine \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 \u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0438 BGP). <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0418\u043b\u0438 \u043c\u043e\u0436\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c Spine \u0432 \u0440\u043e\u043b\u0438 Route-Reflector. <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e \u0438\u0442\u043e\u0433\u0443 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c 2 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043f\u043b\u044e\u0441\u043e\u043c \u043a \u044d\u0442\u043e\u043c\u0443 full-mesh \u0438\u043b\u0438 RR. \u042d\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u0441\u0430\u043c\u043e\u0435 \u0445\u0443\u0434\u0448\u0435\u0435 \u0447\u0442\u043e \u043c\u043e\u0433\u043b\u043e \u0431\u044b \u0431\u044b\u0442\u044c, \u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043c\u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435.<\/p>\n<h4>eBGP<\/h4>\n<p>\u0414\u0430\u043d\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0441\u0430\u043c\u0430\u044f \u043f\u043e\u043d\u044f\u0442\u043d\u0430\u044f \u0438 \u043d\u0430\u0434\u0435\u0436\u043d\u0430\u044f, \u0438 \u0432 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u0430 \u043d\u0435\u0439. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u044b \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a eBGP, \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u0432 Route-Reflector \u043e\u0442\u043f\u0430\u0434\u0430\u0435\u0442 (\u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0432\u0441\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e\u0442 \u043f\u043e\u0447\u0435\u043c\u0443), \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c IGP \u0442\u043e\u0436\u0435 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430, \u0442.\u043a. \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0430 \u0441 p2p \u0430\u0434\u0440\u0435\u0441\u043e\u0432. \u0422\u0430\u043a \u0436\u0435 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435 MLAG \u0438\u043c\u0435\u044e\u0442 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e. \u041f\u0440\u043e \u043d\u0435\u0435 \u0431\u044b \u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439. \u041e\u0431\u0430 MLAG \u0441\u0432\u0438\u0447\u0430 \u043f\u043e\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u0443 AS, \u0442.\u043a. \u043f\u0440\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e VXLAN\/EVPN \u0434\u043e\u043c\u0435\u043d\u0430 \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u0438\u0445 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0432 \u043e\u0434\u043d\u0443 AS. \u0421\u0430\u043c\u043e \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e \u043c\u044b \u0441\u0442\u0440\u043e\u0438\u043c \u043d\u0430 peerlink&#8217;e, \u0438 \u044d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0442.\u043a. \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0443 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 \u0443\u043f\u0430\u0434\u0443\u0442 \u043b\u0438\u043d\u043a\u0438 \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 Spine, \u0442\u043e \u043e\u043d \u043d\u0430\u0447\u043d\u0435\u0442 \u0434\u0440\u043e\u043f\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0442\u0440\u0430\u0444\u0438\u043a \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u0433\u043e-\u0442\u043e \u0441\u043f\u0443\u0433\u043d\u0443\u0442\u044c, \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u0435\u0441\u0442\u0438 \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0441 \u043d\u043e\u043c\u0435\u0440\u0430\u043c\u0438 AS. \u041d\u043e \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b\u0435 \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0438 Cumulus \u0441 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 4.2(\u0442.\u043a. \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u043d\u0435\u0439 \u044d\u0442\u043e \u0432\u044b\u0448\u043b\u043e) \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0439\u0442\u0438 \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0443\u0442\u0435\u043c, \u0442.\u043a. \u043e\u043d \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u043c\u0435\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 AS, \u043e\u0441\u043d\u043e\u0432\u044b\u0432\u0430\u044f\u0441\u044c \u043d\u0430 MAC\u0435, \u0447\u0442\u043e \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u0432\u0430\u043c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c (\u0431\u0435\u0440\u0435\u0442 \u043e\u043d \u0438\u0437 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0443\u043b\u0430 32-bit AS).<br \/>\u0422\u0430\u043a \u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u0442\u044c \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u0431\u0430 Spine \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u0439 AS. \u0422.\u043a. \u043a\u0430\u0436\u0434\u044b\u0439 Spine \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u044f\u043c\u043e\u0439 \u043b\u0438\u043d\u043a \u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 Leaf, \u0442\u043e \u0442\u0440\u0430\u0444\u0438\u043a \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0439\u0442\u0438 \u0434\u0432\u0430\u0436\u0434\u044b. \u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 AS \u043d\u0430 \u0432\u0441\u0435\u0445 Spine, \u0447\u0442\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438 \u0441\u043e\u0432\u0435\u0442\u0443\u0435\u0442 Cumulus.<br \/>P.S. \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0445 AS \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0435 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e \u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 AS \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0433\u0434\u0435 \u0431\u044b\u043b \u0441\u043e\u0437\u0434\u0430\u043d \u043f\u0440\u0435\u0444\u0438\u043a\u0441. \u0422\u0430\u043a \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c 32-bit AS \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<h4>BGP Unnumbered<\/h4>\n<p>\u0414\u0443\u043c\u0430\u044e, \u043c\u043d\u043e\u0433\u0438\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043b\u044e\u0431\u044f\u0442 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u0430\u0434\u0440\u0435\u0441\u043d\u044b\u043c \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c p2p \u0441\u0435\u0442\u0435\u0439, \u0438 \u043a\u0430\u043a \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0438\u043c\u0435\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e loopback \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0438\u0447\u0435\u0433\u043e. \u0415\u0441\u043b\u0438 \u0442\u0430\u043a\u0438\u0435 \u043c\u044b\u0441\u043b\u0438 \u0432\u0430\u0441 \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u043f\u043e\u0441\u0435\u0449\u0430\u043b\u0438, \u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u043f\u0440\u0438\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u0441\u044f \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e Unnumbered. \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0432 Cumulus \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 Cisco, \u0433\u0434\u0435 \u0443 \u0432\u0430\u0441 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0437\u0430\u0438\u043c\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u0430 \u0441 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0443 Cumulus \u0432\u044b\u0434\u0435\u043b\u0435\u043d \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u043b IPv6 \u0430\u0434\u0440\u0435\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u043f\u043e \u0444\u0430\u043a\u0442\u0443 \u043d\u0430 \u043d\u0438\u0445 \u0441\u0442\u0440\u043e\u0438\u0442\u0441\u044f eBGP \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u043e. \u0422\u0430\u043a \u0436\u0435 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0441\u043e\u0441\u0435\u0434\u0441\u0442\u0432\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d extended-nexthop (\u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u044b \u043c\u043e\u0433\u043b\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c IPv4 Family \u043f\u043e\u0432\u0435\u0440\u0445 IPv6 \u0441\u0435\u0441\u0441\u0438\u0438). <\/p>\n<p>P.S. \u0415\u0441\u043b\u0438 \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u0445 \u0443\u0436\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u043a\u0430\u043a\u043e\u0439-\u043b\u0438\u0431\u043e IPv4 \/30 \u0438\u043b\u0438 \/31 \u0430\u0434\u0440\u0435\u0441, \u0442\u043e BGP \u043f\u0438\u0440\u0438\u043d\u0433 \u0431\u0443\u0434\u0435\u0442 \u0441 \u043d\u0438\u0445. \u0422\u0430\u043a \u0436\u0435 \u043e\u043d \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 broadcast \u0441\u0435\u0442\u044f\u0445, \u0442\u043e\u043b\u044c\u043a\u043e p2p.<\/p>\n<h4>BGP+BFD<\/h4>\n<p>\u041a\u0430\u043a \u0431\u044b \u0432\u044b \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u0438, \u043d\u043e \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0442\u0430\u0439\u043c\u0435\u0440\u044b \u0441\u0430\u043c\u043e\u0433\u043e BGP \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u0438\u0437\u043c\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u043c\u0438. \u0418 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f iSCSI, VSAN \u0438 \u0442.\u0434. \u0442\u0430\u043a\u0438\u0435 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u0435\u0431\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c. \u041a\u0430\u043a \u0438 \u0432\u043e \u0432\u0441\u0435\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430\u0445 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0441 \u0441\u043f\u0430\u0441\u0430\u0435\u0442 BFD. \u0423 Cumulus \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u044d\u0442\u043e 2&#215;50 \u043c\u0441, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u0437\u043d\u0430\u044e Cisco \u0443\u0436\u0435 \u0443\u043c\u0435\u0435\u0442 2\u044533 \u043c\u0441, \u0442\u0430\u043a \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u043d\u0430\u043c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u0435\u043d.<\/p>\n<p><strong>\u0427\u0442\u043e \u0438\u043c\u0435\u0435\u043c \u0432 \u0438\u0442\u043e\u0433\u0435?<\/strong><br \/>1.\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 eBGP \u0441 \u0430\u0432\u0442\u043e\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c AS + iBGP \u0434\u043b\u044f MLAG \u043f\u0430\u0440\u044b<br \/>2.\u0418\u0437 \u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u043d\u0443\u0436\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e loopback, \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u043c \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 Unnumbered<br \/>3.BFD<\/p>\n<h4>\u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043a\u0430\u043a \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442<\/h4>\n<p>1.\u041a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0430\u0432\u0442\u043e\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 AS \u0443 Cumulus<\/p>\n<pre><code class=\"json\">#\u0412\u0430\u0440\u0438\u0430\u0446\u0438\u0438 \u0443 Cumulus \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 AS #P.S. \u0414\u043b\u044f \u0432\u0441\u0435\u0445 Spine \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u0443 AS, \u0442.\u043a. \u0442\u0443\u0442 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0442\u044c \u043f\u0435\u0442\u043b\u0438 \u043f\u043e AS-path cumulus@Switch1:mgmt:~$ net add bgp autonomous-system     &lt;1-4294967295&gt;  :  An integer from 1 to 4294967295     leaf            :  Auto configure a leaf ASN in the 4-byte private range 4200000000 - 4294967294 based on the switch                        MAC     spine           :  Auto configure a spine AS-number in the 4-byte private ASN range. The value 4200000000 is always                        used  #\u0427\u0442\u043e \u043f\u043e \u0444\u0430\u043a\u0442\u0443 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \"net add bgp autonomous-system leaf\" cumulus@Switch1:mgmt:~$ net add bgp autonomous-system leaf cumulus@Switch1:mgmt:~$ net pending +router bgp 4252968529 #\u041f\u0440\u043e\u0446\u0435\u0441\u0441 BGP \u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c AS +end<\/code><\/pre>\n<p>2.\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f BGP+Unnumbered<\/p>\n<pre><code class=\"json\">#loopback net add loopback lo clag vxlan-anycast-ip 10.223.250.30 #\u041f\u0440\u0438 MLAG \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u0449\u0438\u0439 \u0434\u043b\u044f \u043f\u0430\u0440\u044b IP (\u041e\u043d \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u0435\u0442\u0438\u0442\u0441\u044f \u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u0445 net add loopback lo ip address 10.223.250.1\/32  #AS+Router ID net add bgp autonomous-system leaf net add bgp router-id 10.223.250.1  #\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443 \u0434\u043b\u044f \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 peer-group net add bgp neighbor fabric peer-group #\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0430\u043c\u0443 peer \u0433\u0440\u0443\u043f\u043f\u0443 net add bgp neighbor fabric remote-as external #\u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u0447\u0442\u043e \u044d\u0442\u043e eBGP net add bgp neighbor fabric bfd 3 50 50 #\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0439 BFD net add bgp neighbor fabric capability extended-nexthop # IPv4 over IPv6  #\u0417\u0430\u0434\u0430\u0435\u043c \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b(Unnumbered) net add bgp neighbor swp2 interface peer-group fabric  net add bgp neighbor peerlink.4094 interface remote-as internal #iBGP \u0447\u0435\u0440\u0435\u0437 Peerlink net add bgp ipv4 unicast neighbor peerlink.4094 next-hop-self #\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e next-hop \u0434\u043b\u044f iBGP  net add bgp ipv4 unicast redistribute connected #\u041e\u0442\u0434\u0430\u0435\u043c \u0432 BGP \u0432\u0441\u0435 \u0441\u0432\u043e\u0438 \u0441\u0435\u0442\u043a\u0438  #EVPN net add bgp l2vpn evpn neighbor fabric activate #\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c family \u0434\u043b\u044f eBGP net add bgp l2vpn evpn neighbor peerlink.4094 activate #\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u043c family \u0434\u043b\u044f iBGP net add bgp l2vpn evpn advertise-all-vni #\u0421\u043e\u043e\u0431\u0449\u0430\u0435\u043c BGP \u0441\u043e\u0441\u0435\u0434\u044f\u043c \u043e \u0441\u0432\u043e\u0438\u0445 VNI <\/code><\/pre>\n<p>3.BGP Summary<\/p>\n<pre><code class=\"json\">cumulus@Switch1:mgmt:~$ net show bgp summary #IPv4 show bgp ipv4 unicast summary ============================= BGP router identifier 10.223.250.1, local AS number 4252968145 vrf-id 0 BGP table version 84 RIB entries 29, using 5568 bytes of memory Peers 3, using 64 KiB of memory Peer groups 1, using 64 bytes of memory  Neighbor                       V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up\/Down State\/PfxRcd Switch3(swp2)              4 4252424337    504396    484776        0    0    0 02w0d23h            3 Switch4(swp49)             4 4208128255    458840    485146        0    0    0 3d12h03m            9 Switch2(peerlink.4094) 4 4252968145    460895    456318        0    0    0 02w0d23h           14  Total number of neighbors 3  #EVPN show bgp l2vpn evpn summary =========================== BGP router identifier 10.223.250.1, local AS number 4252968145 vrf-id 0 BGP table version 0 RIB entries 243, using 46 KiB of memory Peers 3, using 64 KiB of memory Peer groups 1, using 64 bytes of memory  Neighbor                       V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up\/Down State\/PfxRcd Switch3(swp2)              4 4252424337    504396    484776        0    0    0 02w0d23h          237 Switch4(swp49)             4 4208128255    458840    485146        0    0    0 3d12h03m          563 Switch2(peerlink.4094) 4 4252968145    460895    456318        0    0    0 02w0d23h          807  Total number of neighbors 3 <\/code><\/pre>\n<p>4.net show route<\/p>\n<pre><code class=\"json\">cumulus@Switch1:mgmt:~$ net show route show ip route ============= Codes: K - kernel route, C - connected, S - static, R - RIP,        O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,        T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,        F - PBR, f - OpenFabric,        &gt; - selected route, * - FIB route, q - queued route, r - rejected route #\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c \u0432\u0441\u0435 IPv4 \u0430\u0434\u0440\u0435\u0441\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0447\u0435\u0440\u0435\u0437 IPv6 (\u0418 \u0434\u0430 \u0443 Cumulus \u0435\u0441\u0442\u044c weight, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 Cisco) C&gt;* 10.223.250.1\/32 is directly connected, lo, 02w0d23h #Loopback B&gt;* 10.223.250.2\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d23h B&gt;* 10.223.250.6\/32 [20\/0] via fe80::ba59:9fff:fe70:e5c, swp49, weight 1, 3d12h19m B&gt;* 10.223.250.7\/32 [20\/0] via fe80::ba59:9fff:fe70:e5c, swp49, weight 1, 3d12h19m B&gt;* 10.223.250.9\/32 [20\/0] via fe80::ba59:9fff:fe70:e5c, swp49, weight 1, 3d12h19m C&gt;* 10.223.250.30\/32 is directly connected, lo, 02w0d23h #MLAG Loopback B&gt;* 10.223.250.101\/32 [20\/0] via fe80::1e34:daff:fe9e:67ec, swp2, weight 1, 02w0d23h B&gt;* 10.223.250.102\/32 [20\/0] via fe80::1e34:daff:fe9e:67ec, swp2, weight 1, 02w0d23h B&gt;* 10.223.250.103\/32 [20\/0] via fe80::1e34:daff:fe9e:67ec, swp2, weight 1, 02w0d23h B&gt;* 10.223.252.11\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d06h B&gt;* 10.223.252.12\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d06h B&gt;* 10.223.252.20\/32 [200\/0] via fe80::ba59:9fff:fe70:e50, peerlink.4094, weight 1, 02w0d06h B&gt;* 10.223.252.101\/32 [200\/0] via fe80::ba59:9fff:fe70:e50,<\/code><\/pre>\n<p><\/br><\/br><\/p>\n<p><\/br><\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-313065","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/313065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=313065"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/313065\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=313065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=313065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=313065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}