beautypg.com

Deleting mac addresses – Allied Telesis AT-8100 Series User Manual

Page 380

background image

Chapter 19: MAC Address Table

380

Deleting MAC Addresses

To delete MAC addresses from the switch, use the CLEAR MAC
ADDRESS-TABLE command in the Privileged Exec mode. The format of
the command is:

clear mac address-table dynamic|static [address

macaddress

]|[interface

port

]|[vlan

vid

]

Here are the variables:

dynamic - This variable lets you delete dynamic addresses.

static - This parameter lets you delete static addresses.

address - You can use this parameter to delete specific addresses.
You can delete just one address at a time. In the command, the
address must be specified in either one of the following formats:

xx:xx:xx:xx:xx:xx or xxxx.xxxx.xxxx

interface - You can use this parameter to delete all of the static or
dynamic addresses on a particular port. You can specify more than
one port at a time.

vlan - You can use this parameter to delete all of the static or
dynamic addresses on the ports of a particular VLAN. You can
specify just one VID at a time.

This example of the command deletes all of the dynamic addresses from
the table:

awplus> enable
awplus# clear mac address-table dynamic

This example deletes all of the static addresses:

awplus> enable
awplus# clear mac address-table static

This example deletes a single dynamic address:

awplus> enable
awplus# clear mac address-table dynamic address
00:12:a3:68:79:b2

This example deletes a single static address:

awplus> enable
awplus# clear mac address-table static address
00:12:a3:d4:67:da