我的 CISCO 交换机(交换机 1)的接口上有此配置。
switchport access vlan 52
switchport mode access
switchport port-security
switchport port-security aging time 5
switchport port-security violation restrict
spanning-tree portfast
现在,当我将另一个交换机(交换机 2)连接到此接口时,然后将一台 PC(PC 1)连接到交换机 2,一切正常。但是当我将另一台 PC(PC 2)连接到交换机 2 时,PC 1 会自动脱离网络,只留下 PC 1。
总之,只能将一台设备连接到交换机 2。
这是日志
发生安全违规,由端口 GigabitEthernet2/26 上的 MAC 地址 a0b3.cc9c.796a 引起。
2d02h: %PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred, caused by MAC address a0b3.cc9c.796a on port GigabitEthernet2/26.
2d02h: %PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred, caused by MAC address a0b3.cc9c.796a on port GigabitEthernet2/26.
2d02h: %PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred, caused by MAC address a0b3.cc9c.796a on port GigabitEthernet2/26.
可能是什么问题呢?我该如何解决这个问题?
提前致谢
PS:我是网络新手