OLT2406 User’s Guide
635
88.2 MAC Address Commands
Use these commands to look at the MAC address table and to configure MAC address learning. The
OLT uses the MAC address table to determine how to forward frames.
88.3 MAC Address Command Examples
This example shows the current MAC address table.
Table 339 MAC Address Commands
COMMAND DESCRIPTION M P
show mac-aging-time
Displays MAC learning aging time. E 3
mac-aging-time <10-1000000>
Sets learned MAC aging time in seconds. C 13
show mac address-table all [<sort>]
Displays MAC address table. You can sort by
MAC address, VID or port.
sort: MAC, VID, or PORT.
E3
show mac address-table count
Displays the total number of MAC addresses in
the MAC address table.
E3
show mac address-table port
<aid|T1|T2>
Displays the MAC address table for the specified
(trunk) port(s).
<aid|T1|T2>: <ge|msc|pon>-<slot>-
<port>,<T1|T2>
E3
show mac address-table port
<aid|T1|T2> <sort>
Displays the MAC address table for the specified
port(s). Sorted by MAC, Port or VID.
<aid|T1|T2>: <ge|msc|pon>-<slot>-
<port>,<T1|T2>
sort: MAC, VID, or PORT.
E3
show mac address-table static
Displays the static MAC address table. E 3
show mac address-table vlan <vlan-
list> [<sort>]
Displays the MAC address table for the specified
VLAN(s). Optionally, sorted by MAC, Port or VID.
sort: MAC, VID, or PORT.
E3
show mac address-table mac <mac-
addr>
Displays a specified MAC entry. E 3
show mac address-table multicast
Displays the multicast MAC addresses learned
by the OLT.
E3
mac-flush [<port-num>]
Clears the MAC address table. Optionally,
removes all learned MAC address on the
specified port.
E13
OLT2406# # show mac address-table all
Port VLAN ID MAC Address Type Uniport-AID
GemFlow
CPU 1 00:19:cb:13:57:25 Static N/A
N/A
ge-5-1 4095 00:a0:c5:00:00:07 Dynamic N/A
N/A