beautypg.com

Clear mac address-table – Allied Telesis AT-DC2552XS User Manual

Page 386

background image

Chapter 15: MAC Address Table Commands

386

Section II: Layer 2 Switching

CLEAR MAC ADDRESS-TABLE

Syntax

clear mac address-table static|dynamic [vlan

vid

|interface

port_id

s|address

macaddress

]

Parameters

static

Deletes static addresses.

dynamic

Deletes dynamic MAC addresses.

vid

Specifies the VLAN ID. MAC addresses that belong to the VLAN
are deleted. The range is 1 to 4094.

port_ids

Specifies the port ID. When specifying the DYNAMIC keyword, you
can specify multiple port IDs. MAC addresses associated with the
specified to the port ID are deleted. Use a comma (,) to separate
port IDs and a hyphen (-) to indicate the range of port IDs.

macaddress

Specifies the MAC address you want to delete from the switch’s
MAC address table. The address must be specified in the following
format: xx:xx:xx:xx:xx:xx.

Mode

Privileged Exec mode

Description

Use this command to delete addresses from the MAC address table. You
can delete MAC address entries listed in the Switching Forwarding
Database section of the MAC address table. To display these MAC
addresses, use the SHOW MAC ADDRESS TABLE command. See
“SHOW MAC ADDRESS-TABLE” on page 394. To delete the Multicast
Switch Forwarding Database section of the MAC address table, use the
CLEAR IP IGMP command. See “CLEAR IP IGMP” on page 426

Confirmation Command

“SHOW MAC ADDRESS-TABLE” on page 394.