Chapter 6: Command line mode
306
NS3550-8T-2S Industrial Managed Switch User Manual
MAC Address Table Command
MAC Configuration
Description:
Show MAC address table configuration.
Syntax:
MAC Configuration [<port_list>]
Parameters:
<port_list>
: Port list or 'all', default: All ports
Example:
Show Mac address state
NS3552-8P-2S:/>
mac configuration
MAC Configuration:
==================
MAC Address : 9c-f6-1a-03-1c-48
MAC Age Time: 300
Port Learning
---- --------
1 Auto
2 Auto
3 Auto
4 Auto
5 Auto
6 Auto
7 Auto
8 Auto
9 Auto
10 Auto
MAC Add
Description:
Add MAC address table entry.
Syntax:
MAC Add <mac_addr> <port_list> [<vid>]
Parameters:
<mac_addr>
: MAC address (xx-xx-xx-xx-xx-xx)
<port_list>
: Port list or 'all' or 'none'
<vid>
: VLAN ID (1-4095), default: 1
Example:
Add Mac address 00-30-4F-01-01-02 in port1 and vid1
NS3552-8P-2S:/>
mac add 9c-f6-1a-03-1c-48 1 1