IES-2000/3000 User’s Guide
28-16 Switch-Related Commands
28.6.2 MAC Number
To view the total number of MAC addresses learned (and not the details shown in the previous command) use the
following command.
Syntax:
sw mac num
This displays the total number of MAC addresses learned.
Figure 28-15 Total Number of MAC Addresses Learned
28.6.3 Switch MAC Find Command
Syntax:
sw mac find (mac address)
Use this command to find a MAC address and display port interface and age information.
Figure 28-16 Find MAC Address Example
Table 28-7 Find MAC Address Example
FIELD DESCRIPTION
Ret
This is the number of entries returned for this MAC address in the MAC Address learning
table.
Ifport
This is the incoming port that the packet with this MAC address came from.
Age
This is how many seconds this MAC address has been in the MAC address learning table.
Static
“0” is a dynamic MAC address that is a MAC address that has been learned. Learned MAC
addresses older than 300 seconds are deleted if there are no more incoming packets from
this address. “1” is a static MAC address that has been manual entered in the MAC address
learning table. Static MAC addresses do not age out.
28.7 Switch Spanning Tree Protocol Command
Syntax:
sw stp disp
Use this command to display the Spanning Tree Protocol (STP) status. You see the following screen if STP is not
enabled on the switch.
vlc1012> sw mac num
Num of learned MAC address = 328
switch mac find 00:80:c8:3d:35:5d
ret = 1
ifport = 13, age = 2, static = 0