{"id":271,"date":"2019-05-24T13:20:39","date_gmt":"2019-05-24T05:20:39","guid":{"rendered":"http:\/\/b.yesiyu.top\/?p=271"},"modified":"2019-05-24T13:20:39","modified_gmt":"2019-05-24T05:20:39","slug":"%e5%8d%8e%e4%b8%ba%e4%ba%a4%e6%8d%a2%e6%9c%bavlan%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/b.yesiyu.top\/?p=271","title":{"rendered":"\u534e\u4e3a\u4ea4\u6362\u673aVLAN\u914d\u7f6e"},"content":{"rendered":"\n<p>\u4e3b\u8981\u8bb2\u534e\u4e3a\u4ea4\u6362\u673a\u4e2dVLAN\u7684\u914d\u7f6e\uff0c\u4ee5\u4e0b\\\\\uff08\u5305\u542b\\\\\uff09\u540e\u9762\u7684\u662f\u8bf4\u660e<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/d3ed1526107197.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/d3ed1526107197.png\" alt=\"452-6.png\"\/><\/a><\/figure>\n\n\n\n<p><strong>1\u3001\u4ea4\u6362\u4e0a\u914d\u7f6e\u591a\u4e2aVLAN<\/strong><\/p>\n\n\n\n<p>&lt;Huawei&gt;system-view&nbsp; &nbsp; \\\\\u8fdb\u5165\u7cfb\u7edf\u89c6\u56fe<\/p>\n\n\n\n<p>[Huawei]vlan 10&nbsp;&nbsp;&nbsp;&nbsp;\\\\\u5212\u5206vlan10<\/p>\n\n\n\n<p>[Huawei-vlan10]description IT&nbsp; &nbsp; \\\\\u540d\u79f0\u4fee\u6539\u4e3aIT<\/p>\n\n\n\n<p>[Huawei-vlan10]quit<\/p>\n\n\n\n<p>[Huawei]vlan 20&nbsp;&nbsp;&nbsp;&nbsp;\\\\\u5212\u5206vlan20<\/p>\n\n\n\n<p>[Huawei-vlan20]description HR&nbsp; &nbsp; \\\\\u540d\u79f0\u4fee\u6539\u4e3aHR<\/p>\n\n\n\n<p>[Huawei-vlan20]quit<\/p>\n\n\n\n<p>[Huawei]vlan 30&nbsp;&nbsp;&nbsp;&nbsp;\\\\\u5212\u5206vlan30<\/p>\n\n\n\n<p>[Huawei-vlan30]description SCM&nbsp; &nbsp; \\\\\u540d\u79f0\u4fee\u6539\u4e3aSCM<\/p>\n\n\n\n<p>[Huawei-vlan30]quit<\/p>\n\n\n\n<p>[Huawei]vlan 40&nbsp;&nbsp;&nbsp;&nbsp;\\\\\u5212\u5206vlan40<\/p>\n\n\n\n<p>[Huawei-vlan40]description FIN&nbsp; &nbsp; \\\\\u540d\u79f0\u4fee\u6539\u4e3aFIN<\/p>\n\n\n\n<p>[Huawei-vlan40]quit<\/p>\n\n\n\n<p>[Huawei]display&nbsp;vlan&nbsp; &nbsp;&nbsp;\\\\\u663e\u793a\u5f53\u524dvlan\u914d\u7f6e<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/401a1526103159.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/401a1526103159.png\" alt=\"452-1.png\"\/><\/a><\/figure>\n\n\n\n<p><strong>2\u3001\u914d\u7f6evlanif ip\u5730\u5740<\/strong><\/p>\n\n\n\n<p>[Huawei]int vlanif 10<\/p>\n\n\n\n<p>[Huawei-Vlanif10]ip address 192.168.10.1 255.255.254.0<\/p>\n\n\n\n<p>[Huawei-Vlanif10]q<\/p>\n\n\n\n<p>[Huawei]int vlanif 20<\/p>\n\n\n\n<p>[Huawei-Vlanif20]ip address 192.168.20.1 255.255.254.0<\/p>\n\n\n\n<p>[Huawei-Vlanif20]q<\/p>\n\n\n\n<p>[Huawei]int vlanif 30<\/p>\n\n\n\n<p>[Huawei-Vlanif30]ip address 192.168.30.1 255.255.254.0<\/p>\n\n\n\n<p>[Huawei-Vlanif30]q<\/p>\n\n\n\n<p>[Huawei]int vlanif 40<\/p>\n\n\n\n<p>[Huawei-Vlanif40]ip address 192.168.40.1 255.255.254.0<\/p>\n\n\n\n<p>[Huawei-Vlanif40]q<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/81961526103756.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/81961526103756.png\" alt=\"452-2.png\"\/><\/a><\/figure>\n\n\n\n<p><strong>3\u3001\u914d\u7f6e\u7f51\u53e3Vlan<\/strong><\/p>\n\n\n\n<p>[Huawei]int g0\/0\/1&nbsp; &nbsp; \\\\\u8fdb\u5165\u7f51\u53e30\/0\/1\u89c6\u56fe<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/1]port link-type access&nbsp; &nbsp; \\\\\u914d\u7f6e\u7f51\u53e3\u6a21\u5f0f\u4e3aaccess<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/1]port default vlan 10&nbsp; &nbsp; \\\\\u914d\u7f6e\u7f51\u53e3Vlan\u4e3a10<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/1]q<\/p>\n\n\n\n<p>[Huawei]port-group 1&nbsp; &nbsp; \\\\\u521b\u5efa\u7aef\u53e3\u7ec41<\/p>\n\n\n\n<p>[Huawei-port-group-1]group-member g0\/0\/2 to g0\/0\/5&nbsp; &nbsp; \\\\\u628a\u7f51\u53e30\/0\/2-0\/0\/5\u52a0\u5165\u7aef\u53e3\u7ec41<\/p>\n\n\n\n<p>[Huawei-port-group-1]port link-type access&nbsp; &nbsp; \\\\\u914d\u7f6e\u7aef\u53e3\u7ec41\u7684\u6240\u6709\u7f51\u53e3\u6a21\u5f0f\u4e3aaccess<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/2]port link-type access&nbsp; &nbsp; \\\\\u81ea\u52a8\u751f\u6210\uff0c\u65e0\u9700\u8f93\u5165<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/3]port link-type access&nbsp;&nbsp; \\\\\u81ea\u52a8\u751f\u6210\uff0c\u65e0\u9700\u8f93\u5165<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/4]port link-type access&nbsp;&nbsp; \\\\\u81ea\u52a8\u751f\u6210\uff0c\u65e0\u9700\u8f93\u5165<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/5]port link-type access&nbsp;&nbsp; \\\\\u81ea\u52a8\u751f\u6210\uff0c\u65e0\u9700\u8f93\u5165<\/p>\n\n\n\n<p>[Huawei-port-group-1]port default vlan 20&nbsp; &nbsp; \\\\\u914d\u7f6e\u7aef\u53e3\u7ec41\u6240\u6709\u7f51\u53e3\u7684Vlan\u4e3a20<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/2]port default vlan 20&nbsp;&nbsp; \\\\\u81ea\u52a8\u751f\u6210\uff0c\u65e0\u9700\u8f93\u5165<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/3]port default vlan 20&nbsp;&nbsp; \\\\\u81ea\u52a8\u751f\u6210\uff0c\u65e0\u9700\u8f93\u5165<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/4]port default vlan 20&nbsp;&nbsp; \\\\\u81ea\u52a8\u751f\u6210\uff0c\u65e0\u9700\u8f93\u5165<\/p>\n\n\n\n<p>[Huawei-GigabitEthernet0\/0\/5]port default vlan 20&nbsp;&nbsp; \\\\\u81ea\u52a8\u751f\u6210\uff0c\u65e0\u9700\u8f93\u5165<\/p>\n\n\n\n<p>[Huawei-port-group-1]q<\/p>\n\n\n\n<p>\u5176\u4ed6\u7684\u8fd9\u8fb9\u4e0d\u4e00\u4e00\u5199\u51fa\u4e86\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/6fbc1526104684.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/6fbc1526104684.png\" alt=\"452-3.png\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/5f591526106430.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"http:\/\/cdn1.myxzy.com\/uploadfile\/201805\/5f591526106430.png\" alt=\"452-5.png\"\/><\/a><\/figure>\n\n\n\n<p><strong>4\u3001\u5220\u9664VLAN\u548c\u7aef\u53e3\u7ec4<\/strong><\/p>\n\n\n\n<p>[Huawei]undo vlan 50&nbsp; &nbsp; \\\\\u5220\u9664ID\u4e3a50\u7684VLAN<\/p>\n\n\n\n<p>[Huawei]undo port-group 1&nbsp; &nbsp; \\\\\u5220\u9664ID\u4e3a1\u7684\u7aef\u53e3\u7ec4<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3b\u8981\u8bb2\u534e\u4e3a\u4ea4\u6362\u673a\u4e2dVLAN\u7684\u914d\u7f6e\uff0c\u4ee5\u4e0b\\\\\uff08\u5305\u542b\\\\\uff09\u540e\u9762\u7684\u662f\u8bf4\u660e 1\u3001\u4ea4\u6362\u4e0a\u914d\u7f6e\u591a\u4e2aVLAN &lt;Hua &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/b.yesiyu.top\/?p=271\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u534e\u4e3a\u4ea4\u6362\u673aVLAN\u914d\u7f6e\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=271"}],"version-history":[{"count":1,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":272,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions\/272"}],"wp:attachment":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}