{"id":759,"date":"2025-09-16T17:42:04","date_gmt":"2025-09-16T09:42:04","guid":{"rendered":"https:\/\/www.htmacg.cn\/?p=759"},"modified":"2025-09-16T17:42:04","modified_gmt":"2025-09-16T09:42:04","slug":"%e9%94%90%e6%8d%b7%e6%a8%a1%e6%8b%9f%e5%99%a8%e9%93%be%e8%b7%af%e8%81%9a%e5%90%88%e9%85%8d%e7%bd%ae%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.htmacg.cn\/?p=759","title":{"rendered":"\u9510\u6377\u6a21\u62df\u5668\u94fe\u8def\u805a\u5408\u914d\u7f6e\u6559\u7a0b"},"content":{"rendered":"<p>\u94fe\u8def\u805a\u5408\u5c31\u662f\u628a\u4e24\u53f0\u4ea4\u6362\u673a\u4e4b\u95f4\u7684 2 \u6761\u7269\u7406\u7f51\u7ebf \u201c\u6346\u6210 1 \u6761\u865a\u62df\u7ebf\u201d\u2014\u2014 \u597d\u5904\u5f88\u76f4\u63a5\uff1a\u2460\u7f51\u901f\u7ffb\u500d\uff082 \u6761 1000M \u7ebf\u805a\u5408\u540e\u603b\u7f51\u901f 2000M\uff09\uff1b\u2461\u9632\u65ad\u7f51\uff08\u4e00\u6761\u7ebf\u574f\u4e86\uff0c\u53e6\u4e00\u6761\u80fd\u7ee7\u7eed\u4f20\u6570\u636e\uff09\u3002\u4e0b\u9762\u7528 2 \u53f0\u9510\u6377\u4ea4\u6362\u673a\uff0c\u5206 \u201c\u4e8c\u5c42\u201d\u201c\u4e09\u5c42\u201d \u4e24\u79cd\u573a\u666f<\/p>\n<h2><strong><b>\u4e00\u3001\u5b9e\u9a8c\u51c6\u5907<\/b><\/strong><\/h2>\n<ul>\n<li>2 \u53f0\u9510\u6377\u4ea4\u6362\u673a\uff08\u540e\u9762\u7b80\u79f0 \u201cSW1\u201d\u201cSW2\u201d\uff0c\u65b9\u4fbf\u533a\u5206\uff09<\/li>\n<li>2 \u6839\u7f51\u7ebf\uff08\u7528\u6765\u8fde\u63a5\u4e24\u53f0\u4ea4\u6362\u673a\u7684\u6307\u5b9a\u7aef\u53e3\uff0c\u5177\u4f53\u600e\u4e48\u8fde\u770b\u4e0b\u9762\u7684\u62d3\u6251\uff09<\/li>\n<\/ul>\n<h2><strong><b>\u4e8c\u3001\u62d3\u6251\u56fe\u8fde\u63a5<\/b><\/strong><\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/img.htmacg.cn\/uploads\/2025\/09\/16\/68c92efce475d.png\" alt=\"\u56fe\u72471.png\" \/><\/p>\n<h2><strong><b>\u4e09\u3001\u573a\u666f 1\uff1a\u4e8c\u5c42\u94fe\u8def\u805a\u5408\uff08\u5e38\u7528\uff0c\u4f20 VLAN \u6570\u636e\uff09<\/b><\/strong><\/h2>\n<h3><strong><b>\u7b2c\u4e00\u6b65\uff1a\u914d\u7f6e SW1\uff08\u4e3b\u52a8\u6a21\u5f0f\u7aef\uff09<\/b><\/strong><\/h3>\n<pre>Int rang g 0\/0-1 \u00a0\/\/ \u540c\u65f6\u9009\u4e2dSW1\u7684G0\/0\u548cG0\/1\u4e24\u4e2a\u7aef\u53e3\n\nPort-group 1 mode active \u00a0\/\/ \u628a\u9009\u4e2d\u7684\u7aef\u53e3\u52a0\u5165\u201c\u805a\u5408\u7ec41\u201d\uff0c\u5e76\u8bbe\u4e3a\u4e3b\u52a8\u6a21\u5f0f\n\nInt aggregateport 1 \u00a0\/\/ \u8fdb\u5165\u201c\u805a\u5408\u7aef\u53e31\u201d\n\nSwitch mode trunk \u00a0\/\/ \u628a\u805a\u5408\u7aef\u53e3\u8bbe\u4e3aTrunk\u6a21\u5f0f\n\nAggregateport load-balance src-dst-ip \u00a0\/\/ \u914d\u7f6e\u805a\u5408\u7ec4\u7684\u6d41\u91cf\u8d1f\u8f7d\u5206\u62c5<\/pre>\n<h3><strong><b>\u7b2c\u4e8c\u6b65\uff1a\u914d\u7f6e SW2\uff08\u88ab\u52a8\u6a21\u5f0f\u7aef\uff09<\/b><\/strong><\/h3>\n<pre>Int rang g 0\/0-1 \u00a0\/\/ \u540c\u65f6\u9009\u4e2dSW2\u7684G0\/0\u548cG0\/1\u4e24\u4e2a\u7aef\u53e3\n\nPort-group 1 mode passive \u00a0\/\/ \u628a\u9009\u4e2d\u7684\u7aef\u53e3\u52a0\u5165\u201c\u805a\u5408\u7ec41\u201d\uff0c\u8bbe\u4e3a\u88ab\u52a8\u6a21\u5f0f\n\nInt aggregateport 1 \u00a0\/\/ \u8fdb\u5165SW2\u7684\u201c\u805a\u5408\u7aef\u53e31\u201d\uff08\u865a\u62df\u7aef\u53e3\uff0c\u548cSW1\u7684\u805a\u5408\u7ec41\u5bf9\u5e94\uff09\n\nSwitch mode trunk \u00a0\/\/ \u8bbe\u4e3aTrunk\u6a21\u5f0f\uff0c\u548cSW1\u4fdd\u6301\u4e00\u81f4\uff0c\u5141\u8bb8\u6240\u6709VLAN\u6570\u636e\u901a\u8fc7\n\nAggregateport load-balance src-dst-ip \u00a0\/\/ \u6570\u636e\u5206\u914d\u89c4\u5219\u548cSW1\u4e00\u81f4\uff0c\u907f\u514d\u89c4\u5219\u4e0d\u5339\u914d<\/pre>\n<h2><strong><b>\u56db\u3001\u573a\u666f 2\uff1a\u4e09\u5c42\u94fe\u8def\u805a\u5408\uff08\u8fdb\u9636\uff0c\u4f20\u8de8\u7f51\u6bb5\u6570\u636e\uff09<\/b><\/strong><\/h2>\n<h3><strong><b>\u7b2c\u4e00\u6b65\uff1a\u914d\u7f6e SW1<\/b><\/strong><\/h3>\n<pre>Int rang g 0\/0-1 \u00a0\/\/ \u9009\u4e2dSW1\u7684G0\/0\u548cG0\/1\u7aef\u53e3\n\nNo switchport \u00a0\/\/ \u628a\u8fd9\u4e24\u4e2a\u7aef\u53e3\u4ece\u201c\u4e8c\u5c42\u7aef\u53e3\u201d\u6539\u6210\u201c\u4e09\u5c42\u7aef\u53e3\u201d\n\nInt aggregateport 1 \u00a0\/\/ \u8fdb\u5165SW1\u7684\u201c\u805a\u5408\u7aef\u53e31\u201d\n\nNo switchport \u00a0\/\/ \u628a\u805a\u5408\u7aef\u53e3\u4e5f\u6539\u6210\u4e09\u5c42\u6a21\u5f0f\n\nIp address 10.0.0.1 24 \u00a0\/\/ \u7ed9\u805a\u5408\u7aef\u53e3\u914dIP\u548c\u5b50\u7f51\u63a9\u7801\n\nPort-group 1 mode active \u00a0\/\/ \u628a\u7aef\u53e3\u52a0\u5165\u201c\u805a\u5408\u7ec41\u201d\uff0c\u8bbe\u4e3a\u4e3b\u52a8\u6a21\u5f0f\n\nAggregateport load-balance src-dst-ip \u00a0\/\/ \u6309IP\u5206\u914d\u6570\u636e\uff0c\u907f\u514d\u6570\u636e\u4f20\u4e71<\/pre>\n<h3><strong><b>\u7b2c\u4e8c\u6b65\uff1a\u914d\u7f6e SW2<\/b><\/strong><\/h3>\n<pre>Int rang g 0\/0-1 \u00a0\/\/ \u9009\u4e2dSW2\u7684G0\/0\u548cG0\/1\u7aef\u53e3\n\nNo switchport \u00a0\/\/ \u6539\u6210\u4e09\u5c42\u7aef\u53e3\n\nInt aggregateport 1 \u00a0\/\/ \u8fdb\u5165SW2\u7684\u201c\u805a\u5408\u7aef\u53e31\u201d\n\nNo switchport \u00a0\/\/ \u805a\u5408\u7aef\u53e3\u6539\u6210\u4e09\u5c42\u6a21\u5f0f\n\nIp address 10.0.0.2 24 \u00a0\/\/ \u914d\u540c\u7f51\u6bb5IP\uff1a10.0.0.2\uff08\u548cSW1\u768410.0.0.1\u80fd\u4e92\u901a\uff09\n\nPort-group 1 mode passive\u00a0\u00a0\/\/ \u52a0\u5165\u805a\u5408\u7ec41\uff0c\u8bbe\u4e3a\u88ab\u52a8\u6a21\u5f0f\n\nAggregateport load-balance src-dst-ip \u00a0\/\/ \u6570\u636e\u5206\u914d\u89c4\u5219\u548cSW1\u4e00\u81f4<\/pre>\n<h2><strong><b>\u4e94\u3001\u9a8c\u8bc1\u914d\u7f6e<\/b><\/strong><\/h2>\n<h3><strong><b>\u547d\u4ee4 1\uff1a\u67e5\u770b\u805a\u5408\u7aef\u53e3\u6c47\u603b<\/b><\/strong><\/h3>\n<p>Show aggregateport summary<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.htmacg.cn\/uploads\/2025\/09\/16\/68c92efce4fe9.png\" alt=\"\u56fe\u72472.png\" \/><\/p>\n<h3><strong><b>\u547d\u4ee4 2\uff1a\u67e5\u770b\u7aef\u53e3\u72b6\u6001<\/b><\/strong><\/h3>\n<p>Show interfaces staus<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.htmacg.cn\/uploads\/2025\/09\/16\/68c92efce6f40.png\" alt=\"\u56fe\u72473.png\" \/><\/p>\n<h3><strong><b>\u547d\u4ee4 3\uff1a\u67e5\u770b\u534f\u5546\u72b6\u6001\uff08\u4e0a\u9762\u662f\u672c\u7aef\uff0c\u4e0b\u9762\u662f\u5bf9\u7aef\uff09<\/b><\/strong><\/h3>\n<p>Show lacp summary<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.htmacg.cn\/uploads\/2025\/09\/16\/68c92efd13141.png\" alt=\"\u56fe\u72474.png\" \/><\/p>\n<h2><strong><b>\u516d\u3001\u5c0f\u767d\u5e38\u89c1\u95ee\u9898<\/b><\/strong><\/h2>\n<ol>\n<li>\u805a\u5408\u7aef\u53e3\u663e\u793a \u201cdown\u201d\uff08\u7528\u4e0d\u4e86\uff09\uff1f<br \/>\n\u5148\u67e5\u7f51\u7ebf\uff1a\u662f\u4e0d\u662f G0\/0 \u8fde G0\/0\u3001G0\/1 \u8fde G0\/1\uff08\u63d2\u9519\u5fc5\u5931\u8d25\uff09\uff1b\u518d\u8f93no shutdown\uff08\u542f\u7528\u88ab\u7981\u7528\u7684\u7aef\u53e3\uff09\u3002<\/li>\n<li>\u4e8c\u5c42\u805a\u5408\u4f20\u4e0d\u4e86 VLAN \u6570\u636e\uff1f<br \/>\n\u6ca1\u8f93Switch mode trunk\uff01\u4e8c\u5c42\u805a\u5408\u5fc5\u987b\u8bbe Trunk \u6a21\u5f0f\uff0c\u4e0d\u7136\u53ea\u80fd\u4f20\u9ed8\u8ba4 VLAN1 \u7684\u6570\u636e\u3002<\/li>\n<li>\u4e09\u5c42\u805a\u5408\u914d\u4e0d\u4e86 IP\uff1f<br \/>\n\u6ca1\u8f93no switchport\uff01\u4e8c\u5c42\u7aef\u53e3\u4e0d\u80fd\u914d IP\uff0c\u5fc5\u987b\u5148\u6539\u6210\u4e09\u5c42\u7aef\u53e3\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u94fe\u8def\u805a\u5408\u5c31\u662f\u628a\u4e24\u53f0\u4ea4\u6362\u673a\u4e4b\u95f4\u7684 2 \u6761\u7269\u7406\u7f51\u7ebf \u201c\u6346\u6210 1 \u6761\u865a\u62df\u7ebf\u201d\u2014\u2014 \u597d\u5904\u5f88\u76f4\u63a5\uff1a\u2460\u7f51\u901f\u7ffb\u500d\uff082 \u6761 1000M \u7ebf\u805a\u5408\u540e\u603b\u7f51\u901f 2000M\uff09\uff1b\u2461\u9632\u65ad\u7f51\uff08\u4e00\u6761\u7ebf\u574f\u4e86\uff0c\u53e6\u4e00\u6761\u80fd\u7ee7\u7eed\u4f20\u6570\u636e\uff09\u3002\u4e0b\u9762\u7528 2 \u53f0\u9510\u6377\u4ea4\u6362\u673a\uff0c\u5206 \u201c\u4e8c\u5c42\u201d\u201c\u4e09\u5c42\u201d \u4e24\u79cd\u573a\u666f \u4e00\u3001\u5b9e\u9a8c\u51c6\u5907 2 \u53f0\u9510\u6377\u4ea4\u6362\u673a\uff08\u540e\u9762\u7b80\u79f0 \u201cSW&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-759","post","type-post","status-publish","format-standard","hentry","category-operational_maintenance_simulation"],"_links":{"self":[{"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/posts\/759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=759"}],"version-history":[{"count":0,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=\/wp\/v2\/posts\/759\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.htmacg.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}