Zyxel OLT2412 [254/326] Mac address commands

Zyxel OLT2412 [254/326] Mac address commands
Chapter 35 MAC Table
OLT2412 User’s Guide
254
35.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.
35.3 MAC Address Command Examples
This example shows the current MAC address table.
The following table describes the labels in this display.
Table 142 MAC Address Commands
COMMAND DESCRIPTION
show mac-aging-time
Displays MAC learning aging time.
mac-aging-time <10-1000000>
Sets learned MAC aging time in seconds.
show mac address-table all
[<sort>]
Displays MAC address table. You can sort by MAC address, VID
or port.
sort: MAC, VID, or PORT.
show mac address-table count
Displays the total number of MAC addresses in the MAC address
table.
show mac address-table port
<port-list> [<sort>]
Displays the MAC address table for the specified port(s). Sorted
by MAC, Port or VID.
sort: MAC, VID, or PORT.
show mac address-table static
Displays the static MAC address table.
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.
show mac address-table mac <mac-
addr>
Displays a specified MAC entry.
show mac address-table multicast
Displays the multicast MAC addresses learned by the OLT.
mac-flush [<port-num>]
Clears the MAC address table. Optionally, removes all learned
MAC address on the specified port.
OLT2412# # 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
Table 143 show mac address-table
LABEL DESCRIPTION
Port This is the port from which the above MAC address was learned.
Drop: The entry is created from a filtering rule.
VLAN ID This is the VLAN group to which this frame belongs.
MAC Address This is the MAC address of the device from which this frame came.
Type This shows whether the MAC address is dynamic (learned by the OLT) or static
(manually entered using mac-forward commands, see Chapter 10 on page 101).

Содержание