新聞中心

EEPW首頁 > 手機與無線通信 > 設計應用 > 交換機設置怎么優(yōu)化?

交換機設置怎么優(yōu)化?

作者: 時間:2012-08-10 來源:網絡 收藏

很多網管員在對后就不管不問了,其實,操作系統(tǒng)可以,同樣可以的。本文將重點講述如何對進行。

本文引用地址:http://2s4d.com/article/154169.htm

interface GigabitEthernet0/1

switchport access vlan 2

switchport mode access

//switchport host(主機模式) = switchport mode access + switchport portfast(不能做TRUNK口)

switchport protected //端口保護,主機之間相互不能訪問

storm-control broadcast level 0.01 //廣播風暴控制

spanning-tree portfast //端口快速啟動,否則要等待生成樹收斂,需要大約50秒的時間

spanning-tree bpduguard enable //當有環(huán)路時,端口變?yōu)閑rr-disable狀態(tài),需手動關閉再啟用

ip dhcp snooping //全局開啟DHCP偵測

interface GigabitEthernet0/24

switchport trunk encapsulation dot1q

switchport mode trunk

ip access-group 110 in //應用到入口方向

ip dhcp snooping trust //信任,即只接受TRUNK口下的DHCP服務

access-list 110 deny tcp any any eq 3389 //禁止遠程桌面

交換機相關文章:交換機工作原理




評論


相關推薦

技術專區(qū)

關閉