show ip int brief | inc down ----- shows ports that are up or down. int GigabitEthernet2/0/22 shut ----- shut will shutdown the port administratively down bring back up will be using the command : no shutdown create a black hole vlan!!!!!!! for SECURITY vlan666 -show vlan brief -conf t -vlan 666 exit int fa0/10 -switchport access vlan 666 int fa0/10 and all for desired ports to add to the black hole. -add port security SAM#conf t SAM(config)#int GigabitEthernet2/0/21 SAM(config-if)#switchport mode access SAM(config-if)#switchport port-security SAM(config-if)#switchport port-security mac-address ? H.H.H 48 bit mac address sticky Configure dynamic secure addresses as sticky SAM(config-if)#switchport port-security mac-address sticky add violations---- SAM(config-if)#switchport port-security violation ? protect Security violation protect mode restrict Security violation restrict mode shutdown Security violation shutdown mode show port security---- show port-security Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) --------------------------------------------------------------------------- Gi2/0/15 1 1 0 Shutdown Gi2/0/21 1 1 0 Shutdown --------------------------------------------------------------------------- Total Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) : 6144 SAM# SAM#show port-security address Secure Mac Address Table -------------------------------------------------------------------------- Vlan Mac Address Type Ports Remaining Age (mins) ---- ----------- ---- ----- ------------- 1 d83a.dd2e.2b5c SecureSticky Gi2/0/15 - 1 54e1.ad21.fdbe SecureSticky Gi2/0/21 - -------------------------------------------------------------------------- Total Addresses in System (excluding one mac per port) : 0 Max Addresses limit in System (excluding one mac per port) : 6144 SAM#