How does the switch implement IP-MAC bindings?

Source: Internet
Author: User
Tags switches cisco 2950

Many companies need to bind IP-MAC addresses for security reasons. IP-MAC bindings can be implemented in a variety of ways, and in this article I'll show you how the switches are Ip-mac bound.

Cisco 2950

#进入配置模式

Switch#config Terminal

#进入具体端口配置模式

Switch (config) #Interface fastethernet 0/1

#配置端口安全模式

Switch (config-if) #Switchport port-secruity

#配置该端口要绑定的主机的MAC地址

Switch (config-if) #switchport port-security mac-address mac (host MAC address) Ip-address 192.168.x.x

Huawei S5700

#进入端口配置

Interface Gigabitethernet 1/0/1

#绑定该端口的mac和IP

User-bind mac-addr 001a-4d1e-3981 ip-addr 10.100.11.2


Other switches are similar, basically datong small easy. Switch Ip-mac binding, based on the switch port to achieve, powerful. But the disadvantage is also obvious, is the maintenance and configuration is more complex, especially when the number of clients is more difficult to maintain. The number of users is a bit more convenient to set up on the gateway router. Such as:

650) this.width=650; "Src=" Http://www.imfirewall.com/blog/zb_users/upload/2017/06/201706191497864374510967.png " Style= "width:900px;" title= "201706191497864374510967.png" alt= "201706191497864374510967.png" width= "vspace=" 0 "border=" 0 "/>

650) this.width=650; "Src=" Http://www.imfirewall.com/blog/zb_users/upload/2017/06/201706191497864378870887.png " Style= "width:800px;" title= "201706191497864378870887.png" alt= "201706191497864378870887.png" width= "" vspace= "0 "border=" 0 "/>


How does the switch implement IP-MAC bindings?

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.