{"id":1388,"date":"2025-10-12T14:17:13","date_gmt":"2025-10-12T05:17:13","guid":{"rendered":"https:\/\/mylifeisbeautiful555.net\/?page_id=1388"},"modified":"2025-10-12T22:36:43","modified_gmt":"2025-10-12T13:36:43","slug":"stp%e3%81%ae%e8%a8%ad%e5%ae%9a%e7%b5%90%e5%b1%80%e5%85%a8%e3%81%a6%e3%81%be%e3%81%a8%e3%82%81%e3%82%8b%e3%81%a8%e7%b7%a8-juniper%e3%81%ae%e3%82%b1%e3%83%bc%e3%82%b9","status":"publish","type":"page","link":"https:\/\/mylifeisbeautiful555.net\/?page_id=1388","title":{"rendered":"STP\u306e\u8a2d\u5b9a(\u7d50\u5c40\u5168\u3066\u307e\u3068\u3081\u308b\u3068\u7de8) (juniper\u306e\u30b1\u30fc\u30b9)"},"content":{"rendered":"\n<p>Juniper\u306f Cisco \u3068\u540c\u3058 IEEE 802.1D \/ 802.1w \/ 802.1s \u306b\u6e96\u62e0\u3057\u3066\u3044\u307e\u3059\u304c\u3001<br>\u30b3\u30de\u30f3\u30c9\u4f53\u7cfb\u3068\u52d5\u4f5c\u304c\u5c11\u3057\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Juniper\u3067\u306e STP \u6982\u8981<\/h2>\n\n\n\n<p>Juniper \u306e\u30b9\u30a4\u30c3\u30c1\uff08\u4f8b\uff1aEX\u30b7\u30ea\u30fc\u30ba\uff09\u3084\u30eb\u30fc\u30bf\uff08L2\u6a5f\u80fd\u4ed8\u304d MX\u306a\u3069\uff09\u306f<br>\u4ee5\u4e0b\u306e STP \u30e2\u30fc\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30e2\u30fc\u30c9<\/th><th>\u6a19\u6e96<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><strong>STP<\/strong><\/td><td>IEEE 802.1D<\/td><td>\u5f93\u6765\u306e\u30b9\u30d1\u30cb\u30f3\u30b0\u30c4\u30ea\u30fc\uff08\u9045\u3044\u53ce\u675f\uff09<\/td><\/tr><tr><td><strong>RSTP<\/strong><\/td><td>IEEE 802.1w<\/td><td>\u9ad8\u901f\u30b9\u30d1\u30cb\u30f3\u30b0\u30c4\u30ea\u30fc\uff08Rapid\uff09<\/td><\/tr><tr><td><strong>MSTP<\/strong><\/td><td>IEEE 802.1s<\/td><td>\u8907\u6570VLAN\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u3059\u308b\u62e1\u5f35STP<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Cisco\u306e\u300cPVST+\u300d\u300cRapid-PVST\u300d\u306e\u3088\u3046\u306a<strong>VLAN\u3054\u3068\u306e\u72ec\u7acbSTP<\/strong>\u306f\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\uff08Cisco\u72ec\u81ea\u4ed5\u69d8\u306e\u305f\u3081\uff09\u3002<br>Juniper\u3067\u306f\u57fa\u672c\u7684\u306b <strong>\u5168VLAN\u30671\u3064\u306e\u5171\u901aSTP\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff08CST\uff09<\/strong> \u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">STP\u306e\u6709\u52b9\u5316\uff08\u57fa\u672c\u8a2d\u5b9a\uff09<\/h2>\n\n\n\n<p>JunOS\u3067\u306f\u3001<strong>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fSTP\u306f\u7121\u52b9<\/strong>\u3067\u3059\u3002<br>\u5fc5\u8981\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u5bfe\u3057\u3066\u660e\u793a\u7684\u306b\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f8b\uff1a\u5168\u4f53\u3067STP\u3092\u6709\u52b9\u5316<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>set protocols stp\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u4f8b\uff1a\u7279\u5b9a\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u6709\u52b9\u5316<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>set interfaces ge-0\/0\/1 unit 0 family ethernet-switching\nset protocols stp interface ge-0\/0\/1<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Rapid STP\uff08RSTP\uff09\u306e\u6709\u52b9\u5316<\/h2>\n\n\n\n<p>\u53ce\u675f\u3092\u9ad8\u901f\u5316\u3057\u305f\u3044\u5834\u5408\u306f\u3001<code>rapid-spanning-tree<\/code> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>set protocols rstp\nset protocols rstp interface all<\/code><\/pre>\n\n\n\n<p>\u307e\u305f\u306f\u7279\u5b9a\u30dd\u30fc\u30c8\u3060\u3051\u6709\u52b9\u306b\u3059\u308b\u5834\u5408\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>set protocols rstp interface ge-0\/0\/1\nset protocols rstp interface ge-0\/0\/2<\/code><\/pre>\n\n\n\n<p>\u78ba\u8a8d\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>show spanning-tree bridge<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d6\u30ea\u30c3\u30b8\u512a\u5148\u5ea6\uff08\u30eb\u30fc\u30c8\u30d6\u30ea\u30c3\u30b8\u6307\u5b9a\uff09<\/h2>\n\n\n\n<p>\u30eb\u30fc\u30c8\u30d6\u30ea\u30c3\u30b8\u3092\u6c7a\u3081\u305f\u3044\u5834\u5408\u306f\u3001Bridge ID \u306e\u300cpriority\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>set protocols rstp bridge-priority 4096<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u5024\u304c\u5c0f\u3055\u3044\u307b\u3069\u512a\u5148\u5ea6\u304c\u9ad8\u304f\u3001\u30eb\u30fc\u30c8\u30d6\u30ea\u30c3\u30b8\u306b\u306a\u308a\u3084\u3059\u3044\uff08Cisco\u3068\u540c\u69d8\uff09\u3002<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">\u30dd\u30fc\u30c8\u3054\u3068\u306e\u30ed\u30fc\u30eb\u8a2d\u5b9a<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u6a5f\u80fd<\/th><th>JunOS\u30b3\u30de\u30f3\u30c9<\/th><th>Cisco\u76f8\u5f53<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><strong>edge<\/strong><\/td><td><code>set protocols rstp interface ge-0\/0\/1 edge<\/code><\/td><td><code>spanning-tree portfast<\/code><\/td><td>\u30a8\u30f3\u30c9\u30db\u30b9\u30c8\u63a5\u7d9a\u7528\uff08\u5373Forwarding\uff09<\/td><\/tr><tr><td><strong>no-edge<\/strong><\/td><td><code>delete protocols rstp interface ge-0\/0\/1 edge<\/code><\/td><td>PortFast\u7121\u52b9\u5316<\/td><td>STP\u53c2\u52a0\u30dd\u30fc\u30c8\u306b\u623b\u3059<\/td><\/tr><tr><td><strong>bpdu-timeout-action block<\/strong><\/td><td><code>set protocols rstp interface ge-0\/0\/1 bpdu-timeout-action block<\/code><\/td><td><code>spanning-tree bpduguard enable<\/code><\/td><td>BPDU\u53d7\u4fe1\u6642\u306b\u30d6\u30ed\u30c3\u30af<\/td><\/tr><tr><td><strong>root-protection<\/strong><\/td><td><code>set protocols rstp interface ge-0\/0\/1 root-protection<\/code><\/td><td><code>spanning-tree guard root<\/code><\/td><td>\u4e0d\u6b63\u306a\u30eb\u30fc\u30c8\u6607\u683c\u3092\u9632\u6b62<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">STP\u4fdd\u8b77\u6a5f\u80fd\uff08Juniper\u5bfe\u5fdc\uff09<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u6a5f\u80fd<\/th><th>Juniper\u8a2d\u5b9a\u4f8b<\/th><th>Cisco\u5bfe\u5fdc\u6a5f\u80fd<\/th><\/tr><\/thead><tbody><tr><td><strong>Root Protection<\/strong><\/td><td><code>set protocols rstp interface ge-0\/0\/1 root-protection<\/code><\/td><td>Root Guard<\/td><\/tr><tr><td><strong>Loop Protection<\/strong><\/td><td><code>set protocols rstp interface ge-0\/0\/1 loop-protection<\/code><\/td><td>Loop Guard<\/td><\/tr><tr><td><strong>Edge Port<\/strong><\/td><td><code>set protocols rstp interface ge-0\/0\/1 edge<\/code><\/td><td>PortFast<\/td><\/tr><tr><td><strong>BPDU Protection<\/strong><\/td><td><code>set protocols rstp interface ge-0\/0\/1 bpdu-timeout-action block<\/code><\/td><td>BPDU Guard<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u78ba\u8a8d\u30b3\u30de\u30f3\u30c9<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">STP \/ RSTP \u306e\u72b6\u614b\u5168\u4f53<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>show spanning-tree<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d6\u30ea\u30c3\u30b8\u60c5\u5831\uff08\u30eb\u30fc\u30c8\u304b\u3069\u3046\u304b\uff09<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>show spanning-tree bridge<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3054\u3068\u306e\u30ed\u30fc\u30eb\u3068\u72b6\u614b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>show spanning-tree interface<\/code><\/pre>\n\n\n\n<p>\u51fa\u529b\u4f8b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Interface   Role        State      Designated-Bridge   Designated-Port\nge-0\/0\/1    Root        Forwarding 32768.00:11:22:33:44:55  128.1\nge-0\/0\/2    Designated  Forwarding 32768.00:11:22:33:44:55  128.2\nge-0\/0\/3    Alternate   Discarding 32768.00:66:77:88:99:00  128.3<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u7121\u52b9\u5316\u3057\u305f\u3044\u5834\u5408<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>delete protocols rstp<\/code><\/pre>\n\n\n\n<p>\u307e\u305f\u306f\u7279\u5b9a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u307f\u7121\u52b9\u5316\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>delete protocols rstp interface ge-0\/0\/1<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u9805\u76ee<\/th><th>\u30b3\u30de\u30f3\u30c9\u4f8b<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td>RSTP\u6709\u52b9\u5316<\/td><td><code>set protocols rstp<\/code><\/td><td>\u9ad8\u901f\u30b9\u30d1\u30cb\u30f3\u30b0\u30c4\u30ea\u30fc\u3092\u5168\u4f53\u3067\u6709\u52b9\u5316<\/td><\/tr><tr><td>\u30eb\u30fc\u30c8\u6307\u5b9a<\/td><td><code>set protocols rstp bridge-priority 4096<\/code><\/td><td>\u512a\u5148\u5ea6\u3092\u4e0b\u3052\u3066\u30eb\u30fc\u30c8\u5316<\/td><\/tr><tr><td>\u30a8\u30c3\u30b8\u30dd\u30fc\u30c8\u8a2d\u5b9a<\/td><td><code>set protocols rstp interface ge-0\/0\/1 edge<\/code><\/td><td>\u30db\u30b9\u30c8\u63a5\u7d9a\u7528\u30dd\u30fc\u30c8<\/td><\/tr><tr><td>\u30eb\u30fc\u30c8\u4fdd\u8b77<\/td><td><code>set protocols rstp interface ge-0\/0\/1 root-protection<\/code><\/td><td>\u4e0d\u6b63\u6607\u683c\u9632\u6b62<\/td><\/tr><tr><td>\u72b6\u614b\u78ba\u8a8d<\/td><td><code>show spanning-tree<\/code><\/td><td>\u5168\u4f53\u306e\u52d5\u4f5c\u78ba\u8a8d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u307e\u3068\u3081\u308b\u3068<\/strong><\/p>\n\n\n\n<p>\u30fbJuniper\u3067\u306f STP \u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u7121\u52b9\u3002<br>\u30fbVLAN\u3054\u3068\u306ePVST\u306f\u306a\u304f\u3001\u6a19\u6e96\u6e96\u62e0\u306e RSTP \u307e\u305f\u306f MSTP \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br>\u30fbCisco\u3067\u3044\u3046\u300cRapid-PVST\u300d\u306b\u76f8\u5f53\u3059\u308b\u306e\u306f Juniper\u306e\u300cRSTP\u300d\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Juniper\u306f Cisco \u3068\u540c\u3058 IEEE 802.1D \/ 802.1w \/ 802.1s \u306b\u6e96\u62e0\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30b3\u30de\u30f3\u30c9\u4f53\u7cfb\u3068\u52d5\u4f5c\u304c\u5c11\u3057\u7570\u306a\u308a\u307e\u3059\u3002 Juniper\u3067\u306e STP \u6982\u8981 Juniper \u306e\u30b9\u30a4\u30c3\u30c1\uff08\u4f8b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1388","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/pages\/1388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1388"}],"version-history":[{"count":9,"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/pages\/1388\/revisions"}],"predecessor-version":[{"id":1397,"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=\/wp\/v2\/pages\/1388\/revisions\/1397"}],"wp:attachment":[{"href":"https:\/\/mylifeisbeautiful555.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}