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

-34-
Show or clear statistics for the port.
<portlist>: 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 <macaddress> <portlist>|none [<vid>]
MAC Delete <macaddress> [<vid>]
MAC Lookup <macaddress> [<vid>]
MAC Flush
MAC Agetime [<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 <macaddress> <portlist>|none [<vid>]
Description:
Add a static MAC address table entry and VLAN ID on ports.
<macaddress>: 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).
<portlist> : Port list. Use ”none” to specify no ports.
[<vid>] : VLAN ID, 1-4094 (default: 1).
3. MAC Delete
Syntax:
MAC Delete <macaddress> [<vid>]
Description:
Delete MAC address and VLAN ID.
<macaddress>: 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).
[<vid>] : VLAN ID (default: 1).
4. MAC Lookup
Syntax:
MAC Lookup <macaddress> [<vid>]
Description:
Lookup MAC address and VLAN ID.
<macaddress>: 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).
[<vid>] : VLAN ID, 1-4094 (default: 1).