Chapter 6: Command line mode
308
NS3550-8T-2S Industrial Managed Switch User Manual
auto
: Automatic learning
disable
: Disable learning
secure
: Secure learning
(default: Show learn mode)
Default Setting:
Auto
Example:
Set secure learning mode in port1
NS3552-8P-2S:/>
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
Example:
Show all of MAC table
NS3552-8P-2S:/>mac dump
Type VID MAC Address Ports
------ --- ----------------- -----
Static 1 00-30-4F-a6-34-9d None,CPU
Dynamic 1 33-33-4F-a1-01-d2 1
Static 1 33-33-00-00-00-01 1,2,4-10,CPU
Static 1 33-33-00-00-00-02 1,2,4-10,CPU
Static 1 33-33-ff-16-81-68 1,2,4-10,CPU
Static 1 33-33-ff-a8-00-64 1,2,4-10,CPU
Static 1 ff-ff-ff-ff-ff-ff 1-10,CPU
NS3552-8P-2S:/>
MAC Statistics
Description:
Show MAC address table statistics.
Syntax:
MAC Statistics [<port_list>]
Parameters:
<port_list>
: Port list or 'all',
(default: All ports)
Example:
Set all of MAC statistics
NS3552-8P-2S:/>mac statistics
Port Dynamic Addresses
---- -----------------