
34
MAC address configuration example
Network configuration
Host A at MAC address 00:0f:e2:35:dc:71 is connected to Port 1 of Device and belongs to VLAN 1.
Host B at MAC address 00:0f:e2:35:ab:cd, which behaved suspiciously on the network, also
belongs to VLAN 1. Configure the MAC address table as follows:
•
To prevent MAC address spoofing, add a static entry for Host A in the MAC address table of
Device.
•
To drop all frames destined for Host B, add a blackhole MAC address entry for Host B.
Figure 45 Network diagram
Procedure
# Add a static MAC address entry with destination address 00:0f:e2:35:dc:71, outgoing interface
Port 1, and VLAN ID 1.
1.
From the navigation pane, select
Switch Settings
>
Static MAC
.
2.
Enter MAC address 00:0f:e2:35:dc:71 and VLAN ID 1, select port 1 as the outgoing interface,
and then click
Add
.
# Add a static MAC address entry with destination address 00:0f:e2:35:ab:cd, outgoing interface
Port 1, and VLAN ID 1, and block the MAC address.
1.
From the navigation pane, select
Switch Settings
>
Static MAC
.
2.
Enter MAC address 00:0f:e2:35:ab:cd and VLAN ID 1, select port 1 as the outgoing interface,
enable MAC blocking, and then click
Add
.
Figure 46 Static MAC address entries
Device
Port 1
Host A
Host B
000f-e235-dc71
000f-e235-abcd
Port 2