beautypg.com

12 mac address table command, Mac configuration, Mac add – PLANET WGSD-8020 User Manual

Page 331: Mac delete

background image

User’s Manual of WGSD-8020

331

6.12 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 port1 Mac state

SWITCH/>mac configuration 1

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)

: Port list or 'all' or 'none'

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

Example:

Add Mac address 00-30-4F-01-01-02 in port1 and vid1

SWITCH/>mac add 00-30-4f-01-01-02 1 1

MAC Delete

Description:

Delete MAC address entry.