Three-tier devices can be IP and Mac binding, but a large number of that is sacrificing the cost of equipment performance, and sometimes attacks and network failures are easy to cause greater trouble. Moreover, the price of three-tier equipment is not all enterprises can buy at will.
How to do Mac binding on two-tier low-end products to prevent the impact of ARP on the network.
Step One: Enter port set E0/8 Port Mac learning number set to 0 (red for commands and parameters that must be entered manually)
[S2126-ei]int e 0/8
[s2126-ei-ethernet0/8]mac-address Max-mac-count 0
[S2126-ei-ethernet0/8]q
Step two: Bind the 0015-58aa-3650 to the E0/8 port, at which point only the Mac-bound PC can surf the internet, while E0/8 belongs to VLAN 2004
[S2126-ei]mac static 0015-58aa-3650 int E0/8 VLAN 2004
Last step: Save the configuration
[S2126-ei]q
This would save the configuration in the flash memory.
The switch configurations'll is written to Flash.
Are you sure? [Y/n]y
The other steps are the same for H3C low-end switches, but the first step is a little different.
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Network/jhjs/
Step One: Enter port set E1/0/8 Port Mac learning number set to 1 (red for commands and parameters that must be entered manually)
[H3C s2126-ei]int e 1/0/8
[H3C s2126-ei-ethernet1/0/8]mac-address Max-mac-count 1
[H3C S2126-ei-ethernet1/0/8]q Press a carriage return to be done
Step two: Bind the 0015-58aa-3650 to the E1/0/8 port, at which point only the Mac-bound PC can surf the internet, while E1/0/8 belongs to VLAN 2004
[h3c s2126-ei]mac static 0015-58aa-3650 int E1/0/8 VLAN 2004
Last step: Save the configuration
[H3C s2126-ei]q
<H3C S2126-ei>save
This would save the configuration in the flash memory.
The switch configurations'll is written to Flash.
Are you sure? [Y/n]y
Remember to press two times to enter OH.
It feels good to use, but it is not a batch of Oh, if you want to bind more than one Mac corresponding port, it will not work, the bottom of the PC will not pass the OH; may be the reason for the low end of the switch; you only have to be honest one by one.
Note: The two command order cannot be reversed unless the PC is not connected under the port.