Chapter 7 Service Configuration
MAC Table Operations
MAC Table Overview
MAC table operations include the configuration of MAC filter func-
tion, static address binding function and MAC table aging time.
�
MAC filter function is to enable the switch to discard the re-
ceived data packets whose source or destination MAC address
is the specified MAC address.
�
Static address binding function is to bind the specified MAC
address with the switch port. After the binding, this MAC can’t
be the dynamically learned any more.
�
MAC table aging time refers to the period from the latest update
of dynamic MAC address in the FDB table to the deletion of this
address.
Configuration of the MAC filter function and static address binding
function can effectively prevent the illegal access to the network
and fraudulent use of key MAC addresses, and play an important
role in ensuring the network security.
Basic Configuration of MAC Table
To configure FDB, perform the following steps.
Command
Function
zte(cfg)#
set fdb add
<
HH.HH.HH.HH.HH.
HH
>
vlan
<
1-4094
>{
port
<
portid
>|
trunk
<
trunkid
>}
This adds the static
binding address to the
address table.
zte(cfg)#
set fdb agingtime
<
40-1260
>
This sets the aging time
of MAC address.
The parameter
agingtime
is 240
seconds by default.
zte(cfg)#
set fdb delete
<
HH.HH.HH.HH.H
H.HH
>
vlan
<
1-4094
>
This deletes a record
from MAC address
table.
zte(cfg)#
set fdb filter
<
HH.HH.HH.HH.HH
.HH vlan
<
1-4094
>
This sets the filter
address of fdb.
zte(cfg)#
show fdb
[
static
|
dynamic
|
filter
][
detail
]
This displays fdb
information.
zte(cfg)#
show fdb agingtime
This displays the aging
time of fdb.
Confidential and Proprietary Information of ZTE CORPORATION
71