Intel 654655-001 manual add-lt-entry, get-lt-age, set-lt-age

Models: 654655-001

1 83
Download 83 pages 573 b
Page 45
Image 45

C H A P T E R 2

Configuring and Managing the Switch

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 command 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).

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 {runnvramall} <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

41

Page 45
Image 45
Intel 654655-001 manual add-lt-entry, get-lt-age, set-lt-age