User Manual UMN:CLI
V8102
225
7.13 MAC Table
A dynamic MAC address is automatically registered in the MAC table, and it is removed if
there is no access to/from the network element corresponding to the MAC address during
the specified MAC aging time. On the other hand, a static MAC address is manually reg-
istered by user. This will not be removed regardless of the MAC aging time before remov-
ing it manually.
To manage a MAC table in the system, use the following command.
mac-address-table
NAME MAC-ADDR
Specifies a static MAC address in the MAC table.
NAME: bridge name
MAC-ADDR: MAC address
mac aging-time
<10-21474830>
Specifies MAC aging time:
10-21474830: aging time (default: 300)
To display the configured mac aging-time, use the following command.
To remove the registered dynamic MAC addresses from the MAC table, use the following
command.
Clears dynamic MAC addresses.
MAC-ADDR: MAC address
To remove the static MAC addresses manually registered by user from the MAC table,
use the following command.
no mac-address-table NAME
MAC-ADDR
Deletes a specified static MAC address.
NAME: bridge name
MAC-ADDR: MAC address
To clear all MAC address entries in the forwarding database, use the following command.
clear mac address-table {dynamic |
static | multicast} [bridge <1-32>]
Clears all dynamic/static/multicast MAC ad-
dress entries.
1-32: bridge group
clear mac address-table dynamic {ad-
dress MAC-ADDR | interface { giga-
bitethernet IFPORT | tengigabitethernet
IFPORT | gpon IFPORT | channelgroup
Clears all dynamic MAC address entries of the
specified address or interface or bridge.