May 7, 200917 yr The business wants to implement switchport security allowing only the one machine to work when plugged in. Do I have to get the mac addresses for every workstation in the 5 floor building?
May 7, 200917 yr If you have Cisco switches and running IOS (not CATOS) then you can run a command called sticky which means when a computer plugs into a jack that mac address sticks to the Cisco IOS security as the allowed mac-address. This example shows how to enable sticky port security on a port, to manually configure MAC addresses for data VLAN and voice VLAN, and to set the total maximum number of secure addresses to 10 (5 for data VLAN and 5 for voice VLAN). Switch(config)# interface FastEthernet0/1Switch(config-if)# switchport access vlan 21Switch(config-if)# switchport mode accessSwitch(config-if)# switchport voice vlan 22Switch(config-if)# switchport port-securitySwitch(config-if)# switchport port-security maximum 10Switch(config-if)# switchport port-security violation restrictSwitch(config-if)# switchport port-security mac-address stickySwitch(config-if)# switchport port-security mac-address sticky 0000.0000.0002Switch(config-if)# switchport port-security mac-address 0000.0000.0003Switch(config-if)# switchport port-security mac-address sticky 0000.0000.0001 vlan voiceSwitch(config-if)# switchport port-security mac-address 0000.0000.0004 vlan voiceSwitch(config-if)# switchport port-security maximum 5 vlan accessSwitch(config-if)# switchport port-security maximum 5 vlan voice[/code]
Create an account or sign in to comment