{"id":94225,"date":"2024-06-19T17:26:58","date_gmt":"2024-06-19T09:26:58","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=94225"},"modified":"2024-06-19T17:27:04","modified_gmt":"2024-06-19T09:27:04","slug":"mxygzylhzygn","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/94225.html","title":{"rendered":"MPLS\u534f\u8bae\u5de5\u4f5c\u539f\u7406\u548c\u4e3b\u8981\u529f\u80fd"},"content":{"rendered":"\n
\u3000\u3000MPLS(\u591a\u534f\u8bae\u6807\u7b7e\u4ea4\u6362)<\/strong>\u662f\u4e00\u79cd\u5728\u73b0\u4ee3\u7f51\u7edc\u901a\u4fe1\u4e2d\u5e7f\u6cdb\u5e94\u7528\u7684\u534f\u8bae\uff0c\u4e3b\u8981\u901a\u8fc7\u6807\u7b7e\u4ea4\u6362\u6765\u63d0\u9ad8\u7f51\u7edc\u4f20\u8f93\u6548\u7387\u548c\u8d28\u91cf\u3002\u5176\u5de5\u4f5c\u539f\u7406\u548c\u4e3b\u8981\u529f\u80fd\u5982\u4e0b\uff1a<\/p>\n\n\n\n \u3000\u3000MPLS\u901a\u8fc7\u6807\u7b7e\u4ea4\u6362\u6280\u672f\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6548\u3001\u53ef\u9760\u7684\u6570\u636e\u5305\u8f6c\u53d1\uff0c\u5e76\u4e14\u5177\u6709\u5f3a\u5927\u7684\u8def\u7531\u529f\u80fd\u548c\u7075\u6d3b\u7684\u7f51\u7edc\u8bbe\u8ba1\u80fd\u529b\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u7f51\u7edc\u573a\u666f\u4e2d\u3002<\/p>\n\n\n\n \u3000\u3000MPLS(\u591a\u534f\u8bae\u6807\u7b7e\u4ea4\u6362\u6280\u672f)\u662f\u4e00\u79cd\u5728\u6570\u636e\u94fe\u8def\u5c42\u548c\u7f51\u7edc\u5c42\u4e4b\u95f4\u5de5\u4f5c\u7684\u6280\u672f\uff0c\u5b83\u901a\u8fc7\u5f15\u5165\u57fa\u4e8e\u6807\u7b7e\u7684\u673a\u5236\u6765\u5b9e\u73b0\u9ad8\u6548\u7684\u6570\u636e\u5305\u8f6c\u53d1\u3002\u5177\u4f53\u6765\u8bf4\uff0cMPLS\u5c06\u9009\u8def\u548c\u8f6c\u53d1\u5206\u5f00\uff0c\u7531\u6807\u7b7e\u6765\u89c4\u5b9a\u4e00\u4e2a\u5206\u7ec4\u901a\u8fc7\u7f51\u7edc\u7684\u8def\u5f84\u3002\u8fd9\u79cd\u673a\u5236\u4f7f\u5f97\u8def\u7531\u5668\u5728\u8f6c\u53d1\u62a5\u6587\u65f6\u4e0d\u5fc5\u6bcf\u6b21\u90fd\u5206\u6790IP\u62a5\u6587\u5934\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u5904\u7406\u901f\u5ea6\u3002<\/p>\n\n\n\n \u3000\u3000MPLS\u7684\u5de5\u4f5c\u539f\u7406\u5982\u4e0b\uff1a<\/p>\n\n\n\n \u3000\u3000\u5728MPLS(\u591a\u534f\u8bae\u6807\u7b7e\u4ea4\u6362)\u7f51\u7edc\u4e2d\uff0cLSP(\u6807\u7b7e\u4ea4\u6362\u8def\u5f84)\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002\u5b83\u662fIP\u62a5\u6587\u5728MPLS\u7f51\u7edc\u4e2d\u7ecf\u8fc7\u7684\u8def\u5f84\uff0c\u786e\u4fdd\u62a5\u6587\u80fd\u591f\u6309\u7167\u9884\u5b9a\u7684\u8def\u5f84\u8fdb\u884c\u8f6c\u53d1\u3002<\/p>\n\n\n\n \u3000\u3000LSP\u7684\u5efa\u7acb\u548c\u7ef4\u62a4\u8fc7\u7a0b\u6d89\u53ca\u591a\u4e2a\u6b65\u9aa4\u548c\u534f\u8bae\u3002\u9996\u5148\uff0cLSP\u7684\u57fa\u672c\u5efa\u7acb\u8fc7\u7a0b\u9700\u8981\u4e3a\u62a5\u6587\u4e8b\u5148\u5206\u914d\u597d\u6807\u7b7e\u3002\u6807\u7b7e\u7531\u4e0b\u6e38LSR(\u6807\u7b7e\u4ea4\u6362\u8def\u7531\u5668)\u5206\u914d\uff0c\u5e76\u6309\u7167\u4ece\u4e0b\u6e38\u5230\u4e0a\u6e38\u7684\u65b9\u5411\u5206\u53d1\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u4e0b\u6e38LSR\u4f1a\u6839\u636eIP\u8def\u7531\u8868\u5bf9FEC(\u8f6c\u53d1\u7b49\u4ef7\u7c7b)\u8fdb\u884c\u5212\u5206\uff0c\u5e76\u4e3a\u6bcf\u4e2aFEC\u5206\u914d\u4e00\u4e2a\u6807\u7b7e\uff0c\u7136\u540e\u5c06\u8fd9\u4e2a\u6807\u7b7e\u901a\u544a\u7ed9\u4e0a\u6e38\u7684LSR\uff0c\u4ee5\u4fbf\u5efa\u7acb\u6807\u7b7e\u8f6c\u53d1\u8868\u3002<\/p>\n\n\n\n \u3000\u3000LDP(\u6807\u7b7e\u5206\u53d1\u534f\u8bae)\u662f\u7528\u4e8eLSP\u5efa\u7acb\u548c\u7ef4\u62a4\u7684\u4e3b\u8981\u534f\u8bae\u4e4b\u4e00\u3002LDP\u901a\u8fc7\u90bb\u63a5\u4f53\u6765\u7ef4\u62a4\u5bf9\u7b49\u4f53\u7684\u5b58\u5728\uff0c\u5e76\u901a\u8fc7\u9010\u8df3\u65b9\u5f0f\u5efa\u7acbLSP\u3002LDP\u89c4\u5b9a\u4e86\u6807\u7b7e\u5206\u53d1\u8fc7\u7a0b\u4e2d\u7684\u5404\u79cd\u6d88\u606f\u4ee5\u53ca\u76f8\u5173\u5904\u7406\u673a\u5236\uff0c\u786e\u4fdd\u6807\u7b7e\u80fd\u591f\u6b63\u786e\u5730\u5728LSR\u4e4b\u95f4\u5206\u53d1\u548c\u4f7f\u7528\u3002<\/p>\n\n\n\n \u3000\u3000\u6b64\u5916\uff0cLSP\u8fd8\u53ef\u4ee5\u901a\u8fc7\u9759\u6001\u65b9\u5f0f\u5efa\u7acb\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u7ba1\u7406\u5458\u624b\u52a8\u914d\u7f6eLSP\u7684\u51fa\u5165\u6807\u7b7e\u3001\u4e0b\u4e00\u8df3\u7b49\u4fe1\u606f\uff0c\u4e0d\u9700\u8981\u6807\u7b7e\u5206\u53d1\u534f\u8bae\u53c2\u4e0e\u3002\u7136\u800c\uff0c\u5728\u590d\u6742\u7684\u7f51\u7edc\u73af\u5883\u4e2d\uff0c\u52a8\u6001\u5206\u914d\u6807\u7b7e\u7684\u65b9\u5f0f\u66f4\u4e3a\u5e38\u7528\u4e14\u53ef\u9760\uff0c\u56e0\u4e3a\u5b83\u4eec\u53ef\u4ee5\u81ea\u52a8\u9002\u5e94\u7f51\u7edc\u53d8\u5316\u3002<\/p>\n\n\n\n \u3000\u3000MPLS(\u591a\u534f\u8bae\u6807\u7b7e\u4ea4\u6362)\u4e0e\u5176\u4ed6\u7f51\u7edc\u534f\u8bae(\u5982BGP\u548cOSPF)\u76f8\u6bd4\uff0c\u5177\u6709\u4ee5\u4e0b\u4f18\u52bf\u548c\u52a3\u52bf\uff1a<\/p>\n\n\n\n \u3000\u3000\u53ef\u6269\u5c55\u6027<\/strong>\uff1aMPLS\u7ed3\u5408\u4e86\u7269\u7406\u201c\u56fa\u5b9a\u201d\u7535\u8def\u7684\u7279\u6027\u548c\u7eafIP\u8def\u7531\u7684\u7279\u6027\uff0c\u4f7f\u5f97\u5728\u66f4\u5927\u6216\u66f4\u590d\u6742\u7684\u7f51\u7edc\u4e2d\u5177\u6709\u66f4\u597d\u7684\u53ef\u6269\u5c55\u6027\u3002\u5b83\u5141\u8bb8\u81ea\u52a8\u914d\u7f6e\u7f51\u7edc\u5e76\u8bbe\u7f6e\u96a7\u9053\u6216\u6807\u7b7e\u4ea4\u6362\u8def\u5f84\u3002<\/p>\n\n\n\n \u3000\u3000\u5e26\u5bbd\u548cQoS\u652f\u6301<\/strong>\uff1aMPLS\u4e13\u7ebf\u53ef\u4ee5\u63d0\u4f9b\u6bd4\u4e92\u8054\u7f51\u66f4\u9ad8\u7684\u5e26\u5bbd\uff0c\u5e76\u652f\u6301\u670d\u52a1\u8d28\u91cf(QoS)\uff0c\u6ee1\u8db3\u4f01\u4e1a\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u7684\u9700\u6c42\u3002<\/p>\n\n\n\n \u3000\u3000\u6027\u80fd\u4e00\u81f4<\/strong>\uff1aMPLS\u662f\u4e00\u79cd\u9ad8\u8d28\u91cf\u7684\u7f51\u7edc\u8fde\u63a5\u65b9\u6848\uff0c\u6027\u80fd\u4e00\u81f4\uff0c\u6b63\u5e38\u60c5\u51b5\u4e0b\u51e0\u4e4e\u65e0\u4e22\u5305\uff0c\u56fa\u5b9a\u7f51\u7edc\u8fde\u63a5\u3002<\/p>\n\n\n\n \u3000\u3000\u76f4\u63a5\u901a\u4fe1<\/strong>\uff1aMPLS\u7f51\u7edc\u4e2d\u53ef\u4ee5\u5bb9\u7eb3\u5927\u91cf\u7528\u6237\u8282\u70b9\uff0c\u5bb9\u6613\u6269\u5145\uff0c\u5e76\u53ef\u4ee5\u5b9e\u73b0\u4efb\u4f55\u8282\u70b9\u4e0e\u4efb\u4f55\u5176\u4ed6\u8282\u70b9\u7684\u76f4\u63a5\u901a\u4fe1\u3002<\/p>\n\n\n\n \u3000\u3000\u590d\u6742\u6027<\/strong>\uff1a\u5c3d\u7ba1MPLS\u63d0\u4f9b\u4e86\u8bb8\u591a\u4f18\u52bf\uff0c\u4f46\u5b83\u4e5f\u76f8\u5bf9\u590d\u6742\uff0c\u9700\u8981\u66f4\u591a\u7684\u7ba1\u7406\u548c\u7ef4\u62a4\u5de5\u4f5c\u3002<\/p>\n\n\n\n \u3000\u3000\u6210\u672c<\/strong>\uff1a\u867d\u7136MPLS\u5177\u6709\u6210\u672c\u6548\u76ca\uff0c\u4f46\u5176\u521d\u671f\u90e8\u7f72\u548c\u7ef4\u62a4\u6210\u672c\u4ecd\u7136\u8f83\u9ad8\u3002<\/p>\n\n\n\n \u3000\u3000\u8def\u7531\u4fe1\u606f\u4ea4\u6362<\/strong>\uff1aBGP\u7528\u4e8e\u5728\u4e0d\u540c\u7684\u81ea\u6cbb\u7cfb\u7edf\u4e4b\u95f4\u4ea4\u6362\u8def\u7531\u4fe1\u606f\uff0c\u800cMPLS\u5219\u7528\u4e8e\u5728\u5355\u4e00\u7f51\u7edc\u5185\u90e8\u8fdb\u884c\u6570\u636e\u5305\u8def\u7531\u3002<\/p>\n\n\n\n \u3000\u3000\u94fe\u8def\u72b6\u6001\u8def\u7531<\/strong>\uff1aOSPF\u57fa\u4e8e\u94fe\u8def\u72b6\u6001\u8def\u7531\uff0c\u6bcf\u4e2a\u8282\u70b9\u5728\u7f51\u7edc\u4e2d\u6784\u5efa\u4e00\u4e2a\u56fe\u6765\u8868\u793a\u7f51\u7edc\u8fde\u63a5\u3002<\/p>\n\n\n\n \u3000\u3000MPLS\u5728\u7f51\u7edc\u8bbe\u8ba1\u4e2d\u63d0\u4f9b\u4e86\u663e\u8457\u7684\u4f18\u52bf\uff0c\u7279\u522b\u662f\u5728\u5e26\u5bbd\u3001QoS\u548c\u652f\u6301\u5927\u89c4\u6a21\u7f51\u7edc\u6269\u5c55\u65b9\u9762\u3002\u7136\u800c\uff0c\u5b83\u4e5f\u5b58\u5728\u4e00\u5b9a\u7684\u590d\u6742\u6027\u548c\u8f83\u9ad8\u7684\u6210\u672c\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0cMPLS(\u591a\u534f\u8bae\u6807\u7b7e\u4ea4\u6362)\u901a\u8fc7\u4f7f\u7528\u6807\u7b7e\u6765\u5b9e\u73b0\u9762\u5411\u8fde\u63a5\u7684\u6807\u7b7e\u4ea4\u6362\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u5f53\u6570\u636e\u5305\u8fdb\u5165MPLS\u57df\u65f6\uff0c\u4f1a\u5728\u5176\u62a5\u5934\u6dfb\u52a0\u4e00\u4e2a\u6807\u7b7e\uff0c\u8fd9\u4e2a\u6807\u7b7e\u662f\u4e00\u4e2a\u77ed\u800c\u5b9a\u957f\u7684\u6807\u8bc6\u7b26\uff0c\u7528\u4e8e\u552f\u4e00\u6807\u8bc6\u4e00\u4e2a\u5206\u7ec4\u6240\u5c5e\u7684FEC(\u8f6c\u53d1\u7b49\u4ef7\u7c7b)\u3002\u5728MPLS\u57df\u5185\u7684\u8def\u7531\u5668(\u79f0\u4e3aLSR\uff0c\u5373\u6807\u7b7e\u4ea4\u6362\u8def\u7531\u5668)\u5728\u8f6c\u53d1\u6570\u636e\u5305\u65f6\uff0c\u4ec5\u9700\u8981\u6839\u636e\u6807\u7b7e\u53f7\u67e5\u8be2\u672c\u5730\u7684\u6807\u7b7e\u8f6c\u53d1\u4fe1\u606f\u6570\u636e\u5e93(LFIB)\uff0c\u4ece\u800c\u7b80\u5316\u4e86\u8def\u7531\u51b3\u7b56\u8fc7\u7a0b\u3002<\/p>\n\n\n\n \u3000\u3000\u8fd9\u79cd\u65b9\u5f0f\u5bf9\u7f51\u7edc\u6027\u80fd\u6709\u663e\u8457\u5f71\u54cd\u3002\u9996\u5148\uff0cMPLS\u901a\u8fc7\u7b80\u5316\u8def\u7531\u8fc7\u7a0b\uff0c\u589e\u5f3a\u4e86\u7f51\u7edc\u7684\u53ef\u6269\u5c55\u6027\u3002\u4f20\u7edf\u7684\u8def\u7531\u8868\u53ef\u80fd\u53d8\u5f97\u590d\u6742\u4e14\u96be\u4ee5\u5904\u7406\uff0c\u968f\u7740\u7f51\u7edc\u7684\u589e\u957f\u4f1a\u5f71\u54cd\u6027\u80fd\uff0c\u800cMPLS\u5229\u7528\u6807\u7b7e\u6765\u7b80\u5316\u51b3\u7b56\u8fc7\u7a0b\uff0c\u4f7f\u5176\u66f4\u5177\u6548\u7387\u3002\u5176\u6b21\uff0cMPLS\u6807\u7b7e\u4ea4\u6362\u8f6c\u53d1\u65b9\u5f0f\u89e3\u51b3\u4e86IP\u8f6c\u53d1\u6027\u80fd\u5dee\u7684\u95ee\u9898\uff0c\u63d0\u9ad8\u4e86\u6570\u636e\u6d41\u91cf\u7684\u901f\u5ea6\u548c\u6548\u7387\u3002\u6b64\u5916\uff0cMPLSVPN\u4e2d\u7684\u6bcf\u4e2aVPN\u5b9e\u4f8b\u90fd\u4f7f\u7528\u4e00\u4e2a\u552f\u4e00\u7684Route Distinguisher(RD)\uff0c\u8fd9\u8fdb\u4e00\u6b65\u63d0\u9ad8\u4e86\u7f51\u7edc\u6027\u80fd\u548c\u7ba1\u7406\u7075\u6d3b\u6027\u3002<\/p>\n\n\n\n \u3000\u3000MPLS(Multiprotocol Label Switching)\u652f\u6301\u591a\u79cd\u7b2c\u4e8c\u5c42\u6570\u636e\u94fe\u8def\u5c42\u6280\u672f\uff0c\u5e76\u4e14\u8fd9\u4e9b\u6280\u672f\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n\n\n\n MPLS\u901a\u8fc7\u6807\u7b7e\u4ea4\u6362\u6280\u672f\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6548\u3001\u53ef\u9760\u7684\u6570\u636e\u5305\u8f6c\u53d1\uff0c\u5e76\u4e14\u5177\u6709\u5f3a\u5927\u7684\u8def\u7531\u529f\u80fd\u548c\u7075\u6d3b\u7684\u7f51\u7edc\u8bbe\u8ba1\u80fd\u529b\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5404\u79cd\u7f51\u7edc\u573a\u666f\u4e2d\u3002<\/p>\n","protected":false},"author":1,"featured_media":93356,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[354],"class_list":["post-94225","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-wlxy"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/94225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=94225"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/94225\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/93356"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=94225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=94225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=94225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001 MPLS\u534f\u8bae\u4ecb\u7ecd<\/h2>\n\n\n\n
\u3000\u30001. \u5de5\u4f5c\u539f\u7406<\/h3>\n\n\n\n
\n
\u3000\u30002. \u4e3b\u8981\u529f\u80fd<\/h3>\n\n\n\n
\n
\u3000\u3000\u4e8c\u3001 MPLS\u534f\u8bae\u7684\u6807\u7b7e\u4ea4\u6362\u6280\u672f\u662f\u5982\u4f55\u5de5\u4f5c\u7684\uff0c\u4ee5\u53ca\u5b83\u662f\u5982\u4f55\u786e\u4fdd\u6570\u636e\u5305\u51c6\u786e\u8def\u7531\u5230\u6307\u5b9a\u76ee\u7684\u5730\u7684?<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e09\u3001 LSP(\u6807\u7b7e\u4ea4\u6362\u8def\u5f84)\u5728MPLS\u4e2d\u626e\u6f14\u4ec0\u4e48\u89d2\u8272\uff0c\u5b83\u662f\u5982\u4f55\u88ab\u5efa\u7acb\u548c\u7ef4\u62a4\u7684?<\/h2>\n\n\n\n
\u3000\u3000\u56db\u3001 MPLS\u4e0e\u5176\u4ed6\u7f51\u7edc\u534f\u8bae(\u5982BGP\u3001OSPF)\u76f8\u6bd4\u6709\u54ea\u4e9b\u4f18\u52bf\u548c\u52a3\u52bf?<\/h2>\n\n\n\n
\u3000\u30001. \u4f18\u52bf\uff1a<\/h3>\n\n\n\n
\u3000\u30002. \u52a3\u52bf\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u5bf9\u6bd4BGP\uff1a<\/h3>\n\n\n\n
\u3000\u30004. \u5bf9\u6bd4OSPF\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u4e94\u3001 \u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0cMPLS\u5982\u4f55\u5b9e\u73b0\u9762\u5411\u8fde\u63a5\u7684\u6807\u7b7e\u4ea4\u6362\uff0c\u4ee5\u53ca\u8fd9\u79cd\u65b9\u5f0f\u5bf9\u7f51\u7edc\u6027\u80fd\u6709\u4f55\u5f71\u54cd?<\/h2>\n\n\n\n
\u3000\u30001. MPLS\u652f\u6301\u54ea\u4e9b\u7b2c\u4e8c\u5c42\u6570\u636e\u94fe\u8def\u5c42\u6280\u672f<\/h3>\n\n\n\n
\n
\u3000\u30002. \u5177\u4f53\u5e94\u7528\u573a\u666f\u5305\u62ec\uff1a<\/h3>\n\n\n\n
\n