14-22
Configuring and Monitoring Port Security     
Clear MAC Address Table
The following command serves this purpose by removing 0c0090-123456 and 
reducing the Address Limit to 1:
HP Switch(config)# port-security a1 address-limit 1
HP Switch(config)# no port-security a1 mac-address 
0c0090-123456
The above command sequence results in the following configuration for port 
A1:
Figure 14-10.Example of Port A1 After Removing One MAC Address
Clear MAC Address Table
The following options allow learned MAC addresses to be removed from the 
MAC address table as follows:
■ Remove all MAC addresses.
■ Remove all MAC address on a specified VLAN
■ Remove all MAC addresses on a port
■ Remove a specific MAC address on a specific VLAN
This functionality is also supported by SNMP.
HP Switch(config)# show port-security 1
 Port Security
  Port : 1
  Learn Mode [Continuous] : Static         Address Limit [1] : 1
  Action [None] : None
  Eavesdrop Prevention [Enabled] : Enabled
  Authorized Addresses
  --------------------
  0c0090-456456