3Com Switch 8800 Advanced Software V5 Configuration Guide

Displaying MAC Address Table Management 67
Displaying MAC
Address Table
Management
MAC Address Table
Management
Configuration
Example
Network requirements
Log onto your device from the Console port to configure MAC address table
management as follows:
Set the aging timer to 500 seconds for dynamic MAC address entries.
Add a static entry 00EA-FC35-DC71 for port GigabitEthernet 1/2/1 in VLAN 25.
Configuration procedure
# Add a static MAC address entry (showing the VLAN to which it belongs, port
and status).
<Sysname> system-view
[Sysname] mac-address static 00ea-fc35-dc71 interface GigabitEtherne
t
1/2/1 vlan 25
# Set the aging timer for dynamic MAC address entries to 500 seconds.
[Sysname] mac-address timer aging 500
# Display the MAC address entry in any view.
[Sysname] display mac-address interface GigabitEthernet 1/2/1
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
00ea-fc35-dc71 25 Config static GigabitEthernet1/2/1 NOAGED
--- 1 mac address(es) found on port GigabitEthernet1/2/1 ---
To do... Use the command... Remarks
Display MAC address table
information
display mac-address [ mac-address [
vlan vlan-id ] | [ dynamic | static ] [
interface interface-type
interface-number ] [ vlan vlan-id ] [
count ] ]
Available in any view
display mac-address blackhole [
vlan vlan-id ] [ count ]
Display the aging timer for
dynamic MAC address entries
display mac-address aging-time
Display the capability of
system and port to learn MAC
addresses dynamically
display mac-address mac-learning [
interface-type interface-number ]