CCNA學習筆記五--交換

集線器 不安全、衝突域、帶寬共享
交換機 基於目標MAC地址轉發、學習MAC地址、端口獨享帶寬、沒有衝突、廣播會出問題
>enable
#show mac-address-table 顯示MAC地址表
  #config terminal 
  (config)#interrface fastEthernet 0/4
  (config-if)#switchport mode access 接機算機的接口
  (config-if)#switchport port-security 啓用安全
  (config-if)#switchport port-security violation shutdown 違反安全規則down掉
  (config-if)#switchport port-security maxium 2 限制連接數量
  (config)#interrface range fastEthernet 0/1 - 24 選中1-24個口
  (config-if-range)#switchport port-security mac-adddress sticky MAC地址終止學習
生成樹協議 
 爲了高可用局域網交換機連接有了環路
爲了阻斷網絡中的廣播有了生成樹協議
#show spanning-tree 查看交換機端口以及生成樹狀態
(config)#spanning-tree vlan 1 priority 4096更改路由器優先級爲4096,值越小優先級越高
(config)#no spanning-tree vlan 1 關閉生成樹協議
發佈了28 篇原創文章 · 獲贊 2 · 訪問量 8865
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章