Configuring, Modifying, and Monitoring the Unit
39
Switching Commands
This section contains instructions for managing the Switching Database with the Command
Line Interface. To view the available switch commands, enter switch-db at the CLI prompt.
The Switching Database consists of 12K entries. Each active entry contains the information
relevant to a workstation, characterized by its Ethernet MAC Address.

Learning Table

The following section lists commands relevant to the Learning table and Aging mechanism of
the switch. The index contained in the following commands is an integer number between one
and the maximum size of the Switching Database Table (12K).

Aging Configuration

get-lt-age
The get-lt-age command displays the Switching Database Aging Time in seconds. The
default value for the Aging Time is 300 seconds. The Aging Time is the time-out period for
dynamically learned forwarding entries. An entry whose MAC address does not appear in the
source field of an incoming packet for a period equal to the Aging Time is discarded.
Example
SYS_console> get-lt-age
Running aging period: 300 seconds
CURRENT aging period: 300 seconds
NVRAM aging period: 300 seconds
SYS_console>
set-lt-age
The set-lt-age command allows you to modify the Switching Database Aging Time. The
change may be made:
In the running database so that the new value is used immediately.
In the NVRAM, meaning that the change occurs only in the next session.
In both the running and the NVRAM databases.
set-lt-age {run|nvram|all} <aging_time>
The aging_time value is in seconds. The default value is 300 seconds. Use a lower value if the
number of active workstations at a given moment is larger than the size of the Switching Database.
The aging time can be anywhere between 10 and 11,000 seconds. 0 is used for aging OFF.