L2LEARN

Control Learn Thread Execution

L2LEARN

Control the software L2 learning thread on Tomahawk 3 switches. On Trident 3 it does nothing: it prints l2learn: Command supported on Tomahawk3 chip only and fails. It is safe to run.

On a Tomahawk 3, l2learn with no argument prints the current interval, Interval=<usec> sets it (0 stops learning), and on/off restart or stop the thread.

Unvalidated

drivshell> l2learn

Built-in help

Parameters: [on] [off] [Interval=<interval>]
    Starts L2 learning thread running every <interval>
    microseconds. If <interval> is 0, stops the task.
    If <interval> is omitted, prints current setting.
    Note: If this thread is stopped, L2 learning is stopped