l2-setting-modify
This command modifies the Layer 2 settings in the configuration.
Syntax l2-setting-modify
aging-time seconds |
Configures the aging time in Layer 2. You can configure a value from 1 to 2000000. The default value for aging time is 300 seconds. |
software-aging|no-software-aging |
Specify if you want to enable software aging or not. This is ON by default. This parameter controls how the aging of the L2 table entries is performed by NetVisor OS. When OFF, the aging is performed by the Ethernet switch ASIC. It is not recommended to change this setting. |
l2-max-count l2-max-count-number |
Specify the maximum count for Layer 2 entries. |
l2-checker|no-l2-checker |
Specify if you want to enable Layer 2 checker. |
l2-checker-interval duration: #d#h#m# |
Specify the interval between Layer 2 checks. |
l3-arp-max-count l3-arp-max-count-number |
Specify the number of maximum ARPs for Layer 3 entries. |
reclaim-inactive|no-reclaim-inactive |
Specify to enable or disable to reclaim the inactive entries periodically. By default, this is disabled on the switch. |
reclaim-interval 10..4294967295 |
Specify the interval (in minutes) at which the inactive entries should be reclaimed. The default interval is 30 minutes. |
reclaim-count reclaim-count-number |
Specify the number of entries to be reclaimed periodically (at the above interval). The default is 64 entries. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.4 |
The parameters software-aging, l2-checker, and l2-checker-interval added. |
Version 5.1.1 |
The parameter l2-max-count added. |
Version 7.1.0 |
The parameters reclaim-inactive|no-reclaim-inactive, reclaim-interval and reclaim-count added. |
Usage Use this command to modify the Layer 2 aging time in seconds.
Examples To modify the aging time to 360 seconds, use the following command:
CLI (network-admin@switch) > l2-setting-modify aging-time 360