88 clear mac address-table – CANOGA PERKINS 9175 Command Reference User Manual
Page 735
![background image](/manuals/651401/735/background.png)
CanogaOS Command Reference
40-64
mac-address-table mac-addr discard
no mac-address-table mac-addr discard
mac-addr
Destination MAC address (unicast or multicast) to add to the address table.
Packets with this destination address received in the specified VLAN are
forwarded to the specified interface.
Command Mode
Global configuration
Default
Unicast MAC address filtering is disabled. The switch does not drop traffic for specific source or
destination MAC addresses.
Usage
Follow these guidelines when using this feature:
Multicast MAC addresses, broadcast MAC addresses, and router MAC addresses are not supported.
Packets that are forwarded to the CPU are also not supported.
Examples
This example shows how to enable unicast MAC address filtering and to configure the switch to drop
packets that have a source or destination address of c2f3.220a.12f4. When a packet is received with this
MAC address as its source or destination, the packet is dropped:
Switch(config)# mac-address-table c2f3.220a.12f4 discard
Related Commands
mac-address-table forward
40.88 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