Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Which command is used to enable port security on an interface?

user-image
Question ajoutée par Nadim Khan , Sr. ITSM System | Security Engineer , Clever solutions
Date de publication: 2017/06/22
aref ghoulem
par aref ghoulem , مكلف بإدارة مصلحة الشبكات وحماية المعطيات بإدارة تكنولوجيا المعلومات والأتصال , بلدية أريانة

the command is :

switchport port-security 

Syed Aalam  Abbas Rizvi
par Syed Aalam Abbas Rizvi , Tech Support , •Tata Interactive System PvtLtd.

  • 2- switchport port-security 

Step 1Switch(config)# interface interface_idStep 2Switch(config-if)# switchport mode accessStep 3 To enables port security on the interface.

Switch(config-if)# switchport port-securityStep 4

Switch(config-if)# switchport port-securitymaximum value

Step 5Switch(config-if)# switchport port-securityviolation {restrict | shutdown}

Step 6Switch(config-if)# switchport port-security limitrate invalid-source-macStep 7Switch(config-if)# switchport port-securitymac-address mac_addressStep 8

Switch(config-if)# switchport port-securitymac-address stickyStep 9Switch(config-if)# end

Step 10

Switch# show port-security addressinterface interface_idSwitch# show port-security address.

Osama Ibdah
par Osama Ibdah , Sr. Security Engineer , SMASCO Saudi Manpower Solution Company

#switchport port-security

This enables the port security feature with only 1 mac address.

switch(config-if)

above commnad is used to enable port security on an interface

Fasiledes Getachew
par Fasiledes Getachew , Senior Network Administrator , Dashen Bank s.c

onthe interface config command type switchport port-security to enable port security feature on the port

Abhilash GK
par Abhilash GK , Senior Software Engineer , IBS Software Pvt Ltd

The command used to Enable Port-Security on an interface is switchport port-security.

The show port-security address can be used to verify the configuration.

Saqib Mehmood
par Saqib Mehmood , Technical Team Lead/Safety Supervisor , Xchange Technology Group

Switch(config-if)# switchport port-security

More Questions Like This