Configuring A Mac Address Table; Configuring Mac Address Table Entries - H3C S5120-SI Series Operation Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Figure 1-1 Forward frames using the MAC address table

Configuring a MAC Address Table

The MAC address table configuration tasks include:

Configuring MAC Address Table Entries

Configuring the Aging Timer for Dynamic MAC Address Entries
Configuring the MAC Learning Limit
These configuration tasks are all optional and order independent. You can perform them as needed in
any order.
Configuring MAC Address Table Entries
Usually, a device can populate its MAC address table automatically by learning the source MAC
addresses of received frames.
To improve port security, you can manually add MAC address entries to the MAC address table to bind
ports with MAC addresses, thus fending off MAC address spoofing attacks.
In addition, you can configure blackhole MAC address entries to filter out packets with certain source or
destination MAC addresses.
Follow these steps to add, modify, or remove entries in the MAC address table globally:
To do...
Enter system view
Add/modify a MAC address
entry
Use the command...
system-view
mac-address { dynamic |
static } mac-address interface
interface-type interface-number
vlan vlan-id
mac-address blackhole
mac-address vlan vlan-id
1-3
Remarks
Required

Advertisement

Table of Contents
loading

Table of Contents