beautypg.com

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

Page 365

background image

User’s Manual of XGSW-28040

6.4 MAC Address Table Command

MAC Configuration

Description:

Show MAC address table configuration.

Syntax:

MAC Configuration []

Parameters:

: 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 []

Parameters:

: MAC address ('xx-xx-xx-xx-xx-xx' or 'xx.xx.xx.xx.xx.xx' or 'xxxxxxxxxxxx', x is a hexadecimal digit)

: Port list or 'all' or 'none'

: VLAN ID (1-4095), default: 1

365