Explanation of AM and ARP commands for H3C port configuration of Huawei Switch

Source: Internet
Author: User

Explain the AM and ARP commands for H3C port configuration of Huawei switch. For many friends, The H3C port of Huawei switch is still a very professional term. The port + MAC and IP + MAC problems involved are worth exploring. Let's take a look at these questions.

Port + MAC

H3C port AM command of Huawei Switch

Use the special AM User-bind command to bind the MAC address and port. For example, [SwitchA] am user-bind mac-address 00e0-fc22-f8d3 interface Ethernet 0/1 configuration Description: because port parameters are used, the port is used as a reference object, in this case, port E0/1 only allows PC1 to access the Internet, while PCs using other unbound MAC addresses cannot access the Internet. However, PC1 can use this MAC address to access the Internet on other ports.

The mac-address command uses the mac-address static command to bind the MAC address to the port. For example, [SwitchA] mac-address static 00e0-fc22-f8d3 interface Ethernet 0/1 vlan 1 [SwitchA] mac-address max-mac-count 0 configuration Description: Because the port learning function is used, therefore, after the mac address is statically bound, you need to set the mac address of the port to 0 so that other PCs cannot learn the mac address after accessing the port.

IP + MAC

H3C port AM command of Huawei Switch

Use the special AM User-bind command to bind the IP address to the MAC address. For example, [SwitchA] am user-bind ip-address 10.1.1.2 mac-address 00e0-fc22-f8d3 configuration description: The above configuration completes the global binding of the ip address of the PC and the MAC address.

That is, a PC with a different IP address or MAC address cannot access the Internet on any port. Supported models: S3026E/EF/C/G/T, S3026C-PWR, E026/E026T, S3050C, E050, S3526E/C/EF, S5012T/G, S5024G

H3C port arp command of Huawei Switch

Use the special arp static command to bind the IP address to the MAC address. For example, [SwitchA] arp static 10.1.1.2 00e0-fc22-f8d3 configuration Description: The above configuration completes the global binding of the IP address of the PC and the MAC address.

Port + IP + MAC

Use the special AM User-bind command to bind IP addresses, MAC addresses, and ports. H3C port of the Huawei switch, for example, [SwitchA] am user-bind ip-address 10.1.1.2 mac-address 00e0-fc22-f8d3 interface Ethernet 0/1.

H3C port configuration of the Huawei switch: It can bind the IP address, MAC address, and E0/1 of pc1. Because the port parameters are used, the port is used as a reference object. In this case, port E0/1 only allows access to PC1, while PCs using other unbound IP addresses and MAC addresses cannot access the Internet. However, PC1 can use this IP address and MAC address to access the Internet on other ports.

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.