Got it

MAC security control

Created: Mar 6, 2020 03:40:49Latest reply: Mar 6, 2020 03:46:00 77 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello,

We hope to implement the following functions: 

Create a trusted MAC table that contains the MAC addresses of 20 terminal computers on the S5720. When a computer with its mac in the table is connected to any interface on the switch, the computer can go online normally. If any other terminal is connected to any interface, it should be rejected.

Can you provide me with an idea for the configuration? Thank you!


  • x
  • convention:

Featured Answers
Admin Created Mar 6, 2020 03:46:00 Helpful(1) Helpful(1)

Hi Hobbit,

You can use ACL to do the security control.

First: Define an ACL to match the MAC addresses of all PCs, like below:

#

acl number 4100

rule 5 permit source-mac 0001-0001-0001

rule 10 permit source-mac 0002-0002-0002

rule 15 deny

#

Second: Apply traffic-filter on the ports that connected to PCs.

#

interface GigabitEthernet 0/0/1

traffic-filter inbound acl 4100

I hope it helps.


View more
  • x
  • convention:

All Answers
Popeye_Wang Admin Created Mar 6, 2020 03:46:00 Helpful(1) Helpful(1)

Hi Hobbit,

You can use ACL to do the security control.

First: Define an ACL to match the MAC addresses of all PCs, like below:

#

acl number 4100

rule 5 permit source-mac 0001-0001-0001

rule 10 permit source-mac 0002-0002-0002

rule 15 deny

#

Second: Apply traffic-filter on the ports that connected to PCs.

#

interface GigabitEthernet 0/0/1

traffic-filter inbound acl 4100

I hope it helps.


View more
  • x
  • convention:

Comment

Comment
You need to log in to comment to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.