{"id":11779,"date":"2023-04-02T12:45:17","date_gmt":"2023-04-02T19:45:17","guid":{"rendered":"https:\/\/www.xh86.me\/?p=11779"},"modified":"2023-04-02T12:45:17","modified_gmt":"2023-04-02T19:45:17","slug":"%e4%b8%80%e6%96%87%e5%b8%a6%e4%bd%a0%e4%ba%86%e8%a7%a3%e4%bb%80%e4%b9%88%e6%98%afbgp%ef%bc%8cbgp%e6%98%af%e5%a6%82%e4%bd%95%e5%b7%a5%e4%bd%9c%e7%9a%84","status":"publish","type":"post","link":"https:\/\/www.xh86.me\/?p=11779","title":{"rendered":"\u4e00\u6587\u5e26\u4f60\u4e86\u89e3\u4ec0\u4e48\u662fBGP\uff0cBGP\u662f\u5982\u4f55\u5de5\u4f5c\u7684"},"content":{"rendered":"<p style=\"white-space: normal;\">\u8fb9\u754c\u7f51\u5173\u534f\u8bae\uff08Border Gateway Protocol\uff0cBGP\uff09\u662f\u4e00\u79cd\u7528\u6765\u5728\u8def\u7531\u9009\u62e9\u57df\u4e4b\u95f4\u4ea4\u6362\u7f51\u7edc\u5c42\u53ef\u8fbe\u6027\u4fe1\u606f\uff08Network Layer Reachability Information\uff0cNLRI\uff09\u7684\u8def\u7531\u9009\u62e9\u534f\u8bae\u3002\u7531\u4e8e\u4e0d\u540c\u7684\u7ba1\u7406\u673a\u6784\u5206\u522b\u63a7\u5236\u7740\u4ed6\u4eec\u5404\u81ea\u7684\u8def\u7531\u9009\u62e9\u57df\uff0c\u56e0\u6b64\uff0c\u8def\u7531\u9009\u62e9\u57df\u7ecf\u5e38\u88ab\u79f0\u4e3a\u81ea\u6cbb\u7cfb\u7edfAS\uff08Autonomous System\uff09\u3002\u73b0\u5728\u7684Internet\u662f\u4e00\u4e2a\u7531\u591a\u4e2a\u81ea\u6cbb\u7cfb\u7edf\u76f8\u4e92\u8fde\u63a5\u6784\u6210\u7684\u5927\u7f51\u7edc\uff0cBGP\u4f5c\u4e3a\u4e8b\u5b9e\u4e0a\u7684Internet\u5916\u90e8\u8def\u7531\u534f\u8bae\u6807\u51c6\uff0c\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8eISP\uff08Internet Service Provider\uff09\u4e4b\u95f4\u3002<\/p>\n<p style=\"white-space: normal;\">\u65e9\u671f\u53d1\u5e03\u7684\u4e09\u4e2a\u7248\u672c\u5206\u522b\u662fBGP-1\u3001BGP-2\u548cBGP-3\uff0c\u4e3b\u8981\u7528\u4e8e\u4ea4\u6362AS\u4e4b\u95f4\u7684\u53ef\u8fbe\u8def\u7531\u4fe1\u606f\uff0c\u6784\u5efaAS\u57df\u95f4\u7684\u4f20\u64ad\u8def\u5f84\uff0c\u9632\u6b62\u8def\u7531\u73af\u8def\u7684\u4ea7\u751f\uff0c\u5e76\u5728AS\u7ea7\u522b\u5e94\u7528\u4e00\u4e9b\u8def\u7531\u7b56\u7565\u3002\u5f53\u524d\u4f7f\u7528\u7684\u7248\u672c\u662fBGP-4\u3002<\/p>\n<section><\/section>\n<section style=\"display: flex; flex-flow: row nowrap; margin: 10px 0%; text-align: center; justify-content: center;\">\n<section style=\"display: inline-block; vertical-align: bottom; width: auto; flex: 0 0 auto; align-self: flex-end; min-width: 10%; height: auto; line-height: 1; letter-spacing: 0px;\">\n<section style=\"margin-right: 0%; margin-left: 0%; transform: translate3d(-10px, 0px, 0px);\">\n<section style=\"color: #7342d7; font-size: 32px; padding-right: 18px; padding-left: 18px; letter-spacing: 0px; line-height: 1;\"><strong>01<\/strong><\/section>\n<\/section>\n<section style=\"margin-top: -14px; margin-right: 0%; margin-left: 0%;\">\n<section style=\"display: inline-block; width: 100%; height: 18px; vertical-align: top; overflow: hidden; background-color: rgba(149, 114, 239, 0.12);\"><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block; vertical-align: bottom; width: auto; align-self: flex-end; flex: 100 100 0%; height: auto; padding-left: 6px; margin-left: -30px; border-style: none; border-width: 0px; border-right-color: #9572ef;\">\n<section style=\"color: #7342d7; text-align: left; letter-spacing: 1px;\"><strong>\u00a0\u4e3a\u4ec0\u4e48\u9700\u8981BGP\uff1f<\/strong><\/section>\n<section style=\"margin-right: 0%; margin-bottom: 4px; margin-left: 0%;\">\n<section style=\"background-color: #9572ef; height: 1px;\"><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"text-align: unset;\">IGP\uff08Interior Gateway Protocol\uff0c\u5185\u90e8\u7f51\u5173\u534f\u8bae\uff09\u88ab\u8bbe\u8ba1\u7528\u6765\u5728\u5355\u4e00\u7684\u8def\u7531\u9009\u62e9\u57df\u5185\u63d0\u4f9b\u53ef\u8fbe\u6027\u4fe1\u606f\u5e76\u4e0d\u9002\u5408\u63d0\u4f9b\u57df\u95f4\u8def\u7531\u9009\u62e9\u529f\u80fd\uff0cBGP\uff08Border Gateway Protocol\uff0c\u57df\u95f4\u8def\u7531\u534f\u8bae\uff09\u4f5c\u4e3a\u4f18\u79c0\u7684\u57df\u95f4\u8def\u7531\u534f\u8bae\u5f97\u4ee5\u4ea7\u751f\u5e76\u53d1\u5c55\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u5f53\u4eca\u7684\u7f51\u7edc\u901a\u5e38\u4f7f\u7528\u4ee5\u4e0b\u7c7b\u578b\u7684IGP\uff1a<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>\u8ddd\u79bb\u77e2\u91cf\u534f\u8bae\uff0c<\/strong><\/span>\u4f8b\u5982\u8def\u7531\u4fe1\u606f\u534f\u8bae\uff08Routing Information Protocol, RIP\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>\u94fe\u8def\u72b6\u6001\u534f\u8bae\uff0c<\/strong><\/span>\u4f8b\u5982\u5f00\u653e\u5f0f\u6700\u77ed\u8def\u5f84\u4f18\u5148\uff08Open Shortest Path First,\u00a0OSPF\uff09\u534f\u8bae\u548c\u4e2d\u95f4\u7cfb\u7edf\u5230\u4e2d\u95f4\u7cfb\u7edf\uff08Intermediate System to Intermediate System,\u00a0IS-IS\uff09\u534f\u8bae\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u867d\u7136\u8fd9\u4e9b\u534f\u8bae\u662f\u4e3a\u4e0d\u540c\u76ee\u7684\u8bbe\u8ba1\u7684\uff0c\u5e76\u4e14\u5177\u6709\u4e0d\u540c\u7684\u884c\u4e3a\u7279\u5f81\uff0c\u4f46\u662f\u5b83\u4eec\u7684\u5171\u540c\u76ee\u6807\u662f\u89e3\u51b3\u5728\u4e00\u4e2a\u8def\u7531\u9009\u62e9\u57df\u5185\u7684\u8def\u5f84\u6700\u4f18\u5316\u95ee\u9898\u3002IGP\u5e76\u4e0d\u9002\u5408\u63d0\u4f9b\u57df\u95f4\u8def\u7531\u9009\u62e9\u529f\u80fd\u3002\u6bd4\u5982\u8bf4\uff0c\u4e00\u79cd\u57df\u95f4\u8def\u7531\u9009\u62e9\u534f\u8bae\u5e94\u8be5\u80fd\u591f\u63d0\u4f9b\u5e7f\u6cdb\u7684\u7b56\u7565\u63a7\u5236\uff0c\u56e0\u4e3a\u4e0d\u540c\u7684\u57df\u901a\u5e38\u9700\u8981\u4e0d\u540c\u7684\u8def\u7531\u9009\u62e9\u7b56\u7565\u548c\u7ba1\u7406\u7b56\u7565\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4ece\u4e00\u5f00\u59cb\uff0cBGP\u5c31\u88ab\u8bbe\u8ba1\u6210\u4e00\u79cd\u57df\u95f4\u8def\u7531\u9009\u62e9\u534f\u8bae\uff0c\u5176\u8bbe\u8ba1\u76ee\u6807\u5c31\u662f\u7b56\u7565\u63a7\u5236\u80fd\u529b\u548c\u53ef\u6269\u5c55\u6027\u3002\u4f46\u662f\uff0cBGP\u4e5f\u4e0d\u9002\u5408\u66ff\u4ee3IGP\uff0c\u56e0\u4e3a\u5b83\u4eec\u9002\u7528\u7684\u573a\u666f\u4e0d\u540c\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>BGP\u6709\u4e24\u79cd\u8fd0\u884c\u65b9\u5f0f\uff0c\u5f53BGP\u8fd0\u884c\u4e8e\u540c\u4e00AS\u5185\u90e8\u65f6\uff0c\u88ab\u79f0\u4e3aIBGP\uff08Internel BGP\uff0c\u5185\u90e8\u8fb9\u754c\u7f51\u5173\u534f\u8bae\uff09\uff1b\u5f53BGP\u8fd0\u884c\u4e8e\u4e0d\u540cAS\u4e4b\u95f4\u65f6\uff0c\u79f0\u4e3aEBGP\uff08Externel BGP\uff0c\u5916\u90e8\u8fb9\u754c\u7f51\u5173\u534f\u8bae\uff09\u3002\u5982\u56fe1 BGP\u7684\u8fd0\u884c\u65b9\u5f0f\u6240\u793a\uff1a<\/p>\n<\/section>\n<section style=\"text-align: center;\">\n<section style=\"vertical-align: middle; display: inline-block; line-height: 0;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2023\/04\/wxsync-2023-04-7f9dfad76ffebbe84eefc20bb4945811.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" style=\"vertical-align: middle; width: 100%; box-sizing: border-box;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2023\/04\/wxsync-2023-04-7f9dfad76ffebbe84eefc20bb4945811.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.888601\" data-type=\"png\" data-w=\"386\" \/><\/div><\/section>\n<\/section>\n<section style=\"text-align: unset;\">\u00a0<\/section>\n<section style=\"display: flex; flex-flow: row nowrap; margin: 10px 0%; text-align: center; justify-content: center;\">\n<section style=\"display: inline-block; vertical-align: bottom; width: auto; flex: 0 0 auto; align-self: flex-end; min-width: 10%; height: auto; line-height: 1; letter-spacing: 0px;\">\n<section style=\"margin-right: 0%; margin-left: 0%; transform: translate3d(-10px, 0px, 0px);\">\n<section style=\"color: #7342d7; font-size: 32px; padding-right: 18px; padding-left: 18px; letter-spacing: 0px; line-height: 1;\"><strong>02<\/strong><\/section>\n<\/section>\n<section style=\"margin-top: -14px; margin-right: 0%; margin-left: 0%;\">\n<section style=\"display: inline-block; width: 100%; height: 18px; vertical-align: top; overflow: hidden; background-color: rgba(149, 114, 239, 0.12);\"><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block; vertical-align: bottom; width: auto; align-self: flex-end; flex: 100 100 0%; height: auto; padding-left: 6px; margin-left: -30px; border-style: none; border-width: 0px; border-right-color: #9572ef;\">\n<section style=\"color: #7342d7; text-align: left; letter-spacing: 1px;\">\u00a0 \u00a0 \u00a0 \u00a0BGP\u662f\u600e\u4e48\u5de5\u4f5c\u7684\uff1f<\/section>\n<section style=\"margin-right: 0%; margin-bottom: 4px; margin-left: 0%;\">\n<section style=\"background-color: #9572ef; height: 1px;\"><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"text-align: unset;\"><span style=\"color: #1a7f09;\"><strong>2.1\u00a0 BGP\u62a5\u6587\u4e2d\u7684\u89d2\u8272<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Speaker\uff1a<\/strong><\/span>\u53d1\u9001BGP\u62a5\u6587\u7684\u8def\u7531\u8bbe\u5907\u79f0\u4e3aBGP\u53d1\u8a00\u8005\uff08Speaker\uff09\uff0c\u5b83\u63a5\u6536\u6216\u4ea7\u751f\u65b0\u7684\u8def\u7531\u4fe1\u606f\uff0c\u5e76\u53d1\u5e03\uff08Advertise\uff09\u7ed9\u5176\u5b83BGP Speaker\u3002\u5f53BGP Speaker\u6536\u5230\u6765\u81ea\u5176\u5b83AS\u7684\u65b0\u8def\u7531\u65f6\uff0c\u5982\u679c\u8be5\u8def\u7531\u6bd4\u5f53\u524d\u5df2\u77e5\u8def\u7531\u66f4\u4f18\u3001\u6216\u8005\u5f53\u524d\u8fd8\u6ca1\u6709\u8be5\u8def\u7531\uff0c\u5b83\u5c31\u628a\u8fd9\u6761\u8def\u7531\u53d1\u5e03\u7ed9\u6240\u6709\u5176\u4ed6BGP Speaker\uff08\u53d1\u5e03\u8be5\u8def\u7531\u7684BGP Speaker\u9664\u5916\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Peer\uff1a<\/strong><\/span>\u76f8\u4e92\u4ea4\u6362\u62a5\u6587\u7684BGP Speaker\u4e4b\u95f4\u4e92\u79f0\u5bf9\u7b49\u4f53\uff08Peer\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #1a7f09;\"><strong>2.2\u00a0 BGP\u7684\u62a5\u6587<\/strong><\/span><\/p>\n<section><\/section>\n<p>BGP\u7684\u8fd0\u884c\u662f\u901a\u8fc7\u62a5\u6587\u9a71\u52a8\u7684\uff0c\u5171\u6709Open\u3001Update\u3001Notification\u3001Keepalive\u548cRoute-refresh\u4e94\u79cd\u62a5\u6587\u7c7b\u578b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Open\u62a5\u6587\uff1a<\/strong><\/span>\u662fTCP\u8fde\u63a5\u5efa\u7acb\u540e\u53d1\u9001\u7684\u7b2c\u4e00\u4e2a\u62a5\u6587\uff0c\u7528\u4e8e\u5efa\u7acbBGP\u5bf9\u7b49\u4f53\u4e4b\u95f4\u7684\u8fde\u63a5\u5173\u7cfb\u3002\u5bf9\u7b49\u4f53\u5728\u63a5\u6536\u5230Open\u62a5\u6587\u5e76\u534f\u5546\u6210\u529f\u540e\uff0c\u5c06\u53d1\u9001Keepalive\u62a5\u6587\u786e\u8ba4\u5e76\u4fdd\u6301\u8fde\u63a5\u7684\u6709\u6548\u6027\u3002\u786e\u8ba4\u540e\uff0c\u5bf9\u7b49\u4f53\u95f4\u53ef\u4ee5\u8fdb\u884cUpdate\u3001Notification\u3001Keepalive\u548cRoute-refresh\u62a5\u6587\u7684\u4ea4\u6362\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Update\u62a5\u6587\uff1a<\/strong><\/span>\u7528\u4e8e\u5728\u5bf9\u7b49\u4f53\u4e4b\u95f4\u4ea4\u6362\u8def\u7531\u4fe1\u606f\u3002Update\u62a5\u6587\u53ef\u4ee5\u53d1\u5e03\u591a\u6761\u5c5e\u6027\u76f8\u540c\u7684\u53ef\u8fbe\u8def\u7531\u4fe1\u606f\uff0c\u4e5f\u53ef\u4ee5\u64a4\u9500\u591a\u6761\u4e0d\u53ef\u8fbe\u8def\u7531\u4fe1\u606f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Notification\u62a5\u6587\uff1a<\/strong><\/span>\u5f53BGP\u68c0\u6d4b\u5230\u9519\u8bef\u72b6\u6001\u65f6\uff0c\u5c31\u5411\u5bf9\u7b49\u4f53\u53d1\u51faNotification\u62a5\u6587\uff0c\u4e4b\u540eBGP\u8fde\u63a5\u4f1a\u7acb\u5373\u4e2d\u65ad\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Keepalive\u62a5\u6587\uff1a<\/strong><\/span>BGP\u4f1a\u5468\u671f\u6027\u5730\u5411\u5bf9\u7b49\u4f53\u53d1\u51faKeepalive\u62a5\u6587\uff0c\u7528\u6765\u4fdd\u6301\u8fde\u63a5\u7684\u6709\u6548\u6027\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Route-refresh\u62a5\u6587\uff1a<\/strong><\/span>Route-refresh\u62a5\u6587\u7528\u6765\u8bf7\u6c42\u5bf9\u7b49\u4f53\u91cd\u65b0\u53d1\u9001\u6240\u6709\u7684\u53ef\u8fbe\u8def\u7531\u4fe1\u606f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #1a7f09;\"><strong>2.3\u00a0 BGP\u5904\u7406\u8fc7\u7a0b<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u56e0\u4e3aBGP\u7684\u4f20\u8f93\u5c42\u534f\u8bae\u662fTCP\u534f\u8bae\uff0c\u6240\u4ee5\u5728BGP\u5bf9\u7b49\u4f53\u5efa\u7acb\u4e4b\u524d\uff0c\u5bf9\u7b49\u4f53\u4e4b\u95f4\u9996\u5148\u8fdb\u884cTCP\u8fde\u63a5\u3002BGP\u90bb\u5c45\u95f4\u4f1a\u901a\u8fc7Open\u62a5\u6587\u534f\u5546\u76f8\u5173\u53c2\u6570\uff0c\u5efa\u7acb\u8d77BGP\u5bf9\u7b49\u4f53\u5173\u7cfb\u3002\u5efa\u7acb\u8fde\u63a5\u540e\uff0cBGP\u90bb\u5c45\u4e4b\u95f4\u4ea4\u6362\u6574\u4e2aBGP\u8def\u7531\u8868\u3002BGP\u4f1a\u53d1\u9001Keepalive\u62a5\u6587\u6765\u7ef4\u6301\u90bb\u5c45\u95f4\u7684BGP\u8fde\u63a5\uff0cBGP\u534f\u8bae\u4e0d\u4f1a\u5b9a\u671f\u66f4\u65b0\u8def\u7531\u8868\uff0c\u4f46\u5f53BGP\u8def\u7531\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u4f1a\u901a\u8fc7Update\u62a5\u6587\u589e\u91cf\u5730\u66f4\u65b0\u8def\u7531\u8868\u3002\u5f53BGP\u68c0\u6d4b\u5230\u7f51\u7edc\u4e2d\u7684\u9519\u8bef\u72b6\u6001\u65f6\uff08\u4f8b\u5982\u6536\u5230\u9519\u8bef\u62a5\u6587\u65f6\uff09\uff0cBGP\u4f1a\u53d1\u9001Notification\u62a5\u6587\u8fdb\u884c\u62a5\u9519\uff0cBGP\u8fde\u63a5\u4f1a\u968f\u5373\u4e2d\u65ad\u3002\u793a\u610f\u56fe\u89c1\u56fe1 \u90bb\u5c45\u5efa\u7acb\u8fc7\u7a0b\u56fe\u3002<\/p>\n<\/section>\n<section style=\"text-align: center;\">\n<section style=\"vertical-align: middle; display: inline-block; line-height: 0;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2023\/04\/wxsync-2023-04-94fe505ddca7ddbbb13c8887d53ee13c.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" style=\"vertical-align: middle; width: 100%; box-sizing: border-box;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2023\/04\/wxsync-2023-04-94fe505ddca7ddbbb13c8887d53ee13c.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.5600677\" data-type=\"png\" data-w=\"591\" \/><\/div><\/section>\n<\/section>\n<section style=\"text-align: unset;\"><span style=\"color: #1a7f09;\"><strong>2.4\u00a0 BGP\u6709\u9650\u72b6\u6001\u673a<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>BGP\u6709\u9650\u72b6\u6001\u673a\u5171\u6709\u516d\u79cd\u72b6\u6001\uff0c\u5206\u522b\u662fIdle\u3001Connect\u3001Active\u3001Open-Sent\u3001Open-Confirm\u548cEstablished\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u5728BGP\u5bf9\u7b49\u4f53\u5efa\u7acb\u7684\u8fc7\u7a0b\u4e2d\uff0c\u901a\u5e38\u53ef\u89c1\u7684\u4e09\u4e2a\u72b6\u6001\u662f\uff1aIdle\u3001Active\u3001Established\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Idle\u72b6\u6001\u4e0b\uff0c<\/strong><\/span>BGP\u62d2\u7edd\u4efb\u4f55\u8fdb\u5165\u7684\u8fde\u63a5\u8bf7\u6c42\uff0c\u662fBGP\u521d\u59cb\u72b6\u6001\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Connect\u72b6\u6001\u4e0b\uff0c<\/strong><\/span>BGP\u7b49\u5f85TCP\u8fde\u63a5\u7684\u5efa\u7acb\u5b8c\u6210\u540e\u518d\u51b3\u5b9a\u540e\u7eed\u64cd\u4f5c\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Active\u72b6\u6001\u4e0b\uff0c<\/strong><\/span>BGP\u5c06\u5c1d\u8bd5\u8fdb\u884cTCP\u8fde\u63a5\u7684\u5efa\u7acb\uff0c\u662fBGP\u7684\u4e2d\u95f4\u72b6\u6001\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Open-Sent\u72b6\u6001\u4e0b\uff0c<\/strong><\/span>BGP\u7b49\u5f85\u5bf9\u7b49\u4f53\u7684Open\u62a5\u6587\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Open-Confirm\u72b6\u6001\u4e0b\uff0c<\/strong><\/span>BGP\u7b49\u5f85\u4e00\u4e2aNotification\u62a5\u6587\u6216Keepalive\u62a5\u6587\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Established\u72b6\u6001\u4e0b\uff0c<\/strong><\/span>BGP\u5bf9\u7b49\u4f53\u95f4\u53ef\u4ee5\u4ea4\u6362Update\u62a5\u6587\u3001Route-refresh\u62a5\u6587\u3001Keepalive\u62a5\u6587\u548cNotification\u62a5\u6587\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>BGP\u5bf9\u7b49\u4f53\u53cc\u65b9\u7684\u72b6\u6001\u5fc5\u987b\u90fd\u4e3aEstablished\uff0cBGP\u90bb\u5c45\u5173\u7cfb\u624d\u80fd\u6210\u7acb\uff0c\u53cc\u65b9\u901a\u8fc7Update\u62a5\u6587\u4ea4\u6362\u8def\u7531\u4fe1\u606f\u3002<\/p>\n<\/section>\n<section style=\"text-align: center;\">\n<section style=\"vertical-align: middle; display: inline-block; line-height: 0;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2023\/04\/wxsync-2023-04-167264fd176eedbf31050dfabb62a8de.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" style=\"vertical-align: middle; width: 100%; box-sizing: border-box;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2023\/04\/wxsync-2023-04-167264fd176eedbf31050dfabb62a8de.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.6409774\" data-type=\"png\" data-w=\"1064\" \/><\/div><\/section>\n<\/section>\n<section style=\"text-align: unset;\"><span style=\"color: #1a7f09;\"><strong>2.5\u00a0 BGP\u5c5e\u6027<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>BGP\u8def\u7531\u5c5e\u6027\u662f\u4e00\u5957\u53c2\u6570\uff0c\u5b83\u5bf9\u7279\u5b9a\u7684\u8def\u7531\u8fdb\u4e00\u6b65\u7684\u63cf\u8ff0\uff0c\u4f7f\u5f97BGP\u80fd\u591f\u5bf9\u8def\u7531\u8fdb\u884c\u8fc7\u6ee4\u548c\u9009\u62e9\u3002\u4e8b\u5b9e\u4e0a\uff0c\u6240\u6709\u7684BGP\u8def\u7531\u5c5e\u6027\u90fd\u53ef\u4ee5\u5206\u4e3a\u4ee5\u4e0b4\u7c7b\uff1a<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>\u516c\u8ba4\u5fc5\u987b\u9075\u5faa\u7684\uff08Well-known mandatory\uff09\uff1a<\/strong><\/span>\u6240\u6709BGP\u8bbe\u5907\u90fd\u53ef\u4ee5\u8bc6\u522b\uff0c\u4e14\u5fc5\u987b\u5b58\u5728\u4e8eUpdate\u62a5\u6587\u4e2d\u3002\u5982\u679c\u7f3a\u5c11\u8fd9\u79cd\u5c5e\u6027\uff0c\u8def\u7531\u4fe1\u606f\u5c31\u4f1a\u51fa\u9519\u3002<\/p>\n<section><\/section>\n<p><span style=\"color: #d03a3a;\"><strong>\u516c\u8ba4\u4efb\u610f\uff08Well-known discretionary\uff09\uff1a<\/strong><\/span>\u6240\u6709BGP\u8bbe\u5907\u90fd\u53ef\u4ee5\u8bc6\u522b\uff0c\u4f46\u4e0d\u8981\u6c42\u5fc5\u987b\u5b58\u5728\u4e8eUpdate\u62a5\u6587\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u60c5\u51b5\u6765\u9009\u62e9\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>\u53ef\u9009\u8fc7\u6e21\uff08Optional transitive\uff09\uff1a<\/strong><\/span>\u5728AS\u4e4b\u95f4\u5177\u6709\u53ef\u4f20\u9012\u6027\u7684\u5c5e\u6027\u3002BGP\u8bbe\u5907\u53ef\u4ee5\u4e0d\u652f\u6301\u6b64\u5c5e\u6027\uff0c\u4f46\u5b83\u4ecd\u7136\u4f1a\u63a5\u6536\u8fd9\u7c7b\u5c5e\u6027\uff0c\u5e76\u901a\u544a\u7ed9\u5176\u4ed6\u5bf9\u7b49\u4f53\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>\u53ef\u9009\u975e\u8fc7\u6e21\uff08Optional non-transitive\uff09\uff1a<\/strong><\/span>\u5982\u679cBGP\u8bbe\u5907\u4e0d\u652f\u6301\u6b64\u5c5e\u6027\uff0c\u5219\u76f8\u5e94\u7684\u8fd9\u7c7b\u5c5e\u6027\u4f1a\u88ab\u5ffd\u7565\uff0c\u4e14\u4e0d\u4f1a\u901a\u544a\u7ed9\u5176\u4ed6\u5bf9\u7b49\u4f53\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u4e0b\u9762\u4ecb\u7ecd\u51e0\u79cd\u5e38\u7528\u7684BGP\u8def\u7531\u5c5e\u6027\uff1a<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Origin\u5c5e\u6027\uff0c<\/strong><\/span>\u5c5e\u4e8e\u516c\u8ba4\u5fc5\u987b\u9075\u5faa\u5c5e\u6027\uff0c\u7528\u6765\u5b9a\u4e49\u8def\u5f84\u4fe1\u606f\u7684\u6765\u6e90\uff0c\u6807\u8bb0\u4e00\u6761\u8def\u7531\u662f\u600e\u4e48\u6210\u4e3aBGP\u8def\u7531\u7684\uff0c\u5305\u542bIGP\u3001EGP\u548cIncomplete\u4e09\u79cd\u7c7b\u578b\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>AS_Path\u5c5e\u6027\uff0c<\/strong><\/span>\u5c5e\u4e8e\u516c\u8ba4\u5fc5\u987b\u9075\u5faa\u5c5e\u6027\uff0c\u6309\u77e2\u91cf\u987a\u5e8f\u8bb0\u5f55\u4e86\u67d0\u6761\u8def\u7531\u4ece\u672c\u5730\u5230\u76ee\u7684\u5730\u5740\u6240\u8981\u7ecf\u8fc7\u7684\u6240\u6709AS\u7f16\u53f7\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Next_Hop\u5c5e\u6027\uff0c<\/strong><\/span>\u5c5e\u4e8e\u516c\u8ba4\u5fc5\u987b\u9075\u5faa\u5c5e\u6027\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>MED\uff0c<\/strong><\/span>\u5c5e\u4e8e\u53ef\u9009\u975e\u8fc7\u6e21\u5c5e\u6027\uff0cMED\uff08Multi-Exit-Discriminator\uff09\u5c5e\u6027\u4ec5\u5728\u76f8\u90bb\u4e24\u4e2aAS\u4e4b\u95f4\u4f20\u9012\uff0c\u6536\u5230\u6b64\u5c5e\u6027\u7684AS\u4e00\u65b9\u4e0d\u4f1a\u518d\u5c06\u5176\u901a\u544a\u7ed9\u4efb\u4f55\u5176\u4ed6\u7b2c\u4e09\u65b9AS\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>Local_Pref\u5c5e\u6027\uff0c<\/strong><\/span>\u5c5e\u4e8e\u516c\u8ba4\u4efb\u610f\u5c5e\u6027\uff0c\u4ec5\u5728IBGP\u5bf9\u7b49\u4f53\u4e4b\u95f4\u6709\u6548\uff0c\u4e0d\u901a\u544a\u7ed9\u5176\u4ed6AS\uff0c\u7528\u4e8e\u8868\u660e\u8def\u7531\u8bbe\u5907\u7684BGP\u4f18\u5148\u7ea7\u3002<\/p>\n<p>&nbsp;<\/p>\n<\/section>\n<section style=\"display: flex; flex-flow: row nowrap; margin: 10px 0%; text-align: center; justify-content: center;\">\n<section style=\"display: inline-block; vertical-align: bottom; width: auto; flex: 0 0 auto; align-self: flex-end; min-width: 10%; height: auto; line-height: 1; letter-spacing: 0px;\">\n<section style=\"margin-right: 0%; margin-left: 0%; transform: translate3d(-10px, 0px, 0px);\">\n<section style=\"color: #7342d7; font-size: 32px; padding-right: 18px; padding-left: 18px; letter-spacing: 0px; line-height: 1;\"><strong>03<\/strong><\/section>\n<\/section>\n<section style=\"margin-top: -14px; margin-right: 0%; margin-left: 0%;\">\n<section style=\"display: inline-block; width: 100%; height: 18px; vertical-align: top; overflow: hidden; background-color: rgba(149, 114, 239, 0.12);\"><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block; vertical-align: bottom; width: auto; align-self: flex-end; flex: 100 100 0%; height: auto; padding-left: 6px; margin-left: -30px; border-style: none; border-width: 0px; border-right-color: #9572ef;\">\n<section style=\"color: #7342d7; text-align: left; letter-spacing: 1px;\"><strong> BGP\u662f\u5982\u4f55\u5904\u7406\u8def\u7531\u7684\uff1f<\/strong><\/section>\n<section style=\"margin-right: 0%; margin-bottom: 4px; margin-left: 0%;\">\n<section style=\"background-color: #9572ef; height: 1px;\"><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"text-align: unset;\">BGP\u5bf9\u8def\u7531\u7684\u5904\u7406\u5982\u56fe BGP\u5bf9\u8def\u7531\u7684\u5904\u7406\u8fc7\u7a0b\u6240\u793a\u3002BGP\u8def\u7531\u6765\u6e90\u5305\u62ec\u4ece\u5176\u4ed6\u534f\u8bae\u5f15\u5165\u548c\u4ece\u90bb\u5c45\u5b66\u4e60\u4e24\u4e2a\u90e8\u5206\uff0c\u4e3a\u4e86\u51cf\u5c11\u8def\u7531\u89c4\u6a21\uff0c\u53ef\u4ee5\u5bf9\u4f18\u9009\u7684BGP\u8def\u7531\u8fdb\u884c\u805a\u5408\u3002\u5728\u5f15\u5165\u8def\u7531\u3001\u4ece\u90bb\u5c45\u63a5\u6536\u6216\u53d1\u9001\u8def\u7531\u7684\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8def\u7531\u7b56\u7565\u5b9e\u73b0\u5bf9\u8def\u7531\u7684\u8fc7\u6ee4\uff0c\u4e5f\u53ef\u4ee5\u4fee\u6539\u8def\u7531\u7684\u5c5e\u6027\u3002<\/p>\n<\/section>\n<section style=\"text-align: center;\">\n<section style=\"vertical-align: middle; display: inline-block; line-height: 0;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2023\/04\/wxsync-2023-04-7da0ad641c9f107c8ceddf9bfe42c963.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" style=\"vertical-align: middle; width: 100%; box-sizing: border-box;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2023\/04\/wxsync-2023-04-7da0ad641c9f107c8ceddf9bfe42c963.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"1.0153061\" data-type=\"png\" data-w=\"392\" \/><\/div><\/section>\n<\/section>\n<section style=\"text-align: unset;\"><span style=\"color: #1a7f09;\"><strong>3.1\u00a0 \u8def\u7531\u5f15\u5165<\/strong><\/span><\/p>\n<p><span style=\"color: #1a7f09;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p>BGP\u534f\u8bae\u81ea\u8eab\u4e0d\u80fd\u53d1\u73b0\u8def\u7531\uff0c\u6240\u4ee5\u9700\u8981\u5f15\u5165\u5176\u4ed6\u534f\u8bae\u7684\u8def\u7531\uff08\u5982IGP\u6216\u8005\u9759\u6001\u8def\u7531\u7b49\uff09\u6ce8\u5165\u5230BGP\u8def\u7531\u8868\u4e2d\uff0c\u4ece\u800c\u5c06\u8fd9\u4e9b\u8def\u7531\u5728AS\u4e4b\u5185\u548cAS\u4e4b\u95f4\u4f20\u64ad\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>BGP\u5f15\u5165\u8def\u7531\u65f6\u652f\u6301Import\u548cNetwork\u4e24\u79cd\u65b9\u5f0f\uff1aImport\u65b9\u5f0f\u662f\u6309\u534f\u8bae\u7c7b\u578b\uff0c\u5c06RIP\u8def\u7531\u3001OSPF\u8def\u7531\u3001IS-IS\u8def\u7531\u3001\u9759\u6001\u8def\u7531\u548c\u76f4\u8fde\u8def\u7531\u7b49\u67d0\u4e00\u534f\u8bae\u7684\u8def\u7531\u6ce8\u5165\u5230BGP\u8def\u7531\u8868\u4e2d\uff1bNetwork\u65b9\u5f0f\u6bd4Import\u65b9\u5f0f\u66f4\u7cbe\u786e\uff0c\u5c06\u6307\u5b9a\u524d\u7f00\u548c\u63a9\u7801\u7684\u4e00\u6761\u8def\u7531\u6ce8\u5165\u5230BGP\u8def\u7531\u8868\u4e2d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #1a7f09;\"><strong>3.2\u00a0 \u8def\u7531\u9009\u62e9<\/strong><\/span><\/p>\n<p><span style=\"color: #1a7f09;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p>\u5f53\u5230\u8fbe\u540c\u4e00\u76ee\u7684\u5730\u5b58\u5728\u591a\u6761\u8def\u7531\u65f6\uff0cBGP\u91c7\u53d6\u8def\u7531\u9009\u62e9\u7b56\u7565\u8fdb\u884c\u8def\u7531\u9009\u62e9\uff0c\u4f8b\u5982\u4f18\u9009\u6ca1\u6709\u8fed\u4ee3\u5230Graceful Down\uff08\u8be5SRv6\u00a0TE-Policy\u5904\u4e8e\u5ef6\u8fdf\u5220\u9664\u72b6\u6001\uff09\u7684SRv6 TE-Policy\u7684\u8def\u7531\u3001\u5728\u4e0eRPKI\uff08Resource Public Key Infrastructure\uff09\u670d\u52a1\u5668\u8fdb\u884c\u8fde\u63a5\u7684\u60c5\u666f\u4e2d\uff0c\u5e94\u7528\u8d77\u6e90AS\u9a8c\u8bc1\u7ed3\u679c\u540e\u7684BGP\u8def\u7531\u4f18\u5148\u7ea7\u987a\u5e8f\u4e3aValid &gt; NotFound &gt; Invalid\u3001\u4f18\u9009\u6ca1\u6709\u8bef\u7801\u7684\u8def\u7531\u7b49\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #1a7f09;\"><strong>3.3\u00a0 \u8def\u7531\u805a\u5408<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u5728\u5927\u89c4\u6a21\u7684\u7f51\u7edc\u4e2d\uff0cBGP\u8def\u7531\u8868\u5341\u5206\u5e9e\u5927\uff0c\u4f7f\u7528\u8def\u7531\u805a\u5408\uff08Routes Aggregation\uff09\u53ef\u4ee5\u5927\u5927\u51cf\u5c0f\u8def\u7531\u8868\u7684\u89c4\u6a21\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u8def\u7531\u805a\u5408\u5b9e\u9645\u4e0a\u662f\u5c06\u591a\u6761\u8def\u7531\u5408\u5e76\u7684\u8fc7\u7a0b\u3002\u8fd9\u6837BGP\u5728\u5411\u5bf9\u7b49\u4f53\u901a\u544a\u8def\u7531\u65f6\uff0c\u53ef\u4ee5\u53ea\u901a\u544a\u805a\u5408\u540e\u7684\u8def\u7531\uff0c\u800c\u4e0d\u662f\u901a\u544a\u6240\u6709\u7684\u5177\u4f53\u8def\u7531\u3002<\/p>\n<section><\/section>\n<p><strong>BGP\u8def\u7531\u805a\u5408\u652f\u6301\u4e24\u79cd\u65b9\u5f0f\uff1a<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><span style=\"color: #d03a3a;\"><strong>\u81ea\u52a8\u805a\u5408\uff1a<\/strong><\/span>\u5bf9BGP\u5f15\u5165\u7684\u8def\u7531\u8fdb\u884c\u805a\u5408\u3002\u914d\u7f6e\u81ea\u52a8\u805a\u5408\u540e\uff0c\u5bf9\u53c2\u52a0\u805a\u5408\u7684\u5177\u4f53\u8def\u7531\u8fdb\u884c\u6291\u5236\u3002\u914d\u7f6e\u81ea\u52a8\u805a\u5408\u540e\uff0cBGP\u5c06\u6309\u7167\u81ea\u7136\u7f51\u6bb5\u805a\u5408\u8def\u7531\uff08\u598210.1.1.1\/32\u548c10.2.1.1\/32\u5c06\u805a\u5408\u4e3aA\u7c7b\u5730\u574010.0.0.0\/8\uff09\uff0c\u5e76\u4e14BGP\u5411\u5bf9\u7b49\u4f53\u53ea\u53d1\u9001\u805a\u5408\u540e\u7684\u8def\u7531\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #d03a3a;\"><strong>\u624b\u52a8\u805a\u5408\uff1a<\/strong><\/span>\u5bf9BGP\u672c\u5730\u8def\u7531\u8fdb\u884c\u805a\u5408\u3002\u624b\u52a8\u805a\u5408\u53ef\u4ee5\u63a7\u5236\u805a\u5408\u8def\u7531\u7684\u5c5e\u6027\uff0c\u4ee5\u53ca\u51b3\u5b9a\u662f\u5426\u53d1\u5e03\u5177\u4f53\u8def\u7531\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>IPv4\u652f\u6301\u81ea\u52a8\u805a\u5408\u548c\u624b\u52a8\u805a\u5408\u4e24\u79cd\u65b9\u5f0f\uff0c\u800cIPv6\u4ec5\u652f\u6301\u624b\u52a8\u805a\u5408\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #1a7f09;\"><strong>3.4\u00a0 BGP\u53d1\u5e03\u8def\u7531<\/strong><\/span><\/p>\n<p><span style=\"color: #1a7f09;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p>BGP\u53d1\u5e03\u8def\u7531\u65f6\u91c7\u7528\u5982\u4e0b\u7b56\u7565\uff1a<\/p>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>\u5b58\u5728\u591a\u6761\u6709\u6548\u8def\u7531\u65f6\uff0cBGP Speaker\u53ea\u5c06\u6700\u4f18\u8def\u7531\u53d1\u5e03\u7ed9\u5bf9\u7b49\u4f53\u3002<\/li>\n<li>BGP Speaker\u4eceEBGP\u83b7\u5f97\u7684\u8def\u7531\u4f1a\u5411\u5b83\u6240\u6709BGP\u5bf9\u7b49\u4f53\u53d1\u5e03\uff08\u5305\u62ecEBGP\u5bf9\u7b49\u4f53\u548cIBGP\u5bf9\u7b49\u4f53\uff09\u3002<\/li>\n<li>BGP Speaker\u4eceIBGP\u83b7\u5f97\u7684\u8def\u7531\u4e0d\u5411\u5b83\u7684IBGP\u5bf9\u7b49\u4f53\u53d1\u5e03\u3002<\/li>\n<li>BGP Speaker\u4eceIBGP\u83b7\u5f97\u7684\u8def\u7531\u662f\u5426\u901a\u544a\u7ed9\u5b83\u7684EBGP\u5bf9\u7b49\u4f53\u8981\u4f9d\u636eIGP\u548cBGP\u540c\u6b65\u7684\u60c5\u51b5\u3002<\/li>\n<li>\u8fde\u63a5\u4e00\u65e6\u5efa\u7acb\uff0cBGP Speaker\u5c06\u628a\u81ea\u5df1\u53ef\u53d1\u5e03\u7684BGP\u6700\u4f18\u8def\u7531\u53d1\u5e03\u7ed9\u65b0\u5bf9\u7b49\u4f53\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<\/section>\n<section style=\"display: flex; flex-flow: row nowrap; margin: 10px 0%; text-align: center; justify-content: center;\">\n<section style=\"display: inline-block; vertical-align: bottom; width: auto; flex: 0 0 auto; align-self: flex-end; min-width: 10%; height: auto; line-height: 1; letter-spacing: 0px;\">\n<section style=\"margin-right: 0%; margin-left: 0%; transform: translate3d(-10px, 0px, 0px);\">\n<section style=\"color: #7342d7; font-size: 32px; padding-right: 18px; padding-left: 18px; letter-spacing: 0px; line-height: 1;\"><strong>04<\/strong><\/section>\n<\/section>\n<section style=\"margin-top: -14px; margin-right: 0%; margin-left: 0%;\">\n<section style=\"display: inline-block; width: 100%; height: 18px; vertical-align: top; overflow: hidden; background-color: rgba(149, 114, 239, 0.12);\"><\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block; vertical-align: bottom; width: auto; align-self: flex-end; flex: 100 100 0%; height: auto; padding-left: 6px; margin-left: -30px; border-style: none; border-width: 0px; border-right-color: #9572ef;\">\n<section style=\"color: #7342d7; text-align: left; letter-spacing: 1px;\"><strong>BGP\u652f\u6301\u54ea\u4e9b\u6269\u5c55\uff1f<\/strong><\/section>\n<section style=\"margin-right: 0%; margin-bottom: 4px; margin-left: 0%;\">\n<section style=\"background-color: #9572ef; height: 1px;\"><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"text-align: unset;\">\u4f20\u7edf\u7684BGP-4\u53ea\u80fd\u7ba1\u7406IPv4\u5355\u64ad\u8def\u7531\u4fe1\u606f\uff0c\u5bf9\u4e8e\u4f7f\u7528\u5176\u5b83\u7f51\u7edc\u5c42\u534f\u8bae\uff08\u5982IPv6\u3001\u7ec4\u64ad\u7b49\uff09\u7684\u5e94\u7528\u5c31\u53d7\u5230\u4e00\u5b9a\u9650\u5236\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e3a\u4e86\u63d0\u4f9b\u5bf9\u591a\u79cd\u7f51\u7edc\u5c42\u534f\u8bae\u7684\u652f\u6301\uff0cIETF\uff08Internet Engineering Task Force\uff09\u5bf9BGP-4\u8fdb\u884c\u4e86\u6269\u5c55\uff0c\u5f62\u6210MP-BGP\uff08Multi-protocol Extensions for Border Gateway Protocol\uff09\u3002MP-BGP\u5411\u524d\u517c\u5bb9\uff0c\u5373\u652f\u6301BGP\u6269\u5c55\u7684\u8def\u7531\u5668\u4e0e\u4e0d\u652f\u6301BGP\u6269\u5c55\u7684\u8def\u7531\u5668\u53ef\u4ee5\u4e92\u901a\u3002<\/p>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>MP-BGP\u5728\u73b0\u6709BGP-4\u534f\u8bae\u7684\u57fa\u7840\u4e0a\u589e\u5f3a\u529f\u80fd\uff0c\u4f7fBGP\u80fd\u591f\u4e3a\u591a\u79cd\u8def\u7531\u534f\u8bae\u63d0\u4f9b\u8def\u7531\u4fe1\u606f\uff0c\u5305\u62ecIPv6\uff08\u5373BGP4+\uff09\u548c\u7ec4\u64ad\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>MP-BGP\u53ef\u4ee5\u540c\u65f6\u4e3a\u5355\u64ad\u548c\u7ec4\u64ad\u7ef4\u62a4\u8def\u7531\u4fe1\u606f\uff0c\u5c06\u5b83\u4eec\u50a8\u5b58\u5728\u4e0d\u540c\u7684\u8def\u7531\u8868\u4e2d\uff0c\u4fdd\u6301\u5355\u64ad\u548c\u7ec4\u64ad\u4e4b\u95f4\u8def\u7531\u4fe1\u606f\u76f8\u4e92\u9694\u79bb\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>MP-BGP\u53ef\u4ee5\u540c\u65f6\u652f\u6301\u5355\u64ad\u548c\u7ec4\u64ad\u6a21\u5f0f\uff0c\u4e3a\u4e24\u79cd\u6a21\u5f0f\u6784\u5efa\u4e0d\u540c\u7684\u7f51\u7edc\u62d3\u6251\u7ed3\u6784\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u539fBGP-4\u652f\u6301\u7684\u5355\u64ad\u8def\u7531\u7b56\u7565\u548c\u914d\u7f6e\u65b9\u6cd5\u5927\u90e8\u5206\u90fd\u53ef\u5e94\u7528\u4e8e\u7ec4\u64ad\u6a21\u5f0f\uff0c\u4ece\u800c\u6839\u636e\u8def\u7531\u7b56\u7565\u4e3a\u5355\u64ad\u548c\u7ec4\u64ad\u7ef4\u62a4\u4e0d\u540c\u7684\u8def\u7531\u3002<\/p>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP\u91c7\u7528\u5730\u5740\u65cf\uff08Address Family\uff09\u6765\u533a\u5206\u4e0d\u540c\u7684\u7f51\u7edc\u5c42\u534f\u8bae\uff0c\u5173\u4e8e\u5730\u5740\u65cf\u7684\u4e00\u4e9b\u53d6\u503c\u53ef\u4ee5\u53c2\u8003\u76f8\u5173\u6807\u51c6\u3002\u652f\u6301\u591a\u79cdMP-BGP\u6269\u5c55\u5e94\u7528\uff0c\u5305\u62ec\u5bf9VPN\u7684\u6269\u5c55\u3001\u5bf9IPv6\u7684\u6269\u5c55\u7b49\uff0c\u4e0d\u540c\u7684\u6269\u5c55\u5e94\u5728\u5404\u81ea\u7684\u5730\u5740\u65cf\u89c6\u56fe\u4e0b\u914d\u7f6e\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP-IPv4\u5355\u64ad\u5730\u5740\u65cf\u6709\u4ee5\u4e0b\u4f5c\u7528\uff1a\u7ef4\u62a4\u516c\u7f51BGP\u90bb\u5c45\uff0c\u5e76\u4e14\u4f20\u9012\u516c\u7f51IPv4\u8def\u7531\u4fe1\u606f\uff1b\u4f20\u9012\u516c\u7f51IPv4\u6807\u7b7e\u8def\u7531\uff0c\u4e3b\u8981\u7528\u5728Option C\u65b9\u5f0f\u7684\u8de8\u57dfBGP\/MPLS IP VPN\u6216Option C\u65b9\u5f0f\u7684\u8de8\u57dfBGP\/MPLS IPv6 VPN\u573a\u666f\u91cc\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP-IPv6\u5355\u64ad\u5730\u5740\u65cf\u6709\u4ee5\u4e0b\u4f5c\u7528\uff1a\u7ef4\u62a4\u516c\u7f51IPv6 BGP\u90bb\u5c45\uff0c\u5e76\u4e14\u4f20\u9012\u516c\u7f51IPv6\u8def\u7531\u4fe1\u606f\uff1b\u4f20\u9012IPv6\u6807\u7b7e\u8def\u7531\uff0c\u4e3b\u8981\u7528\u4e8e\u914d\u7f6e6PE\u573a\u666f\u91cc\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP-IPv4\u7ec4\u64ad\u5730\u5740\u65cf\u89c6\u56fe\u3001BGP-MVPN\u5730\u5740\u65cf\u89c6\u56fe\u3001BGP-IPv6 MVPN\u5730\u5740\u65cf\u89c6\u56fe\u3001BGP-MDT\u5730\u5740\u65cf\u89c6\u56fe\u7b49\u7ec4\u64ad\u76f8\u5173\u5730\u5740\u65cf\u53ef\u4ee5\u4f20\u8f93\u8de8AS\u7684\u8def\u7531\u4fe1\u606f\uff0c\u4e3b\u8981\u5e94\u7528\u4e8eMBGP\u3001BIER\u3001NG MVPN\u3001BIERv6\u548cRosen MVPN\u3002<\/li>\n<\/ul>\n<section><\/section>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP-VPNv4\u5730\u5740\u65cf\u3001BGP-VPNv6\u5730\u5740\u65cf\u3001BGP-VPN\u5b9e\u4f8b\u89c6\u56fe\u3001BGP\u591a\u5b9e\u4f8bVPN\u5b9e\u4f8b\u89c6\u56fe\u3001BGP-L2VPN-AD\u5730\u5740\u65cf\u89c6\u56fe\u3001BGP-L2VPN-AD\u5730\u5740\u65cf\u89c6\u56fe\u7b49VPN\u76f8\u5173\u5730\u5740\u65cf\u4e3b\u8981\u5e94\u7528\u4e8eBGP\/MPLS IP VPN\u3001VPWS\u4ee5\u53caVPLS\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP-EVPN\u5730\u5740\u65cf\u89c6\u56fe\u3001BGP\u591a\u5b9e\u4f8bEVPN\u5730\u5740\u65cf\u89c6\u56fe\u7b49EVPN\u76f8\u5173\u5730\u5740\u65cf\u4e3b\u8981\u7528\u4e8e\u914d\u7f6eBGP EVPN\u5bf9\u7b49\u4f53\uff0c\u5e94\u7528\u4e8eEVPN VPLS\u3001EVPN VPWS\u4ee5\u53caEVPN L3VPN\u3002EVPN\uff08Ethernet Virtual Private Network\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u4e8c\u5c42\u7f51\u7edc\u4e92\u8054\u7684VPN\u6280\u672f\u3002EVPN\u6280\u672f\u91c7\u7528\u7c7b\u4f3c\u4e8eBGP\/MPLS IP VPN\u7684\u673a\u5236\uff0c\u5728BGP\u534f\u8bae\u7684\u57fa\u7840\u4e0a\u5b9a\u4e49\u4e86\u4e00\u79cd\u65b0\u7684\u7f51\u7edc\u5c42\u53ef\u8fbe\u4fe1\u606fNLRI\uff08Network Layer Reachability Information\uff09\u5373EVPN NLRI\uff0cEVPN NLRI\u5b9a\u4e49\u4e86\u51e0\u79cd\u65b0\u7684BGP EVPN\u8def\u7531\u7c7b\u578b\uff0c\u7528\u4e8e\u5904\u5728\u4e8c\u5c42\u7f51\u7edc\u7684\u4e0d\u540c\u7ad9\u70b9\u4e4b\u95f4\u7684MAC\u5730\u5740\u5b66\u4e60\u548c\u53d1\u5e03\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP IPv4 SR-Policy\u5730\u5740\u65cf\u89c6\u56fe\u548cBGP IPv6 SR-Policy\u5730\u5740\u65cf\u89c6\u56fe\u4e3b\u8981\u5e94\u7528\u4e8eSegment Routing MPLS\u548cSegment Routing\u00a0IPv6\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP-Flow\u5730\u5740\u65cf\u89c6\u56fe\u3001BGP-Flow VPNv4\u5730\u5740\u65cf\u89c6\u56fe\u3001BGP-Flow VPNv6\u5730\u5740\u65cf\u89c6\u56fe\u3001BGP-Flow VPN\u5b9e\u4f8bIPv4\u5730\u5740\u65cf\u89c6\u56fe\u3001BGP-Flow VPN\u5b9e\u4f8bIPv6\u5730\u5740\u65cf\u89c6\u56fe\u7b49Flow\u76f8\u5173\u5730\u5740\u65cf\u4e3b\u8981\u7528\u4e8e\u9632\u6b62DoS\/DDoS\u653b\u51fb\uff0c\u53ef\u4ee5\u63d0\u9ad8\u7f51\u7edc\u5b89\u5168\u6027\u548c\u53ef\u7528\u6027\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP-Labeled\u5730\u5740\u65cf\u89c6\u56fe\u548cBGP-Labeled-VPN\u5b9e\u4f8bIPv4\u5730\u5740\u65cf\u89c6\u56fe\u7684\u5e94\u7528\u4e3b\u8981\u5728\u4e8eBGP\u5206\u6807\u7b7e\u65b9\u6848\u7684\u8fd0\u8425\u5546\u914d\u7f6e\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"list-paddingleft-1\" style=\"padding-left: 40px; list-style-position: outside;\">\n<li>BGP-LS\u5730\u5740\u65cf\u89c6\u56fe\u4e3b\u8981\u7528\u4e8e\u6c47\u603bIGP\u534f\u8bae\u6536\u96c6\u7684\u62d3\u6251\u4fe1\u606f\u4e0a\u9001\u7ed9\u4e0a\u5c42\u63a7\u5236\u5668\u3002<\/li>\n<\/ul>\n<\/section>\n<section style=\"margin-top: 10px; margin-right: 0%; margin-left: 0%;\">\n<section><\/section>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u8fb9\u754c\u7f51\u5173\u534f\u8bae\uff08Border Gateway Protocol\uff0cBGP\uff09\u662f\u4e00\u79cd\u7528\u6765\u5728\u8def\u7531\u9009\u62e9\u57df\u4e4b\u95f4\u4ea4\u6362\u7f51\u7edc\u5c42\u53ef\u8fbe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,2],"tags":[],"class_list":["post-11779","post","type-post","status-publish","format-standard","hentry","category-cisco","category-network"],"_links":{"self":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/11779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11779"}],"version-history":[{"count":1,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/11779\/revisions"}],"predecessor-version":[{"id":11820,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/11779\/revisions\/11820"}],"wp:attachment":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}