IES-2000/3000 User's Guide
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
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.
FIELD
Ret
Ifport
Age
Static
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.
28-16
This displays the total number of MAC addresses learned.
vlc1012> sw mac num
Num of learned MAC address = 328
Figure 28-15 Total Number of MAC Addresses Learned
switch mac find 00:80:c8:3d:35:5d
ret = 1
ifport = 13, age = 2, static = 0
Figure 28-16 Find MAC Address Example
Table 28-7 Find MAC Address Example
This is the number of entries returned for this MAC address in the MAC Address learning
table.
This is the incoming port that the packet with this MAC address came from.
This is how many seconds this MAC address has been in the MAC address learning table.
"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.
DESCRIPTION
Switch-Related Commands