
Chapter 6: Configuration Terminal Mode Commands
134
MAC ADDRESS-TABLE STATIC FORWARD
Syntax
mac address-table static MMMM.MMMM.MMMM forward
interface IFNAME VLANID
no mac address-table static
Parameters
static Indicates the static MAC address in the following format:
MMMM.MMMM.MMMM
IFNAME Indicates the name of the interface.
VLANID Indicates the VLAN interface. Enter a value between 2 and
4094. If you do not enter a value, VLAN 1 is assumed by
default.
Description
The MAC ADDRESS-TABLE STATIC FORWARD command to create an
entry in the MAC address table. The switch drops packets with the
specified source or destination MAC address. Only unicast static
addresses are supported. By default, this command is disabled. Use the
no form of this command to reset it.
Command Mode
Configuration Terminal mode
Examples
The following example sets the static address to a MAC address of
“000C:6E73:2BC4” on interface 3 and VLAN 2:
switch# configure terminal
switch#(config)# mac address-table static
000C:6E73:2BC4 forward interface xe3 vlan2
Related Commands
“MAC ADDRESS-TABLE STATIC DISCARD” on page 133
Kommentare zu diesen Handbüchern