1-6Displaying and Maintaining MAC Address TablesTo do… Use the command… RemarksDisplay MAC address tableinformationdisplay mac-address[ mac-address [ vlan vlan-id ] |[ [ dynamic | static ] [ interfaceinterface-typeinterface-number ] ] [ vlanvlan-id ] [ count ] ]Display the aging timer fordynamic MAC address entriesdisplay mac-addressaging-timeDisplay MAC address statistics display mac-addressstatisticsAvailable in any viewMAC Address Table Configuration ExampleNetwork requirementsz A host with MAC address 000f-e235-dc71 and belonging to VLAN 1 is connected toGigabitEthernet1/0/1 of the device. To prevent MAC address spoofing, add a static entry into theMAC address table of the device for the host.z Another host with MAC address 000f-e235-abcd and belongs to VLAN 1. For security sake, add adestination blackhole MAC address entry on the device to prevent the host from receiving packets.z Set the aging timer for dynamic MAC address entries to 500 seconds.Configuration procedure# Add a static MAC address entry. system-view[Sysname] mac-address static 000f-e235-dc71 interface igabitethernet1/0/1 vlan 1# Add a destination blackhole MAC address entry.[Sysname] mac-address blackhole 000f-e235-abcd vlan 1# Set the aging timer for dynamic MAC address entries to 500 seconds.[Sysname] mac-address timer aging 500# Display the MAC address entry for port GigabitEthernet1/0/1.[Sysname] display mac-address interface igabitethernet1/0/1MAC ADDR VLAN ID STATE PORT INDEX AGING TIME000f-e235-dc71 1 Config static GigabitEthernet1/0/1 NOAGED--- 1 mac address(es) found ---# Display information about the destination blackhole MAC address table.[Sysname] display mac-address blackholeMAC ADDR VLAN ID STATE PORT INDEX AGING TIME000f-e235-abcd 1 Blackhole N/A NOAGED