beautypg.com

4 mac table commands – KTI Networks 24-PORT KGS-2401 User Manual

Page 34

background image

-34-

Show or clear statistics for the port.

: Port list (default: All ports).

[clear] : Clear port statistics (default: Show statistics).

7.7.4 MAC Table Commands

Commands at MAC level:

MAC Configuration

MAC Add |none []

MAC Delete []

MAC Lookup []

MAC Flush

MAC Agetime []

1. MAC Configuration

Syntax:

MAC Configuration

Description:

Show the permanently stored MAC table and the MAC ageing timer.

2. MAC Add

Syntax:

MAC Add |none []

Description:

Add a static MAC address table entry and VLAN ID on ports.

: MAC address, 12-digit hex string, optionally separated with

dashes or colons (e.g. 010203ABCDEF or 01-02-03-AB-CD-EF or

01:02:03:AB:CD:EF).

: Port list. Use ”none” to specify no ports.

[] : VLAN ID, 1-4094 (default: 1).

3. MAC Delete

Syntax:

MAC Delete []

Description:

Delete MAC address and VLAN ID.

: MAC address, 12-digit hex string, optionally separated with

dashes or colons (e.g. 010203ABCDEF or 01-02-03-AB-CD-EF or

01:02:03:AB:CD:EF).

[] : VLAN ID (default: 1).

4. MAC Lookup

Syntax:

MAC Lookup []

Description:

Lookup MAC address and VLAN ID.

: MAC address, 12-digit hex string, optionally separated with

dashes or colons (e.g. 010203ABCDEF or 01-02-03-AB-CD-EF or

01:02:03:AB:CD:EF).

[] : VLAN ID, 1-4094 (default: 1).