Common MAC Address Operations : Configuring Port Security

Created May 13, 2016 09:19:27Latest reply Apr 04, 2018 14:54:40 1195 4 0 0

Port security implements dynamic binding. After the maximum number of MAC addresses that can be learned by an interface is set, other non-trusted hosts cannot use the local interface to communicate with the switch, thereby improving the device and network security.

# Configure port security on the gigabitethernet0/0/1.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port-security enable
# Set the maximum number of MAC addresses that can be learned by the gigabitethernet0/0/1 to 5.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port-security enable
[HUAWEI-GigabitEthernet0/0/1] port-security max-mac-num 5
NOTE:

Before setting the maximum number of MAC addresses that can be learned by an interface, ensure that the interface has been enabled with port security.

 

 

 

 


  • x
  • convention:

user_1763575     Created May 13, 2016 09:21:33 Helpful(0) Helpful(0)

Thank you.
  • x
  • convention:

Nana00  Novice   Created May 15, 2016 21:45:49 Helpful(0) Helpful(0)

Good,Thank you!
  • x
  • convention:

R.amadeu     Created Apr 03, 2018 03:46:58 Helpful(0) Helpful(0)

How can I check the port-security violtions?
Is it possible by recieving a trap?

Thank you
  • x
  • convention:

StarOfWest  Moderator   Created Apr 04, 2018 14:54:40 Helpful(0) Helpful(0)

  • x
  • convention:

“We only get answers to the questions that we ask.” physicist Werner Heisenberg

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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 Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top