7 switch spanning tree protocol command, 3 switch mac find command – ZyXEL Communications VES-1000 User Manual

Page 132

Advertising
background image

VES-1000 Series Ethernet Switch

13-12 Switch-Related

Commands

Figure 13-15 Total Number of MAC Addresses Learned

13.6.3

Switch MAC Find Command

sw mac find (mac address)

Use this command to find a MAC address and display port interface and age information.

Figure 13-16 Find MAC Address Example

Table 13-F 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.

13.7 Switch Spanning Tree Protocol Command

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.

Figure 13-17 STP Status Down

You’ll see a screen similar to the following one if STP is enabled.

VES_APLHA> 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

ves-100> sw stp disp
Spanning Tree Protocol is down

Advertising