{"id":2488,"date":"2025-05-14T11:28:12","date_gmt":"2025-05-14T03:28:12","guid":{"rendered":"https:\/\/airy.cn\/WordPress\/?p=2488"},"modified":"2025-05-14T11:28:13","modified_gmt":"2025-05-14T03:28:13","slug":"%e5%8d%8e%e4%b8%ba%e4%bc%81%e4%b8%9a%e8%b7%af%e7%94%b1%e5%99%a8%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/airy.cn\/WordPress\/?p=2488","title":{"rendered":"\u534e\u4e3a\u4f01\u4e1a\u8def\u7531\u5668\u547d\u4ee4"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.huaweicloud.com\/zhishi\/edits-18641505.html\">https:\/\/www.huaweicloud.com\/zhishi\/edits-18641505.html<\/a><\/p>\n\n\n\n<p>\u534e\u4e3a\u4f01\u4e1a\u8def\u7531\u5668\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684\u8def\u7531\u5668\uff0c\u53ef\u7528\u4e8e\u4f01\u4e1a\u7f51\u7edc\u7684\u7ba1\u7406\u548c\u4f18\u5316\u3002\u534e\u4e3a\u4f01\u4e1a\u8def\u7531\u5668\u7684\u547d\u4ee4\u975e\u5e38\u5f3a\u5927\uff0c\u80fd\u591f\u6267\u884c\u5404\u79cd\u7f51\u7edc\u7ba1\u7406\u64cd\u4f5c\uff0c\u5982\u6dfb\u52a0\/\u5220\u9664\u7528\u6237\u3001\u8bbe\u7f6e\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u3001\u66f4\u6539IP\u5730\u5740\u3001\u8def\u7531\u7b56\u7565\u7b49\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u534e\u4e3a\u4f01\u4e1a\u8def\u7531\u5668\u7684\u4e00\u4e9b\u5e38\u7528\u547d\u4ee4\u3002<\/p>\n\n\n\n<p>1. show running-config<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u8def\u7531\u5668\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u5305\u62ec\u8def\u7531\u5668\u7684\u914d\u7f6e\u4fe1\u606f\u3001\u7f51\u7edc\u63a5\u53e3\u3001IP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u7b49\u3002\u901a\u8fc7\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u4e86\u89e3\u8def\u7531\u5668\u7684\u914d\u7f6e\uff0c\u5e76\u8fdb\u884c\u8c03\u6574\u3002<\/p>\n\n\n\n<p>2. show running-config running-config.txt<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u5e76\u4e14\u53ef\u4ee5\u8f93\u51fa\u6587\u672c\u6587\u4ef6\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u5305\u62ec\u8def\u7531\u5668\u7684\u914d\u7f6e\u4fe1\u606f\u3001\u7f51\u7edc\u63a5\u53e3\u3001IP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u7b49\u3002<\/p>\n\n\n\n<p>3. show interface<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684\u6240\u6709\u7f51\u7edc\u63a5\u53e3\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u63a5\u53e3\u7684\u540d\u79f0\u3001IP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u3001\u9ed8\u8ba4\u7f51\u5173\u7b49\u3002\u901a\u8fc7\u67e5\u770b\u63a5\u53e3\u4fe1\u606f\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u4e86\u89e3\u8def\u7531\u5668\u7684\u7f51\u7edc\u63a5\u53e3\uff0c\u5e76\u8fdb\u884c\u8c03\u6574\u3002<\/p>\n\n\n\n<p>4. show ipconfig<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684IP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u3001\u9ed8\u8ba4\u7f51\u5173\u7b49\u7f51\u7edc\u4fe1\u606f\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u8def\u7531\u5668\u7684\u7f51\u7edc\u914d\u7f6e\u4fe1\u606f\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u4e86\u89e3\u8def\u7531\u5668\u7684\u7f51\u7edc\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<p>5. show interface vlan<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684\u6240\u6709VLAN\u63a5\u53e3\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u63a5\u53e3\u7684\u540d\u79f0\u3001VLAN\u53f7\u3001IP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u7b49\u3002\u901a\u8fc7\u67e5\u770b\u63a5\u53e3\u4fe1\u606f\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u4e86\u89e3\u8def\u7531\u5668\u7684VLAN\u914d\u7f6e\u3002<\/p>\n\n\n\n<p>6. show ipconfig vlan<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684VLAN\u914d\u7f6e\u4fe1\u606f\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u8def\u7531\u5668\u7684VLAN\u914d\u7f6e\u4fe1\u606f\uff0c\u5305\u62ecVLAN\u7684\u914d\u7f6e\u3001\u6807\u7b7e\u3001\u4f18\u5148\u7ea7\u7b49\u3002<\/p>\n\n\n\n<p>7. show running-config vlan<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684VLAN\u914d\u7f6e\u4fe1\u606f\uff0c\u5e76\u4e14\u53ef\u4ee5\u8f93\u51fa\u6587\u672c\u6587\u4ef6\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770bVLAN\u7684\u914d\u7f6e\u4fe1\u606f\uff0c\u5e76\u8fdb\u884c\u8c03\u6574\u3002<\/p>\n\n\n\n<p>8. show interface vlan vlan1<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684VLAN1\u63a5\u53e3\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u63a5\u53e3\u7684\u540d\u79f0\u3001VLAN\u53f7\u3001IP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u7b49\u3002<\/p>\n\n\n\n<p>9. show ipconfig vlan vlan1<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684VLAN1\u914d\u7f6e\u4fe1\u606f\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u8def\u7531\u5668\u7684VLAN1\u914d\u7f6e\u4fe1\u606f\uff0c\u5305\u62ecVLAN\u7684\u914d\u7f6e\u3001\u6807\u7b7e\u3001\u4f18\u5148\u7ea7\u7b49\u3002<\/p>\n\n\n\n<p>10. show interface vlan vlan1<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u663e\u793a\u5f53\u524d\u8def\u7531\u5668\u7684VLAN1\u63a5\u53e3\u3002\u4f7f\u7528\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u63a5\u53e3\u7684\u540d\u79f0\u3001VLAN\u53f7\u3001IP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u7b49\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0a\u662f\u534e\u4e3a\u4f01\u4e1a\u8def\u7531\u5668\u7684\u4e00\u4e9b\u5e38\u7528\u547d\u4ee4\u4ecb\u7ecd\uff0c\u8fd9\u4e9b\u547d\u4ee4\u53ef\u4ee5\u5e2e\u52a9\u7ba1\u7406\u5458\u66f4\u597d\u5730\u7ba1\u7406\u4f01\u4e1a\u7f51\u7edc\uff0c\u5e76\u4f18\u5316\u7f51\u7edc\u6027\u80fd\u3002\u540c\u65f6\uff0c\u534e\u4e3a\u4f01\u4e1a\u8def\u7531\u5668\u8fd8\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u63a7\u5236\u53f0\u754c\u9762\uff0c\u53ef\u4ee5\u5e2e\u52a9\u7ba1\u7406\u5458\u66f4\u8f7b\u677e\u5730\u7ba1\u7406\u8def\u7531\u5668\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.huaweicloud.com\/zhishi\/edits-18641505.html  &#8230; <a title=\"\u534e\u4e3a\u4f01\u4e1a\u8def\u7531\u5668\u547d\u4ee4\" class=\"read-more\" href=\"https:\/\/airy.cn\/WordPress\/?p=2488\" aria-label=\"\u9605\u8bfb \u534e\u4e3a\u4f01\u4e1a\u8def\u7531\u5668\u547d\u4ee4\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2488","post","type-post","status-publish","format-standard","hentry","category-airy-tech"],"_links":{"self":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/2488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2488"}],"version-history":[{"count":1,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/2488\/revisions"}],"predecessor-version":[{"id":2489,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/2488\/revisions\/2489"}],"wp:attachment":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}