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.
Command
Mode
Description
mac-address-table
NAME MAC-ADDR
Interface
[GE/XE/GPON]
Specifies a static MAC address in the MAC table.
NAME: bridge name
MAC-ADDR: MAC address
mac aging-time
<10-21474830>
Global
Specifies MAC aging time:
10-21474830: aging time (default: 300)
To display the configured mac aging-time, use the following command.
Command
Mode
Description
show mac aging-time
Global
Shows mac aging-time
To remove the registered dynamic MAC addresses from the MAC table, use the following
command.
Command
Mode
Description
clear mac
NAME
MAC-ADDR
Global
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.
Command
Mode
Description
no mac-address-table
NAME
MAC-ADDR
Interface
[GE/XE/GPON]
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.
Command
Mode
Description
clear mac address-table
{
dynamic
|
static
|
multicast
} [
bridge
<1-32>]
Enable
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.