Technical data

Table Of Contents
Converged Enhanced Ethernet Command Reference 105
53-1002508-01
mac-address-table
2
mac-address-table
Use this command to set the aging time or to add static addresses to the MAC address table.
Synopsis mac-address-table {aging-time seconds| static mac-addr forward {port-channel number |
tengigabitethernet slot/port | vlan vlan_id}}
no mac-address-table {aging-time | static mac-addr forward {port-channel number |
tengigabitethernet slot/port | vlan vlan_id}}
Operands aging-time seconds
Specifies the time in seconds that a learned MAC address will persist after
the last update. If the aging time is set to zero (0), it means that aging is
disabled. The range of valid values is from 10 through 100000.
static mac-addr Specifies the Media Access Control (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.
forward Forwards the MAC address to the interface.
port-channel number
Specifies the port-channel number. The range of valid values is from 1
through 63.
tengigabitethernet
Specifies a valid 10 Gbps Ethernet interface.
slot Specifies a valid slot number.
port Specifies a valid port number.
vlan vlan_id Specifies the VLAN number. The range of valid values is from 1 through 3583.
Defaults The default aging time is 300 seconds.
Command
Modes
Global configuration mode
Description Use this command to set the aging time or to add static addresses to the MAC address table.
Usage
Guidelines
The vlan keyword is mandatory because the switch only supports independent VLAN learning (IVL).
Use the no mac-address-table version of this command to disable functionality.
Examples To add the static address 0011.2222.3333 to the MAC address table with a packet received on
VLAN 100:
switch(config)#mac-address-table static 0011.2222.3333 forward
tengigabitethernet 0/1 vlan 100
To set the aging time to 10 minutes:
switch(config)#mac-address-table aging-time 600
See Also show statistics access-list mac