Configuring, Modifying, and Monitoring the Unit
42
Deleting Entries
del-lt-entry
The del-lt-entry command deletes the Learning table entry at index.
del-lt-entry <index>
Deleting entries with the SELF field set (+) is prohibited since they are system addresses.
CAUTION
Use the del-lt-entry command with caution, as it allows you to change the Switching Database.
del-lt-port
The del-lt-port command deletes the learning table entries for a particular port.
del-lt-port <port>
sys_console> del-lt-port 3
del-lt-addr
The del-lt-addr command deletes the Learning table entry that matches the mac_address.
The command fails if the mac_address is not found in the Learning table. Again, as in the
previous command, use caution when deleting system entries with a (+) in LOCK column.
del-lt-addr <mac_address> <Vid>
Example
SYS_console>del-lt-addr 00-11-22-33-44-55
MAC Address - 00-11-22-33-44-55 - not in LT
SYS_console>
Adding Static Entries
add-lt-entry
The add-lt-entry adds a Learning table entry to the Switching Database. The command
parameters are described at the beginning of this chapter.
add-lt-entry adds an LT entry
[arg #0] MAC address in hex format xx-xx-xx-xx-xx-xx
[arg #1] port number - 1..25
[arg #2] S- static (lock on) or D- aging out (lock off)
[arg #3] VLAN Tag {2..4095}
[arg #4] T- tagged or N- untagged
Example
SYS_console>add-lt-entry 1-2-3-4-9-10-11
Add LT entry – OK
SYS_console>