User Tools

Site Tools


icnd1:switchport_security

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
icnd1:switchport_security [2024/05/01 00:51]
114.119.155.78 old revision restored (2023/10/11 22:08)
icnd1:switchport_security [2024/05/21 02:45] (current)
114.119.145.194 old revision restored (2023/10/11 17:59)
Line 12: Line 12:
 ===== Configuration ===== ===== Configuration =====
 ---- ----
-Switchport security cannot be enabled on dynamic port types.+Switchport security 
  
-  *Int FA01 
-  *swport mode access 
-  *enable port sec 
-  *port sec max address to store is 1 
-  *mac-addres stick, auto learn the next mac address on this port. 
-  *violation mode set to shutdown. 
-  *Show command to verify configuration on fa0/1. 
 <code> <code>
 Switch(config)#interface fastEthernet 0/1 Switch(config)#interface fastEthernet 0/1
-Switch(config-if)#switchport mode access  
-Switch(config-if)#switchport port-security  
-Switch(config-if)#switchport port-security maximum 1 
-Switch(config-if)#switchport port-security mac-address sticky  
-Switch(config-if)#switchport port-security violation shutdown 
-Switch(config-if)#do show port int fa0/1 
 </code> </code>
icnd1/switchport_security.1714524683.txt.gz · Last modified: 2024/05/01 00:51 by 114.119.155.78