設定 switch port security:
SW#configure terminal
SW(config)#interface fa0/24
SW(config-if)#switchport mode access (一定要access mode)
SW(config-if)#switchport port-security
SW(config-if)#switchport port-security maximum 1
SW(config-if)#switchport port-security mac-address xxxx.xxxx.xxxx
SW(config-if)#switchport port-security violation protect #允許的 mac address 通過,其他 drop
或
SW(config-if)#switchport port-security violation restrict #允許的 mac address 通過,其他 drop 及 LOG 記錄
或
SW(config-if)#switchport port-security violation shutdown #違反所設定的規則,fa0/24 shutdown
SW(config-if)#end
SW#show port-security int fa0/24
當設定違反規則時的動作是 shutdown 時,fa0/24 接上其他電腦時 fa0/24 port 會自動 shutdown
查看該介面會顯示:
SW#sh interfaces fastEthernet 0/24
FastEthernet0/24 is down, line protocol is down (err-disabled)
Note:
shutdown 後需要由管理員手動將port, shutdown & no shutdown (因為err-disabled 訊息)
清除 port-security mac address 指令:
SW#clear port-security stick address xxxx.xxxx.xxxx
訂閱:
張貼留言 (Atom)
GPO policy 設定預設應用程式﹝設定預設關聯設定檔﹞
建立xml設定檔,並將其啟用 Computer Configuration\Administrative Templates\Windows Components\File Explorer 設定檔內容將會新增到User電腦regedit機碼位址 HKLM\Software\Po...
-
一、建立新的LVM磁區(建立順序:PV、VG、LV) 使用 LVM 可在分割磁區時不必一次分割大量空間給各個 Partition,等日後哪個磁區空間不足時再分配之前未分配的空間或新增一顆硬碟來配給使用。 確認是否有安裝 LVM 套件: rpm -qa lvm2 ...
-
指令模式匯出 OVA: 使用指令模式需要到 VMWare 官網下載 VMWare Tool: https://my.vmware.com/web/vmware/details?downloadGroup=OVFTOOL400&productId=353 下載安裝...
-
提醒您: 如果您是常常安裝新軟體 的電腦使用者,請考慮是否要做以下軟體限制設定。 (例: office,java...等大一點的軟體會解壓縮 exe 到 Temp 資料夾。小的工具軟體似乎不受影響。) 下列方式會讓您在啟動安裝軟體程式時,不會有任何的執行安裝的動作,需要刪...
沒有留言:
張貼留言