3Com Switch 7750 Configuration Guide Guide

Displaying and Maintaining MAC Address Configuration 215
Displaying and
Maintaining MAC
Address Configuration
To verify your configuration, you can display information about the MAC address
table by executing the display command in any view.
Configuration
Example
Network requirements Log in to the switch through the Console port and enable address table
configuration.
Set the aging time of dynamic MAC address entries to 500 seconds.
Add a static MAC address entry 00e0-fc35-dc71 for Ethernet1/0/2 port
(assuming that the port belongs to VLAN 1)
Network diagram Figure 53 Network diagram for MAC address table configuration
Configuration procedure # Enter system view.
<SW7750> system-view
[SW7750]
# Add a MAC address, with the VLAN, ports, and states specified.
[SW7750] mac-address static 00e0-fc35-dc71 interface Ethernet 1/0/2
vlan 1
# Set the aging time of dynamic MAC addresses to 500 seconds.
Table 144 Display and maintain MAC address table configuration
Operation Command Description
Display information about the
MAC address table
display mac-address [
display-option ]
You can use the display
command in any view.
Display the aging time of the
dynamic MAC address entries
in the MAC address table
display mac-address
aging-time
Console port
Network port
Switch
Internet
Console port
Network port
Switch
Internet