Switch port security (MAC address binding)

Source: Internet
Author: User

Switch port security, is a switch filtering policy, that is, one port of the switch to bind a fixed MAC address, so that other MAC address when access to trigger policy, down port or denial of service

The following is the topology diagram

  

Switch configuration

  

Enable access to privileged mode

conf t into global configuration mode

Hostname Modifying the switch name

No IP domain-lookup remove domain name resolution

Interface Vlan1 into Vlan1

IP address 192.168.1.1 255.255.255.0 configuring Vlan1 IP addresses (that is, configuration management addresses)

No shutdown activation port

Exit return to upper level

Interface F0/1 Entry Interface 0/1

Shutdown shutdown Port

Switchport mode access Modify port modes

Switchport port-security Modify port to Safe mode

Switchport port-security 00E0. b0ea.6035 the host MAC address with the port, where the MAC address is the address of the pc-host 1

Switchport port-security maximum 1 Setting the maximum number of MAC addresses is 1

Switchport port-security violation shutdown set response policy, here is the shutdown port

End returns to privileged mode

Copy running-config startup-config Save configuration

Switch port security (MAC address binding)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.