You can view the detailed information of the FastEthernet0/1 interface by applying the show port-security interface fa0/1 command.
SWITCHPORT PORT SECURITY MAC ADDRESS DYNAMIC MAC
The MAC addresses here will be compared in case of violations. When you execute the show mac address-table command, you can see that the MAC addresses of the computers connected to the Switch are saved in the table. The SecurityViolation (Count) section is 0 because there are no violations on the interfaces.
![switchport port security mac address dynamic switchport port security mac address dynamic](https://docplayer.net/docs-images/41/9945761/images/page_10.jpg)
In the privileged mode of the switch, execute the show port-security command. In the event of any breach of these interfaces, the Fa0/1 or Fa0/2 interfaces will be shutdown.
![switchport port security mac address dynamic switchport port security mac address dynamic](https://slidetodoc.com/presentation_image_h/d4be393e5c21307b996973bca53a6951/image-23.jpg)
![switchport port security mac address dynamic switchport port security mac address dynamic](https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https:%2F%2Fblog.kakaocdn.net%2Fdn%2Fbt4DUW%2FbtqzAVEgbkG%2F22S8AfpMvBKLoZEzpPKKt1%2Fimg.png)
Open Cisco Packet Tracer and add one Router, Switch and two computers to the workspace, then assign the IP address to the Cisco Router.īefore enabling Port Security, test the network connection between clients.