logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Login


Options
View
Go to last post Go to first unread
Daisy  
#1 Posted : Monday, February 26, 2024 12:52:04 PM(UTC)
Daisy

Rank: Member

Groups: Registered
Joined: 5/23/2022(UTC)
Posts: 22

After a static MAC address entry is configured on Huawei NE8000 Router, packets with the destination MAC address matching the entry are forwarded from the specified outbound interface. This configuration protects a device from attack packets with forged MAC addresses.

Usage Scenario

If a network has fixed users or a server connects to a switch on the network, static MAC address entries need to be configured on the switch to prevent hackers from attacking the switch or the server. On the network shown in Figure 1, you can configure a static MAC address entry on the switch containing the MAC address of the server so that the switch forwards packets destined for the server through only a specified interface. This configuration prevents hackers from attacking the server using forged MAC addresses and from stealing information from the server, as well as ensures the communication between users and the server.

Figure 1 Networking for static MAC address entry configuration
1

Pre-configuration Tasks
Before configuring a static MAC address entry, connect interfaces and set their physical parameters to ensure that the physical status of the interfaces is Up.

Procedure
Run system-view
The system view is displayed.
Run one or more of the following commands to add static MAC address entries:
Run the mac-address static mac-address interface-type interface-number vlan vlan-id command to add a VLAN-based static MAC address entry.
Run the mac-address static mac-address interface-type interface-number vsi vsi-name [ pe-vid pe-vid [ ce-vid ce-vid ] ] command to add a VSI-based static MAC address entry.
Run the mac-address static mac-address interface-type interface-number { vlanif-type vlanif-number | vlanif-name } vsi vsi-name command to configure a MAC address entry for the VSI bound to a VLANIF interface.

Static MAC address entries take precedence over dynamic MAC address entries.

Run commit

The configuration is committed.

Verifying the Configuration
Run the following commands to check the previous configurations.
Run the display mac-address [ mac-address ] { [ vlan vlan-id ] | [ vsi vsi-name [ ce-vlan ] ] | [ ce-vlan ] } [ verbose ] command to check MAC address entries.
Run the display mac-address static | { { vlan vlan-id | interface-type interface-number } * | [ vsi vsi-name ] } [ verbose ] command to check static MAC address entries.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.