F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

33
Figure 19 Setting the aging time for dynamic MAC address entries
Configuring a MAC address entry at the CLI
Configuring static, dynamic, and blackhole MAC address
table entries
To prevent MAC address spoofing attacks and improve port security, manually add MAC address table
entries to bind ports with MAC addresses. You can also configure destination blackhole MAC address
entries to filter out packets with certain destination MAC addresses.
The MAC address table can contain only Layer 2 Ethernet interfaces.
Adding or modifying a static or dynamic MAC address table entry in system view
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Add or modify a
dynamic or static
MAC address entry.
mac-address { dynamic | static } mac-address
interface interface-type interface-number vlan vlan-id
By default, no MAC
address entry is
configured.
Make sure you have
created the VLAN and
assigned the interface to
the VLAN.
Adding or modifying a static or dynamic MAC address table entry in interface view
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter Layer 2 Ethernet
interface view.
interface interface-type
interface-number
N/A
3. Add or modify a static or
dynamic MAC address entry.
mac-address { dynamic | static }
mac-address vlan vlan-id
By default, no MAC address entry
is configured.
Make sure you have created the
VLAN and assigned the interface
to the VLAN.