{"id":1209,"date":"2023-06-15T17:14:06","date_gmt":"2023-06-15T09:14:06","guid":{"rendered":"http:\/\/xinyixx.com\/?p=1209"},"modified":"2023-06-15T17:14:42","modified_gmt":"2023-06-15T09:14:42","slug":"hcie7","status":"publish","type":"post","link":"https:\/\/www.xinyixx.com\/index.php\/2023\/06\/15\/hcie7\/","title":{"rendered":"HCIE\u5b66\u4e60\u4e4b\u8def7\uff1aMSTP\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u5b9e\u9a8c"},"content":{"rendered":"<p>MSTP\u662fMultiple Spanning Tree Protocol\u7684\u7f29\u5199\uff0c\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u7f51\u7edc\u4e2d\u5b9e\u73b0\u5197\u4f59\u8def\u5f84\u7684\u534f\u8bae\u3002\u5b83\u53ef\u4ee5\u5728\u4e00\u4e2a\u7f51\u7edc\u4e2d\u521b\u5efa\u591a\u4e2a\u865a\u62df\u7684\u751f\u6210\u6811\uff0c\u4ece\u800c\u63d0\u9ad8\u7f51\u7edc\u7684\u53ef\u9760\u6027\u548c\u53ef\u4f38\u7f29\u6027\u3002<\/p>\n\n\n\n<p>\u8d1f\u8f7d\u5747\u8861\u662f\u901a\u8fc7\u5c06\u7f51\u7edc\u6d41\u91cf\u5206\u6563\u5230\u4e0d\u540c\u7684\u8def\u5f84\u4e0a\uff0c\u4ece\u800c\u5b9e\u73b0\u7f51\u7edc\u8d44\u6e90\u7684\u6700\u4f18\u5316\u5229\u7528\u3002\u5728\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u7684\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u6280\u672f\uff0c\u5982\u8def\u7531\u5668\u548c\u4ea4\u6362\u673a\u7684\u7aef\u53e3\u805a\u5408\u3001\u94fe\u8def\u805a\u5408\u7b49\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u6280\u672f\u662f\u57fa\u4e8e\u6d41\u91cf\u7684\u8d1f\u8f7d\u5747\u8861\uff0c\u5b83\u53ef\u4ee5\u6839\u636e\u6d41\u91cf\u7684\u6e90\u5730\u5740\u3001\u76ee\u7684\u5730\u5740\u3001\u7aef\u53e3\u53f7\u7b49\u56e0\u7d20\u6765\u8fdb\u884c\u6d41\u91cf\u5206\u914d\u3002<\/p>\n\n\n\n<p>\u62d3\u6251\u5982\u4e0b\uff0c\u5404\u4e2a\u63a5\u53e3\u548cip\u914d\u7f6e\u5df2\u7ecf\u5217\u51fa\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><noscript><img decoding=\"async\" width=\"920\" height=\"699\" src=\"http:\/\/xinyixx.com\/wp-content\/uploads\/2023\/06\/image-59.png\" alt class=\"wp-image-1211\" srcset=\"https:\/\/www.xinyixx.com\/wp-content\/uploads\/2023\/06\/image-59.png 920w, https:\/\/www.xinyixx.com\/wp-content\/uploads\/2023\/06\/image-59-300x228.png 300w, https:\/\/www.xinyixx.com\/wp-content\/uploads\/2023\/06\/image-59-768x584.png 768w\" sizes=\"(max-width: 920px) 100vw, 920px\"><\/noscript><img decoding=\"async\" width=\"920\" height=\"699\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20920%20699%22%3E%3C%2Fsvg%3E\" alt class=\"wp-image-1211 lazyload\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20920%20699%22%3E%3C%2Fsvg%3E 920w\" sizes=\"(max-width: 920px) 100vw, 920px\" data-srcset=\"https:\/\/www.xinyixx.com\/wp-content\/uploads\/2023\/06\/image-59.png 920w, https:\/\/www.xinyixx.com\/wp-content\/uploads\/2023\/06\/image-59-300x228.png 300w, https:\/\/www.xinyixx.com\/wp-content\/uploads\/2023\/06\/image-59-768x584.png 768w\" data-src=\"http:\/\/xinyixx.com\/wp-content\/uploads\/2023\/06\/image-59.png\"><\/figure>\n\n\n\n<p>SW1\u914d\u7f6e\uff1a<\/p>\n\n\n\n<p><code>system<br>sysname core1<br>vlan batch 10 20<br>stp instance 1 priority 4096<br>stp instance 2 priority 8192<br>stp region-configuration<br>region-name MSTP<br>instance 1 vlan 10<br>instance 2 vlan 20<br>active region-configuration<br>interface GigabitEthernet0\/0\/1<br>port link-type trunk<br>port trunk allow-pass all<br>interface GigabitEthernet0\/0\/2<br>port link-type trunk<br>port trunk allow-pass vlan all<br>interface GigabitEthernet0\/0\/3<br>port link-type trunk<br>port trunk allow-pass vlan all<\/code><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u521b\u5efa\u4e86VLAN 10\u548cVLAN 20\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86\u4e24\u4e2aMSTP\u5b9e\u4f8b\uff0c\u5b9e\u4f8b1\u7684\u4f18\u5148\u7ea7\u4e3a4096\uff0c\u5b9e\u4f8b2\u7684\u4f18\u5148\u7ea7\u4e3a8192\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86MSTP\u533a\u57df\uff0c\u533a\u57df\u540d\u79f0\u4e3aMSTP\uff0c\u5e76\u5c06VLAN 10\u5206\u914d\u7ed9\u5b9e\u4f8b1\uff0c\u5c06VLAN 20\u5206\u914d\u7ed9\u5b9e\u4f8b2\u3002<\/li>\n\n\n\n<li>\u6fc0\u6d3b\u4e86MSTP\u533a\u57df\u914d\u7f6e\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86\u4e09\u4e2a\u63a5\u53e3GigabitEthernet0\/0\/1\u3001GigabitEthernet0\/0\/2\u548cGigabitEthernet0\/0\/3\uff0c\u5c06\u5b83\u4eec\u90fd\u8bbe\u7f6e\u4e3atrunk\u6a21\u5f0f\uff0c\u5e76\u5141\u8bb8\u6240\u6709VLAN\u901a\u8fc7\u3002<\/li>\n<\/ol>\n\n\n\n<p>SW2\u914d\u7f6e\u4e0eSW1\u7c7b\u4f3c\uff1a<\/p>\n\n\n\n<p><code>system<br>sysname core2<br>vlan batch 10 20<br>stp instance 2 priority 4096<br>stp instance 1 priority 8192<br>stp region-configuration<br>region-name MSTP<br>instance 1 vlan 10<br>instance 2 vlan 20<br>active region-configuration<br>interface GigabitEthernet0\/0\/1<br>port link-type trunk<br>port trunk allow-pass all<br>interface GigabitEthernet0\/0\/2<br>port link-type trunk<br>port trunk allow-pass vlan all<br>interface GigabitEthernet0\/0\/3<br>port link-type trunk<br>port trunk allow-pass vlan all<\/code><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u521b\u5efa\u4e86VLAN 10\u548cVLAN 20\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86\u4e24\u4e2aMSTP\u5b9e\u4f8b\uff0c\u5b9e\u4f8b1\u7684\u4f18\u5148\u7ea7\u4e3a8192\uff0c\u5b9e\u4f8b2\u7684\u4f18\u5148\u7ea7\u4e3a4096\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86MSTP\u533a\u57df\uff0c\u533a\u57df\u540d\u79f0\u4e3aMSTP\uff0c\u5e76\u5c06VLAN 10\u5206\u914d\u7ed9\u5b9e\u4f8b1\uff0c\u5c06VLAN 20\u5206\u914d\u7ed9\u5b9e\u4f8b2\u3002<\/li>\n\n\n\n<li>\u6fc0\u6d3b\u4e86MSTP\u533a\u57df\u914d\u7f6e\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86\u4e09\u4e2a\u63a5\u53e3GigabitEthernet0\/0\/1\u3001GigabitEthernet0\/0\/2\u548cGigabitEthernet0\/0\/3\uff0c\u5c06\u5b83\u4eec\u90fd\u8bbe\u7f6e\u4e3atrunk\u6a21\u5f0f\uff0c\u5e76\u5141\u8bb8\u6240\u6709VLAN\u901a\u8fc7\u3002<\/li>\n<\/ol>\n\n\n\n<p>SW3\u914d\u7f6e\uff1a<\/p>\n\n\n\n<p><code>system<br>sysname jsw1<br>vlan batch 10 20<br>stp region-configuration<br>region-name MSTP<br>instance 1 vlan 10<br>instance 2 vlan 20<br>active region-configuration<br>interface GigabitEthernet0\/0\/1<br>port link-type trunk<br>port trunk allow-pass vlan all<br>interface GigabitEthernet0\/0\/2<br>port link-type trunk<br>port trunk allow-pass vlan all<br>interface GigabitEthernet0\/0\/3<br>port link-type access<br>port default vlan 10<\/code><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u521b\u5efa\u4e86VLAN 10\u548cVLAN 20\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86MSTP\u533a\u57df\uff0c\u533a\u57df\u540d\u79f0\u4e3aMSTP\uff0c\u5e76\u5c06VLAN 10\u5206\u914d\u7ed9\u5b9e\u4f8b1\uff0c\u5c06VLAN 20\u5206\u914d\u7ed9\u5b9e\u4f8b2\u3002<\/li>\n\n\n\n<li>\u6fc0\u6d3b\u4e86MSTP\u533a\u57df\u914d\u7f6e\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86\u4e09\u4e2a\u63a5\u53e3GigabitEthernet0\/0\/1\u3001GigabitEthernet0\/0\/2\u548cGigabitEthernet0\/0\/3\uff0c\u5c06\u524d\u4e24\u4e2a\u63a5\u53e3\u90fd\u8bbe\u7f6e\u4e3atrunk\u6a21\u5f0f\uff0c\u5e76\u5141\u8bb8\u6240\u6709VLAN\u901a\u8fc7\uff1b\u5c06\u7b2c\u4e09\u4e2a\u63a5\u53e3\u8bbe\u7f6e\u4e3aaccess\u6a21\u5f0f\uff0c\u5e76\u5c06\u9ed8\u8ba4VLAN\u8bbe\u7f6e\u4e3a10\u3002<\/li>\n<\/ol>\n\n\n\n<p>SW4\u914d\u7f6e\u4e0eSW3\u7c7b\u4f3c\uff1a<\/p>\n\n\n\n<p><code>system<br>sysname jsw2<br>vlan batch 10 20<br>stp region-configuration<br>region-name MSTP<br>instance 1 vlan 10<br>instance 2 vlan 20<br>active region-configuration<br>interface GigabitEthernet0\/0\/1<br>port link-type trunk<br>port trunk allow-pass vlan all<br>interface GigabitEthernet0\/0\/2<br>port link-type trunk<br>port trunk allow-pass vlan all<br>interface GigabitEthernet0\/0\/3<br>port link-type access<br>port default vlan 20<\/code><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u521b\u5efa\u4e86VLAN 10\u548cVLAN 20\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86MSTP\u533a\u57df\uff0c\u533a\u57df\u540d\u79f0\u4e3aMSTP\uff0c\u5e76\u5c06VLAN 10\u5206\u914d\u7ed9\u5b9e\u4f8b1\uff0c\u5c06VLAN 20\u5206\u914d\u7ed9\u5b9e\u4f8b2\u3002<\/li>\n\n\n\n<li>\u6fc0\u6d3b\u4e86MSTP\u533a\u57df\u914d\u7f6e\u3002<\/li>\n\n\n\n<li>\u914d\u7f6e\u4e86\u4e09\u4e2a\u63a5\u53e3GigabitEthernet0\/0\/1\u3001GigabitEthernet0\/0\/2\u548cGigabitEthernet0\/0\/3\uff0c\u5c06\u524d\u4e24\u4e2a\u63a5\u53e3\u90fd\u8bbe\u7f6e\u4e3atrunk\u6a21\u5f0f\uff0c\u5e76\u5141\u8bb8\u6240\u6709VLAN\u901a\u8fc7\uff1b\u5c06\u7b2c\u4e09\u4e2a\u63a5\u53e3\u8bbe\u7f6e\u4e3aaccess\u6a21\u5f0f\uff0c\u5e76\u5c06\u9ed8\u8ba4VLAN\u8bbe\u7f6e\u4e3a20\u3002<\/li>\n<\/ol>\n\n\n\n<p>PC1\u548cPC2\u7684IP\u6309\u7167\u62d3\u6251\u56fe\u914d\u7f6e\uff0cPC1\u548cPC2\u901a\u4fe1\u65f6\uff0c\u8fd9\u6837\u5f53SW3\u7684GE0\/0\/1\u4e2d\u65ad\u540e\uff0c\u4ea4\u6362\u673a\u4f9d\u636eMSTP\u5c06\u7ebf\u8def\u5207\u6362\u5230GE0\/0\/2\u53e3\uff0c\u5b9e\u73b0\u4e86\u5197\u4f59\u8def\u5f84\u9009\u62e9\uff0c\u63d0\u9ad8\u4e86\u53ef\u9760\u6027\u548c\u53ef\u4f38\u7f29\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MSTP\u662fMultiple Spanning Tree Protocol\u7684\u7f29\u5199\uff0c\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u7f51\u7edc\u4e2d\u5b9e\u73b0\u5197\u4f59\u8def\u5f84 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[14,100],"tags":[69,95],"class_list":["post-1209","post","type-post","status-publish","format-standard","hentry","category-teacher","category-network","tag-learning","tag-net","entry"],"_links":{"self":[{"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/posts\/1209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/comments?post=1209"}],"version-history":[{"count":0,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/posts\/1209\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/media?parent=1209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/categories?post=1209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xinyixx.com\/index.php\/wp-json\/wp\/v2\/tags?post=1209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}