Cisco Cisco SG300-28 28-Port Gigabit Managed Switch Technical References

Page of 1117
Address Table Commands
OL-32830-01 Command Line Interface Reference Guide
164
5
 
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 
mac-address 
vlan 
vlan-id 
interface
 interface-id
 
[permanent
 | 
delete-on-reset
 | 
delete-on-timeout
 | 
secure]|
no mac address-table static [
mac-address] vlan vlan-id
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