4 mac address table command, Mac configuration, Mac add – PLANET XGSW-28040 User Manual
Page 365
Advertising

User’s Manual of XGSW-28040
6.4 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
XGSW-28040:/>mac configuration 1
MAC Configuration:
==================
MAC Address : 00-30-4f-24-04-d1
MAC Age Time: 300
Port Learning
---- --------
1 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' or 'xx.xx.xx.xx.xx.xx' or 'xxxxxxxxxxxx', x is a hexadecimal digit)
<port_list>
: Port list or 'all' or 'none'
<vid>
: VLAN ID (1-4095), default: 1
365
Advertising