Mac learning, Mac dump – PLANET SGSW-24040 User Manual
Page 367
User’s Manual of SGSW-24040 / 24240 Series
367
Set agetime value in 30
SWITCH/>mac agetime 30
MAC Learning
Description:
Set or show the port learn mode.
Syntax:
MAC Learning [<port_list>] [auto|disable|secure]
Parameters:
<port_list>: Port list or 'all', default: All ports
auto : Automatic learning
disable: Disable learning
secure : Secure learning
(default: Show learn mode)
Default Setting:
Auto
Example:
Set secure learning mode in port1
SWITCH/>mac learning 1 secure
MAC Dump
Description:
Show sorted list of MAC address entries.
Syntax:
MAC Dump [<mac_max>] [<mac_addr>] [<vid>]
Parameters:
<mac_max> : Maximum number of MAC addresses 1-8192, default: Show all addresses
<mac_addr>: First MAC address (xx-xx-xx-xx-xx-xx), default: MAC address zero
<vid> : First VLAN ID (1-4095), default: 1