如果我有一个通常用于多台计算机以进行网络教学的教育实验室。我担心如果他们移除计算机并将其放入教室网络设备然后回来但将其插入错误的端口会限制他们的流量。我的学生实验室的基本端口配置如下。如果他们将 PC 从 5/0/7 拔下并插入 5/0/8,那还会受到限制吗?
interface FastEthernet5/0/7
switchport access vlan 214
switchport mode access
switchport port-security
switchport port-security violation restrict
spanning-tree portfast
exit
interface FastEthernet5/0/8
switchport access vlan 214
switchport mode access
switchport port-security
switchport port-security violation restrict
spanning-tree portfast
exit