Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Set the default mac ageing time to 600 seconds (sonic-net#2365)
Browse files Browse the repository at this point in the history
* Set the default mac ageing time to 300 seconds

The current mac ageing was disabled, this could lead the mac address
table to increase over time and lead to resource and performance issues.

Signed-off-by: Zhenggen Xu <[email protected]>

* Update the default HW ageing timer to be 600 seconds.

This is to be on the safer side where ARP update interval
is 300 seconds and SONiC does not flood when ARP is aged out.

Signed-off-by: Zhenggen Xu <[email protected]>
  • Loading branch information
zhenggen-xu authored and yxieca committed Jun 15, 2019
1 parent c927517 commit d67c6d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockers/docker-orchagent/switch.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
{
"SWITCH_TABLE:switch": {
"ecmp_hash_seed": "{{ hash_seed }}",
"lag_hash_seed": "{{ hash_seed }}"
"lag_hash_seed": "{{ hash_seed }}",
"fdb_aging_time": "600"
},
"OP": "SET"
}
Expand Down

0 comments on commit d67c6d4

Please sign in to comment.