MAC Address Table Management Display Example 243
MAC Address Table
Management
Configuration Example
Networking Requirements
The user logs into the Switch via the Console port to configure the address table
management. It is required to set the address aging time to 500s and add a static
address 00e0-fc35-dc71 to Ethernet1/0/2 in vlan1.
Networking Diagram
Figure 67 Typical Configuration of Address Table Management
Configuration Procedure
1 Enter the System View of the Switch.
<4500> system-view
2 Add a MAC address (specify the native VLAN, port and state).
[4500]mac-address static 00e0-fc35-dc71 interface ethernet1/0/2 vlan
1
3 Set the address aging time to 500s.
[4500]mac-address timer 500
4 Display the MAC address configurations in all views.
[4500]display mac-address interface ethernet1/0/2
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
00-e0-fc-35-dc-71 1 Static Ethernet1/0/2 NOAGED
00-e0-fc-17-a7-d6 1 Learned Ethernet1/0/2 500
00-e0-fc-5e-b1-fb 1 Learned Ethernet1/0/2 500
00-e0-fc-55-f1-16 1 Learned Ethernet1/0/2 500
--- 4 mac address(es) found ---
Console Port
Network Port
Switch
Internet