Clearing Restricted MAC Addresses and Port Security Violation Statistics

You can clear restricted MAC addresses and violation statistics on all ports or from individual ports. The following steps are optional and can be used in any order.
  1. Clear all restricted MAC addresses globally.
    device# clear port security restricted-macs all
    

    To clear restricted MAC addresses on a specific port, enter the following command.

    device# clear port security restricted-macs ethernet 5/1/5
    
  2. Clear port security violation statistics globally.
    device# clear port security statistics all
    

    To clear port security violation statistics on a specific port, enter the following command.

    device# clear port security statistics ethernet 1/1/5