3Com Switch 7750 Configuration Guide

Configuration Example 231
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 000f-e235-dc71 for Ethernet2/0/2 port
(assuming that the port belongs to VLAN 1)
Configuration procedure # Enter system view.
<SW7750> system-view
[SW7750]
# Add a MAC address, with the VLAN, ports, and states specified.
[SW7750] mac-address static 000f-e235-dc71 interface Ethernet 2/0/2 vlan 1
# Set the aging time of dynamic MAC addresses to 500 seconds.
[SW7750] mac-address timer aging 500
# Display the information about the MAC address entries in system view.
[SW7750] 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 445
000f-e200-5548 1 Learned Ethernet2/0/2 282
--- 3 mac address(es) found on port Ethernet2/0/2 ---
Table 161 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