Can someone please help me with this, I am trying to config port security to allow 1 mac address to be used on port 10 of my 2950 switch...... The problem this when I have configured it and confirmed it is configured I plug in another laptop into the same port and the port still works. I will copy the command which I am using below....
MTU 1500 bytes, B
CiscoSwitch1(config-if)#switchport port-security maximum 1
CiscoSwitch1(config-if)#switchport port security vio
CiscoSwitch1(config-if)#switchport port-security vio
CiscoSwitch1(config-if)#switchport port-security violation shutdown
CiscoSwitch1(config-if)#end
CiscoSwitch1#
00:30:26: %SYS-5-CONFIG_I: Configured from console by consolewr
Building configuration...
[OK]
CiscoSwitch1#show mac-address-table
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
All 0014.1c7d.98c0 STATIC CPU
All 0100.0ccc.cccc STATIC CPU
All 0100.0ccc.cccd STATIC CPU
All 0100.0cdd.dddd STATIC CPU
1 0002.dd7c.b789 STATIC Fa0/10
1 000f.b57f.bca8 DYNAMIC Fa0/6
1 0050.8d52.3c8d DYNAMIC Fa0/1
Total Mac Addresses for this criterion: 7
CiscoSwitch1#
the print shows that fa 0/10 has a static mac address assigned, but it still works if a plig in a different laptop into fa 0/10. the port does now shutdown!!?
please help
MTU 1500 bytes, B
CiscoSwitch1(config-if)#switchport port-security maximum 1
CiscoSwitch1(config-if)#switchport port security vio
CiscoSwitch1(config-if)#switchport port-security vio
CiscoSwitch1(config-if)#switchport port-security violation shutdown
CiscoSwitch1(config-if)#end
CiscoSwitch1#
00:30:26: %SYS-5-CONFIG_I: Configured from console by consolewr
Building configuration...
[OK]
CiscoSwitch1#show mac-address-table
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
All 0014.1c7d.98c0 STATIC CPU
All 0100.0ccc.cccc STATIC CPU
All 0100.0ccc.cccd STATIC CPU
All 0100.0cdd.dddd STATIC CPU
1 0002.dd7c.b789 STATIC Fa0/10
1 000f.b57f.bca8 DYNAMIC Fa0/6
1 0050.8d52.3c8d DYNAMIC Fa0/1
Total Mac Addresses for this criterion: 7
CiscoSwitch1#
the print shows that fa 0/10 has a static mac address assigned, but it still works if a plig in a different laptop into fa 0/10. the port does now shutdown!!?
please help