{"id":1715,"date":"2025-05-25T15:09:32","date_gmt":"2025-05-25T07:09:32","guid":{"rendered":"http:\/\/113.45.254.23\/?p=1715"},"modified":"2025-05-25T15:09:32","modified_gmt":"2025-05-25T07:09:32","slug":"%e7%ae%80%e5%8d%95%e7%9a%84%e4%b8%89%e5%b1%82%e4%ba%a4%e6%8d%a2","status":"publish","type":"post","link":"http:\/\/113.45.254.23\/?p=1715","title":{"rendered":"\u7b80\u5355\u7684\u4e09\u5c42\u4ea4\u6362"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u5b9e\u9a8c\u62d3\u6251\u56fe\uff1a<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-89.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"402\" data-original=\"http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-89.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1716\"  sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001PC \u8bbe\u7f6eIP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u53ca\u7f51\u5173\uff1a<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-90.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"693\" height=\"472\" data-original=\"http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-90.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1717\"  sizes=\"auto, (max-width: 693px) 100vw, 693px\" \/><\/div><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-91.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"473\" data-original=\"http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-91.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1718\"  sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/div><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-92.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"493\" data-original=\"http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-92.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1719\"  sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u914d\u7f6e\u4e09\u5c42\u4ea4\u6362\u673a3SW1\uff1a<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;3SW1]vlan batch 10 20 \t\t\u521b\u5efavlan10\u548c20\nInfo: This operation may take a few seconds. Please wait for a moment...done.\n&#91;3SW1]port-group group-member g0\/0\/1 g0\/0\/2\t\u7aef\u53e3\u7ec4\u7684\u6210\u5458\u662fg0\/0\/1\u548cg0\/0\/2\n&#91;3SW1-port-group]port link-type access\t\t\u7aef\u53e3\u94fe\u8def\u7c7b\u578b\u4e3a\u63a5\u5165\n&#91;3SW1-GigabitEthernet0\/0\/1]port link-type access\t\n&#91;3SW1-GigabitEthernet0\/0\/2]port link-type access\n&#91;3SW1-port-group]port default vlan 10\t\t\u7aef\u53e3\u63a5\u5165vlan10\n&#91;3SW1-GigabitEthernet0\/0\/1]port default vlan 10\n&#91;3SW1-GigabitEthernet0\/0\/2]port default vlan 10\n&#91;3SW1-port-group]quit\n&#91;3SW1]interface g0\/0\/3\t\t\t\u8fdb\u5165g0\/0\/3\u63a5\u53e3\n&#91;3SW1-GigabitEthernet0\/0\/3]port link-type access\t\u7aef\u53e3\u94fe\u8def\u7c7b\u578b\u4e3a\u63a5\u5165\n&#91;3SW1-GigabitEthernet0\/0\/3]port default vlan 20\t\t\u7aef\u53e3\u63a5\u5165vlan20\n&#91;3SW1-GigabitEthernet0\/0\/3]quit\n&#91;3SW1]interface vlanif 10\t\t\u8fdb\u5165vlan10\u7684\u865a\u63a5\u53e3 \uff08\u4e09\u5c42\u662f\u865a\u63a5\u53e3\uff1aIP\u662f\u7f51\u5173\u5730\u5740\uff09\n&#91;3SW1-Vlanif10]ip address 192.168.1.254 24\t\t\tIP\u5730\u5740192.168.1.254 \u5b50\u7f51\u63a9\u780124\n&#91;3SW1-Vlanif10]quit\n&#91;3SW1]interface vlanif 20\t\t\u8fdb\u5165vlan20\u7684\u865a\u63a5\u53e3\n&#91;3SW1-Vlanif20]ip address 192.168.2.254 24\t\t\tIP\u5730\u5740192.168.2.254 \u5b50\u7f51\u63a9\u780124\n&#91;3SW1-Vlanif20]quit<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u67e5\u770bIP\u63a5\u53e3\u7684\u8be6\u7ec6\u4fe1\u606f<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;3SW1]display ip interface brief \u67e5\u770bIP\u63a5\u53e3\u7684\u8be6\u7ec6\u4fe1\u606f\n*down: administratively down\n^down: standby\n(l): loopback\n(s): spoofing\nThe number of interface that is UP in Physical is 3\nThe number of interface that is DOWN in Physical is 2\nThe number of interface that is UP in Protocol is 3\nThe number of interface that is DOWN in Protocol is 2\n\nInterface                         IP Address\/Mask      Physical   Protocol  \nMEth0\/0\/1                         unassigned           down       down      \nNULL0                             unassigned           up         up(s)     \nVlanif1                           unassigned           down       down      \nVlanif10                          192.168.1.254\/24     up         up        \u770b\u8fd9\u4e2a\uff0cvlan\u865a\u63a5\u53e3IP\u4e5f\u662f\u7f51\u5173\u5730\u5740\nVlanif20                          192.168.2.254\/24     up         up        \u770b\u8fd9\u4e2a\uff0cvlan\u865a\u63a5\u53e3IP\u4e5f\u662f\u7f51\u5173\u5730\u5740<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u9a8c\u8bc1\u4e09\u5c42\u4ea4\u6362\u662f\u5426\u5168\u7f51\u4e92\u901a\uff1a<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-94.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"747\" data-original=\"http:\/\/113.45.254.23\/wp-content\/uploads\/2025\/05\/image-94.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1721\"  sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/div><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u5b9e\u9a8c\u62d3\u6251\u56fe\uff1a \u4e8c\u3001PC \u8bbe\u7f6eIP\u5730\u5740\u3001\u5b50\u7f51\u63a9\u7801\u53ca\u7f51\u5173\uff1a \u4e09\u3001\u914d\u7f6e\u4e09\u5c42\u4ea4\u6362\u673a3SW1\uff1a \u56db\u3001\u67e5\u770bIP\u63a5\u53e3\u7684\u8be6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[109,124],"tags":[101,128],"class_list":["post-1715","post","type-post","status-publish","format-standard","hentry","category-huawei","category-124","tag-101","tag-ip"],"_links":{"self":[{"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/posts\/1715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/113.45.254.23\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1715"}],"version-history":[{"count":1,"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/posts\/1715\/revisions"}],"predecessor-version":[{"id":1722,"href":"http:\/\/113.45.254.23\/index.php?rest_route=\/wp\/v2\/posts\/1715\/revisions\/1722"}],"wp:attachment":[{"href":"http:\/\/113.45.254.23\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/113.45.254.23\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1715"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/113.45.254.23\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}