Mac-Address-Table Static - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

mac-address-table static

mac-address-table static
To configure static MAC addresses for a VLAN interface or drop unicast traffic for a MAC address for
a VLAN interface, use the mac-address-table static command. To remove static MAC address
configurations, use the no form of this command.
Syntax Description
mac-addr
vlan vlan-id
interface type
drop
Defaults
This command has no default settings.
Command Modes
Global configuration
Command History
Release
12.1(13)EW
Usage Guidelines
When a static MAC address is installed, it is associated with a port.
The output interface specified must be a Layer 2 interface and not an SVI.
If you do not enter a protocol type, an entry is automatically created for each of the four protocol types.
Entering the no form of this command does not remove system MAC addresses.
When removing a MAC address, entering interface int is optional. For unicast entries, the entry is
removed automatically. For multicast entries, if you do not specify an interface, the entire entry is
removed. You can specify the selected ports to be removed by specifying the interface.
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
2-170
mac-address-table static mac-addr {vlan vlan-id} {interface type | drop}
no mac-address-table static mac-addr {vlan vlan-id} {interface type} {drop}
MAC address; optional when using the no form of the command.
VLAN and valid VLAN number; valid values are from 1 to 4094.
Interface type and number; valid options are FastEthernet and GigabitEthernet.
Drops all traffic received from and going to the configured MAC address in the
specified VLAN.
Modification
Support for this command was introduced on the Catalyst4500 series switches.
Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
78-16201-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents