85 clear mac address-table, 86 show mac address-table ageing-time – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 808

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 808 of 855

40.85 clear mac address-table

Use the clear mac address-table privileged EXEC command on the switch to delete from the MAC
address table a specific dynamic address, all dynamic addresses on a particular interface, all dynamic
addresses on stack members, or all dynamic addresses on a particular VLAN.


Command Syntax

clear mac address-table {static | dynamic} [address mac-addr | interface interface-id | vlan vlan-id]

mac-addr

Delete the specified MAC address.

interface-id

Delete all MAC addresses on the specified physical port or link
aggregation port.

vlan-id

Delete all MAC addresses for the specified VLAN. The range is 1 to 4094.


Command Mode

Privileged EXEC


Default

No default is defined.


Usage


Examples

This example shows how to remove a specific MAC address from the dynamic address table:
Switch# clear mac address-table dynamic address 0008.0070.0007
You can verify that the information was deleted by entering the show mac address-table privileged
EXEC command.


Related Commands

show mac address-table

40.86 show mac address-table ageing-time

Use the show mac address-table aging-time privileged EXEC command to display the aging time of
all address table instances on all VLANs.


Command Syntax

show mac address-table ageing-time


Command Mode

Privileged EXEC

Advertising