H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – MAC Address Table
H3C S7500 Series Ethernet Switches Chapter 1 MAC Address Table Management
1-8
[H3C]
# Add a MAC address, with the VLAN, ports, and states specified.
[H3C] mac-address static 000f-e235-dc71 interface Ethernet 2/0/2 vlan 1
# Set the aging time of dynamic MAC addresses to 500 seconds.
[H3C] mac-address timer aging 500
# Display the information about the MAC address entries in system view.
[H3C] display mac-address interface Ethernet 2/0/2
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
000f-e235-dc71 1 Config static Ethernet2/0/2 NOAGED
000f-e200-5503 1 Learned Ethernet2/0/2 AGING
000f-e200-5548 1 Learned Ethernet2/0/2 AGING
--- 3 mac address(es) found on port Ethernet2/0/2 ---