Mac learning, Mac dump – PLANET MGSW-24160F User Manual

Page 329

Advertising
background image

User’s Manual of MGSW-24160F

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

329

Advertising