84 mac-address-table discard – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 807

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 807 of 855

specified interface:
Switch(config)# mac-address-table c2f3.220a.12f4 forward eth-0-1 vlan 4
You can verify your setting by entering the show mac address-table privileged EXEC command.


Related Commands

show mac address-table

40.84 mac-address-table discard

Use the mac-address-table discard global configuration command on the switch to enable unicast
MAC address filtering and to configure the switch to drop traffic with a specific source or destination
MAC address. Use the no form of this command to return to the default setting.


Command Syntax

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

Advertising