Mac address commands, 1 command summary, Mac address commands (139) – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual
Page 139

Ethernet Switch CLI Reference Guide
139
C
H A P T E R
34
MAC Address Commands
Use these commands to look at the MAC address table and to configure MAC address
learning. The Switch uses the MAC address table to determine how to forward frames.
34.1 Command Summary
The following section lists the commands for this feature.
Table 81 mac, mac-aging-time, and mac-flush Command Summary
COMMAND
DESCRIPTION
M
P
show mac-aging-time
Displays MAC learning aging time.
E
3
mac-aging-time <10-3000>
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.
E
3
show mac address-table count
Displays the total number of MAC addresses in the MAC
address table.
E
3
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.
E
3
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.
E
3
show mac address-table mac
Displays a specified MAC entry.
E
3
show mac address-table multicast Displays the multicast MAC addresses learned by the Switch. E
3
mac-flush [<port-num>]
Clears the MAC address table. Optionally, removes all
learned MAC address on the specified port.
E
13
mac-transfer dynamic-to-filter
mac <mac-addr>
Displays and changes a dynamically learned MAC address
entry into a MAC filtering entry.
E
13
mac-transfer dynamic-to-filter
interface port-channel <port-
list>
Displays and changes all dynamically learned MAC address
entries on the specified port(s) into MAC filtering entries.
E
13
mac-transfer dynamic-to-filter
vlan <vlan-list>
Displays and changes all dynamically learned MAC address
entries in the specified VLAN(s) into MAC filtering entries
E
13
mac-transfer dynamic-to-forward
mac <mac-addr>
Displays and changes a dynamically learned MAC address
entry into a MAC forwarding entry.
E
13