<?xml version="1.0" encoding="UTF-8" ?><!-- generator=Zoho Sites --><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><atom:link href="https://www.daihockhonggiay.com/blogs/tag/bpdu-guard/feed" rel="self" type="application/rss+xml"/><title>Đại học Không Giấy - Blog #BPDU Guard</title><description>Đại học Không Giấy - Blog #BPDU Guard</description><link>https://www.daihockhonggiay.com/blogs/tag/bpdu-guard</link><lastBuildDate>Wed, 10 Sep 2025 19:02:35 -0700</lastBuildDate><generator>http://zoho.com/sites/</generator><item><title><![CDATA[Giới thiệu về LAN Redundancy-STP]]></title><link>https://www.daihockhonggiay.com/blogs/post/lan-redundancy-stp</link><description><![CDATA[<img align="left" hspace="5" src="https://www.daihockhonggiay.com/st.jpg"/>Bài viết này sẽ giúp các bạn có góc nhìn về LAN Redundancy-STP]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_ERV0NCrHSryNcobLJ56ciQ" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_bgWqxOsPQSSZAJNYGR6_0A" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"></style><div data-element-id="elm_pd0UG57WQSmT8f4NmIHdGQ" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"> [data-element-id="elm_pd0UG57WQSmT8f4NmIHdGQ"].zpelem-col{ border-style:none; } </style><div data-element-id="elm_ESDnKqcVRcimYhmTVxiJzQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_ESDnKqcVRcimYhmTVxiJzQ"].zpelem-text { border-style:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">I. Tổng quan</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">1. Giới thiệu về Switch dự phòng và Loop tầng 2:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">a. Tính dự phòng:</span>&nbsp;hệ thống xây dựng tính dự phòng để duy trì ổn định</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/1/1.jpg" style="width:447.64px;height:251px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">b. Loop và bão Broadcast:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Khi cấu hình kết nối backup nó sẽ xẩy ra Loop và cơn bão broadcast cỏ thể xây ra.</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/1/2.jpg" style="width:892.2px;height:270px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Loop xẩy ra khi: ta có Pc1 tới Pc4, khi pc1 gửi gói tin tới Switch 2, Switch 2 sẽ gửi gói tin tới S3 và S1 vì Swtich mặc định là forward ra đường Trunking và cùng vlan. Tới S1 nó lại forward ra f0/3 và forward tới đường Trung 3. Sau đó S3 lại gửi lại cho S2, tương tự no sẽ chạy lòng vòng rồi dẫn ra Loop.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Broadcast khi Pc cần&nbsp; giử toàn mạng. Dữ liệu sẽ tới Switch 2 sau đó Switch 2 sẽ gửi sang Switch 3. no sẽ chạy lòng vòng.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp;&nbsp;</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">2. Cơ chế hoạt động của STP:</span>&nbsp;dựa vào 4 bước</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Xét 4 Swtich A, B, C, D kết nối như sau:</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/1/3.jpg" style="width:379.2px;height:208px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Các gói tin trao đổi dữ liệu giữa các Switch là BPDU(Bridge Protocol Data Unit): là loại gói tin sử dụng trong STP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">a. Xét bầu Root-SW:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Trong BPDU có thành phần quan trọng là Bridge-ID.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Bridge-ID dài 8 bytes:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;2bytes: là của Priority =&gt; Priority chạy từ 0 tới 65535.&nbsp; Giá trị mặc định là: 32768</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;6 bytes là của địa chỉ MAC</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Đầu tiên Switch nào cũng cho mình ra Root-SW. Nhưng sau một hồi trao đổi BPDU thì nó chọn ra Switch có Bridge-ID nhỏ làm Root</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;(B-ID)min = Root-SW</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Để biết được (B-ID)min nó sẽ xem thông số Priority của ai nhỏ nhất. nếu cả 2 có Priotity bằng nhau nó sẽ xét tới MAC. Vì MAC là duy nhất trên thế giớ nên phải có tham số nhỏ nhất.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Trên địa chỉ MAC nó sẽ xét từ trái qua phải: 00:1F:29:e5:1d:22 và 00:1F:29:e5:1d:21 thì MAC 2 là nhỏ hơn.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Khi Switch A có MAC là nhỏ nhất vậy sau khi trao đổi thông tin các Router sẽ bầu Switch A là Root-SW</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Khi có Root-SW: thì nó định kỳ gửi 2s một lần. Các Switch khác chỉ được foword thông tin của BPDU</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">b. Xét bầu Root-Port:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Trên tất cả các Switch không phải là Root-SW phải bầu ra một Root-Port</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Root-Port: là Port cung cấp đường về Root-SWcho con Switch đang xét mà có&nbsp;<u>tổng chi phí là nhỏ nhất</u>.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Mỗi cổng của Switch khi tham gia đều có một giá trị là Cost, Cost sẽ biến đổi tùy thuộc vào Bandwidth trên cổng.</span></p><p style="text-align:center;margin-bottom:20px;"><span style="color:inherit;"></span></p><table border="1" cellspacing="0" cellpadding="0" style="margin-left:29.35pt;"><tbody><tr style="height:10px;"><td><p style="text-align:left;">Bandwidth</p></td><td><p style="text-align:left;">Cost</p></td><td><p style="text-align:left;">Bandwidth</p></td><td><p style="text-align:left;">Cost</p></td></tr><tr style="height:11px;"><td><p style="text-align:left;">10Mbps</p></td><td><p style="text-align:left;">100</p></td><td><p style="text-align:left;">1Gbps</p></td><td><p style="text-align:left;">4</p></td></tr><tr><td><p style="text-align:left;">100Mbps</p></td><td><p style="text-align:left;">19</p></td><td><p style="text-align:left;">10Gbps</p></td><td><p style="text-align:left;">2</p></td></tr></tbody></table><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Switch A đi sang D cổng 1 thì có giá trị là 19 (A tính bằng 0, sang D là 19). Từ D về là 19.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Switch A đi sang D theo cổng 2 thì có giá trị là 57 (A sang B, sang C tới D). vậy Cost nhỏ nhất là 19 suy ra Root-Port là cổng hướng DA</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/1/4.jpg" style="width:794.9px;height:262px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Trường hợp đường về 2 cổng của Switch C là bằng nhau mà chỉ duy nhất dược một Switch Port: thì cổng nào nối với Bridge-ID nhỏ hơn thì sẽ làm Root-Port.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Trường hợp C nối lên B là 2 dây, B có Bridge-ID &lt; D thì C sẽ dựa vào 2 thành phần:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Dựa vào Port priority: chạy từ 0-255 mặc định là 128</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Port Number:&nbsp; là cổng f0/1 và f0/2 thì f0/1 là Root Port</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">c. Designated Port:</span>&nbsp;trên mỗi phân đoạn mạng phải bầu ra Designated Port. Nó cung cấp đường về Root-SW cho phân đoạn mạng mà có tổng chi phí là nhỏ nhất.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Phân đoạn mạng: A tới B là một phân đoạn, B tới C là một phân đoạn</span></p><p style="text-align:center;margin-bottom:20px;"><img src="/Network/3/1/5.jpg" style="width:434.25px;height:263px;"><br></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Xét một thực thể đứng giữa D và C. Ta xét theo nguyên tắc đi vào thì tính đi ra không tính vậy có đường từ X =&gt;D =&gt;A là 19. Đường X=&quot;&amp;&quot;gt;C=&gt;B=&gt;A là 38 vậy nó sẽ chọn đường có giá trị là 19 vậy cổng bị khóa có giá trị là 38</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">d.&nbsp;Khóa cổng (Blocking Port):</span>&nbsp;Khi xác định được cổng có Designated Port bé nó sẽ khóa cổng còn lại</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">3. Các bộ định thời Spanning Tree</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Hello timer: 2s</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;khoảng thời gian định kỳ Root-SW gửi BPDU</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Forword delay timer: 15s</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Để hiểu được ta phải kết hợp với các trạng thái cổng STP Port States</span></p><p style="text-align:center;margin-bottom:20px;"><span style="color:inherit;"></span></p><table border="1" cellspacing="0" cellpadding="0" style="text-align:left;margin-left:29.35pt;"><tbody><tr style="height:15px;"><td><p><span style="font-size:14px;">Disabled</span></p></td><td><p><span style="font-size:14px;">&nbsp;Cổng bị tắt</span></p></td></tr><tr><td><p><span style="font-size:14px;">Blocking</span></p></td><td><p><span style="font-size:14px;">Một port chỉ được nhận BPDU, không được gửi BPDU, Không được học địa chỉ MAC, không được forword data</span></p></td></tr><tr><td><p><span style="font-size:14px;">Listening</span></p></td><td><p><span style="font-size:14px;">Nhận và gửi BPDU, không học MAC, không gửi Data</span></p></td></tr><tr><td><p><span style="font-size:14px;">Learning</span></p></td><td><p><span style="font-size:14px;">Nhận và gửi BPDU, thêm học địa chỉ MAC, không được chuyển Data</span></p></td></tr><tr><td><p><span style="font-size:14px;">Forwarding</span></p></td><td><p><span style="font-size:14px;">nhận, gửi BPDU, được học địa chỉ MAC, được chuyển Data</span></p></td></tr></tbody></table><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Cổng nào bị khóa sẽ đưa vào trạng thái blocking.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Cổng không bị khóa nó chưa được gửi ngay mà đi vào trạng thái Listening và chờ 15s</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Sau đó chuyển sang Learning mới được học</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Sau đó mới chuyển sang Forwarding.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Dùng để chống Loop</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Max-Age-Timer: một cổng đang nhận BPDU mà không nhận được nữa thì nó sẽ bật lên trong vòng 20s để làm thời gian chờ bật lại.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">4. Cơ chế giao thức Spanning Tree chạy trên thiết bị Cisco: pVST+ (per VLAN STP)</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Switch Cisco sẽ cho một VLAN chạy một cây Spanning Tree.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Trường Priority của của Bridge-ID sẽ khác so với Bridge-ID bình thường</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Có tổng là 2bytes là 16 bit. 4bit đầu là Priority. Từ bit 11 trở về bit 0 là lưu thông tin VLAN mà cây Spanning Tree đang chạy</span></p><p style="text-align:center;margin-bottom:20px;"><span style="color:inherit;"></span></p><table border="1" cellspacing="0" cellpadding="0" style="margin-left:5.35pt;"><tbody><tr><td><p style="text-align:left;"><b>15</b></p></td><td><p style="text-align:left;"><b>14</b></p></td><td><p style="text-align:left;"><b>13</b></p></td><td><p style="text-align:left;"><b>12</b></p></td><td><p style="text-align:left;">11</p></td><td><p style="text-align:left;">10</p></td><td><p style="text-align:left;">9</p></td><td><p style="text-align:left;">8</p></td><td><p style="text-align:left;">7</p></td><td><p style="text-align:left;">6</p></td><td><p style="text-align:left;">5</p></td><td><p style="text-align:left;">4</p></td><td><p style="text-align:left;">3</p></td><td><p style="text-align:left;">2</p></td><td><p style="text-align:left;">1</p></td><td><p style="text-align:left;">0</p></td></tr></tbody></table><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Trường Priority đầu có 4 bit vậy nó có 24 (2 mũ 4 bit) là 16 giá trị.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Cách tính của PVST+</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.212 = 4096 (0001)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.213=8192&nbsp; (0010)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.212 +1.213= 12288 (0011)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ta thấy Priority chạy PVST+ đều là bội số của 4096</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Cách tính kết hợp với VLAN</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Xét VLAN là 1: ta có:&nbsp; 1.212 + 1.20 = 4097</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Xét VLAN là 2: ta có:&nbsp; 1.212 + 1.21 = 4098</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">5. Cấu hình STP:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">a. Một số điểm cần lưu ý khi cấu hình Switch Cisco</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Mặc định Switch Cisco là bật mặc định STP.</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Mode default là PVST+ là mỗi VLAN chạy một cây STP</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Switch Cisco không hỗ trợ SPT truyền thống là 802.1D mà phải PVST+</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">b. Các lệnh hiệu chỉnh STP:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình Root SW: phải chỉ ra vì nó cần có cấu hình mạnh</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Tùy chọn 1 trong 2 trường hợp: SW(config)#spanning-tree vlan&nbsp; n&nbsp; root [primary | secondary]</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;vd: SW(config)#spanning-tree vlan&nbsp; 3&nbsp; root primary (chỉ ra Switch nào làm Root).</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Chỉ cố định luôn: SW(config)#spanning-tree vlan&nbsp; n&nbsp; priority gt (giá trị priority mong muốn phải chia hết cho 4096)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;vd: SW(config)#spanning-tree vlan&nbsp; 3&nbsp; priority 8192</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Cấu hình Port Fast:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;SW(config)# int f0/10</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;SW(config-ip)# switchport mode access</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;SW(config-ip)# Spanning-tree portfast</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">c. Các lệnh Show:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Show Spanning-tree&nbsp; vlan&nbsp; n</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">vd: Show Spanning-tree&nbsp; vlan&nbsp; 3</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">6. Lệnh chống bão Broadcast trên cổng cho STP:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">storm-control broadcast level pps 1500 1000</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;upper =1500 (gói giới hạn được đi qua)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp; &nbsp; &nbsp;Low = 1000 (cảnh báo)</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Configure terminal</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">interface &lt;id&gt;</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp;storm-control {broadcast|multicast|unicast} level {level [level-low] | bps bps [bps-low] | pps pps [pps-low]}</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp;for example:</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp;block at 80% utilization, unblock at 50%</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">storm-control broadcast level 80 50</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp;or</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp;block at 100 pps, unblock at 70 pps</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">storm-control broadcast pps 100 70</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">&nbsp;storm-control action {shutdown | trap}</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;"><span style="font-weight:700;">7. Block Unicast và Multicast Flooding:</span></span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Switch# configure terminal</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Switch(config)# interface gigabitethernet0/1</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Switch(config-if)# switchport block multicast</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Switch(config-if)# switchport block unicast</span></p><p style="text-align:left;margin-bottom:20px;"><span style="font-size:14px;">Switch(config-if)# end</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">II. Thực hành</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">1. Cấu hình STP</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị</span></p><p style="margin-bottom:20px;">3 catalyst switch cisco 2950T-24</p><p style="margin-bottom:20px;">3 PC</p><p style="margin-bottom:20px;">Dây cáp</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Nội dung công việc cần thực hiện</span></p><p style="margin-bottom:20px;">Kết nối thiết bị theo mô hình&nbsp;để thực hiện các nhiệm vụ cơ bản sau:</p><p style="margin-bottom:20px;">Cấu hình cơ bản: Hostname, Enable password, Banner mode, Cổng console, VTY</p><p style="margin-bottom:20px;">Cấu hình VLAN</p><p style="margin-bottom:20px;">Cấu hình VTP</p><p style="margin-bottom:20px;">Cấu hình STP</p><p style="text-align:center;"></p><p style="text-align:left;margin-bottom:20px;"><span style="color:inherit;"></span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">c. Video hướng dẫn</span></p></div>
</div><div data-element-id="elm_auM8LpgHsOyG8dklHGDORQ" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_auM8LpgHsOyG8dklHGDORQ"].zpelem-video{ border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } </style><div class="zpvideo-container zpiframe-align-center zpiframe-mobile-align- zpiframe-tablet-align-"><iframe class="zpvideo " width="560" height="315" src="//www.youtube.com/embed/bOrwZRn22aY" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_VKNqI61QO0bryFlJkfZhqQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_VKNqI61QO0bryFlJkfZhqQ"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_VKNqI61QO0bryFlJkfZhqQ"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="margin-bottom:20px;"><span style="font-weight:700;">2.&nbsp;</span><span style="font-size:14px;color:inherit;font-weight:bold;">Cấu hình Rapid PVST+, PortFast, BPDU Guard</span></p><p style="margin-bottom:20px;"><span style="font-weight:700;">a. Yêu cầu chuẩn bị</span></p><p style="margin-bottom:20px;">3 Cisco Catalyst Switch 2960</p><p style="margin-bottom:20px;">2 PC</p><p style="margin-bottom:20px;">Dây cáp Fast Ethernet</p><p style="margin-bottom:20px;"><span style="font-weight:700;">b. Yêu cầu nội dung</span></p><p style="margin-bottom:20px;">Đấu nối thiết bị như sơ đồ</p><p style="margin-bottom:20px;">Cấu hình cơ bản cho Switch&nbsp;</p><p style="margin-bottom:20px;">Cấu hình VLAN, nalive VLAN và Trunks</p><p style="margin-bottom:20px;">Cấu hình Rapid PVST+, Portfast và BPDU Guard&nbsp;</p><p style="margin-bottom:20px;outline:none 0px;"><span style="outline:none 0px;font-weight:700;">c. Video hướng dẫn</span></p></div>
</div><div data-element-id="elm_J_itvdJmYx_icPS7uLsjCQ" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_J_itvdJmYx_icPS7uLsjCQ"].zpelem-video{ border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } </style><div class="zpvideo-container zpiframe-align-center zpiframe-mobile-align- zpiframe-tablet-align-"><iframe class="zpvideo " width="560" height="315" src="//www.youtube.com/embed/AEMPB4CESxw" frameborder="0" allowfullscreen></iframe></div>
</div><div data-element-id="elm_qOvdmztTj5eVx3wAaVZ1PQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_qOvdmztTj5eVx3wAaVZ1PQ"].zpelem-text { text-transform:none; border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } [data-element-id="elm_qOvdmztTj5eVx3wAaVZ1PQ"].zpelem-text :is(h1,h2,h3,h4,h5,h6){ text-transform:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span><br></span></p><p><span><br></span></p><p><span>-----&amp;-----&amp;-----</span><br></p><p><span style="font-weight:bold;">Để quay về danh sách các bài phần Network các bạn chọn link sau</span></p><p><span style="color:inherit;"></span></p><p><a href="https://www.quantrimangdn.com/blogs/post/tong-hop-cac-bai-phan-network" style="color:rgb(74, 43, 212);">https://www.quantrimangdn.com/blogs/post/tong-hop-cac-bai-phan-network</a></p></div>
</div></div></div></div></div></div> ]]></content:encoded><pubDate>Fri, 03 May 2019 01:34:45 +0700</pubDate></item></channel></rss>