How to configure a MAC address for a VXLAN gateway

29

;HTML>When a VBDIF interface is not configured with a MAC address, the MAC address is automatically allocated by the system. You can run the display interface vbdif command to check the MAC address.
You can run the mac-address mac-address command on the VBDIF interface to configure a MAC address for the VBDIF interface. The MAC address ranges on different device models are different.
1.The CE12800E supports 500 any unicast MAC addresses.


2.When any other switch except CE12800 works in non-enhanced mode, the following situation will occur:
(a) If the switch is equipped with the EA series card, CE-L48GT-EC card, or CE-L48GS-EC card, the MAC address supported by the switch is in the range of 0000-5e00-0100 to 0000-5e00-0107, and a maximum of eight MAC addresses are allowed.
(b) If the switch is equipped with other cards but not the preceding cards, the MAC address supported by the switch is in the range of 0000-5e00-0100 to 0000-5e00-0107 and a maximum of eight MAC addresses are allowed.
In enhanced mode, the MAC address supported by the switch is in the range of 0000-5e00-0100 to 0000-5e00-01ff and a maximum of 16 MAC addresses are allowed.


3.The CE8800&7800&6800&5800 series switches running a version earlier than V200R002C20 support MAC addresses in the range of 0000-5e00-0100 to 0000-5e00-01ff. Among these models, the CE6870EI supports a maximum of 16 MAC addresses, while the other models support a maximum of 256 MAC addresses. In V200R002C20 and later versions, the CE6870EI supports a maximum of 16 MAC addresses in the range of 0000-5e00-0100 to 0000-5e00-01ff. while the other models support a maximum of 500 any unicast MAC addresses.

Other related questions:
How does an MFF-enabled switch process gateway MAC address changes
If MFF gateway detection is enabled on a switch, the switch detects gateway MAC address changes and updates the gateway MAC address entries. In this way, user services are not interrupted. However, if MFF gateway detection is disabled, the switch does not update the gateway MAC address entries and user traffic may be interrupted. To detect gateway MAC address changes, enable MFF gateway detection on the switch.

How to configure MAC address limiting on interfaces
When configuring MAC address limiting on an interface, pay attention to the following points: port security and MAC address limiting cannot be configured on the same interface. Earlier versions do not have this restriction. The following steps are performed in V100R005. Procedure Run the system-view command to enter the system view. Run the interface interface-type interface-number command to enter the interface view. Run the mac-limit maximum max-num command to set the maximum number of MAC addresses learned on the interface. By default, the number of MAC addresses learned on an interface is not limited. The interface discards packets with new source MAC addresses and sends a trap message when the number of learned MAC addresses reaches the limit. The port-security protect-action { protect | restrict | shutdown } command configures the port protection action performed by the interface. Before configuring the protection action, run the port-security enable command to enable the port security function on the interface. The protection actions are as follows: protect The interface discards packets with new source MAC addresses. restrict The interface discards packets with new source MAC addresses and sends a trap message. shutdown The interface is shut down. For example, set the maximum number of MAC addresses learned by an interface to 1 and configure the protection action to protect. system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] port-security enable [HUAWEI-GigabitEthernet0/0/1] port-security protect-action protect

How to configure MAC address flapping detection
To configure MAC address flapping detection, use this following method. [HUAWEI-vlan10] loop-detect eth-loop alarm-only In V200R001 and later versions, run the following command in the system view to enable MAC address flapping detection. [HUAWEI] mac-address flapping detection This function is enabled by default.

Add static MAC address entries on the S1728GWR-4P switch
Add a static MAC address entry on an S1728GWR-4P switch as follows: 1. Choose MAC Address > Static. 2. Select Add from the Action drop-down list box 3. Select an interface, specify a MAC address for the interface, and click Apply.

After I Enable ARP Gateway Anti-Collision, and Send Gateway Collision ARP Packets from a MAC Address, Why Can the MAC Address Not Forward Traffic
After the Address Resolution Protocol (ARP) anti-collision function detects gateway collision ARP packets, the system prohibits the source media access control (MAC) address from forwarding packets for three minutes.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top