How to do if you want to put a port in shutdown via port-security

Configurare noua (How To)

Situatie

If you want to add port-security on the port and also you want to put your port in shutdown, you will have to use the following commands:

Solutie

  • configure terminal – to enter the exec mode of the switch
  • configure interface x – where x is the interface you want to configure
  • swichport port security
  • swichport port-security maximum y – where y is the maximum number of MACs you will allow
  • swichport port-security shutdown
  • swichport port-security mac-address sticky – to remain MACs saved on the port
  • write – to save the changes made.

Tip solutie

Permanent

Voteaza

(5 din 9 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?