<script type="application/ld+json">{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.simcentric.com/tc/"},{"@type":"ListItem","position":2,"name":"如何透過 BGP 多宿主優化流量路徑","item":"https://www.simcentric.com/japan-dedicated-server/how-to-optimize-traffic-paths-with-bgp-multi-homing/"}]}</script> {"id":35857,"date":"2026-11-22T08:00:48","date_gmt":"2026-11-22T00:00:48","guid":{"rendered":"https:\/\/www.simcentric.com\/uncategorized-tc\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/"},"modified":"2026-11-20T11:43:38","modified_gmt":"2026-11-20T03:43:38","slug":"how-to-optimize-traffic-paths-with-bgp-multi-homing","status":"publish","type":"post","link":"https:\/\/www.simcentric.com\/tc\/japan-dedicated-server-tc\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/","title":{"rendered":"\u5982\u4f55\u900f\u904e BGP \u591a\u5bbf\u4e3b\u512a\u5316\u6d41\u91cf\u8def\u5f91"},"content":{"rendered":"<p>\u4f60\u53ef\u4ee5\u4f7f\u7528 local preference\u3001weight \u4ee5\u53ca\u7531\u672c\u5730\u63a7\u5236\u7684 AS path \u64cd\u4f5c\u4f86\u512a\u5316<a href=\"https:\/\/www.simcentric.com\/tc\/products\/dedicated-server-jp\/\" target=\"_blank\" rel=\"noopener\">\u51fa\u7ad9\u6d41\u91cf<\/a>\uff1b\u4f60\u4e5f\u53ef\u4ee5\u900f\u904e\u5411\u4e0a\u6e38\u9001\u51fa\u7684 AS path prepending\u3001MED \u548c communities\uff0c\u9593\u63a5\u512a\u5316\u5165\u7ad9\u6d41\u91cf\u3002BGP \u591a\u5bbf\u4e3b\u80fd\u5e36\u4f86\u5099\u63f4\uff0c\u4f46\u5b83\u672c\u8eab\u4e26\u4e0d\u6703\u81ea\u52d5\u63d0\u4f9b\u6700\u4f73\u8def\u5f91\u3002\u4f60\u5fc5\u9808\u6709\u610f\u8b58\u5730\u5206\u5225\u70ba\u5169\u500b\u65b9\u5411\u8a2d\u8a08\u7b56\u7565\u3002\u672c\u6587\u5c07\u8aaa\u660e\u6bcf\u7a2e\u5c6c\u6027\u5206\u5225\u9069\u7528\u65bc\u54ea\u500b\u65b9\u5411\u3001\u5982\u4f55\u5be6\u73fe\u8ca0\u8f09\u5e73\u8861\u8207\u5e73\u9806\u6545\u969c\u5207\u63db\u3001\u5982\u4f55\u8fa8\u8b58\u975e\u5c0d\u7a31\u8def\u7531\uff0c\u4ee5\u53ca\u5982\u4f55\u900f\u904e\u771f\u5be6\u7684 show \u6307\u4ee4\u548c <a href=\"https:\/\/www.simcentric.com\/tc\/products\/dedicated-server-jp\/\" target=\"_blank\" rel=\"noopener\">looking glass<\/a> \u9a57\u8b49\u7d50\u679c\u3002<\/p>\n<h2><strong>BGP \u591a\u5bbf\u4e3b\u57fa\u790e<\/strong><\/h2>\n<h3>\u96d9\u91cd\u591a\u5bbf\u4e3b\u8a2d\u8a08\u8207\u8def\u5f91\u63a7\u5236<\/h3>\n<p>BGP \u591a\u5bbf\u4e3b\u662f\u6307\u5c07\u4f60\u7684\u7db2\u8def\u9023\u63a5\u5230\u591a\u500b\u4f9b\u61c9\u5546\u3002\u7576\u4e00\u689d\u93c8\u8def\u4e2d\u65b7\u6642\uff0c\u4f60\u53ef\u4ee5\u7372\u5f97\u6545\u969c\u5207\u63db\u80fd\u529b\uff1b\u7576\u5169\u689d\u93c8\u8def\u90fd\u8655\u65bc\u53ef\u7528\u72c0\u614b\u6642\uff0c\u4f60\u4e5f\u80fd\u7372\u5f97\u6d41\u91cf\u5de5\u7a0b\u80fd\u529b\u3002\u96d9\u91cd\u591a\u5bbf\u4e3b\u8a2d\u8a08\u66f4\u9032\u4e00\u6b65\uff1a\u4f60\u8207\u5169\u500b\u4f9b\u61c9\u5546\u5efa\u7acb\u5c0d\u7b49\u9023\u7dda\uff0c\u7531 BGP \u6839\u64da\u4f60\u8a2d\u5b9a\u7684\u7b56\u7565\u5728\u5b83\u5011\u4e4b\u9593\u5206\u914d\u6d41\u91cf\u3002\u5982\u6b64\u4e00\u4f86\uff0c\u53ef\u9760\u6027\u6703\u63d0\u5347\uff0c\u56e0\u70ba\u55ae\u4e00\u4f9b\u61c9\u5546\u6545\u969c\u4e0d\u6703\u8b93\u4f60\u6574\u9ad4\u96e2\u7dda\uff1b\u6548\u80fd\u4e5f\u6703\u63d0\u9ad8\uff0c\u56e0\u70ba\u4f60\u53ef\u4ee5\u5c07\u4e0d\u540c\u65b9\u5411\u7684\u6d41\u91cf\u5f15\u5c0e\u5230\u66f4\u4f73\u8def\u5f91\u3002<\/p>\n<p>\u5169\u500b\u65b9\u5411\u7684\u8def\u5f91\u63a7\u5236\u65b9\u5f0f\u4e26\u4e0d\u76f8\u540c\u3002\u51fa\u7ad9\u6c7a\u7b56\u767c\u751f\u5728\u4f60\u7684\u8def\u7531\u5668\u4e0a\uff0c\u56e0\u6b64\u4f60\u64c1\u6709\u76f4\u63a5\u63a7\u5236\u6b0a\uff1b\u5165\u7ad9\u6c7a\u7b56\u767c\u751f\u5728\u9060\u7aef\u7db2\u8def\u4e2d\uff0c\u56e0\u6b64\u4f60\u53ea\u80fd\u65bd\u52a0\u5f71\u97ff\uff0c\u800c\u7121\u6cd5\u76f4\u63a5\u547d\u4ee4\u3002\u4f60\u64b0\u5beb\u4efb\u4f55\u7b56\u7565\u6642\uff0c\u90fd\u61c9\u59cb\u7d42\u7262\u8a18\u9019\u4e00\u9ede\u3002<\/p>\n<h3>BGP \u6700\u4f73\u8def\u5f91\u6f14\u7b97\u6cd5<\/h3>\n<p>\u8a72\u6f14\u7b97\u6cd5\u6703\u4f9d\u7167\u56fa\u5b9a\u9806\u5e8f\u8a55\u4f30\u5404\u9805\u5c6c\u6027\u3002\u7406\u89e3\u9019\u4e00\u9806\u5e8f\uff0c\u624d\u80fd\u77e5\u9053\u61c9\u512a\u5148\u8abf\u6574\u54ea\u500b\u63a7\u5236\u9805\u3002<\/p>\n<ol>\n<li>\u6700\u9ad8\u7684 weight \u52dd\u51fa\u3002Weight \u50c5\u5728\u55ae\u53f0\u8def\u7531\u5668\u672c\u5730\u751f\u6548\uff0c\u4e14\u4e0d\u6703\u5411\u5916\u50b3\u64ad\u3002<\/li>\n<li>\u6700\u9ad8\u7684 local preference \u52dd\u51fa\u3002\u8a72\u503c\u6703\u5728\u4f60\u7684\u81ea\u6cbb\u7cfb\u7d71\u5167\u90e8\u50b3\u64ad\u3002<\/li>\n<li>\u672c\u5730\u7522\u751f\u7684\u8def\u7531\u512a\u5148\u65bc\u5b78\u7fd2\u5230\u7684\u8def\u7531\u3002<\/li>\n<li>\u6700\u77ed\u7684 AS path \u52dd\u51fa\u3002<\/li>\n<li>\u6700\u4f4e\u7684 origin type \u52dd\u51fa\uff0c\u5176\u4e2d IGP \u512a\u65bc EGP\uff0cEGP \u512a\u65bc incomplete\u3002<\/li>\n<li>\u6700\u4f4e\u7684 MED \u52dd\u51fa\uff0c\u524d\u63d0\u662f\u9019\u4e9b\u8def\u5f91\u4f86\u81ea\u540c\u4e00\u500b\u9130\u63a5 AS\u3002<\/li>\n<li>\u5916\u90e8\u8def\u5f91\u512a\u65bc\u5167\u90e8\u8def\u5f91\u3002<\/li>\n<li>\u5230\u4e0b\u4e00\u8df3\u7684\u6700\u4f4e IGP metric \u52dd\u51fa\u3002<\/li>\n<\/ol>\n<p>\u4f60\u5f88\u65e9\u5c31\u6703\u9047\u5230\u4e00\u500b\u8a2d\u8a08\u53d6\u6368\u3002\u82e5\u5f9e\u5169\u500b\u4f9b\u61c9\u5546\u90fd\u63a5\u6536\u5b8c\u6574 BGP \u8868\uff0c\u4f60\u7684\u8def\u7531\u5668\u5c31\u80fd\u638c\u63e1\u6700\u5145\u5206\u7684\u8cc7\u8a0a\uff0c\u56e0\u6b64\u51fa\u7ad9\u8def\u7531\u6703\u66f4\u52a0\u512a\u5316\u3002\u82e5\u53ea\u767c\u5e03\u6216\u63a5\u6536\u9810\u8a2d\u8def\u7531\uff0c\u5247\u80fd\u986f\u8457\u964d\u4f4e\u8a18\u61b6\u9ad4\u8207 CPU \u6d88\u8017\uff0c\u4f46\u4f60\u6703\u5931\u53bb\u9032\u884c\u7d30\u7c92\u5ea6\u8def\u5f91\u9078\u64c7\u6240\u9700\u7684\u7d30\u7bc0\u3002\u61c9\u6839\u64da\u8def\u7531\u5668\u80fd\u529b\u4ee5\u53ca\u4f60\u5c0d\u7cbe\u78ba\u63a7\u5236\u7684\u9700\u6c42\u4f86\u505a\u9078\u64c7\u3002<\/p>\n<h2><strong>BGP \u591a\u5bbf\u4e3b\u4e2d\u7684\u51fa\u7ad9\u8def\u5f91\u63a7\u5236<\/strong><\/h2>\n<p>\u51fa\u7ad9\u6d41\u91cf\u5de5\u7a0b\u63a7\u5236\u7684\u662f\u4f60\u7684\u7db2\u8def\u5982\u4f55\u628a\u6d41\u91cf\u9001\u5f80\u5916\u90e8\u76ee\u7684\u5730\u3002\u6bcf\u4e00\u6b21\u51fa\u7ad9\u6c7a\u7b56\u90fd\u7531\u4f60\u7684\u672c\u5730\u8def\u7531\u5668\u5b8c\u6210\uff0c\u56e0\u6b64\u65b9\u5411\u76e4\u638c\u63e1\u5728\u4f60\u624b\u4e2d\u3002\u4e0d\u904e\uff0c\u8981\u5be6\u73fe\u51fa\u7ad9\u6d41\u91cf\u7684\u5e73\u8861\uff0c\u4f60\u4ecd\u7136\u9700\u8981\u4f86\u81ea BGP \u5c0d\u7b49\u9ad4\u7684\u5165\u7ad9\u8def\u7531\u8cc7\u8a0a\u3002\u6c92\u6709\u9019\u4e9b\u901a\u544a\uff0c\u8def\u7531\u5668\u5c31\u7121\u6cd5\u6bd4\u8f03\u8def\u5f91\uff0c\u4e5f\u7121\u6cd5\u505a\u51fa\u6709\u4f9d\u64da\u7684\u9078\u64c7\u3002<\/p>\n<h3>Local preference \u548c weight<\/h3>\n<p>Local preference \u6703\u5728\u6574\u500b\u81ea\u6cbb\u7cfb\u7d71\u4e2d\u50b3\u64ad\uff0c\u800c weight \u53ea\u4fdd\u7559\u5728\u55ae\u53f0\u8def\u7531\u5668\u4e0a\uff0c\u4e14\u4e0d\u6703\u5411\u5916\u50b3\u905e\u3002\u7576\u4f60\u5e0c\u671b\u7db2\u8def\u4e2d\u7684\u6240\u6709\u8def\u7531\u5668\u5c0d\u51fa\u53e3\u4fdd\u6301\u4e00\u81f4\u9078\u64c7\u6642\uff0c\u61c9\u4f7f\u7528 local preference\uff1b\u7576\u4f60\u53ea\u5e0c\u671b\u67d0\u4e00\u53f0\u8def\u7531\u5668\u504f\u597d\u67d0\u500b\u5c0d\u7b49\u9ad4\uff0c\u800c\u4e0d\u5f71\u97ff\u5176\u4ed6\u4f4d\u7f6e\u7684\u7b56\u7565\u6642\uff0c\u61c9\u4f7f\u7528 weight\u3002<\/p>\n<p>\u4e0b\u9762\u7684\u7bc4\u4f8b\u6703\u8b93\u6240\u6709\u51fa\u7ad9\u6d41\u91cf\u512a\u5148\u8d70 ISP A\u3002local preference \u8a2d\u70ba 200\uff0c\u9ad8\u65bc\u9810\u8a2d\u503c 100\u3002<\/p>\n<p>show \u8f38\u51fa\u6703\u78ba\u8a8d\u9019\u4e00\u9078\u64c7\u3002\u901a\u5f80 ISP A \u7684\u8def\u5f91\u651c\u5e36\u66f4\u9ad8\u7684 local preference\uff0c\u56e0\u6b64\u8def\u7531\u5668\u6703\u5c07\u5176\u5b89\u88dd\u70ba\u6700\u4f73\u8def\u5f91\u3002<\/p>\n<p>Weight \u5728\u8def\u7531\u5668\u5c64\u7d1a\u4e0a\u7684\u4f5c\u7528\u65b9\u5f0f\u76f8\u540c\u3002\u82e5 ISP A \u9130\u5c45\u7684 weight \u70ba 500\uff0c\u5b83\u6703\u5728\u6aa2\u67e5 local preference \u4e4b\u524d\u5c31\u5148\u52dd\u51fa\u3002<\/p>\n<h3>AS path \u8207\u524d\u7db4\u901a\u544a<\/h3>\n<p>\u4f60\u4e5f\u53ef\u4ee5\u6309\u524d\u7db4\u4f86\u5f15\u5c0e\u51fa\u7ad9\u6d41\u91cf\u3002\u5c07\u4e00\u500b \/24 \u7db2\u6bb5\u901a\u544a\u7d66 ISP A\uff0c\u518d\u5c07\u7b2c\u4e8c\u500b \/24 \u7db2\u6bb5\u901a\u544a\u7d66 ISP B\u3002\u9019\u6a23\uff0c\u6bcf\u500b\u4f9b\u61c9\u5546\u90fd\u6703\u8fd4\u56de\u81ea\u5df1\u6240\u63a5\u6536\u5230\u7db2\u6bb5\u7684\u8def\u5f91\uff0c\u800c\u4f60\u7684\u8def\u7531\u5668\u5c31\u6703\u628a\u8a72\u7db2\u6bb5\u5c0d\u61c9\u7684\u6d41\u91cf\u5f9e\u5339\u914d\u7684\u93c8\u8def\u9001\u51fa\u3002\u9019\u500b\u65b9\u6cd5\u53ef\u4ee5\u5728\u4e0d\u8abf\u6574 local preference \u7684\u60c5\u6cc1\u4e0b\u62c6\u5206\u51fa\u7ad9\u8ca0\u8f09\u3002<\/p>\n<p>\u9810\u8a2d\u8def\u7531\u767c\u5e03\u5247\u63d0\u4f9b\u4e86\u4e00\u500b\u66f4\u7c21\u55ae\u7684\u63a7\u5236\u624b\u6bb5\u3002\u4f60\u53ef\u4ee5\u5728\u9762\u5411\u9996\u9078\u4f9b\u61c9\u5546\u7684\u8def\u7531\u5668\u4e0a\uff0c\u628a\u9810\u8a2d\u8def\u7531\u6ce8\u5165 IGP\u3002\u9019\u6a23\uff0c\u6c92\u6709\u66f4\u5177\u9ad4\u5339\u914d\u9805\u7684\u6d41\u91cf\u5c31\u6703\u6cbf\u8457\u8a72\u9810\u8a2d\u8def\u7531\u524d\u5f80\u9078\u5b9a\u51fa\u53e3\u3002\u518d\u642d\u914d\u4e00\u689d\u6d6e\u52d5\u975c\u614b\u8def\u7531\uff0c\u6216\u8005\u4e00\u689d metric \u66f4\u9ad8\u7684\u7b2c\u4e8c\u9810\u8a2d\u8def\u7531\uff0c\u5373\u53ef\u5be6\u73fe\u6545\u969c\u5207\u63db\u3002\u8a72\u65b9\u6cd5\u8a18\u61b6\u9ad4\u958b\u92b7\u8f03\u4f4e\uff0c\u4e5f\u8b93\u8def\u5f91\u9078\u64c7\u66f4\u52a0\u53ef\u9810\u6e2c\u3002\u4f46\u5b83\u653e\u68c4\u4e86\u7d30\u7c92\u5ea6\u512a\u5316\uff0c\u56e0\u6b64\u66f4\u9069\u5408\u90a3\u4e9b\u80fd\u5920\u63a5\u53d7\u55ae\u4e00\u9996\u9078\u51fa\u53e3\u7684\u7db2\u8def\u3002<\/p>\n<h2><strong>\u5165\u7ad9\u6d41\u91cf\u512a\u5316<\/strong><\/h2>\n<p>\u5165\u7ad9\u6d41\u91cf\u5de5\u7a0b\u95dc\u6ce8\u7684\u662f\u5916\u90e8\u6d41\u91cf\u5982\u4f55\u9032\u5165\u4f60\u7684\u7db2\u8def\u3002\u4f60\u7121\u6cd5\u76f4\u63a5\u63a7\u5236\u9019\u4e9b\u6c7a\u7b56\u3002\u9060\u7aef\u7db2\u8def\u6703\u57f7\u884c\u5b83\u5011\u81ea\u5df1\u7684\u6700\u4f73\u8def\u5f91\u6f14\u7b97\u6cd5\uff0c\u4e26\u6839\u64da\u4f60\u7684\u901a\u544a\u5167\u5bb9\u4f86\u9078\u64c7\u9032\u5165\u8def\u5f91\u3002\u5f71\u97ff\u5916\u90e8\u7db2\u8def\u9078\u64c7\u54ea\u689d\u8def\u5f91\u7684\u5e38\u898b\u65b9\u6cd5\u662f AS path prepending\u3002\u4f60\u8b93\u5176\u4e2d\u4e00\u689d\u8def\u5f91\u770b\u8d77\u4f86\u66f4\u9577\uff0c\u5f9e\u800c\u4fc3\u4f7f\u9060\u7aef\u8def\u7531\u5668\u512a\u5148\u9078\u64c7\u53e6\u4e00\u689d\u3002<\/p>\n<h3>AS path prepending \u8207 MED<\/h3>\n<p>Prepending \u662f\u6307\u5728\u9001\u7d66\u67d0\u500b\u4f9b\u61c9\u5546\u7684\u8def\u7531\u901a\u544a\u4e2d\uff0c\u91cd\u8907\u9644\u52a0\u4f60\u81ea\u5df1\u7684 AS \u865f\u3002\u63a5\u6536\u7db2\u8def\u770b\u5230\u66f4\u9577\u7684 AS path \u5f8c\uff0c\u5c31\u66f4\u53ef\u80fd\u628a\u6d41\u91cf\u5f15\u5411\u8f03\u77ed\u7684\u90a3\u689d\u8def\u5f91\u3002\u4e0b\u9762\u7684\u7bc4\u4f8b\u662f\u5728\u901a\u5f80 ISP B \u7684\u901a\u544a\u4e2d\u628a\u4f60\u7684 AS \u91cd\u8907\u4e09\u6b21\uff0c\u56e0\u6b64 ISP A \u6703\u6210\u70ba\u9996\u9078\u5165\u53e3\u9ede\u3002<\/p>\n<p>\u7576\u4f60\u9700\u8981\u4e00\u7a2e\u8f03\u70ba\u76f4\u63a5\u3001\u4e14\u88ab\u5ee3\u6cdb\u5c0a\u91cd\u7684\u8a0a\u865f\u6642\uff0cprepending \u5f88\u9069\u5408\u3002\u7db2\u969b\u7db2\u8def\u4e0a\u7684\u5404\u500b\u7db2\u8def\u90fd\u6703\u8003\u91cf AS path \u9577\u5ea6\uff0c\u56e0\u6b64\u5b83\u7684\u5f71\u97ff\u7bc4\u570d\u9060\u4e0d\u6b62\u4f60\u7684\u76f4\u63a5\u5c0d\u7b49\u9ad4\u3002\u4f46\u5b83\u4e5f\u6709\u4fb7\u9650\u3002Prepending \u6703\u5f71\u97ff\u767c\u5f80\u8a72\u524d\u7db4\u7684\u6240\u6709\u6d41\u91cf\uff0c\u56e0\u6b64\u4f60\u7121\u6cd5\u6309\u4f86\u6e90\u62c6\u5206\u6d41\u91cf\u3002\u800c\u4e14\uff0c\u76f8\u9130\u7db2\u8def\u4e5f\u53ef\u80fd\u5148\u5957\u7528\u5b83\u5011\u81ea\u5df1\u7684 local preference\uff0c\u9019\u6703\u5b8c\u5168\u8986\u84cb\u4f60\u7684 prepend \u6548\u679c\u3002<\/p>\n<p>MED \u5247\u63d0\u4f9b\u4e86\u66f4\u7d30\u7dfb\u7684\u63a7\u5236\u65b9\u5f0f\u3002\u5b83\u5411\u55ae\u500b\u76f8\u9130 AS \u767c\u51fa\u9996\u9078\u5165\u53e3\u9ede\u7684\u8a0a\u865f\uff0c\u6578\u503c\u8d8a\u4f4e\u8d8a\u512a\u5148\u3002\u7576\u5169\u689d\u93c8\u8def\u90fd\u9023\u63a5\u5230\u540c\u4e00\u5bb6\u4f9b\u61c9\u5546\u3001\u800c\u4f60\u5e0c\u671b\u8a72\u4f9b\u61c9\u5546\u9078\u64c7\u5176\u4e2d\u66f4\u4f73\u7684\u96fb\u8def\u6642\uff0c\u5c31\u61c9\u4f7f\u7528 MED\u3002\u5728\u5927\u591a\u6578\u8a2d\u8a08\u4e2d\uff0cMED \u7684\u5f71\u97ff\u4e0d\u6703\u8d8a\u904e\u4f9b\u61c9\u5546\u908a\u754c\uff0c\u56e0\u6b64\u5b83\u7121\u6cd5\u5f71\u97ff\u66f4\u9060\u8655\u7684\u7db2\u8def\u3002Prepending \u50b3\u64ad\u5f97\u66f4\u9060\uff1bMED \u5247\u662f\u5728\u55ae\u4e00\u5c0d\u7b49\u95dc\u4fc2\u5167\u63d0\u4f9b\u66f4\u9ad8\u7cbe\u5ea6\u3002<\/p>\n<h3>Communities \u8207\u524d\u7db4\u904e\u6ffe<\/h3>\n<p>Communities \u7528\u65bc\u5411\u4e0a\u6e38\u50b3\u905e\u7b56\u7565\u8a0a\u865f\u3002\u4f60\u7d66\u67d0\u500b\u524d\u7db4\u52a0\u4e0a community \u503c\uff0c\u800c\u4f9b\u61c9\u5546\u7684 route map \u6703\u8b80\u53d6\u9019\u500b\u6a19\u8a18\u4e26\u57f7\u884c\u76f8\u61c9\u52d5\u4f5c\u3002\u4e00\u500b\u5e38\u898b\u6a21\u5f0f\u662f\u628a\u67d0\u500b\u524d\u7db4\u6a19\u8a18\u70ba\u300c\u50c5\u5099\u63f4\u300d\u7528\u9014\uff0c\u4f7f\u4f9b\u61c9\u5546\u964d\u4f4e\u8a72\u8def\u7531\u7684 local preference\u3002Community \u503c\u7531\u4f9b\u61c9\u5546\u5b9a\u7fa9\uff0c\u56e0\u6b64\u5728\u771f\u6b63\u4f9d\u8cf4\u5b83\u5011\u4e4b\u524d\uff0c\u52d9\u5fc5\u5728\u4f60\u7684\u5c0d\u7b49\u5354\u8b70\u4e2d\u78ba\u8a8d\u6e05\u695a\u3002<\/p>\n<p>\u524d\u7db4\u904e\u6ffe\u5247\u5145\u7576\u4fdd\u8b77\u63aa\u65bd\u3002\u4f60\u61c9\u904e\u6ffe\u5f9e\u6bcf\u500b\u5c0d\u7b49\u9ad4\u63a5\u6536\u7684\u5167\u5bb9\uff0c\u4ee5\u53ca\u5411\u6bcf\u500b\u5c0d\u7b49\u9ad4\u767c\u5e03\u7684\u5167\u5bb9\u3002\u6e96\u78ba\u7684\u904e\u6ffe\u6e05\u55ae\u53ef\u4ee5\u9632\u6b62\u8def\u7531\u6d29\u6f0f\uff0c\u4e26\u78ba\u4fdd\u4f60\u7684\u8def\u7531\u901a\u544a\u59cb\u7d42\u7b26\u5408\u9810\u671f\u3002\u61c9\u628a\u904e\u6ffe\u6a5f\u5236\u8996\u70ba\u6240\u6709\u7b56\u7565\u8a0a\u865f\u80cc\u5f8c\u7684\u57f7\u884c\u4fdd\u969c\u5c64\u3002<\/p>\n<p>\u5728\u5957\u7528\u9019\u4e9b\u5de5\u5177\u4e4b\u524d\uff0c\u591a\u51fa\u53e3\u9aa8\u5e79\u8a2d\u8a08\u9700\u8981\u5148\u505a\u597d\u898f\u5283\u3002\u9996\u5148\u7e6a\u88fd\u5927\u90e8\u5206\u5165\u7ad9\u6d41\u91cf\u7684\u4f86\u6e90\u5206\u5e03\u5716\u3002\u4f86\u81ea\u67d0\u500b\u5730\u5340\u7684\u6d41\u91cf\uff0c\u9032\u5165\u7db2\u8def\u6642\u53ef\u80fd\u6703\u9078\u64c7\u8207\u53e6\u4e00\u500b\u5730\u5340\u4e0d\u540c\u7684\u4f9b\u61c9\u5546\u3002\u61c9\u57fa\u65bc\u9019\u5f35\u5206\u5e03\u5716\uff0c\u6309\u524d\u7db4\u5957\u7528 prepending \u6216 MED\u3002\u5c0d\u65bc BGP \u591a\u5bbf\u4e3b\u74b0\u5883\uff0c\u7d71\u4e00\u5957\u7528\u4e00\u5200\u5207\u7684\u7b56\u7565\uff0c\u5f80\u5f80\u6703\u628a\u6d41\u91cf\u63a8\u5411\u53ea\u9069\u5408\u67d0\u4e00\u500b\u5730\u5340\u7684\u8def\u5f91\u3002<\/p>\n<h2><strong>\u8ca0\u8f09\u5e73\u8861\u8207\u6545\u969c\u5207\u63db<\/strong><\/h2>\n<h3>BGP multipath \u8207\u5099\u63f4\u8def\u5f91<\/h3>\n<p>\u9810\u8a2d\u60c5\u6cc1\u4e0b\uff0c\u6c7a\u7b56\u904e\u7a0b\u53ea\u6703\u70ba\u6bcf\u500b\u524d\u7db4\u5b89\u88dd\u4e00\u689d\u6700\u4f73\u8def\u7531\u3002BGP multipath \u6703\u6539\u8b8a\u9019\u4e00\u884c\u70ba\u3002\u555f\u7528\u5f8c\uff0c\u8def\u7531\u5668\u6703\u5728\u8a08\u7b97\u6642\u8003\u91cf\u4f86\u81ea\u6240\u6709\u5c0d\u7b49\u9ad4\u7684\u8def\u5f91\uff0c\u4e26\u5728\u8f49\u9001\u8868\u4e2d\u5b89\u88dd\u591a\u689d\u7b49\u50f9\u8def\u5f91\u3002\u9019\u6a23\uff0c\u6d41\u91cf\u5c31\u53ef\u4ee5\u5728\u591a\u500b\u4f9b\u61c9\u5546\u4e4b\u9593\u5206\u64d4\uff0c\u800c\u4e0d\u662f\u5168\u90e8\u6d41\u5411\u55ae\u4e00\u51fa\u53e3\u3002\u9019\u4e9b\u8def\u5f91\u5fc5\u9808\u5728\u6f14\u7b97\u6cd5\u6bd4\u8f03\u7684\u5c6c\u6027\u4e0a\uff0c\u5728\u9032\u5165\u6700\u7d42 tie-breaker \u4e4b\u524d\u4fdd\u6301\u4e00\u81f4\uff0c\u56e0\u6b64\u901a\u5e38\u9996\u5148\u8981\u6c42 AS path \u9577\u5ea6\u76f8\u540c\u3001local preference \u76f8\u7b49\u3002\u5728\u570d\u7e5e\u9019\u4e00\u8a2d\u8a08\u9032\u884c\u898f\u5283\u524d\uff0c\u8acb\u5148\u78ba\u8a8d\u4f60\u7684\u5e73\u53f0\u662f\u5426\u652f\u63f4\uff0c\u4ee5\u53ca\u6700\u591a\u5141\u8a31\u5b89\u88dd\u591a\u5c11\u689d\u8def\u5f91\u3002<\/p>\n<p>\u5099\u63f4\u8def\u5f91\u5247\u9700\u8981\u4e0d\u540c\u7684\u8655\u7406\u65b9\u5f0f\u3002\u4f60\u5e0c\u671b\u7b2c\u4e8c\u689d\u51fa\u53e3\u8def\u5f91\u5728\u4e3b\u8def\u5f91\u5931\u6548\u6642\u7acb\u5373\u63a5\u624b\u6d41\u91cf\uff0c\u4f46\u5728\u6b63\u5e38\u60c5\u6cc1\u4e0b\u53c8\u4e0d\u53c3\u8207\u8ca0\u8f09\u7af6\u722d\u3002\u505a\u6cd5\u662f\u63d0\u9ad8\u9996\u9078\u5c0d\u7b49\u9ad4\u7684 local preference\uff0c\u800c\u5c07\u5099\u7528\u8def\u5f91\u4fdd\u6301\u5728\u9810\u8a2d\u503c\u3002\u9019\u6a23\uff0c\u8def\u7531\u5668\u6703\u628a\u5099\u63f4\u8def\u5f91\u4fdd\u7559\u70ba\u6709\u6548\u8def\u5f91\uff0c\u4e26\u5728\u4e3b\u8def\u5f91\u64a4\u92b7\u6642\u81ea\u52d5\u5c07\u5176\u63d0\u5347\u70ba\u6700\u4f73\u8def\u5f91\u3002\u8a72\u8a2d\u8a08\u65e2\u80fd\u5e36\u4f86\u5feb\u901f\u6536\u6582\uff0c\u4e5f\u5177\u5099\u53ef\u9810\u6e2c\u7684\u884c\u70ba\u3002<\/p>\n<h3>\u689d\u4ef6\u901a\u544a<\/h3>\n<p>\u689d\u4ef6\u901a\u544a\u53ef\u4ee5\u70ba\u5165\u7ad9\u6d41\u91cf\u81ea\u52d5\u5316\u6545\u969c\u5207\u63db\u3002\u4f60\u7684\u8def\u7531\u5668\u6703\u76e3\u8996\u5176 BGP \u8868\u4e2d\u7684\u67d0\u500b\u524d\u7db4\uff0c\u4e26\u4e14\u50c5\u5728\u8a72\u88ab\u76e3\u8996\u8def\u7531\u6d88\u5931\u6642\uff0c\u624d\u901a\u544a\u4e00\u500b\u5099\u7528\u524d\u7db4\u3002\u9019\u6a23\uff0c\u9060\u7aef\u7db2\u8def\u53ea\u6703\u5728\u771f\u6b63\u9700\u8981\u6642\u5b78\u7fd2\u5230\u4f60\u7684\u5099\u63f4\u8def\u5f91\uff0c\u5728\u6b63\u5e38\u60c5\u6cc1\u4e0b\u5247\u4e0d\u6703\u770b\u5230\u5b83\u3002<\/p>\n<p><code>exist-map<\/code> \u689d\u4ef6\u7528\u65bc\u63a7\u5236\u89f8\u767c\u908f\u8f2f\u3002\u7576\u4e3b\u93c8\u8def\u524d\u7db4\u5f9e\u8def\u7531\u8868\u4e2d\u6d88\u5931\u6642\uff0c\u5099\u7528\u7db2\u6bb5\u5c31\u6703\u88ab\u901a\u544a\u51fa\u53bb\u3002\u5728\u771f\u6b63\u4f9d\u8cf4\u9019\u4e00\u884c\u70ba\u4e4b\u524d\uff0c\u52d9\u5fc5\u9032\u884c\u6e2c\u8a66\uff0c\u56e0\u70ba\u82e5\u4e3b\u93c8\u8def\u983b\u7e41\u6296\u52d5\uff0c\u901a\u544a\u4e5f\u53ef\u80fd\u96a8\u4e4b\u4f86\u56de\u5207\u63db\u3002<\/p>\n<h2><strong>\u975e\u5c0d\u7a31\u8def\u7531\u8207\u9a57\u8b49<\/strong><\/h2>\n<h3>\u8fa8\u8b58\u975e\u5c0d\u7a31\u8def\u7531<\/h3>\n<p>\u975e\u5c0d\u7a31\u8def\u7531\u662f\u6307\u6d41\u91cf\u5f9e\u4e00\u500b\u4f9b\u61c9\u5546\u51fa\u53bb\uff0c\u537b\u5f9e\u53e6\u4e00\u500b\u4f9b\u61c9\u5546\u8fd4\u56de\u3002\u591a\u5bbf\u4e3b\u7db2\u8def\u5f88\u5bb9\u6613\u51fa\u73fe\u9019\u7a2e\u73fe\u8c61\u3002\u4f60\u7684 local preference \u6c7a\u7b56\u6c7a\u5b9a\u4e86\u51fa\u7ad9\u51fa\u53e3\uff0c\u800c\u9060\u7aef\u7db2\u8def\u7684\u6700\u4f73\u8def\u5f91\u6c7a\u7b56\u6c7a\u5b9a\u4e86\u5165\u7ad9\u5165\u53e3\u3002\u5169\u8005\u4e4b\u9593\u6c92\u6709\u5354\u8abf\u6a5f\u5236\uff0c\u56e0\u6b64\u5f80\u8fd4\u6d41\u91cf\u53ef\u80fd\u8d70\u4e0d\u540c\u7684\u8def\u5f91\u3002<\/p>\n<p>\u7576\u6d41\u4e2d\u5b58\u5728\u6709\u72c0\u614b\u8a2d\u5099\u6642\uff0c\u9019\u7a2e\u504f\u96e2\u6700\u5bb9\u6613\u5f15\u767c\u554f\u984c\u3002\u9632\u706b\u7246\u6703\u8ffd\u8e64\u9023\u7dda\u72c0\u614b\uff0c\u4e26\u671f\u671b\u770b\u5230\u4e00\u500b\u5de5\u4f5c\u968e\u6bb5\u7684\u96d9\u5411\u6d41\u91cf\u3002\u5982\u679c\u8fd4\u56de\u5c01\u5305\u5f9e\u4e0d\u540c\u4ecb\u9762\u5230\u9054\uff0c\u9632\u706b\u7246\u53ef\u80fd\u6703\u628a\u5b83\u8996\u70ba\u975e\u8acb\u6c42\u6d41\u91cf\u4e26\u4e1f\u68c4\u3002\u800c\u7121\u72c0\u614b\u8def\u7531\u5668\u901a\u5e38\u6703\u76f4\u63a5\u8f49\u9001\u9019\u985e\u6d41\u91cf\uff0c\u56e0\u6b64\u9019\u500b\u554f\u984c\u5f80\u5f80\u6703\u5728\u5f15\u5165\u72c0\u614b\u6aa2\u6e2c\u4e4b\u5f8c\u624d\u66b4\u9732\u51fa\u4f86\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u900f\u904e\u591a\u7a2e\u65b9\u5f0f\u7de9\u89e3\u9019\u4e00\u554f\u984c\u3002\u8b93\u4f60\u7684\u51fa\u7ad9\u7b56\u7565\u8207\u4e0a\u6e38\u504f\u597d\u7684\u5165\u7ad9\u8def\u5f91\u4fdd\u6301\u4e00\u81f4\uff0c\u5f9e\u800c\u4f7f\u96d9\u5411\u6d41\u91cf\u90fd\u4f7f\u7528\u540c\u4e00\u5bb6\u4f9b\u61c9\u5546\uff1b\u628a\u9632\u706b\u7246\u90e8\u7f72\u5728\u5169\u689d\u8def\u5f91\u532f\u805a\u7684\u4f4d\u7f6e\uff1b\u6216\u5c07\u5176\u8a2d\u5b9a\u70ba\u5141\u8a31\u975e\u5c0d\u7a31\u6d41\u3002\u4efb\u4f55\u6709\u610f\u8a2d\u8a08\u7684\u975e\u5c0d\u7a31\u6027\u90fd\u61c9\u505a\u597d\u6587\u4ef6\u8a18\u9304\uff0c\u56e0\u70ba\u4e0b\u4e00\u4f4d\u5de5\u7a0b\u5e2b\u5f88\u53ef\u80fd\u6703\u628a\u5b83\u7576\u6210\u6545\u969c\u4f86\u8655\u7406\u3002<\/p>\n<h3>\u4f7f\u7528 show \u6307\u4ee4\u548c looking glass \u9032\u884c\u9a57\u8b49<\/h3>\n<p>\u61c9\u5148\u5728\u4f60\u81ea\u5df1\u7684\u8def\u7531\u5668\u4e0a\u78ba\u8a8d\u51fa\u7ad9\u9078\u64c7\u3002\u5c0d\u67d0\u500b\u5177\u9ad4\u524d\u7db4\u57f7\u884c <code>show ip bgp<\/code>\uff0c\u67e5\u770b\u6700\u4f73\u8def\u5f91\u689d\u76ee\u4e2d\u7684 local preference\u3001weight \u548c AS path\u3002\u63a5\u8457\u518d\u57f7\u884c <code>show ip route<\/code>\uff0c\u78ba\u8a8d\u8def\u7531\u5668\u662f\u5426\u5df2\u5c07\u8a72\u8def\u5f91\u5b89\u88dd\u5230\u8f49\u9001\u8868\u4e2d\u3002\u9084\u8981\u6aa2\u67e5\u53e6\u4e00\u53f0\u908a\u754c\u8def\u7531\u5668\uff0c\u56e0\u70ba weight \u53ea\u5728\u672c\u5730\u751f\u6548\uff0c\u5169\u53f0\u8a2d\u5099\u53ef\u80fd\u6703\u5f97\u51fa\u4e0d\u540c\u7d50\u8ad6\u3002<\/p>\n<p>\u5165\u7ad9\u9078\u64c7\u5247\u9700\u8981\u501f\u52a9\u5916\u90e8\u8b49\u64da\u3002\u9060\u7aef\u4f9b\u61c9\u5546\u4e0a\u7684 looking glass \u80fd\u986f\u793a\u8a72\u7db2\u8def\u671d\u4f60\u7684\u524d\u7db4\u6240\u9078\u64c7\u7684\u8def\u5f91\u3002\u4f60\u61c9\u67e5\u8a62\u591a\u500b\u4f4d\u7f6e\uff0c\u4ee5\u89c0\u5bdf\u4f60\u7684 prepending \u6216 MED \u7a76\u7adf\u80fd\u5f71\u97ff\u591a\u9060\uff0c\u4e26\u5c07\u9019\u4e9b\u7d50\u679c\u8207\u4f60\u539f\u672c\u7684\u7b56\u7565\u76ee\u6a19\u9032\u884c\u6bd4\u8f03\u3002<\/p>\n<p>\u5efa\u8b70\u6309\u4ee5\u4e0b\u9806\u5e8f\u9032\u884c\u7591\u96e3\u6392\u89e3\uff1a<\/p>\n<ol>\n<li>\u78ba\u8a8d\u8a72\u524d\u7db4\u5b58\u5728\u65bc\u4f60\u7684 BGP \u8868\u4e2d\uff0c\u4e14\u5c6c\u6027\u7b26\u5408\u9810\u671f\u3002<\/li>\n<li>\u78ba\u8a8d route map \u5df2\u5339\u914d\u6210\u529f\uff0c\u4e26\u4e14\u5957\u7528\u5728\u6b63\u78ba\u65b9\u5411\u4e0a\u3002<\/li>\n<li>\u6aa2\u67e5\u8f49\u9001\u8868\u4e2d\u5be6\u969b\u5b89\u88dd\u7684\u8def\u5f91\u3002<\/li>\n<li>\u5f9e\u4f60\u95dc\u6ce8\u7684\u65b9\u5411\u67e5\u8a62 looking glass\u3002<\/li>\n<li>\u5c07\u89c0\u5bdf\u5230\u7684\u884c\u70ba\u8207\u4f60\u8a18\u9304\u7684\u7b56\u7565\u610f\u5716\u9032\u884c\u6bd4\u8f03\u3002<\/li>\n<\/ol>\n<div class=\"qc-divider-wrapper\">\n<div class=\"qc-divider\" style=\"border-top-style: solid; width: 100%; border-top-color: #d1d1d1;\"><\/div>\n<\/div>\n<p>\u4f7f\u7528 local preference \u548c weight \u5728\u672c\u5730\u63a7\u5236\u51fa\u7ad9\u6d41\u91cf\uff1b\u900f\u904e AS path prepending\u3001MED \u548c communities \u9593\u63a5\u5f71\u97ff\u5165\u7ad9\u6d41\u91cf\u3002\u638c\u63e1\u9019\u4e00\u300c\u6309\u65b9\u5411\u5283\u5206\u300d\u7684\u539f\u5247\uff0c\u80fd\u8b93\u4f60\u7684 BGP \u591a\u5bbf\u4e3b\u8a2d\u8a08\u66f4\u53ef\u9810\u6e2c\uff0c\u4e5f\u66f4\u5bb9\u6613\u8aaa\u660e\u6e05\u695a\u3002<\/p>\n<p>\u5f9e\u4e00\u958b\u59cb\u5c31\u8981\u628a\u8ca0\u8f09\u5e73\u8861\u548c\u6545\u969c\u5207\u63db\u7d0d\u5165\u8a2d\u8a08\u3002\u5c24\u5176\u8981\u7559\u610f\u6709\u72c0\u614b\u8a2d\u5099\u6240\u5728\u8def\u5f91\u4e0a\u7684\u975e\u5c0d\u7a31\u8def\u7531\u3002\u6bcf\u6b21\u8b8a\u66f4\u5f8c\uff0c\u90fd\u61c9\u4f7f\u7528 show \u6307\u4ee4\u548c looking glass \u9032\u884c\u9a57\u8b49\u3002<\/p>\n<p>\u6309\u524d\u7db4\u8a18\u9304\u4f60\u7684\u7b56\u7565\u610f\u5716\uff0c\u4e26\u96a8\u8457\u4e0a\u6e38\u95dc\u4fc2\u8b8a\u5316\u5b9a\u671f\u66f4\u65b0\u9019\u4efd\u6587\u4ef6\u3002\u6709\u4e86\u66f8\u9762\u8a18\u9304\uff0c\u4e00\u5957\u300c\u80fd\u7528\u300d\u7684\u8a2d\u5b9a\u624d\u6703\u8b8a\u6210\u300c\u53ef\u7dad\u8b77\u300d\u7684\u8a2d\u5b9a\u3002\u5982\u6b64\u4e00\u4f86\uff0c\u7db2\u8def\u624d\u80fd\u5728\u6700\u521d\u5207\u63db\u5b8c\u6210\u5f88\u4e45\u4e4b\u5f8c\uff0c\u4f9d\u7136\u4fdd\u6301\u6700\u4f73\u5316\u72c0\u614b\u3002<\/p>\n<h2><strong>\u5e38\u898b\u554f\u984c<\/strong><\/h2>\n<h3>\u5c0d\u65bc\u51fa\u7ad9\u6d41\u91cf\uff0c\u61c9\u8a72\u512a\u5148\u8abf\u6574\u54ea\u500b\u5c6c\u6027\uff1f<\/h3>\n<p>\u9996\u5148\u8abf\u6574 local preference\u3002\u5b83\u6703\u5728\u6574\u500b\u81ea\u6cbb\u7cfb\u7d71\u4e2d\u50b3\u64ad\uff0c\u56e0\u6b64\u6240\u6709\u8def\u7531\u5668\u90fd\u6703\u5c0d\u51fa\u53e3\u9054\u6210\u4e00\u81f4\u3002\u53ea\u6709\u7576\u67d0\u4e00\u53f0\u8def\u7531\u5668\u9700\u8981\u672c\u5730\u4f8b\u5916\u6642\uff0c\u624d\u8003\u616e\u4f7f\u7528 weight\u3002\u9019\u5169\u500b\u5c6c\u6027\u5728\u6c7a\u7b56\u9806\u5e8f\u4e0a\u90fd\u512a\u5148\u65bc AS path \u9577\u5ea6\uff0c\u56e0\u6b64\u54ea\u6015\u53ea\u662f\u5c0f\u5e45\u8abf\u6574\uff0c\u4e5f\u5e38\u5e38\u80fd\u5feb\u901f\u6539\u8b8a\u6d41\u91cf\u8d70\u5411\u3002<\/p>\n<h3>AS path prepending \u4e00\u5b9a\u80fd\u6539\u8b8a\u5165\u7ad9\u6d41\u91cf\u55ce\uff1f<\/h3>\n<p>\u4e0d\u4e00\u5b9a\u3002Prepending \u6703\u8b93\u4e00\u689d\u8def\u5f91\u770b\u8d77\u4f86\u66f4\u9577\uff0c\u800c\u5927\u591a\u6578\u7db2\u8def\u90fd\u6703\u5c0a\u91cd\u9019\u500b\u8a0a\u865f\u3002\u4f46\u9060\u7aef\u4f9b\u61c9\u5546\u7684 local preference \u4ecd\u7136\u66f4\u512a\u5148\uff0c\u56e0\u6b64\u5b83\u5b8c\u5168\u53ef\u80fd\u5ffd\u7565\u4f60\u7684 prepend\u3002\u4e0d\u8981\u60f3\u7576\u7136\u5730\u8a8d\u70ba\u4fee\u6539\u5df2\u7d93\u751f\u6548\uff0c\u61c9\u8a72\u5148\u900f\u904e looking glass \u9a57\u8b49\u3002<\/p>\n<h3>\u70ba\u4ec0\u9ebc\u4f60\u53ea\u80fd\u5f71\u97ff\u5165\u7ad9\u6d41\u91cf\uff0c\u800c\u4e0d\u80fd\u76f4\u63a5\u63a7\u5236\u5b83\uff1f<\/h3>\n<p>\u56e0\u70ba\u9060\u7aef\u7db2\u8def\u57f7\u884c\u7684\u662f\u5b83\u5011\u81ea\u5df1\u7684\u6700\u4f73\u8def\u5f91\u6f14\u7b97\u6cd5\u3002\u5b83\u5011\u6703\u6839\u64da\u4f60\u7684\u8def\u7531\u901a\u544a\u4ee5\u53ca\u81ea\u8eab\u7b56\u7565\u4f86\u9078\u64c7\u5165\u53e3\u9ede\u3002\u4f60\u53ef\u4ee5\u900f\u904e prepending\u3001MED \u548c communities \u4f86\u5851\u9020\u5b83\u5011\u6240\u770b\u5230\u7684\u8cc7\u8a0a\uff0c\u4f46\u6700\u7d42\u6c7a\u7b56\u4ecd\u7136\u662f\u5728\u5b83\u5011\u7684\u8def\u7531\u5668\u4e0a\u5b8c\u6210\uff0c\u800c\u4e0d\u662f\u5728\u4f60\u7684\u8def\u7531\u5668\u4e0a\u3002<\/p>\n<h3>\u975e\u5c0d\u7a31\u8def\u7531\u5728\u4ec0\u9ebc\u60c5\u6cc1\u4e0b\u624d\u771f\u6b63\u6703\u9020\u6210\u554f\u984c\uff1f<\/h3>\n<p>\u7576\u6d41\u91cf\u8def\u5f91\u4e2d\u5b58\u5728\u6709\u72c0\u614b\u8a2d\u5099\u6642\uff0c\u5c31\u53ef\u80fd\u51fa\u554f\u984c\u3002\u9632\u706b\u7246\u671f\u671b\u770b\u5230\u540c\u4e00\u5de5\u4f5c\u968e\u6bb5\u7684\u96d9\u5411\u6d41\u91cf\uff0c\u56e0\u6b64\u53ef\u80fd\u6703\u4e1f\u68c4\u8fd4\u56de\u65b9\u5411\u7684\u5c01\u5305\u3002\u800c\u7121\u72c0\u614b\u8def\u7531\u5668\u901a\u5e38\u4e0d\u6703\u53d7\u5f71\u97ff\u3002\u70ba\u4e86\u964d\u4f4e\u98a8\u96aa\uff0c\u61c9\u76e1\u91cf\u8b93\u4f60\u7684\u51fa\u7ad9\u7b56\u7565\u8207\u4e0a\u6e38\u504f\u597d\u7684\u5165\u7ad9\u8def\u5f91\u4fdd\u6301\u4e00\u81f4\u3002<\/p>\n<h3>\u662f\u5426\u5fc5\u9808\u5f9e\u5169\u500b\u4f9b\u61c9\u5546\u90fd\u63a5\u6536\u5b8c\u6574 BGP \u8868\uff1f<\/h3>\n<p>\u4e0d\u4e00\u5b9a\u3002\u5b8c\u6574\u8def\u7531\u8868\u80fd\u70ba\u4f60\u7684\u8def\u7531\u5668\u63d0\u4f9b\u7d30\u7dfb\u51fa\u7ad9\u9078\u64c7\u6240\u9700\u7684\u8a73\u7d30\u8cc7\u8a0a\uff0c\u4f46\u5b83\u4e5f\u6703\u5360\u7528\u66f4\u591a\u8a18\u61b6\u9ad4\u548c CPU\u3002\u9810\u8a2d\u8def\u7531\u5247\u66f4\u7c21\u55ae\u3001\u66f4\u53ef\u9810\u6e2c\u3002\u61c9\u6839\u64da\u4f60\u7684\u8def\u7531\u5668\u5bb9\u91cf\u4ee5\u53ca\u5c0d\u7d30\u7c92\u5ea6\u63a7\u5236\u7684\u9700\u6c42\u4f86\u505a\u9078\u64c7\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u53ef\u4ee5\u4f7f\u7528 local preference\u3001weight \u4ee5\u53ca\u7531\u672c\u5730\u63a7\u5236\u7684 AS path \u64cd\u4f5c\u4f86\u512a\u5316\u51fa\u7ad9\u6d41 [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/www.simcentric.com\/tc\/japan-dedicated-server-tc\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":35854,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[8116],"tags":[14294,14295,14296,14297],"class_list":["post-35857","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-japan-dedicated-server-tc","tag-bgp-multihoming","tag-bgp-traffic-optimization","tag-outbound-traffic-control","tag-inbound-traffic-engineering"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u5982\u4f55\u900f\u904e BGP \u591a\u5bbf\u4e3b\u512a\u5316\u6d41\u91cf\u8def\u5f91<\/title>\n<meta name=\"description\" content=\"\u5728 BGP \u591a\u5bbf\u4e3b\u74b0\u5883\u4e2d\uff0c\u53ef\u4f7f\u7528 local preference \u548c weight \u63a7\u5236\u51fa\u7ad9\u6d41\u91cf\uff0c\u4e26\u900f\u904e AS path prepending\u3001MED \u8207 communities \u5f71\u97ff\u5165\u7ad9\u6d41\u91cf\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/35857\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"company\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u900f\u904e BGP \u591a\u5bbf\u4e3b\u512a\u5316\u6d41\u91cf\u8def\u5f91\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/35857\" \/>\n<meta property=\"og:site_name\" content=\"\u65b0\u5929\u57df\u4e92\u806f\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-22T00:00:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.simcentric.com\/wp-content\/uploads\/2026\/11\/sim-blog-2026-11-22-blogA.png\" \/>\n\t<meta property=\"og:image:width\" content=\"610\" \/>\n\t<meta property=\"og:image:height\" content=\"408\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u900f\u904e BGP \u591a\u5bbf\u4e3b\u512a\u5316\u6d41\u91cf\u8def\u5f91","description":"\u5728 BGP \u591a\u5bbf\u4e3b\u74b0\u5883\u4e2d\uff0c\u53ef\u4f7f\u7528 local preference \u548c weight \u63a7\u5236\u51fa\u7ad9\u6d41\u91cf\uff0c\u4e26\u900f\u904e AS path prepending\u3001MED \u8207 communities \u5f71\u97ff\u5165\u7ad9\u6d41\u91cf\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/35857","og_locale":"zh_TW","og_type":"company","og_title":"\u5982\u4f55\u900f\u904e BGP \u591a\u5bbf\u4e3b\u512a\u5316\u6d41\u91cf\u8def\u5f91","og_url":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/35857","og_site_name":"\u65b0\u5929\u57df\u4e92\u806f","article_published_time":"2026-11-22T00:00:48+00:00","og_image":[{"width":610,"height":408,"url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2026\/11\/sim-blog-2026-11-22-blogA.png","type":"image\/png"}],"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/#article","isPartOf":{"@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/"},"author":{"name":"Debbie Ng","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/person\/0bfc8768eb7caacbfab4a0855d805626"},"headline":"\u5982\u4f55\u900f\u904e BGP \u591a\u5bbf\u4e3b\u512a\u5316\u6d41\u91cf\u8def\u5f91","datePublished":"2026-11-22T00:00:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/"},"wordCount":176,"publisher":{"@id":"https:\/\/simcentric.com\/tc\/#organization"},"image":{"@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2026\/11\/sim-blog-2026-11-22-blogA.png","keywords":["BGP\u591a\u5bbf\u4e3b","BGP\u6d41\u91cf\u6700\u4f73\u5316","\u51fa\u7ad9\u6d41\u91cf\u63a7\u5236","\u5165\u7ad9\u6d41\u91cf\u6700\u4f73\u5316"],"articleSection":["\u65e5\u672c\u4f3a\u670d\u5668"],"inLanguage":"zh-HK"},{"@type":"WebPage","@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/","url":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/","name":"\u5982\u4f55\u900f\u904e BGP \u591a\u5bbf\u4e3b\u512a\u5316\u6d41\u91cf\u8def\u5f91","isPartOf":{"@id":"https:\/\/simcentric.com\/tc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/#primaryimage"},"image":{"@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2026\/11\/sim-blog-2026-11-22-blogA.png","datePublished":"2026-11-22T00:00:48+00:00","description":"\u5728 BGP \u591a\u5bbf\u4e3b\u74b0\u5883\u4e2d\uff0c\u53ef\u4f7f\u7528 local preference \u548c weight \u63a7\u5236\u51fa\u7ad9\u6d41\u91cf\uff0c\u4e26\u900f\u904e AS path prepending\u3001MED \u8207 communities \u5f71\u97ff\u5165\u7ad9\u6d41\u91cf\u3002","breadcrumb":{"@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/#breadcrumb"},"inLanguage":"zh-HK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/"]}]},{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/#primaryimage","url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2026\/11\/sim-blog-2026-11-22-blogA.png","contentUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2026\/11\/sim-blog-2026-11-22-blogA.png","width":610,"height":408,"caption":"BGP\u591a\u5bbf\u4e3b\u6d41\u91cf\u8def\u5f91\u6700\u4f73\u5316\u793a\u610f\u5716"},{"@type":"BreadcrumbList","@id":"https:\/\/www.simcentric.com\/japan-dedicated-server\/how-to-optimize-traffic-paths-with-bgp-multi-homing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.simcentric.com\/tc\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u900f\u904e BGP \u591a\u5bbf\u4e3b\u512a\u5316\u6d41\u91cf\u8def\u5f91"}]},{"@type":"WebSite","@id":"https:\/\/simcentric.com\/tc\/#website","url":"https:\/\/simcentric.com\/tc\/","name":"Simcentric Solutions","description":"","publisher":{"@id":"https:\/\/simcentric.com\/tc\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simcentric.com\/tc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-HK"},{"@type":"Organization","@id":"https:\/\/simcentric.com\/tc\/#organization","name":"Simcentric Solutions","url":"https:\/\/simcentric.com\/tc\/","logo":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/logo\/image\/","url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2023\/06\/sim-logo-2023.png","contentUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2023\/06\/sim-logo-2023.png","width":800,"height":222,"caption":"Simcentric Solutions"},"image":{"@id":"https:\/\/simcentric.com\/tc\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/person\/0bfc8768eb7caacbfab4a0855d805626","name":"Debbie Ng","image":{"@type":"ImageObject","inLanguage":"zh-HK","@id":"https:\/\/secure.gravatar.com\/avatar\/9f3420f60d27329ed6e921ddaae5206353d0a7414d1abb6f1f0b32b4fd849965?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9f3420f60d27329ed6e921ddaae5206353d0a7414d1abb6f1f0b32b4fd849965?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9f3420f60d27329ed6e921ddaae5206353d0a7414d1abb6f1f0b32b4fd849965?s=96&d=mm&r=g","caption":"Debbie Ng"}}]}},"_links":{"self":[{"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/35857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/comments?post=35857"}],"version-history":[{"count":4,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/35857\/revisions"}],"predecessor-version":[{"id":35863,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/posts\/35857\/revisions\/35863"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/media\/35854"}],"wp:attachment":[{"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/media?parent=35857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/categories?post=35857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simcentric.com\/tc\/wp-json\/wp\/v2\/tags?post=35857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}