Chapter 6: Command line mode
338 NS3552-8P-2S-V2 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
-8P-2S-V2:/>
Configuration:
-f6-1a-03-1c-48
--------
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
-8P-2S-V2:/>
mac add 9c-f6-1a-03-1c-48 1 1