C H A P T E R 3 Console Command Reference

find-lt-addr

find-lt-addr <mac_address>

Searches for a MAC address in the switching database and displays its description, if found.

SYS_console>find-lt-addr 00-40-05-2B-16-3D

Entry ---- MAC Address ----

LOCK

SELF

DPORT

MGMT

==============================================================

40

00-40-05-2B-16-3D

-

-

3

-

del-lt-entry

del-lt-entry <index>

Deletes the specified switching database entry, using the entry number from the get-lt-16command. If that entry number is not active, the command has no effect. You can’t delete entries with the self field set (system addresses).

SYS_console> del-lt-entry 15

Deleting entry at index - 15 - OK

del-lt-addr

del-lt-addr <mac_address>

Deletes the switching database entry that matches the specified MAC address.

SYS_console> del-lt-addr 00-40-05-2b-59-4c

Deleting entry with MAC address - 00-40-05-2b-59-4c OK

The command fails if the MAC address isn’t found in the switching database.

add-lt-entry

add-lt-entry <mac_address> {lock-offlock-on} <dport>

Add an entry to the switching database. The lock setting is described at the beginning of this section. dport is the destination port number.

add-lt-entry 00-A0-C9-00-11-11 lock-off 3

This example sends packets from the device with MAC address

00-A0-C9-00-11-11 to port 3. lock-offmeans the entry is deleted if the device is inactive for 300 seconds (the default aging time).

53

Page 56
Image 56
Intel 10/100 manual Find-lt-addr, Del-lt-entry, Del-lt-addr, Add-lt-entry