發布時間:2025-04-05 文章來源:xp下載站 瀏覽:
路由器(Router)是連接兩個或多個網絡的硬件設備,在網絡間起網關的作用,是讀取每一個數據包中的地址然后決定如何傳送的專用智能性的網絡設備,路由器最主要的功能為實現信息的轉送。 思科交換機出現錯誤日志:%PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred, caused by MAC address 001e.e216.3e24 on port FastEthernet1/0/10 原因分析 3750-Switch # show running-config interface FastEthernet 1/0/10 interface FastEthernet1/0/10 switchport access vlan 333 switchport mode access switchport port-security maximum 3 switchport port-security switchport port-security violation restrict spanning-tree portfast spanning-tree bpduguard enable
查看端口mac: 3750-Switch # show mac address-table | in 1/0/10 333 000c.2921.d146 STATIC Fa1/0/10 333 000c.2921.d238 STATIC Fa1/0/10 333 000c.291c4.413e STATIC Fa1/0/10 可以看到,該端口配置的最大允許的mac數量為3,實際已經3個mac地址了。故再有新的mac通過此端口傳輸數據就會被拒絕,出現報錯日志。
解決方法 3750-Switch(config) # interface FastEthernet1/0/10 3750-Switch(config-if) # switchport port-security maximum 5 再次檢查端口mac: 3750-Switch # show mac address-table | in 1/0/10 333 000c.2921.d146 STATIC Fa1/0/10 333 000c.2921.d238 STATIC Fa1/0/10 333 000c.291c4.413e STATIC Fa1/0/10 333 001e.e216.3e24 STATIC Fa1/0/10 可以看到,顯示mac地址為4個,日志再無報錯,問題解決。 這是我這個問題的解決辦法,供參考?赡軇e的一些端口安全驗證問題也會報這個日志,具體問題具體分析解決即可。 本文可以幫助您基本地設置和管理您的路由器。 |