- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 07:43 AM
Hi,
A client of ours wants to limit the MAC adresses on the L2 ports of an C819-4G cisco router.
the command switchport port-security is not know on this router:
Router(config-if)#switchport ?
access Set access mode characteristics of the interface
mode Set trunking mode of the interface
priority Set 802.1p priorities
protected Configure an interface to be a protected port
trunk Set trunking characteristics of the interface
voice Voice appliance attributes
Is there another command to limit the port usages for allowed MAC's?
Thanks in advance.
Marnix
Solved! Go to Solution.
- Labels:
-
Other Routing
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 07:49 AM
Hello,
you need to use the command below, in global config mode:
Router(config)# mac-address-table secure [mac-address | maximum maximum addresses] fastethernet interface-id [vlan vlan id]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 07:49 AM
Hello,
you need to use the command below, in global config mode:
Router(config)# mac-address-table secure [mac-address | maximum maximum addresses] fastethernet interface-id [vlan vlan id]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 08:00 AM
Thank you very much for your response!
That is what I am looking for. Perhaps you could help with one more thing?
If i use mac-address-table secure max 3 fa1 do I need to specify the MAC's or does it learn the first 3 and block the rest?!
Thanks again for you fast reply!
Marnix
