advanced
interface/ethernet/switch/l3hw-settings/advanced
Syscap: rbswitch and crs_prestera
Type: Settings Directory
This menu allows tweaking l3hw settings for specific use cases.
It is NOT recommended to change the advanced L3HW settings unless instructed by MikroTik Support or a MikroTik Certified Routing Engineer. Applying incorrect settings may break the L3HW operation.
| Argument | Type | Description |
|---|---|---|
| route-queue-limit-high (syscap=!prestera-cpss) | num | The switch driver stops route indexing when route-queue-size exceeds this value. Lowering this value leads to faster route processing but increases the lag between a route's appearance in RouterOS and hardware memory. Setting 0 disables route indexing when there are any routes in the processing queue - the most efficient CPU usage but the longest delay before hardware offloading. Useful when there are static routes only. Not recommended together with routing protocols (such as BGP or OSPF) when there are frequent routing table changes. |
| route-queue-limit-low (syscap=!prestera-cpss) | num | Re-enable route indexing when route-queue-size drops down to this value. Must not exceed the high limit. Setting 0 tells the switch driver to process all pending routes before the next hw-offloading attempt. While this is the desired behavior, it may completely block the hw-offloading under a constant BGP feed. |
| shwp-reset-counter | num | Reset the Shortest HW Prefix (SHWP) and try the full route table offloading after this number of changes in the routing table. |
| partial-offload-chunk (syscap=prestera-bc2) | num | The minimum number of routes for incremental adding in Partial Offloading. |
| route-index-delay-min (syscap=!prestera-cpss) | time | The minimum delay between route processing and its offloading. The delay allows processing more routes together and offloading them at once, saving CPU usage. |
| route-index-delay-max | time | The maximum delay between route processing and its offloading. When the maximum delay is reached, the processed routes get offloaded despite more routes pending. However, route-queue-limit-high has higher priority than this, meaning that the indexing/offloading gets paused anyway when a certain queue size is reached. |
| neigh-keepalive-interval (syscap=!prestera-cpss) | time | Neighbor (host) keepalive interval. When a host gets hw-offloaded, all traffic from/to it is routed by the switch chip, and RouterOS may think the neighbor is inactive and delete it. To prevent that, the switch driver must keep the offloaded neighbors alive by sending periodic refreshes to RouterOS. |
| neigh-discovery-interval (syscap=!prestera-cpss) | time | The interval between sending ARP (IPv4) or Neighbor Discovery (IPv6) requests to check if the offloaded host is still active. |
| neigh-discovery-burst-limit (syscap=!prestera-cpss) | num | The maximum number of ARP/ND requests that can be sent at once. |
| neigh-discovery-burst-delay (syscap=!prestera-cpss) | time | The delay between ARP/ND subsequent bursts if the number of requests exceeds neigh-discovery-burst-limit. |
| neigh-dump-retries (syscap=!prestera-cpss) | num | The maximum retry count to offload a neighbor table in case of failure. |