Show port-security interface interfacename#/# address This command is executed in privileged mode to view the details of port-security on a particular port including status, timeout, violation type, max mac addresses and other configurable options. This command is executed in privileged mode to view the port’s current port-security associated mac addresses.ĭue to the limited feature support of the NM-16ESW, this lab CANNOT be completed using the Free CCNA Workbook GNS3 topology. – Enable port-security on SW1 interface Fa0/1 and allow a maximum of 3 MAC addresses However, this lab can be completed using the Stub Lab. SW1(config-if)# switchport port-security maximum 3 To enable port security on a specific port you use the switchport port-security command in interface configuration mode as shown below Įnter configuration commands, one per line. SW1(config-if)# switchport port-security violation shutdown To shut down a port once a violation is triggered you’ll use the switchport port-security violation shutdown command in interface configuration mode as shown below – Configure interface Fa0/1 on SW1 to shutdown the port if there is a port-security violation. %SYS-5-CONFIG_I: Configured from console by console You can first verify your configuration by using the show port-security interface fa0/1 command in privileged mode to view current port-security configuration on a per-port basis as shown below – Verify your port-security configuration on SW1 by changing the MAC addresses on R1’s FastEthernet0/0 interface to then and finally to trigger a violation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |