1 commands for mac address table configuration, 1 mac-address-table aging-time, 2 mac-address-table static|blackhole – PLANET XGS3-24040 User Manual
Page 184: Ommands for, Ddress, Able, Onfiguration
12-50
Chapter 12 Commands for MAC
Address Table Configuration
12.1 Commands for MAC Address Table Configuration
12.1.1 mac-address-table aging-time
Command:
mac-address-table aging-time <0 | aging-time>
no mac-address-table aging-time
Function:
Sets the aging-time for the dynamic entries of MAC address table.
Parameter:
Command Mode:
Global Mode.
Default:
Default aging-time is 300 seconds.
Usage Guide:
The user had better set the aging-time according to the network condition. A too small aging-time will
affect the performance of the switch by causing too much broadcast, while a too large aging-time will
make the unused entries stay too long in the address table.
The dynamic address does aging when the aging-time is set to 0.
Example:
Set the aging-time to 600 seconds.
Switch (config)#mac-address-table aging-time 600
12.1.2 mac-address-table static|blackhole
Command:
mac-address-table {static | blackhole} address
[ethernet | portchannel]
no mac-address-table {static | blackhole | dynamic} [address
Function:
Add or modify static address entries and filter address entries. The “no mac-address-table {static |
blackhole | dynamic} [address <mac-addr>] [vlan <vlan-id>] [interface [ethernet |
portchannel] <interface-name>]” command deletes the two entries.
Parameter:
static is the static entries;
blackhole is filter entries, which is for discarding frames from specific MAC address, it can filter
source address, destination address or the both. When choose the filter entries, blackhole address
can’t based on port, and not configure to interface;
dynamic is dynamic address entries;