設定 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)
ManageEngine EventLog Analyzer版本更新步驟
更新檔下載位址: Upgrade to Latest Version of EventLog Analyzer Build (manageengine.com) 先將下載的更新檔上傳到主機裡,再進行下列動作。 切換到 ManageEngine EventLog Analyzer ...
-
一、建立新的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 資料夾。小的工具軟體似乎不受影響。) 下列方式會讓您在啟動安裝軟體程式時,不會有任何的執行安裝的動作,需要刪...
沒有留言:
張貼留言