VES-1000 Series Ethernet Switch
24.5 MAC Address Commands
The following commands allow ports to learn MAC addresses and display information about MAC addresses
learned. MAC address learning reduces the need for outgoing traffic broadcasts.
COMMAND
sw mac status
sw mac learn n on|off Use this command to allow or disallow port n from learning
sw mac address
sw mac num
sw mac find
24.5.1
MAC Learning Status
sw mac status
This command displays ports that may learn MAC addresses.
VES_APLHA> sw mac status
Port
Port
Port
Port
Port
Port
Port
Port
Port
Port 10 MAC learning operation : Enabled
Port 11 MAC learning operation : Enabled
Port 12 MAC learning operation : Enabled
Port 13 MAC learning operation : Enabled
Port 14 MAC learning operation : Enabled
CAUTION: For actual MAC address learning to occur on a port, Active must be
set to Yes in Menu 6 - Ports Setup for that port.
VES_APLHA>
From this screen we see that all ports have MAC learning enabled by default.
For actual MAC address learning to occur on a port, Active must be set to Yes in Menu 6 — Ports Setup for that
port.
24-10
Table 24-4 MAC Address CI Commands
Use this command to see which ports may learn MAC
addresses.
MAC addresses.
Use this command to see all MAC addresses learned.
Use this command to view the total number of learned MAC
addresses.
Use this command to find a MAC address and display port
interface and age information.
1 MAC learning operation : Enabled
2 MAC learning operation : Enabled
3 MAC learning operation : Enabled
4 MAC learning operation : Enabled
5 MAC learning operation : Enabled
6 MAC learning operation : Enabled
7 MAC learning operation : Enabled
8 MAC learning operation : Enabled
9 MAC learning operation : Enabled
Figure 24-12 MAC Learning Status
DESCRIPTION
EXAMPLE
sw mac status
sw mac learn 1 on
sw mac address
sw mac num
sw mac find
00:80:c8:3d:35:5d
Switch-Related Commands