Chapter 40 MAC Address Commands
Ethernet Switch CLI Reference Guide
184
40.2 Command Examples
This example shows the current MAC address table.
The following table describes the labels in this screen.
mac-transfer dynamic-to-forward
interface port-channel <
port-
list
>
Displays and changes all MAC addresses dynamically
learned on the specified port(s) into static MAC addresses.
C
13
mac-transfer dynamic-to-forward
vlan <
vlan-list
>
Displays and changes all dynamically learned MAC
addresses in the specified VLAN(s) into static MAC
addresses.
C
13
Table 103
mac, mac-aging-time, and mac-flush Command Summary (continued)
COMMAND
DESCRIPTION
M
P
sysname# show mac address-table all
Port VLAN ID MAC Address Type
2 1 00:00:e8:7c:14:80 Dynamic
2 1 00:04:80:9b:78:00 Dynamic
2 1 00:0f:fe:ad:58:ab Dynamic
2 1 00:13:49:6b:10:55 Dynamic
2 1 00:13:d3:f0:7e:f0 Dynamic
2 1 00:18:f8:04:f5:67 Dynamic
2 1 00:80:c8:ef:81:d3 Dynamic
2 1 00:a0:c5:00:00:01 Dynamic
Table 104
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 Switch)
or
static
(manually entered using
mac-forward
commands, see