08-06-2007 10:26 AM - edited 03-05-2019 05:44 PM
how can i do that in a switch?
i know of the command >mac-address-table
but what exactly i need to write in order to restrict FastEthernet0/1 to work only with MAC XXXX.XXXX.XXXX ?
08-06-2007 10:31 AM
Hi
You need to use port-security to restrict which mac-addresses can use that port.
I have attached a link to 3560 port seurity configuration which explains the concept of port security.
If you have a different switch just search on Cisco for "switch type + port security"
HTH
Jon
08-06-2007 10:39 AM
Hi, [PLS RATE if HELPS]
As a continuation of Jon.Marshall post,
Cisco has very famous feature called port-security to restict Switch port access based on MAC-Address of clients connecting to it.
You can specify the Security feature in such a way like if somebody violate the Security you can instruct the Switch to Shutdown the Interface and only the Administrator can re-enable the port manually.
Refer link below for further understanding:
PLS RATE if HELPS
Best Regards,
Guru Prasad R
08-06-2007 10:47 AM
i know of port-security, i just want to know about the other method of associating a single MAC with a port.
08-06-2007 10:55 AM
Hi
You can use the mac-address-table static command. Attached is link for 3560 example.
As far as i know this does not restrict the port to just that mac-address though.
HTH
Jon
08-06-2007 11:25 AM
Do i have to specify the vlan option? if ihave interface with no vlans how would the syntax be?
08-07-2007 02:09 PM
So does this prevent other MAC addresses to access the port?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: