Mac Address-Table Static - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Address Table Commands
OL-32830-01 Command Line Interface Reference Guide
gi13
Filter
5.19

mac address-table static

To add a MAC-layer station source address to the MAC address table, use the mac
address-table static Global Configuration mode command. To delete the MAC
address, use the no form of this command.
Syntax
mac address-table static
|
[permanent
delete-on-reset
no mac address-table static [
Parameters
mac-address—MAC address (Range: Valid MAC address)
vlan-id— Specify the VLAN
interface-id—Specify an interface ID. The interface ID can be one of the
following types: Ethernet port or port-channel (Range: valid ethernet port,
valid port-channel)
permanent—(Optional) The permanent static MAC address. The keyword is
applied by the default.
delete-on-reset—(Optional)The delete-on-reset static MAC address.
delete-on-timeout—(Optional)The delete-on-timeout static MAC address.
secure—(Optional)The secure MAC address. May be used only in a secure
mode.
Default Configuration
No static addresses are defined. The default mode for an added address is
permanent.
Command Mode
Global Configuration mode
mac-address
vlan-id
vlan
|
delete-on-timeout
mac-address] vlan vlan-id
interface-id
interface
|
secure]|
5
164

Advertisement

Table of Contents
loading

Table of Contents