Cisco Catalyst 4500 Series Configuration Manual page 486

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

mac-address-table static
mac-address-table static
To configure the 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 the static MAC address
configurations, use the no form of this command.
Syntax Description
mac-addr
vlan vlan-id
interface type
drop
Command Default
This command has no default settings.
Command Modes
Global configuration mode
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 the 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.
Examples
The following example shows how to add the static entries to the MAC address table:
Switch(config)# mac-address-table static 0050.3e8d.6400 vlan 100 interface fastethernet5/7
Switch(config)#
Related Commands
Command
show mac-address-table static
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-446
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 this 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
This command was introduced on the Catalyst 4500 series switches.
Description
Displays the static MAC address table entries only.
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents