Intel 654655-001 Switch User Manual


 
41
Configuring and Managing the Switch
CHAPTER 2
add-lt-entry
add-lt-entry <
mac_address
> {lock-off|lock-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 command sends packets from the device with MAC address
00-A0-C9-00-11-11 to port 3. lock-off means the entry is deleted if
the device is inactive for 300 seconds (the default aging time).
get-lt-age
Displays the switching database aging time in seconds. This is the
amount of time the switch stores a device’s MAC address before
clearing it from the database. An entry whose MAC address doesn’t
appear in the source field of an incoming packet for this period of
time is discarded. The default is 300 seconds.
SYS_console> get-lt-age
The running aging time is: 300 seconds
set-lt-age
set-lt-age {run|nvram|all} <
aging_time
>
Modifies the switching database aging time.
The
aging_time
is in seconds with a default of 300 seconds and a
range of 1 to 55,000 seconds. Lower the time if the number of active
workstations is larger than 1024.
SYS_console> set-lt-age run 280
Aging Period update in the running database OK
SYS_console> set-lt-age all 100
Aging Period update in NVRAM OK
Aging Period update in the running database OK