From d67c6d4bf751e7db3e31726ac7c0b1e716ae55aa Mon Sep 17 00:00:00 2001 From: zhenggen-xu Date: Sat, 15 Jun 2019 15:57:10 -0700 Subject: [PATCH] Set the default mac ageing time to 600 seconds (#2365) * 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 * 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 --- dockers/docker-orchagent/switch.json.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockers/docker-orchagent/switch.json.j2 b/dockers/docker-orchagent/switch.json.j2 index 7aaada1b1e..a7dafd40f2 100644 --- a/dockers/docker-orchagent/switch.json.j2 +++ b/dockers/docker-orchagent/switch.json.j2 @@ -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" }