Common MAC Address Operations : Configuring Port Security

Latest reply: Apr 4, 2018 06:54:40 1312 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
Common MAC Address Operations : Configuring Port Security-1073703-1 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 01:21:33 Helpful(0) Helpful(0)

Thank you.
  • x
  • convention:

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

Good,Thank you!
  • x
  • convention:

R.amadeu
Created Apr 2, 2018 19: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
Created Apr 4, 2018 06:54:40 Helpful(0) Helpful(0)

  • x
  • convention:

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

Reply

Reply
You need to log in to reply 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!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login