Operation Manual – MAC Address Table Management
H3C S5600 Series Ethernet Switches
DLDP
Port MAC address configuration does not affect service packet forwarding.
1.3 Displaying MAC Address Table Information
Display information about the MAC
address table
Display the aging time of the
dynamic MAC address entries in
the MAC address table
Display the configured start port
MAC address
1.4 Configuration Example
1.4.1 Adding a Static MAC Address Entry Manually
I. Network requirements
The server connects to the switch through GigabitEthernet 1/0/2. To prevent the switch
from broadcasting packets destined for the server, it is required to add the MAC
address of the server to the MAC address table of the switch, which then forwards
packets destined for the server through GigabitEthernet 1/0/2.
The MAC address of the server is 000f-e20f-dc71.
Port GigabitEthernet 1/0/2 belongs to VLAN 1.
II. Configuration procedure
# Enter system view.
<Sysname> system-view
[Sysname]
# Add a MAC address, with the VLAN, ports, and states specified.
[Sysname] mac-address static 000f-e20f-dc71 interface GigabitEthernet 1/0/2
vlan 1
# Display information about the current MAC address table.
[Sysname] display mac-address interface GigabitEthernet 1/0/2
Unit 1
MAC ADDR
000f-e20f-dc71
000f-e20f-a7d6
000f-e20f-b1fb
To do...
VLAN ID
STATE
1
Config static GigabitEthernet1/0/2 NOAGED
1
Learned
1
Learned
1-10
Chapter 1
Use the command...
display mac-address
[ display-option ]
display mac-address
aging-time
display port-mac
PORT INDEX
GigabitEthernet1/0/2 AGING
GigabitEthernet1/0/2 AGING
MAC Address Table
Management
Remarks
Available in
any view
AGING TIME(s)