Mac Address-Table Static - Cisco Catalyst 3750 Command Reference Manual

Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

mac address-table static

mac address-table static
Use the mac address-table static global configuration command on the switch stack or on a standalone
switch to add static addresses to the MAC address table. Use the no form of this command to remove
static entries from the table.
Beginning with Cisco IOS Release 12.1(19)EA1, the mac address-table static command replaces the
Note
mac-address-table static command (with the hyphen).
Syntax Description
mac-addr
vlan vlan-id
interface interface-id
Defaults
No static addresses are configured.
Command Modes
Global configuration
Command History
Release
12.1(11)AX
12.1(19)EA1
Examples
This example shows how to add the static address c2f3.220a.12f4 to the MAC address table. When a
packet is received in VLAN 4 with this MAC address as its destination, the packet is forwarded to the
specified interface:
Switch(config)# mac address-table static c2f3.220a.12f4 vlan 4 interface
gigabitethernet6/0/1
You can verify your setting by entering the show mac address-table privileged EXEC command.
Related Commands
Command
show mac address-table static
Catalyst 3750 Switch Command Reference
2-176
mac address-table static mac-addr vlan vlan-id interface interface-id
no mac address-table static mac-addr vlan vlan-id [interface interface-id]
Modification
This command was introduced.
The mac-address-table static command was replaced by the mac
address-table static command.
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.
Specify the VLAN for which the packet with the specified MAC address
is received. The range is 1 to 4094.
Interface to which the received packet is forwarded. Valid interfaces
include physical ports and port channels.
Description
Displays static MAC address table entries only.
Chapter 2
Catalyst 3750 Switch Cisco IOS Commands
78-16181-03

Advertisement

Table of Contents
loading

Table of Contents