CLI Reference Guide-R02

Table Of Contents
Chapter 16
| Address Table Commands
– 482 –
Example
Console(config)#mac-address-table aging-time 100
Console(config)#
mac-address-table
hash-lookup-depth
This command sets the hash lookup depth used when searching the MAC address
table. Use the no form to restore the default setting.
Syntax
mac-address-table hash-lookup-depth depth
no mac-address-table hash-lookup-depth
depth - The depth used in the hash lookup process. (Range: 4-32, in
multiples of 4)
Default Setting
4
Command Mode
Global Configuration
Command Usage
Using the default depth of 4, MAC address collisions tend to increase once more
than 8K entries have been learned. Setting the depth to a larger value reduces the
occurrence of hash collisions, but can also decrease forwarding performance.
Example
Console(config)#mac-address-table hash-lookup-depth 5
Console(config)#
mac-address-table
static
This command maps a static address to a destination port in a VLAN. 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 unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-18)