Chapter 4 Command-Line Reference 4-99
4.3.9.1 mac-address-table static
Use this command to map a static address to a destination port. Use the no form to
remove an address.
Syntax
mac-address-table static mac-address {interface interface}
vlan vlan-id [action]
no mac-address-table static mac-address vlan vlan-id
mac-address – MAC address.
interface
ethernet port-name
port-name – down link: SNP0-15; up link: NETP0-7; mgt: NETMGT
port-channel channel-id (Range: 1-6)
vlan-id – VLAN ID (Range: 1-4094)
action
permanent – Assignment is permanent.
delete-on-reset – Assignment lasts until switch is reset.
Default Setting
No static addresses are defined. The default mode is permanent.
Command Mode
Global Configuration
Command Usage
The static address for a host device can be assigned to a specific port within a
specific VLAN. Use this command to add static addresses to the MAC Address
Table. Static addresseshave the following characteristics:
Static addresses are not removed fromthe address table when a given interface
link is down.
Static addresses are bound to the assigned interface and are not moved. When
a static address is seen on another interface, the address is ignored and is not
written to the address table.