22To do… Use the command… RemarksDisplay MAC addressstatisticsdisplay mac-address statistics [ | { begin | exclude |include } regular-expression ] Available in any viewMAC address table configuration exampleNetwork requirements• The MAC address of one host is 000f-e235-dc71 and belongs to VLAN 1. It is connected toGigabitEthernet 1/0/1 of the device. To prevent MAC address spoofing, add a static entry into theMAC address table of the device for the host.• The MAC address of another host is 000f-e235-abcd and belongs to VLAN 1. Because this hostonce behaved suspiciously on the network, you can add a blackhole MAC address entry for theMAC address to drop all packets destined for the host.• 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 gigabitethernet 1/0/1 vlan 1# Add a 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 GigabitEthernet 1/0/1.[Sysname] display mac-address interface gigabitethernet 1/0/1MAC ADDR VLAN ID STATE PORT INDEX AGING TIME000f-e235-dc71 1 Config static GigabitEthernet 1/0/1 NOAGED--- 1 mac address(es) found ---# Display information about the blackhole MAC address table.[Sysname] display mac-address blackholeMAC ADDR VLAN ID STATE PORT INDEX AGING TIME000f-e235-abcd 1 Blackhole N/A NOAGED--- 1 mac address(es) found ---# View the aging time of dynamic MAC address entries.[Sysname] display mac-address aging-timeMac address aging time: 500s