Got it

How to bind MAC addresses to ports on Huawei S5700

Created: Sep 28, 2020 12:22:16Latest reply: Sep 28, 2020 12:24:36 186 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello all,

I have a 48-port gigabit Huawei 5720 switch. Each port of the switch needs to pass the specified device MAC address. If the MAC address is not specified, unauthorized access is denied, preventing strangers from inserting laptops into the network.

What should I do? Thanks!




Featured Answers

Recommended answer

jason_hu
Admin Created Sep 28, 2020 12:24:36

Hello ster, 

Port security can be configured: 

port-security enable: Enables port security. 

port-security max-mac-num max-number 

The maximum number of secure dynamic MAC addresses that can be learned on an interface is set. By default, the maximum number of secure MAC addresses that an interface can learn is 1.
 

port-security mac-address mac-address vlan vlan-id 

The command is to manually configure secure static MAC address entries. 

port-security protect-action {protect | restrict | shutdown} 

The port security protection action is configured. By default, the port security protection action is restricted.

View more
  • x
  • convention:

All Answers

Hello ster, 

Port security can be configured: 

port-security enable: Enables port security. 

port-security max-mac-num max-number 

The maximum number of secure dynamic MAC addresses that can be learned on an interface is set. By default, the maximum number of secure MAC addresses that an interface can learn is 1.
 

port-security mac-address mac-address vlan vlan-id 

The command is to manually configure secure static MAC address entries. 

port-security protect-action {protect | restrict | shutdown} 

The port security protection action is configured. By default, the port security protection action is restricted.

View more
  • x
  • convention:

Comment

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

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

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.
Reminder
Please bind your phone number to obtain invitation bonus.